]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
7ab73a7814485c36a1fe8bab9b8f29a3d716e87e
[thirdparty/glibc.git] / ChangeLog
1 2017-01-04 Joseph Myers <joseph@codesourcery.com>
2
3 * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
4 __jmp_buf_internal_tag.
5
6 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
7 preserve NaN payload if [__mips_nan2008].
8 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
9
10 [BZ #21022]
11 * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
12
13 2017-01-03 Joseph Myers <joseph@codesourcery.com>
14
15 * sysdeps/i386/fpu/libm-test-ulps: Update.
16
17 2017-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18
19 * sysdeps/ia64/strcat.c: Remove file.
20 * sysdeps/powerpc/strcat.c: Likewise.
21 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
22 C implementation.
23 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
24 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
25
26 2017-01-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27 Steven Munroe <sjmunroe@us.ibm.com>
28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29
30 [BZ #20822]
31 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
32 (__lll_lock_elision): Access adapt_count via C11 atomics.
33 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
34 (__lll_trylock_elision): Likewise.
35 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
36 (__lll_unlock_elision): Update adapt_count variable inside the
37 critical section using C11 atomics.
38
39 2017-01-03 Joseph Myers <joseph@codesourcery.com>
40
41 * math/test-fenvinline.c (do_test): Disable tests of raised
42 exceptions if !EXCEPTION_TESTS (FLOAT).
43
44 2017-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
45
46 [BZ #19390]
47 * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
48 maximum string size.
49 * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
50 in pointer addition.
51 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
52 Likewise.
53
54 2017-01-03 Joseph Myers <joseph@codesourcery.com>
55
56 * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
57 passed to tst-ldconfig-X.sh.
58
59 2017-01-03 Martin Galvan <martingalvan@sourceware.org>
60
61 * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
62
63 2017-01-02 Joseph Myers <joseph@codesourcery.com>
64
65 [BZ #21019]
66 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
67 New syscall entry.
68 * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
69 * io/test-lfs.c (do_test): Test offset returned from lseek64 and
70 lseek.
71
72 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
73 power4 glibc for powerpc-linux-gnu.
74
75 2017-01-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
76
77 * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
78 semctl.
79
80 2017-01-02 Joseph Myers <joseph@codesourcery.com>
81
82 * math/test-nearbyint-except.c: Include <stdbool.h>.
83 (any_supported): New variable.
84 (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT). Otherwise
85 set any_supported.
86 (do_test): Return 77 if no floating-point type supported
87 exceptions.
88
89 * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
90 condition on [__mips_hard_float].
91
92 2017-01-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
93
94 [BZ #21014]
95 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
96 in pointer addition.
97 * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
98
99 2017-01-02 Torvald Riegel <triegel@redhat.com>
100
101 * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
102 new condvar.
103
104 2017-01-02 Joseph Myers <joseph@codesourcery.com>
105
106 * scripts/build-many-glibcs.py (Context.checkout): Default
107 binutils version to 2.28 branch.
108
109 2017-01-01 Florian Weimer <fweimer@redhat.com>
110
111 * support/support_format_netent.c (support_format_netent): Work
112 around alpha struct netent definition difference.
113
114 2017-01-01 Florian Weimer <fweimer@redhat.com>
115
116 * support/xwrite.c (xwrite): Use %td for pointer difference.
117
118 2017-01-01 Florian Weimer <fweimer@redhat.com>
119
120 * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
121 have-tunables only.
122 (tests-static): Add tst-malloc-usable-static-tunables for
123 have-tunables only.
124
125 2017-01-01 Joseph Myers <joseph@codesourcery.com>
126
127 * scripts/config.guess: Update to version 2017-01-01.
128 * scripts/config.sub: Update to version 2017-01-01.
129
130 * NEWS: Update copyright dates.
131 * catgets/gencat.c (print_version): Likewise.
132 * csu/version.c (banner): Likewise.
133 * debug/catchsegv.sh: Likewise.
134 * debug/pcprofiledump.c (print_version): Likewise.
135 * debug/xtrace.sh (do_version): Likewise.
136 * elf/ldconfig.c (print_version): Likewise.
137 * elf/ldd.bash.in: Likewise.
138 * elf/pldd.c (print_version): Likewise.
139 * elf/sotruss.sh: Likewise.
140 * elf/sprof.c (print_version): Likewise.
141 * iconv/iconv_prog.c (print_version): Likewise.
142 * iconv/iconvconfig.c (print_version): Likewise.
143 * locale/programs/locale.c (print_version): Likewise.
144 * locale/programs/localedef.c (print_version): Likewise.
145 * login/programs/pt_chown.c (print_version): Likewise.
146 * malloc/memusage.sh (do_version): Likewise.
147 * malloc/memusagestat.c (print_version): Likewise.
148 * malloc/mtrace.pl: Likewise.
149 * manual/libc.texinfo: Likewise.
150 * nptl/version.c (banner): Likewise.
151 * nscd/nscd.c (print_version): Likewise.
152 * nss/getent.c (print_version): Likewise.
153 * nss/makedb.c (print_version): Likewise.
154 * posix/getconf.c (main): Likewise.
155 * scripts/test-installation.pl: Likewise.
156 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
157
158 * All files with FSF copyright notices: Update copyright dates
159 using scripts/update-copyrights.
160 * intl/plural.c: Regenerated.
161 * locale/programs/charmap-kw.h: Likewise.
162 * locale/programs/locfile-kw.h: Likewise.
163
164 2016-12-31 Florian Weimer <fweimer@redhat.com>
165
166 [BZ #20593]
167 Update DNS RR type definitions.
168 * scripts/gen-rrtypes.py: New file.
169 * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
170 BIND-internal RR type not used on the Internet. Add ns_t_ds,
171 ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
172 ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
173 ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
174 ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
175 ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
176 ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
177 ns_t_ta, ns_t_dlv.
178 * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
179 (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
180 (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
181 (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
182 (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
183 (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
184 Define.
185 * resolv/res_debug.c (__p_type_syms): Update comment. Remove
186 entry for ns_t_zxfr.
187
188 2016-12-31 Florian Weimer <fweimer@redhat.com>
189
190 [BZ #18784]
191 CVE-2015-5180
192 * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
193 T_UNSPEC. Adjust value.
194 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
195 * resolv/res_query.c (__libc_res_nquery): Likewise.
196 * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
197 QTYPEs.
198 * resolv/tst-resolv-qtypes.c: New file.
199 * resolv/Makefile (xtests): Add tst-resolv-qtypes.
200 (tst-resolv-qtypes): Link against libresolv and libpthread.
201
202 2016-12-31 Florian Weimer <fweimer@redhat.com>
203
204 * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
205
206 2016-12-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
207
208 * manual/tunables.texi: New chapter.
209 * manual/Makefile (chapters): Add it.
210 * manual/probes.texi (@node): Point to the Tunables chapter.
211
212 * Makeconfig (have-tunables): Check for non-negative instead
213 of positive.
214 * configure.ac: Add 'valstring' as a valid value for
215 --enable-tunables.
216 * configure: Regenerate.
217 * elf/Makefile (have-tunables): Check for non-negative instead
218 of positive.
219 (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
220 dl-tunables.c.
221 * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
222 TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
223 (tunables_strdup): Likewise.
224 (disable_tunables): Likewise.
225 (parse_tunables): Likewise.
226 (__tunables_init): Process GLIBC_TUNABLES envvar only when.
227 TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
228 * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
229 (TUNABLES_FRONTEND_yes): New macro, define as
230 TUNABLES_FRONTEND_valstring by default.
231 * manual/install.texi: Document new acceptable values for
232 --enable-tunables.
233 * INSTALL: Regenerate.
234
235 * config.make.in (have-loop-to-function): Define.
236 * elf/Makefile (CFLAGS-dl-tunables.c): Add
237 -fno-tree-loop-distribute-patterns.
238 * elf/dl-tunables.c: Include libc-internals.h.
239 (GLIBC_TUNABLES): New macro.
240 (tunables_strdup): New function.
241 (parse_tunables): New function.
242 (min_strlen): New function.
243 (__tunables_init): Use the new functions and macro.
244 (disable_tunable): Disable tunable from GLIBC_TUNABLES.
245 * malloc/tst-malloc-usable-tunables.c: New test case.
246 * malloc/tst-malloc-usable-static-tunables.c: New test case.
247 * malloc/Makefile (tests, tests-static): Add tests.
248
249 * manual/install.texi: Add --enable-tunables option.
250 * INSTALL: Regenerate.
251 * README.tunables: New file.
252 * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
253 (before-compile): Generate dl-tunable-list.h early.
254 * config.h.in: Add HAVE_TUNABLES.
255 * config.make.in: Add have-tunables.
256 * configure.ac: Add --enable-tunables option.
257 * configure: Regenerate.
258 * csu/init-first.c (__libc_init_first): Move
259 __libc_init_secure earlier...
260 * csu/init-first.c (LIBC_START_MAIN):... to here.
261 Include dl-tunables.h, libc-internal.h.
262 (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
263 binaries.
264 * elf/Makefile (dl-routines): Add dl-tunables.
265 * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
266 namespace.
267 * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
268 only when !HAVE_TUNABLES.
269 * elf/rtld.c (process_envvars): Likewise.
270 * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
271 (_dl_sysdep_start): Call __tunables_init.
272 * elf/dl-tunable-types.h: New file.
273 * elf/dl-tunables.c: New file.
274 * elf/dl-tunables.h: New file.
275 * elf/dl-tunables.list: New file.
276 * malloc/tst-malloc-usable-static.c: New test case.
277 * malloc/Makefile (tests-static): Add it.
278 * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
279 Define TUNABLE_NAMESPACE.
280 (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
281 (DL_TUNABLE_CALLBACK_FNDECL): New macro. Use it to define
282 callback functions.
283 (ptmalloc_init): Set tunable values.
284 * scripts/gen-tunables.awk: New file.
285 * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
286 (_dl_sysdep_start): Call __tunables_init.
287
288 2016-12-31 Florian Weimer <fweimer@redhat.com>
289
290 * resolv/resolv.h (RES_BLAST): Deprecate.
291 * resolv/res_debug.c (p_option): Remove RES_BLAST.
292 * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
293 to RES_BLAST.
294
295 2016-12-27 Florian Weimer <fweimer@redhat.com>
296
297 [BZ #19582]
298 Deprecate RES_USE_INET6.
299 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
300 (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
301 (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
302 RES_USE_INET6.
303 * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
304 (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
305 (_nss_nisplus_gethostbyaddr_r): Likewise.
306 * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
307 of res_use_inet6.
308 * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
309 instead of RES_USE_INET6.
310 * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
311 * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
312 (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
313 Likewise.
314 * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
315 (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
316 Likewise.
317 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
318 (_nss_dns_gethostbyname_r): Likewise.
319 (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
320 alternate RES_USE_INET6 handling.
321 * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
322 instead of RES_USE_INET6.
323 * resolv/res_init.c (res_setoptions): Likewise.
324 * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
325 * resolv/resolv-internal.h: New file.
326 * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
327 make the deprecation warning non-fatal.
328 * resolv/README (Using the resolver in multi-threaded code): Drop
329 reference to RES_USE_INET6.
330 * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
331 DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
332
333 2016-12-31 Florian Weimer <fweimer@redhat.com>
334
335 * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
336 tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
337 tst-resolv-search.
338 (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
339 (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
340 with libresolv and libpthread.
341 * resolv/tst-bug18665.c: New file.
342 * resolv/tst-bug18665-tcp: Likewise.
343 * resolv/tst-res_use_inet6: Likewise.
344 * resolv/tst-resolv-basic: Likewise.
345 * resolv/tst-resolv-network: Likewise.
346 * resolv/tst-resolv-search: Likewise.
347 * support/Makefile (libsupport-routines): Add check_addrinfo,
348 check_dns_packet, check_hostent, check_netent, resolv_test,
349 support_format_address_family, support_format_addrinfo,
350 support_format_dns_packet, support_format_herrno,
351 support_format_hostent, support_format_netent, support_run_diff,
352 xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
353 xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
354 xstrdup, xwrite.
355 * support/check_addrinfo.c: New file.
356 * support/check_dns_packet.c: Likewise.
357 * support/check_hostent.c: Likewise.
358 * support/check_netent.c: Likewise.
359 * support/check_nss.h: Likewise.
360 * support/format_nss.h: Likewise.
361 * support/resolv_test.c: Likewise.
362 * support/resolv_test.h: Likewise.
363 * support/run_diff.h: Likewise.
364 * support/support_format_address_family.c: Likewise.
365 * support/support_format_addrinfo.c: Likewise.
366 * support/support_format_dns_packet.c: Likewise.
367 * support/support_format_herrno.c: Likewise.
368 * support/support_format_hostent.c: Likewise.
369 * support/support_format_netent.c: Likewise.
370 * support/support_run_diff.c: Likewise.
371 * support/xaccept.c: Likewise.
372 * support/xbind.c: Likewise.
373 * support/xconnect.c: Likewise.
374 * support/xfclose.c: Likewise.
375 * support/xfopen.c: Likewise.
376 * support/xgetsockname.c: Likewise.
377 * support/xlisten.c: Likewise.
378 * support/xmemstream.c: Likewise.
379 * support/xmemstream.h: Likewise.
380 * support/xpoll.c: Likewise.
381 * support/xpthread_once.c: Likewise.
382 * support/xrecvfrom.c: Likewise.
383 * support/xsendto.c: Likewise.
384 * support/xsetsockopt.c: Likewise.
385 * support/xstdio.h: Likewise.
386 * support/xstrdup.c: Likewise.
387 * support/support.h (xstrdup): Declare.
388 * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
389 (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
390 * support/xthread.h (xpthread_once): Likwise.
391 * support/xunistd.h (xwrite): Declare.
392
393 2016-12-31 Florian Weimer <fweimer@redhat.com>
394
395 * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
396 (test_verbose): Declare.
397 * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
398 * support/support_test_main.c (default_options): Likewise.
399 (usage, support_test_main): Handle 'v'.
400 (test_verbose): Define.
401 * support/tst-support_record_failure.c (do_test): Use
402 test_verbose.
403 * support/tst-support_record_failure-2.sh (different_status): Add
404 --verbose test.
405
406 2016-12-31 Florian Weimer <fweimer@redhat.com>
407
408 * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
409 test failures are recorded.
410 * support/check.c (support_print_failure_impl): Call
411 support_record_failure.
412 (support_exit_failure_impl): Call support_record_failure if status
413 indicates failure.
414 * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
415 * support/xasprintf.c (xasprintf): Likewise.
416 * support/xfork.c (xfork): Likewise.
417 * support/xpthread_check_return.c (xpthread_check_return):
418 Likewise.
419 * support/xsocket.c (xsocket): Likeweise.
420 * support/xwaitpid.c (xwaitpid): Likewise.
421 * support/support_record_failure.c (struct test_failures): Adjust
422 to coding style.
423 * support/support_test_verify_impl.c (support_test_verify_impl):
424 Adjust error messages.
425 * support/tst-support_record_failure-2.sh (different_status):
426 Adjust error messages.
427
428 2016-12-31 Florian Weimer <fweimer@redhat.com>
429
430 * support/namespace.h: New file.
431 * support/support_become_root.c: Likewise.
432 * support/support_enter_network_namespace.c: Likewise.
433 * support/tst-support-namespace.c: Likewise.
434 * support/xsocket.c: Likewise.
435 * support/xsocket.h: Likewise.
436 * support/Makefile (libsupport-routines): Add support_become_root,
437 support_enter_network_namespace, xsocket.
438 (tests): Add tst-support-namespace.
439
440 2016-12-31 Florian Weimer <fweimer@redhat.com>
441
442 [BZ #17252]
443 * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
444 __USE_GNU.
445
446 2016-12-31 Torvald Riegel <triegel@redhat.com>
447
448 [BZ #13165]
449 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
450 use new algorithm.
451 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
452 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
453 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
454 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
455 (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
456 (__condvar_confirm_wakeup, __condvar_cancel_waiting,
457 __condvar_cleanup_waiting, __condvar_dec_grefs,
458 __pthread_cond_wait_common): New.
459 (__condvar_cleanup): Remove.
460 * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
461 * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
462 Likewise.
463 * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
464 Likewise.
465 * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
466 * nptl/tst-cond1.c: Add comment.
467 * nptl/tst-cond20.c (do_test): Adapt.
468 * nptl/tst-cond22.c (do_test): Likewise.
469 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
470 structure.
471 * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
472 * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
473 * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
474 * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
475 Likewise.
476 * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
477 * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
478 * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
479 * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
480 * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
481 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
482 Likewise.
483 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
484 Likewise.
485 * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
486 * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
487 (COND_CLOCK_BITS): Adapt.
488 * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
489 * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
490 __PTHREAD_COND_SHARED_MASK): New.
491 * nptl/nptl-printers.py (CLOCK_IDS): Remove.
492 (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
493 * nptl/nptl_lock_constants.pysym: Adapt.
494 * nptl/test-cond-printers.py: Adapt.
495 * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
496 cond_compat_check_and_clear): Adapt.
497 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
498 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
499 (__pthread_cond_timedwait): ... and move here.
500 * nptl/DESIGN-condvar.txt: Remove file.
501 * nptl/lowlevelcond.sym: Likewise.
502 * nptl/pthread_cond_timedwait.c: Likewise.
503 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
504 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
505 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
506 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
507 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
508 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
509 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
510 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
511 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
512 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
513 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
514 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
515 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
516 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
517 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
518 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
519
520 2016-12-31 Joseph Myers <joseph@codesourcery.com>
521
522 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
523 (fromfp): New declaration.
524 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
525 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
526 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
527 * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
528 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
529 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
530 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
531 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
532 * math/math.h: Include <bits/types.h>.
533 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
534 constant and macro.
535 (FP_INT_DOWNWARD): Likewise.
536 (FP_INT_TOWARDZERO): Likewise.
537 (FP_INT_TONEARESTFROMZERO): Likewise.
538 (FP_INT_TONEAREST): Likewise.
539 * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
540 (fromfpf): Likewise.
541 (fromfpl): Likewise.
542 (ufromfp): Likewise.
543 (ufromfpf): Likewise.
544 (ufromfpl): Likewise.
545 (fromfpx): Likewise.
546 (fromfpxf): Likewise.
547 (fromfpxl): Likewise.
548 (ufromfpx): Likewise.
549 (ufromfpxf): Likewise.
550 (ufromfpxl): Likewise.
551 * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
552 s_fromfpxF and s_ufromfpxF.
553 * math/gen-fromfp-tests.py: New file.
554 * math/gen-fromfp-tests-inputs: Likewise.
555 * math/libm-test.inc: Include <stdint.h>
556 (check_intmax_t): New function.
557 (check_uintmax_t): Likewise.
558 (struct test_fiu_M_data): New type.
559 (struct test_fiu_U_data): Likewise.
560 (RUN_TEST_fiu_M): New macro.
561 (RUN_TEST_LOOP_fiu_M): Likewise.
562 (RUN_TEST_fiu_U): Likewise.
563 (RUN_TEST_LOOP_fiu_U): Likewise.
564 (fromfp_test_data): New array.
565 (fromfp_test): New function.
566 (fromfpx_test_data): New array.
567 (fromfpx_test): New function.
568 (ufromfp_test_data): New array.
569 (ufromfp_test): New function.
570 (ufromfpx_test_data): New array.
571 (ufromfpx_test): New function.
572 (main): Call fromfp_test, fromfpx_test, ufromfp_test and
573 ufromfpx_test.
574 * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
575 characters.
576 * math/test-tgmath-ret.c: Include <stdint.h>.
577 (rm): New variable.
578 (width): Likewise.
579 (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
580 called function.
581 (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
582 CHECK_RET_CONST_TYPE.
583 (CHECK_RET_CONST_DOUBLE): Likewise.
584 (CHECK_RET_CONST_LDOUBLE): Likewise.
585 (CHECK_RET_CONST): Take extra arguments and pass them to calls
586 macros.
587 (fromfp): New CHECK_RET_CONST call.
588 (ufromfp): Likewise.
589 (fromfpx): Likewise.
590 (ufromfpx): Likewise.
591 (do_test): Call check_return_fromfp, check_return_ufromfp,
592 check_return_fromfpx and check_return_ufromfpx.
593 * math/test-tgmath.c: Include <stdint.h>
594 (NCALLS): Increase to 138.
595 (F(compile_test)): Initialize i. Call fromfp functions.
596 (F(fromfp)): New function.
597 (F(fromfpx)): Likewise.
598 (F(ufromfp)): Likewise.
599 (F(ufromfpx)): Likewise.
600 * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
601 FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
602 FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
603 ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
604 ufromfpxl.
605 * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
606 ufromfp and ufromfpx.
607 * math/fromfp.h: New file.
608 * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
609 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
610 * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
611 * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
612 * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
613 * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
614 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
615 * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
616 * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
617 * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
618 * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
619 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
620 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
621 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
622 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
623 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
624 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
625 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
626 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
627 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
628 * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
629 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
630 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
631 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
632 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
633 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
634 ufromfp, fromfpx and ufromfpx.
635 (CFLAGS-nldbl-fromfp.c): New variable.
636 (CFLAGS-nldbl-fromfpx.c): Likewise.
637 (CFLAGS-nldbl-ufromfp.c): Likewise.
638 (CFLAGS-nldbl-ufromfpx.c): Likewise.
639 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
640 * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
641 * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
642 * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
643 * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
644 * sysdeps/nacl/libm.abilist: Update.
645 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
646 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
647 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
648 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
649 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
650 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
651 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
652 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
653 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
654 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
655 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
656 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
658 Likewise.
659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
660 Likewise.
661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
662 Likewise.
663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
664 Likewise.
665 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
666 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
667 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
668 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
669 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
670 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
671 Likewise.
672 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
673 Likewise.
674 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
675 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
676 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
677
678 2016-12-30 Florian Weimer <fweimer@redhat.com>
679
680 * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
681 compat-gethnamaddr.
682 (CPPFLAGS): Remove.
683 * resolv/gethnamaddr.c: Rename ...
684 * resolv/compat-gethnamaddr.c: ... to this file.
685 (_endhtent): Make static.
686 (res_gethostbyname): Renamed from gethostbyname. Turn into compat
687 symbol.
688 (res_gethostbyname2): Renamed from gethostbyname2. Turn into
689 compat symbol.
690 (res_gethostbyaddr): Renamed from gethostbyaddr. Turn into compat
691 symbol.
692 (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
693 Turn into compat symbol.
694 * include/resolv.h (_endhtent): Remove declaration.
695
696 2016-12-30 Joseph Myers <joseph@codesourcery.com>
697
698 * bits/types.h (__intmax_t): New typedef.
699 (__uintmax_t): Likewise.
700 * sysdeps/generic/stdint.h: Include <bits/types.h>.
701 (intmax_t): Define using __intmax_t.
702 (uintmax_t): Define using __uintmax_t.
703
704 * support/Makefile (tests-special): Make definition conditional on
705 [$(run-built-tests) = yes].
706 ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
707 on [$(run-built-tests) = yes].
708
709 2016-12-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
710
711 * Rules (tests): Add tests-printers-programs to tests to be
712 built.
713
714 2016-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
715
716 * sysvipc/Makefile (tests): Add test-sysvshm.
717 * sysvipc/test-sysvshm.c: New file.
718
719 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
720 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
721 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
722 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
723 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
724 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
725 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
726 Likewise.
727 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
728 Likewise.
729 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
730 * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
731 is defined.
732
733 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
734 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
735 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
736 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
737 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
738 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
739 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
740 Likewise.
741 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
742 Likewise.
743 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
744 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
745 defined.
746
747 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
748 oldshmctl.
749 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
750 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
751 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
752 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
753 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
754 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
755 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
756 Likewise.
757 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
758 Likewise.
759 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
760 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
761 * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
762 * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
763 * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
764 implementation.
765 * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
766 if it is defined.
767
768 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
769 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
770 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
771 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
772 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
773 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
774 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
775 Likewise.
776 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
777 Likewise.
778 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
779 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
780 Define to __NR_osf_shmat.
781 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
782 defined.
783
784 * sysvipc/Makefile (tests): Add test-sysvsem.
785 * sysvipc/test-sysvsem.c: New file.
786
787 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
788 * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
789 * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
790 Likewise.
791 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
792 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
793 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
794 Likewise.
795 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
796 Likewise.
797 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
798 * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
799 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
800 add a comment about s390 syscall difference from default one.
801 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
802 syscall if it is defined.
803
804 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
805 * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
806 * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
807 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
808 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
809 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
810 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
811 Likewise.
812 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
813 Likewise.
814 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
815 * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
816 defined.
817
818 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
819 * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
820 * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
821 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
822 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
823 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
824 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
825 Likewise.
826 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
827 Likewise.
828 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
829 * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
830 if it is defined.
831
832 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
833 oldsemctl.
834 * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
835 * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
836 * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
837 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
838 * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
839 implementation.
840 * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
841 syscall if it is defined.
842 * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
843 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
844 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
845 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
846 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
847 Likewise.
848 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
849
850 * sysvipc/Makefile (tests): Add test-sysvmsg.
851 * sysvipc/test-sysvmsg.c: New file.
852 * support/check.h (FAIL_UNSUPPORTED): New define.
853
854 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
855 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
856 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
857 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
858 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
859 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
860 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
861 Likewise.
862 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
863 Likewise.
864 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
865 * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
866 define.
867
868 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
869 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
870 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
871 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
872 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
873 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
874 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
875 Likewise.
876 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
877 Likewise.
878 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
879 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
880 if defined.
881
882 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
883 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
884 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
885 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
886 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
887 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
888 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
889 Likewise.
890 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
891 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
892 Likewise.
893 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
894 if defined.
895 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
896
897 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
898 oldmsgctl.
899 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
900 * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
901 * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
902 * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
903 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
904 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
905 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
906 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
907 Likewise.
908 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
909 * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
910 implementation.
911 * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
912 if defined.
913
914 * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
915 * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
916 definition and define its own.
917 * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
918 * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
919 * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
920 * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
921 * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
922 definitions to common header.
923 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
924 operation from ipc_ops.h.
925
926 * sysdeps/unix/sysv/linux/kernel-features.h
927 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
928 * sysdeps/unix/sysv/linux/i386/kernel-features.h
929 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
930 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
931 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
932 * sysdeps/unix/sysv/linux/mips/kernel-features.h
933 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
934 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
935 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
936 * sysdeps/unix/sysv/linux/s390/kernel-features.h
937 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
938 * sysdeps/unix/sysv/linux/sh/kernel-features.h
939 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
940 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
941 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
942
943 2016-12-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
944
945 * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
946 overflow in pointer addition.
947
948 2016-12-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
949
950 * sysdeps/powerpc/powerpc64/multiarch/Makefile
951 (sysdep_routines): Add strchr-power8 and strchrnul_power8.
952 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
953 (strchr): Add __strchr_power8 to list of strchr functions.
954 (strchrnul): Add __strchrnul_power8 to list of strchr functions.
955 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
956 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
957 * sysdeps/powerpc/powerpc64/multiarch/strchr.c
958 (strchr): Add __strchr_power8 to ifunc list.
959 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
960 (__strchrnul): Add __strchrnul_power8 to ifunc list.
961 * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
962 * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
963
964 2016-12-28 Florian Weimer <fweimer@redhat.com>
965
966 * support/Makefile (libsupport-routines): Add
967 support_test_verify_impl, support_record_failure, xfork, xwaitpid.
968 (tests): Add tst-support_record_failure.
969 (tests-special): tst-support_record_failure-2.
970 (tst-support_record_failure-2.out): Depend on
971 tst-support_record_failure-2.sh and tst-support_record_failure.
972 * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
973 (support_test_verify_impl, support_record_failure)
974 (support_report_failure, support_report_failure_reset): Declare.
975 * support/support_test_main.c (adjust_exit_status): New function.
976 (support_test_main): Call it to incorporate record test failures.
977 * support/support_test_verify_impl.c: New file.
978 * support/support_record_failure.c: Likewise.
979 * support/tst-support_record_failure.c: Likewise.
980 * support/tst-support_record_failure-2.sh: Likewise.
981 * support/xunistd.h: Likewise.
982 * support/xfork.c: Likewise.
983 * support/xwaitpid.c: Likewise.
984
985 2016-12-27 Steve Ellcey <sellcey@caviumnetworks.com>
986
987 * scripts/check-c++-types.sh: Add comments.
988
989 2016-12-27 Dmitry V. Levin <ldv@altlinux.org>
990
991 [BZ #19514]
992 * resolv/res_send.c: Fix typo in comment.
993 * sysdeps/i386/i386-mcount.S: Likewise.
994 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
995 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
996 * sysdeps/sparc/sparc-mcount.S: Likewise.
997
998 2016-12-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
999
1000 * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
1001 * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
1002 * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
1003 * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
1004 * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
1005 * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
1006 * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
1007 * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
1008
1009 2016-12-27 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1010
1011 * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
1012
1013 2016-12-27 Florian Weimer <fweimer@redhat.com>
1014
1015 [BZ #17252]
1016 * posix/unistd.h (getentropy): Declare.
1017
1018 2016-12-27 Florian Weimer <fweimer@redhat.com>
1019
1020 * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
1021 Remove.
1022 * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
1023 (cmd): Remove spoof, nospoof, spoofalert.
1024 (parse_line): Ignore spoof-related lines.
1025 (do_init): Do not process RESOLV_SPOOF_CHECK.
1026
1027 2016-12-27 Florian Weimer <fweimer@redhat.com>
1028
1029 [BZ #20964]
1030 sunrpc: Always obtain AF_INET addresses from NSS.
1031 * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
1032 * sunrpc/rpc_gethostbyname.c: New file.
1033 * sunrpc/Makefile (routines): Add it.
1034 * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
1035 * sunrpc/clnt_simp.c (callrpc): Likewise.
1036 * sunrpc/getrpcport.c (getrpcport): Likewise.
1037
1038 2016-12-27 Florian Weimer <fweimer@redhat.com>
1039
1040 * sunrpc/rpcinfo.c: Remove.
1041 * sunrpc/Makefile: Remove comments referring to rpcinfo.
1042
1043 2016-12-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1044
1045 [BZ# 19387]
1046 * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
1047 addition.
1048 * string/test-memchr.c (do_test): Remove alignment limitation.
1049 (test_main): Add test that trigger BZ# 19387.
1050
1051 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1052
1053 [BZ #7065]
1054 Enable stack protectore if requested by ./configure.
1055 * Makeconfig (+stack-protector): New variable.
1056 (+cflags): Use it.
1057
1058 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1059
1060 [BZ #7065]
1061 * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
1062 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
1063 (__rt_sigreturn_stub): Use inhibit_stack_protector.
1064 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1065 (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
1066
1067 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1068
1069 [BZ #7065]
1070 * login/Makefile (pt_chown-cflags): Remove.
1071 * nscd/Makefile (CFLAGS-nscd): Likewise.
1072 * resolv/Makefile (CFLAGS-libresolv): Likewise.
1073
1074 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1075
1076 [BZ #7065]
1077 * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
1078 non-libc-linking testcase.
1079
1080 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1081 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1082 Florian Weimer <fweimer@redhat.com>
1083
1084 [BZ #7065]
1085 PLT avoidance for __stack_chk_fail*.
1086 * debug/Makefile (CFLAGS-stack_chk_fail.c)
1087 (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
1088 * debug/stack_chk_fail.c (__stack_chk_fail): Add
1089 __stack_chk_fail_local alias.
1090 * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
1091 (__stack_chk_fail): Turn into hidden reference to
1092 __stack_chk_fail_local.
1093
1094 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1095
1096 [BZ #7065]
1097 * configure.ac: Add check for unsupported stack-protection level.
1098 (libc_cv_predef_stack_protector): Remove.
1099 (no_ssp): New variable.
1100 (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
1101 (stack_protector): Set to -fno-stack-protector similarly.
1102 (libc_cv_ld_gnu_indirect_function): Use no_ssp.
1103 (libc_cv_asm_set_directive): Likewise.
1104 (libc_cv_protected_data): Likewise.
1105 (libc_cv_z_combreloc): Likewise.
1106 (libc_cv_hashstyle): Likewise.
1107 (libc_cv_has_glob_dat): Likewise.
1108 (libc_cv_output_format): Likewise.
1109 (libc_cv_output_format): Likewise.
1110 (libc_cv_ehdr_start): Likewise.
1111 * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
1112 (LIBC_LINKER_FEATURE): Likewise.
1113 (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
1114
1115 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1116
1117 [BZ #7065]
1118 * elf/Makefile (dummy-stack-chk-fail): New.
1119 (librtld.map): Use it.
1120
1121 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1122
1123 [BZ #7065]
1124 Compile the dynamic linker without stack protection.
1125 * elf/Makefile (elide-stack-protector): New.
1126 (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
1127 (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
1128 * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
1129 * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
1130
1131 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1132
1133 [BZ #7065]
1134 * config.make.in (have-ssp, no-stack-protector): New.
1135 * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
1136 * misc/Makefile (CFLAGS-sbrk.o): Likewise.
1137 (CFLAGS-sbrk.op): Likewise.
1138 (CFLAGS-brk.o): Likewise.
1139 (CFLAGS-brk.op): Likewise.
1140 * string/Makefile (CFLAGS-memcpy.c): Likewise.
1141 (CFLAGS-wordcopy.c): Likewise.
1142
1143 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1144
1145 [BZ #7065]
1146 * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
1147 * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
1148 * include/libc-symbols.h (inhibit_stack_protector): New macro.
1149 (__ifunc_resolver): Use it.
1150 * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
1151 inhibit_stack_protector.
1152 * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
1153 * elf/ifuncmain7.c (foo_ifunc): Likewise.
1154 * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
1155 (foo_protected_ifunc): Likewise.
1156 * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
1157 (foo_protected_ifunc): Likewise.
1158 * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
1159 * sysdeps/nacl/nacl_interface_query.c
1160 (nacl_interface_query_ifunc): Likewise.
1161 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
1162 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
1163 Likewise.
1164 * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
1165 * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
1166 the generated vDSO syscall resolver.
1167
1168 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1169 Florian Weimer <fweimer@redhat.com>
1170
1171 [BZ #7065]
1172 Initialize the stack guard earlier when linking statically.
1173 * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
1174 (__pthread_initialize_minimal): Declare.
1175 * csu/libc-start.c (__pthread_initialize_minimal): Remove
1176 declaration.
1177 (LIBC_START_MAIN): Call __libc_setup_tls early and directly. Move
1178 stack canary and apply_irel initialization up. Call
1179 __pthread_initialize_minimal only if linked in.
1180 * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
1181 constant values.
1182 (__pthread_initialize_minimal): Remove.
1183 * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
1184 (__pthread_initialize_minimal_internal): Do not call
1185 __libc_setup_tls.
1186
1187 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1188
1189 [BZ #7065]
1190 * configure.ac (libc_cv_ssp): Move up.
1191 (libc_cv_ssp_strong): Likewise.
1192 (libc_cv_ssp_all): New.
1193 (stack_protector): Augment, adding -fstack-protector-all.
1194 (no_stack_protector): New.
1195 (STACK_PROTECTOR_LEVEL): New.
1196 (AC_ARG_ENABLE(stack-protector)): New configure flag.
1197 * manual/install.texi (--enable-stack-protector): Document it.
1198 * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
1199
1200 2016-12-24 Carlos O'Donell <carlos@redhat.com>
1201
1202 * README.pretty-printers: Must specify CPPFLAGS-* also.
1203 * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
1204 (CPPFLAGS-test-mutex-printers.c): Define.
1205 (CPPFLAGS-test-condattr-printers.c): Define.
1206 (CPPFLAGS-test-cond-printers.c): Define.
1207 (CPPFLAGS-test-rwlockattr-printers.c): Define.
1208 (CPPFLAGS-test-rwlock-printers.c): Define.
1209
1210 * nss/Makefile [ifeq (yes,$(have-thread-library))]
1211 (tests): Add tst-cancel-getpwuid_r.
1212 * nss/tst-cancel-getpwuid_r.c: New file.
1213
1214 [BZ #11941]
1215 * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
1216 Remove assert (map->l_init_called); if DF_1_NODELETE is set.
1217 * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
1218 tst-nodelete-dlclose.
1219 (modules-names): Add tst-nodelete-dlclose-dso and
1220 tst-nodelete-dlclose-plugin.
1221 ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
1222 ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
1223 ($(objpfx)tst-nodelete-dlclose): Define.
1224 ($(objpfx)tst-nodelete-dlclose.out): Define.
1225
1226 2016-12-23 Florian Weimer <fweimer@redhat.com>
1227
1228 * scripts/test_printers_common.py: Log GDB output in case of
1229 Python detection failure.
1230
1231 2016-12-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
1232
1233 * configure.ac: Check for python3 or python.
1234 * configure: Regenerated.
1235 * config.make.in (PYTHON): New variable.
1236 * benchtests/Makefile: Don't define PYTHON.
1237 (bench): Define target only if PYTHON was defined.
1238 * Rules: Don't define PYTHON.
1239 Define pretty printer targets only if PYTHON was defined.
1240 (tests-printers): Add to tests-unsupported if PYTHON is not
1241 found.
1242 (python-flags, python-invoke): Remove.
1243 (tests-printers-out): Use PYTHON instead of python-invoke.
1244
1245 2016-12-21 Joseph Myers <joseph@codesourcery.com>
1246
1247 [BZ #20978]
1248 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
1249 Compare name == NULL, not name != NULL.
1250
1251 * manual/texinfo.tex: Update to version 2016-09-18.18 with
1252 trailing whitespace removed.
1253 * scripts/config.guess: Update to version 2016-10-02.
1254 * scripts/config.sub: Update to version 2016-11-19.
1255 * scripts/install-sh: Update to version 2016-01-11.22.
1256 * scripts/mkinstalldirs: Update to version 2016-01-11.22.
1257 * scripts/move-if-change: Update to version 2016-01-11 22:04.
1258
1259 2015-12-21 Wilco Dijkstra <wdijkstr@arm.com>
1260
1261 * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
1262 (do_one_test) Restore original string so iteration works.
1263 * string/string-inlines.c (do_test): Create better input strings.
1264 (test_main) Reduce number of testruns.
1265 * string/string-inlines.c (__old_strsep_1c): New function.
1266 (__old_strsep_2c): Likewise.
1267 (__old_strsep_3c): Likewise.
1268 * string/strsep.c (__strsep): Remove case of small delim string.
1269 Call strcspn directly rather than strpbrk.
1270 * string/bits/string2.h (__strsep): Remove define.
1271 (__strsep_1c): Remove.
1272 (__strsep_2c): Remove.
1273 (__strsep_3c): Remove.
1274 (strsep): Remove.
1275 * sysdeps/unix/sysv/linux/internal_statvfs.c
1276 (__statvfs_getflags): Rename to __strsep.
1277
1278 2016-12-21 Florian Weimer <fweimer@redhat.com>
1279
1280 * csu/libc-tls.c (_dl_tls_setup): Remove.
1281 * elf/dl-tls.c (_dl_tls_setup): Likewise.
1282 * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
1283 * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
1284
1285 2016-12-21 Nick Alcock <nick.alcock@oracle.com>
1286
1287 [BZ #7065]
1288 * sysdeps/x86_64/Makefile [$(subdir) = elf]
1289 (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
1290
1291 2016-12-21 Nick Alcock <nick.alcock@oracle.com>
1292 Florian Weimer <fweimer@redhat.com>
1293
1294 [BZ #7065]
1295 * csu/Makefile (tests): Empty assignment and document it.
1296 (tests-static): Remove.
1297 * csu/tst-empty.c: Move to...
1298 * misc/tst-empty.c: ... here. Switch to new test driver.
1299 * csu/tst-atomic.c: Move to...
1300 * misc/tst-atomic.c: ... here. Switch to new test driver.
1301 * csu/tst-atomic-long.c: Move to...
1302 * misc/tst-atomic-long.c: ... here.
1303 * misc/Makefile (tests): Add tst-empty, tst-atomic,
1304 tst-atomic-long.
1305 (tests-static): Add tst-empty.
1306
1307 2016-12-21 Rical Jasan <ricaljasan@pacific.net>
1308
1309 * manual/nss.texi: Change incorrect @vtable to @table.
1310 * manual/arith.texi: Convert @tables of variables to @vtables
1311 and remove unnecessary indexing.
1312 * manual/filesys.texi: Likewise.
1313 * manual/llio.texi: Likewise.
1314 * manual/memory.texi: Likewise.
1315 * manual/process.texi: Likewise.
1316 * manual/resource.texi: Likewise.
1317 * manual/search.texi: Likewise.
1318 * manual/signal.texi: Likewise.
1319 * manual/socket.texi: Likewise.
1320 * manual/stdio.texi: Likewise.
1321 * manual/sysinfo.texi: Likewise.
1322 * manual/syslog.texi: Likewise.
1323 * manual/terminal.texi: Likewise.
1324 * manual/time.texi: Likewise.
1325 * manual/users.texi: Likewise.
1326
1327 2016-12-21 Joseph Myers <joseph@codesourcery.com>
1328
1329 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1330 (roundeven): New declaration.
1331 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
1332 macro.
1333 * math/Versions (roundeven): New libm symbol at version
1334 GLIBC_2.25.
1335 (roundevenf): Likewise.
1336 (roundevenl): Likewise.
1337 * math/Makefile (libm-calls): Add s_roundevenF.
1338 * math/libm-test.inc (roundeven_test_data): New array.
1339 (roundeven_test): New function.
1340 (main): Call roundeven_test.
1341 * math/test-tgmath.c (NCALLS): Increase to 134.
1342 (F(compile_test)): Call roundeven.
1343 (F(roundeven)): New function.
1344 * manual/arith.texi (Rounding Functions): Document roundeven,
1345 roundevenf and roundevenl.
1346 * manual/libm-err-tab.pl (@all_functions): Add roundeven.
1347 * include/math.h (roundeven): Use libm_hidden_proto.
1348 * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
1349 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
1350 * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
1351 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
1352 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
1353 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
1354 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
1355 roundeven.
1356 (CFLAGS-nldbl-roundeven.c): New variable.
1357 * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
1358 * sysdeps/nacl/libm.abilist: Update.
1359 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1360 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1361 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1362 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1363 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1364 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1365 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1366 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1367 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1368 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1369 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1370 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1372 Likewise.
1373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1374 Likewise.
1375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1376 Likewise.
1377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1378 Likewise.
1379 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1380 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1381 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1382 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1383 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1384 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1385 Likewise.
1386 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1387 Likewise.
1388 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1389 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1390 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1391
1392 2016-12-20 Joseph Myers <joseph@codesourcery.com>
1393
1394 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
1395 preprocessor indentation inside #if.
1396
1397 2016-12-20 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1398
1399 * math/libm-test.inc (fmt_ftostr): New function.
1400 (print_float, check_float_internal): Replace some uses of
1401 FTOSTR with uses of fmt_ftostr.
1402 (print_max_error, print_complex_max_error, print_function_ulps)
1403 (print_complex_function_ulps): Remove uses of the macros
1404 PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
1405 * math/test-double.h (FTOSTR): Define to strfromd.
1406 (PRINTF_EXPR): Delete.
1407 (PRINTF_XEXPR): Likewise.
1408 (PRINTF_NEXPR): Likewise.
1409 * math/test-float.h (FTOSTR): Define to strfromf.
1410 (PRINTF_EXPR): Delete.
1411 (PRINTF_XEXPR): Likewise.
1412 (PRINTF_NEXPR): Likewise.
1413 * math/test-ldouble.h (FTOSTR): Define to strfroml.
1414 (PRINTF_EXPR): Delete.
1415 (PRINTF_XEXPR): Likewise.
1416 (PRINTF_NEXPR): Likewise.
1417
1418 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1419
1420 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
1421 (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
1422 * sysdeps/unix/sysv/linux/s390/elision-lock.c:
1423 (__lll_lock_elision): Decrement adapt_count while unlocking
1424 instead of before locking.
1425 * sysdeps/unix/sysv/linux/s390/elision-trylock.c
1426 (__lll_trylock_elision): Likewise.
1427 * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
1428 (__lll_unlock_elision): Likewise.
1429
1430 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1431
1432 * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
1433 * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
1434 Use __libc_tbegin_retry macro.
1435
1436 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1437
1438 * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
1439 Add -msoft-float.
1440 * sysdeps/unix/sysv/linux/s390/htm.h: New File.
1441 * sysdeps/unix/sysv/linux/s390/elision-lock.c:
1442 Use __libc_t* transaction macros instead of __builtin_t*.
1443 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
1444 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
1445
1446 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1447
1448 * sysdeps/unix/sysv/linux/s390/elision-lock.c
1449 (__lll_lock_elision): Use atomics to load / store adapt_count.
1450 * sysdeps/unix/sysv/linux/s390/elision-trylock.c
1451 (__lll_trylock_elision): Likewise.
1452
1453 2016-12-20 Florian Weimer <fweimer@redhat.com>
1454
1455 Do not require memset elimination in explicit_bzero test.
1456 * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
1457 (enum test_expectation): Add NO_EXPECTATIONS.
1458 (subtests): NO_EXPECTATIONS for ordinary clear.
1459 (check_test_buffer): Handle NO_EXPECTATIONS.
1460 * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
1461
1462 2016-12-20 Joseph Myers <joseph@codesourcery.com>
1463
1464 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1465 (fmaxmag): New declaration.
1466 (fminmag): Likewise.
1467 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
1468 macro.
1469 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
1470 * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
1471 (fmaxmagf): Likewise.
1472 (fmaxmagl): Likewise.
1473 (fminmag): Likewise.
1474 (fminmagf): Likewise.
1475 (fminmagl): Likewise.
1476 * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
1477 * math/s_fmaxmag_template.c: New file.
1478 * math/s_fminmag_template.c: Likewise.
1479 * math/libm-test.inc (fmaxmag_test_data): New array.
1480 (fmaxmag_test): New function.
1481 (fminmag_test_data): New array.
1482 (fminmag_test): New function.
1483 (main): Call fmaxmag_test and fminmag_test.
1484 * math/test-tgmath.c (NCALLS): Increase to 132.
1485 (F(compile_test)): Call fmaxmag and fminmag.
1486 (F(fminmag)): New function.
1487 (F(fmaxmag)): Likewise.
1488 * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
1489 fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
1490 * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
1491 fminmag.
1492 * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
1493 * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
1494 * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
1495 * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
1496 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
1497 and fminmag.
1498 (CFLAGS-nldbl-fmaxmag.c): New variable.
1499 (CFLAGS-nldbl-fminmag.c): Likewise.
1500 * sysdeps/nacl/libm.abilist: Update.
1501 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1502 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1503 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1504 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1505 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1506 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1507 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1508 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1509 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1510 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1511 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1512 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1514 Likewise.
1515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1516 Likewise.
1517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1518 Likewise.
1519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1520 Likewise.
1521 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1522 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1523 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1524 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1525 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1526 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1527 Likewise.
1528 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1529 Likewise.
1530 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1531 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1532 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1533
1534 2016-12-19 Torvald Riegel <triegel@redhat.com>
1535
1536 [BZ #20973]
1537 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
1538 wake-up in robust mutexes.
1539 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
1540
1541 2016-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1542
1543 * benchtests/Makefile (bench-math): Add fminf and fmaxf.
1544 (CFLAGS-bench-fmaxf.c): New rule.
1545 (CFLAGS-bench-fminf.c): Likewise.
1546 * benchtests/fmaxf-inputs: New file.
1547 * benchtests/fminf-inputs: Likewise.
1548
1549 * benchtests/Makefile (bench-math): Add fmin and fmax.
1550 (CFLAGS-bench-fmax.c): New rule.
1551 (CFLAGS-bench-fmin.c): Likewise.
1552 * benchtests/fmax-inputs: New file.
1553 * benchtests/fmin-inputs: Likewise.
1554
1555 * benchtests/bench-string.h (TEST_FUNCTION): Use name without
1556 parenthesis.
1557 (CMDLINE_PROCESS): Define using function instead of macro.
1558 * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
1559 of test-skeleton.
1560 * benchtests/bench-memchr.c: Likewise.
1561 * benchtests/bench-memcmp.c: Likewise.
1562 * benchtests/bench-memcpy-large.c: Likewise.
1563 * benchtests/bench-memcpy.c: Likewise.
1564 * benchtests/bench-memmem.c: Likewise.
1565 * benchtests/bench-memmove-large.c: Likewise.
1566 * benchtests/bench-memmove.c: Likewise.
1567 * benchtests/bench-memset-large.c: Likewise.
1568 * benchtests/bench-memset.c: Likewise.
1569 * benchtests/bench-rawmemchr.c: Likewise.
1570 * benchtests/bench-strcasecmp.c: Likewise.
1571 * benchtests/bench-strcasestr.c: Likewise.
1572 * benchtests/bench-strcat.c: Likewise.
1573 * benchtests/bench-strchr.c: Likewise.
1574 * benchtests/bench-strcmp.c: Likewise.
1575 * benchtests/bench-strcpy.c: Likewise.
1576 * benchtests/bench-strcpy_chk.c: Likewise.
1577 * benchtests/bench-strlen.c: Likewise.
1578 * benchtests/bench-strncasecmp.c: Likewise.
1579 * benchtests/bench-strncmp.c: Likewise.
1580 * benchtests/bench-strncpy.c: Likewise.
1581 * benchtests/bench-strnlen.c: Likewise.
1582 * benchtests/bench-strpbrk.c: Likewise.
1583 * benchtests/bench-strrchr.c: Likewise.
1584 * benchtests/bench-strsep.c: Likewise.
1585 * benchtests/bench-strspn.c: Likewise.
1586 * benchtests/bench-strstr.c: Likewise.
1587 * benchtests/bench-strtok.c: Likewise.
1588
1589 2016-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
1590
1591 * sysdeps/x86/cpu-features.c (get_common_indeces): Add
1592 stepping identification.
1593 (init_cpu_features): Add handle of Haswell.
1594
1595 2016-11-25 Jim Meyering <meyering@fb.com>
1596
1597 [BZ #20386]
1598 Let gcc detect assert(a = 1) errors.
1599 * assert/assert.h (assert): Rewrite, retaining the old definintion
1600 when required, but otherwise putting the expression as-is in an "if"
1601 expression (hence, with no added parentheses) within a statement
1602 expression.
1603
1604 2016-12-17 Siddhesh Poyarekar <siddhesh@sourceware.org>
1605
1606 * benchtests/Makefile (binaries-benchset): Depend on libsupport
1607 DSO.
1608
1609 2016-12-17 Martin Galvan <martingalvan@sourceware.org>
1610
1611 * Rules (python-flags, python-invoke): New.
1612 ($(test-printers-out)): Use $(python-flags).
1613
1614 2016-12-16 Joseph Myers <joseph@codesourcery.com>
1615
1616 * manual/arith.texi (Math Error Reporting): Document that sNaN
1617 arguments are not considered domain errors.
1618
1619 2016-12-16 Zack Weinberg <zackw@panix.com>
1620 Florian Weimer <fweimer@redhat.com>
1621 Nick Mathewson <nickm@torproject.org>
1622
1623 * string/explicit_bzero.c: New routine.
1624 * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
1625 * string/Makefile (routines, strop-tests, tests): Add them.
1626 * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
1627 * string/string.h [__USE_MISC]: Declare explicit_bzero.
1628
1629 * debug/explicit_bzero_chk.c: New routine.
1630 * debug/Makefile (routines): Add it.
1631 * debug/tst-chk1.c: Test fortification of explicit_bzero.
1632 * string/bits/string3.h: Fortify explicit_bzero.
1633
1634 * manual/string.texi: Document explicit_bzero.
1635 * NEWS: Mention addition of explicit_bzero.
1636
1637 * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
1638 data before returning, using explicit_bzero.
1639 * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
1640 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
1641 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
1642
1643 * include/string.h: Redirect internal uses of explicit_bzero
1644 to __explicit_bzero_chk[_internal].
1645 * string/Versions [GLIBC_2.25]: Add explicit_bzero.
1646 * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
1647 * sysdeps/arm/nacl/libc.abilist
1648 * sysdeps/unix/sysv/linux/aarch64/libc.abilist
1649 * sysdeps/unix/sysv/linux/alpha/libc.abilist
1650 * sysdeps/unix/sysv/linux/arm/libc.abilist
1651 * sysdeps/unix/sysv/linux/hppa/libc.abilist
1652 * sysdeps/unix/sysv/linux/i386/libc.abilist
1653 * sysdeps/unix/sysv/linux/ia64/libc.abilist
1654 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
1655 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
1656 * sysdeps/unix/sysv/linux/microblaze/libc.abilist
1657 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1658 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1659 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1660 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1661 * sysdeps/unix/sysv/linux/nios2/libc.abilist
1662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
1665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
1666 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
1667 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
1668 * sysdeps/unix/sysv/linux/sh/libc.abilist
1669 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
1670 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
1671 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
1672 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
1673 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
1674 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
1675 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
1676 Add entries for explicit_bzero and __explicit_bzero_chk.
1677
1678 2016-12-16 Joseph Myers <joseph@codesourcery.com>
1679
1680 * math/fenv.h
1681 [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
1682 (FE_SNANS_ALWAYS_SIGNAL): New macro.
1683 * math/test-fe-snans-always-signal.c: New file.
1684 * math/Makefile (tests): Add test-fe-snans-always-signal.
1685 (CFLAGS-test-fe-snans-always-signal.c): New variable.
1686 * manual/arith.texi (Infinity and NaN): Document
1687 FE_SNANS_ALWAYS_SIGNAL.
1688
1689 2016-12-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1690
1691 * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
1692 bracket.
1693
1694 2016-12-16 Joseph Myers <joseph@codesourcery.com>
1695
1696 * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
1697 before calling execv.
1698
1699 2016-12-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1700
1701 [BZ# 20971]
1702 * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
1703 overflow in pointer addition.
1704 * string/test-memchr.c (do_test): Add an argument to pass as
1705 the size on memchr.
1706 (test_main): Add check for SIZE_MAX.
1707
1708 2016-12-16 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1709
1710 * math/Makefile (gen-libm-calls): Remove w_scalblnF.
1711 (libm-calls): Add w_scalblnF.
1712 * math/w_scalbln.c: Remove.
1713 * math/w_scalblnf.c: Likewise.
1714 * math/w_scalblnl.c: Likewise.
1715 * math/w_scalbln_template.c: New file with type-generic
1716 implementation based on math/w_scalbln.c.
1717 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
1718 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
1719
1720 2016-12-15 Joseph Myers <joseph@codesourcery.com>
1721
1722 [BZ #20947]
1723 * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
1724 either is a signaling NaN.
1725 * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise. Make code
1726 follow fmaxl more closely.
1727 * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
1728 when either is a signaling NaN.
1729 * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
1730 * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
1731 * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
1732 * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
1733 * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
1734 * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
1735 * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
1736 * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
1737 (fmin_test_data): Likewise.
1738
1739 2016-12-15 Andreas Schwab <schwab@suse.de>
1740
1741 * support/support_test_main.c (support_test_main): Don't shadow
1742 file-local variable test_pid.
1743
1744 2016-12-15 Joseph Myers <joseph@codesourcery.com>
1745
1746 [BZ #20947]
1747 * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
1748 either is a signaling NaN.
1749 * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
1750
1751 2016-12-14 Joseph Myers <joseph@codesourcery.com>
1752
1753 [BZ #20947]
1754 * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
1755 when either is a signaling NaN.
1756 * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
1757
1758 * bits/long-double.h: New file.
1759 * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
1760 * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
1761 * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
1762 * sysdeps/mips/bits/long-double.h: Likewise.
1763 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
1764 * math/Makefile (headers): Add bits/long-double.h.
1765 * misc/sys/cdefs.h: Include <bits/long-double.h>.
1766 * stdlib/strtold.c: Include <bits/long-double.h> instead of
1767 <bits/wordsize.h>.
1768 * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
1769 [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
1770 * math/math.h: Do not include <bits/mathdef.h>.
1771 * sysdeps/aarch64/bits/mathdef.h: Remove file.
1772 * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
1773 inclusion.
1774 * sysdeps/ia64/bits/mathdef.h: Remove file.
1775 * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
1776 * sysdeps/mips/bits/mathdef.h: Likewise.
1777 * sysdeps/powerpc/bits/mathdef.h: Likewise.
1778 * sysdeps/s390/bits/mathdef.h: Likewise.
1779 * sysdeps/sparc/bits/mathdef.h: Likewise.
1780 * sysdeps/x86/bits/mathdef.h: Likewise.
1781 * sysdeps/s390/s390-32/bits/wordsize.h
1782 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
1783 conditional code.
1784 * sysdeps/s390/s390-64/bits/wordsize.h
1785 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
1786 Likewise.
1787 * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
1788 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
1789 Likewise.
1790 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
1791 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
1792 Likewise.
1793 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
1794 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
1795 Likewise.
1796
1797 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
1798 <linux/falloc.h>.
1799 (FALLOC_FL_KEEP_SIZE): Remove.
1800 (FALLOC_FL_PUNCH_HOLE): Likewise.
1801 (FALLOC_FL_COLLAPSE_RANGE): Likewise.
1802 (FALLOC_FL_ZERO_RANGE): Likewise.
1803
1804 2016-12-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1805
1806 * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
1807
1808 2016-12-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1809
1810 * sysdeps/unix/sysv/linux/renameat.c: New file.
1811 * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
1812
1813 * sysdeps/unix/sysv/linux/rename.c: New file.
1814 * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
1815
1816 2015-12-14 Wilco Dijkstra <wdijkstr@arm.com>
1817
1818 * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
1819 * string/strtok.c (strtok): Change to tailcall __strtok_r.
1820 * string/strtok_r.c (__strtok_r): Optimize for performance.
1821 * string/string-inlines.c (__old_strtok_r_1c): New function.
1822 * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
1823
1824 2016-12-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1825
1826 * math/Makefile (gen-libm-calls): Add w_log1pF.
1827 (libm-calls): Remove w_log1pF.
1828 * math/w_log1p.c: Remove.
1829 * math/w_log1pf.c: Likewise.
1830 * math/w_log1pl.c: Likewise.
1831 * math/w_log1p_template.c: New file with type-generic
1832 implementation based on math/w_log1p.c.
1833 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
1834 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
1835
1836 2015-12-14 Wilco Dijkstra <wdijkstr@arm.com>
1837
1838 * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
1839
1840 2016-12-14 Joseph Myers <joseph@codesourcery.com>
1841
1842 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1843 kernel version to 4.9.
1844
1845 2016-12-12 Andrew Senkevich <andrew.senkevich@intel.com>
1846
1847 * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
1848 ($(inst_libdir)/libm.a): Fix rule to create the target only.
1849
1850 2016-12-13 Andreas Schwab <schwab@suse.de>
1851
1852 * sysdeps/powerpc/dl-procinfo.c: Don't define
1853 _dl_powerpc_platforms.
1854 * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
1855 constants instead of referencing _dl_powerpc_platforms.
1856 (_dl_platform_string): Remove.
1857
1858 2016-12-13 Florian Weimer <fweimer@redhat.com>
1859
1860 * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
1861
1862 2016-12-13 Florian Weimer <fweimer@redhat.com>
1863
1864 * Rules (binaries-shared-tests, binaries-pie-tests)
1865 (binaries-static-tests): Link with $(link-extra-libs-tests).
1866 * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
1867 Remove $(link-extra-libs-tests).
1868
1869 2016-12-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1870
1871 * sysdeps/powerpc/powerpc64/multiarch/Makefile
1872 (sysdep_routines): Add strncmp_power9.
1873 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1874 (strncmp): Add __strncmp_power9 to list of strncmp functions.
1875 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
1876 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
1877 (strncmp): Add __strncmp_power9 to ifunc list.
1878 * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
1879
1880 2016-12-12 Florian Weimer <fweimer@redhat.com>
1881
1882 [BZ #17252]
1883 Add getentropy, getrandom.
1884 * stdlib/sys/random.h: New file.
1885 (headers): Add it.
1886 * stdlib/Makefile (routines): Add getentropy, getrandom.
1887 (tests): Add tst-getrandom.
1888 * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
1889 * stdlib/getentropy.c: New file.
1890 * stdlib/getrandom.c: Likewise.
1891 * stdlib/tst-getrandom.c: Likewise.
1892 * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
1893 * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
1894 * manual/crypt.texi (Unpredictable Bytes): New section.
1895 * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
1896 * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
1897 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
1898 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1899 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1900 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1901 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1902 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1903 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1904 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1905 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1906 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1907 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
1908 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1909 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1910 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1912 Likewise.
1913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1914 Likewise.
1915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1917 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1918 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1919 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1920 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1921 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1922 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
1923 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
1924 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1925 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1926 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1927
1928 2016-12-10 Florian Weimer <fweimer@redhat.com>
1929
1930 [BZ #20956]
1931 * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
1932 as additional compiler barriers.
1933 * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
1934 (fn2, do_test): Declare with external linkage.
1935 * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
1936 (do_test): Declare with external linkage.
1937 * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
1938 (do_test): Declare with external linkage.
1939 * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
1940 (do_test): Declare with external linkage.
1941
1942 2016-12-10 Andreas Schwab <schwab@linux-m68k.org>
1943
1944 * support/support_test_main.c (support_test_main): Use correct
1945 timeout.
1946
1947 2016-12-09 Carlos O'Donell <carlos@redhat.com>
1948 Florian Weimer <fweimer@redhat.com>
1949
1950 [BZ #16421]
1951 * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
1952 and __u6_addr32 members.
1953 (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
1954 (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
1955 (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
1956 Use __u6_addr32.
1957 * inet/tst-checks.c: Use <support/test-driver.c>
1958 * inet/tst-checks-posix.c: New file.
1959 * inet/Makefile (tests): Add it.
1960 (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
1961
1962 2016-12-09 Florian Weimer <fweimer@redhat.com>
1963
1964 New subdirectory support for build and test infrastructure.
1965 * extra-libs.mk (extra-libs-noinstall): Add variable. Use it when
1966 setting install-lib.
1967 * Makeconfig (link-extra-libs-tests): Define.
1968 (+link-pie-tests, +link-static-tests, +link-tests): Use
1969 link-extra-libs-tests.
1970 (rpath-dirs, all-subdirs): Add support.
1971 (built-modules): Add libsupport.
1972 (libsupport): Define.
1973 * support: New directory.
1974 * support/Makefile: New file.
1975 * support/check.c: Likewise.
1976 * support/check.h: Likewise.
1977 * support/delayed_exit.c: Likewise.
1978 * support/ignore_stderr.c: Likewise.
1979 * support/oom_error.c: Likewise.
1980 * support/set_fortify_handler.c: Likewise.
1981 * support/support.h: Likewise.
1982 * support/temp_file-internal.h: Likewise.
1983 * support/temp_file.c: Likewise.
1984 * support/test-driver.c: Likewise.
1985 * support/test-driver.h: Likewise.
1986 * support/test_main.c: Likewise.
1987 * support/write_message.c: Likewise.
1988 * support/xasprintf.c: Likewise.
1989 * support/xcalloc.c: Likewise.
1990 * support/xmalloc.c: Likewise.
1991 * support/xpthread_barrier_destroy.c: Likewise.
1992 * support/xpthread_barrier_init.c: Likewise.
1993 * support/xpthread_barrier_wait.c: Likewise.
1994 * support/xpthread_cancel.c: Likewise.
1995 * support/xpthread_check_return.c: Likewise.
1996 * support/xpthread_cond_wait.c: Likewise.
1997 * support/xpthread_create.c: Likewise.
1998 * support/xpthread_detach.c: Likewise.
1999 * support/xpthread_join.c: Likewise.
2000 * support/xpthread_mutex_lock.c: Likewise.
2001 * support/xpthread_mutex_unlock.c: Likewise.
2002 * support/xpthread_sigmask.c: Likewise.
2003 * support/xpthread_spin_lock.c: Likewise.
2004 * support/xpthread_spin_unlock.c: Likewise.
2005 * support/xrealloc.c: Likewise.
2006 * support/xsignal.h: Likewise.
2007 * support/xthread.h: Likewise.
2008 * support_tempfile.h: Likewise.
2009 * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
2010 (TEST_DATA_LIMIT): Remove unused macro.
2011 (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove. Now in
2012 <support/check.h>.
2013 (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
2014 (ignore_stderr, set_fortify_handler): Remove. Now in
2015 <support/support.h>.
2016 (xpthread_sigmask): Remove. Now in <support/xsignal.h>.
2017 (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
2018 (xpthread_barrier_wait, xpthread_create, xpthread_detach)
2019 (xpthread_join): Remove. Now in <support/xthread.h>.
2020 (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
2021 Introduce legacy wrappers.
2022 * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
2023 * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
2024 (write_message): Remove.
2025 * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
2026 test-skeleton.c.
2027 * io/test-open-tmpfile: Likewise.
2028 * io/tst-posix_fallocate-common.c: Likewise.
2029 * libio/tst-fseek.c: Likewise.
2030 * malloc/tst-malloc-backtrace.c: Likewise.
2031 * malloc/tst-malloc-fork-deadlock.c: Likewise.
2032 * malloc/tst-malloc-thread-exit.c: Likewise.
2033 * nptl/tst-cancel7.c: Likewise.
2034 * nptl/tst-cleanup0.c: Likewise.
2035 * posix/tst-posix_fadvise-common.c: Likewise.
2036 * rt/tst-shm.c: Likewise.
2037 * time/bug-getdate1.c: Likewise.
2038 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
2039 * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
2040 * elf/Makefile (tst-piemod1.so): Link against libsupport.
2041
2042 2016-12-08 Joseph Myers <joseph@codesourcery.com>
2043
2044 * Rules [$(run-built-tests) != no] (tests-expected): Add
2045 $(tests-printers).
2046 (tests): Do not pass $(tests-printers) to merge-test-results.sh.
2047
2048 2016-12-08 Andrew Senkevich <andrew.senkevich@intel.com>
2049
2050 [BZ #20539]
2051 * math/Makefile (install-lib-ldscripts): Add libm.a.
2052 (install_subdir): Remove.
2053 (install-others): Add.
2054 ($(inst_libdir)/libm.a): Add rule for installation as
2055 linker script.
2056 * Makerules (install-lib.a): Filter out install-lib-ldscripts.
2057
2058 2016-12-08 Martin Galvan <martin.galvan@tallertechnologies.com>
2059
2060 * INSTALL: Regenerated.
2061 * Makeconfig: Add comments and whitespace to make the control flow
2062 clearer.
2063 (+link-printers-tests, +link-pie-printers-tests,
2064 CFLAGS-printers-tests, installed-rtld-LDFLAGS,
2065 built-rtld-LDFLAGS, link-libc-rpath,
2066 link-libc-tests-after-rpath-link,
2067 link-libc-printers-tests): New.
2068 (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
2069 link-libc-tests): Use the new variables as required.
2070 * Makerules ($(py-const)): New rule.
2071 generated: Add $(py-const).
2072 * README.pretty-printers: New file.
2073 * Rules (tests-printers-programs, tests-printers-out, py-env): New.
2074 (others): Depend on $(py-const).
2075 (tests): Depend on $(tests-printers-programs) or
2076 $(tests-printers-out),
2077 as required. Pass $(tests-printers) to merge-test-results.sh.
2078 * manual/install.texi: Add requirements for testing the pretty
2079 printers.
2080 * nptl/Makefile (gen-py-const-headers, pretty-printers,
2081 tests-printers, CFLAGS-test-mutexattr-printers.c
2082 CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
2083 CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
2084 CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
2085 * nptl/nptl-printers.py: New file.
2086 * nptl/nptl_lock_constants.pysym: Likewise.
2087 * nptl/test-cond-printers.c: Likewise.
2088 * nptl/test-cond-printers.py: Likewise.
2089 * nptl/test-condattr-printers.c: Likewise.
2090 * nptl/test-condattr-printers.py: Likewise.
2091 * nptl/test-mutex-printers.c: Likewise.
2092 * nptl/test-mutex-printers.py: Likewise.
2093 * nptl/test-mutexattr-printers.c: Likewise.
2094 * nptl/test-mutexattr-printers.py: Likewise.
2095 * nptl/test-rwlock-printers.c: Likewise.
2096 * nptl/test-rwlock-printers.py: Likewise.
2097 * nptl/test-rwlockattr-printers.c: Likewise.
2098 * nptl/test-rwlockattr-printers.py: Likewise.
2099 * scripts/gen-py-const.awk: Likewise.
2100 * scripts/test_printers_common.py: Likewise.
2101 * scripts/test_printers_exceptions.py: Likewise.
2102
2103 2016-12-07 Joseph Myers <joseph@codesourcery.com>
2104
2105 * scripts/build-many-glibcs.py (Context.__init__): Take strip
2106 argument.
2107 (Glibc.build_glibc): Strip installed shared libraries if
2108 requested.
2109 (get_parser): Add --strip option.
2110 (main): Update Context call.
2111
2112 2016-12-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2113 Dominik Vogt <vogt@linux.vnet.ibm.com>
2114
2115 [BZ #20847]
2116 * posix/execvpe.c (maybe_script_execute): Remove write past allocated
2117 array bounds for else branch.
2118 (__execvpe): Style fixes.
2119 * posix/tst-vfork3.c (run_script): New function.
2120 (create_script): Likewise.
2121 (do_test): Use run_script internal function.
2122 (do_prepare): Use create_script internal function.
2123
2124 2016-12-07 Andreas Schwab <schwab@suse.de>
2125
2126 * sysdeps/unix/sysv/linux/x86/elision-conf.h
2127 (__elision_available): Don't declare.
2128 * sysdeps/unix/sysv/linux/x86/elision-conf.c
2129 (__elision_available): Don't define.
2130 (elision_init): Don't set __elision_available.
2131
2132 2016-12-07 Joseph Myers <joseph@codesourcery.com>
2133
2134 [BZ #20940]
2135 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
2136 return Inf for arguments Inf and sNaN.
2137 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
2138 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
2139 Likewise.
2140 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
2141 Likewise.
2142 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
2143 * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
2144 for arguments Inf and sNaN. When returning a NaN, compute it by
2145 arithmetic on the arguments.
2146 * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
2147 * math/libm-test.inc (hypot_test_data): Add tests of sNaN
2148 arguments.
2149
2150 2016-12-06 Joseph Myers <joseph@codesourcery.com>
2151
2152 [BZ #20916]
2153 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
2154 arguments (sNaN, 0) or (1, sNaN). Do arithmetic on NaN arguments
2155 to compute result.
2156 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2157 * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
2158
2159 2016-12-05 Torvald Riegel <triegel@redhat.com>
2160
2161 * include/atomic.h (__atomic_check_size_ls): New.
2162 (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
2163 atomic_store_release): Use it.
2164 * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
2165 (elision_adapt, ELIDE_LOCK): Use atomics.
2166 * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
2167 atomics and improve code comments.
2168 * sysdeps/unix/sysv/linux/x86/elision-trylock.c
2169 (__lll_trylock_elision): Likewise.
2170
2171 2016-12-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
2172
2173 * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
2174 programs.
2175
2176 2016-12-02 Joseph Myers <joseph@codesourcery.com>
2177
2178 [BZ #20916]
2179 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
2180 for arguments (sNaN, 0) or (1, sNaN). Do arithmetic on NaN
2181 arguments to compute result.
2182 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
2183 1 for arguments (sNaN, 0) or (1, sNaN).
2184 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
2185 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
2186
2187 [BZ #20919]
2188 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
2189 NaN first argument when raised to power 0.
2190 * math/w_pow.c (__pow): Do not check for NaN or zero results from
2191 raising to power zero.
2192 * math/w_powf.c (__powf): Likewise.
2193 * math/w_powl.c (__powl): Likewise.
2194 * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
2195 pow (0, 0) or pow (NaN, 0).
2196
2197 2016-12-02 Carlos O'Donell <carlos@redhat.com>
2198
2199 [BZ #20918]
2200 * configure.ac: Test for static NSS cryptographic libraries and set
2201 libc_cv_static_nss_crypt.
2202 * configure: Regenerate.
2203 * config.make.in (static-nss-crypt): Define.
2204 * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
2205 [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
2206 (CFLAGS-tst-linkall-static.c): Define.
2207 ($(objpfx)tst-linkall-static): Remove libcrypt.a.
2208 [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
2209 ($(objpfx)tst-linkall-static): Define.
2210 [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
2211 * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
2212
2213 2016-12-02 Florian Weimer <fweimer@redhat.com>
2214
2215 * elf/Makefile [build-shared] (tests): Add tst-latepthread.
2216 (one-hundred, tst-tls-many-dynamic-modules): Define.
2217 (modules-names): Add $(tst-tls-many-dynamic-modules).
2218 (tst-tls-manydynamic%mod.os): Build with special preprocessor
2219 macros.
2220 (tst-tls-manydynamic): Link against libdl, libpthread.
2221 (tst-tls-manydynamic.out): The test needs the test modules at run
2222 time.
2223 * elf/tst-tls-manydynamic.c: New file.
2224 * elf/tst-tls-manydynamic.h: Likewise.
2225 * elf/tst-tls-manydynamicmod.c: Likewise.
2226
2227 2016-12-02 Florian Weimer <fweimer@redhat.com>
2228
2229 * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
2230 (TLS_DTV_UNALLOCATED): Add.
2231 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
2232 offsets.
2233
2234 2016-12-02 Stefan Liebler <stli@linux.vnet.ibm.com>
2235
2236 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2237
2238 2016-12-02 Stefan Liebler <stli@linux.vnet.ibm.com>
2239
2240 * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
2241 Add -fno-optimize-sibling-calls.
2242
2243 2016-12-02 Joseph Myers <joseph@codesourcery.com>
2244
2245 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
2246 New declaration.
2247 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
2248 macro.
2249 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
2250 New macro.
2251 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
2252 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
2253 * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
2254 (llogbf): Likewise.
2255 (llogbl): Likewise.
2256 * math/Makefile (gen-libm-calls): Add w_llogbF.
2257 (tests): Add test-fp-llogb-constants.
2258 * math/w_llogb_template.c: New file. Based on
2259 math/w_ilogb_template.c.
2260 * math/libm-test.inc (llogb_test_data): New array.
2261 (llogb_test): New function.
2262 (main): Call llogb_test.
2263 * math/test-fp-llogb-constants.c: New file. Based on
2264 math/test-fp-ilogb-constants.c.
2265 * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
2266 (do_test): Call check_return_llogb.
2267 * math/test-tgmath.c (NCALLS): Increase to 126.
2268 (F(compile_test)): Call llogb.
2269 (F(llogb)): New function.
2270 * manual/math.texi (Exponents and Logarithms): Document llogb,
2271 llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
2272 * manual/libm-err-tab.pl (@all_functions): Add llogb.
2273 * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
2274 * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
2275 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
2276 (CFLAGS-nldbl-llogb.c): New variable.
2277 * sysdeps/nacl/libm.abilist: Update.
2278 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2279 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2280 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2281 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2282 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2283 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2284 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2285 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2286 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2287 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2288 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2289 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2291 Likewise.
2292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2293 Likewise.
2294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2295 Likewise.
2296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2297 Likewise.
2298 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2299 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2300 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2301 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2302 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2303 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2304 Likewise.
2305 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2306 Likewise.
2307 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2308 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2309 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2310
2311 2016-12-01 Joseph Myers <joseph@codesourcery.com>
2312
2313 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
2314 _Float128 instead of long double.
2315 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
2316
2317 * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
2318 * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
2319 * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
2320 * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
2321 * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
2322 * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
2323 * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
2324 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
2325 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
2326 Likewise.
2327
2328 2016-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2329
2330 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
2331 Remove redirection to __strrchr_ppc.
2332
2333 2016-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2334
2335 * sysdeps/powerpc/powerpc64/multiarch/Makefile
2336 (sysdep_routines): Add strcmp_power9.
2337 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2338 (strcmp): Add __strcmp_power9 to list of strcmp functions.
2339 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
2340 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
2341 (strcmp): Add __strcmp_power9 to ifunc list.
2342 * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
2343
2344 2016-12-01 Joseph Myers <joseph@codesourcery.com>
2345
2346 * bits/fp-logb.h: New file.
2347 * sysdeps/ia64/bits/fp-logb.h: Likewise.
2348 * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
2349 * sysdeps/x86/bits/fp-logb.h: Likewise.
2350 * math/Makefile (headers): Add bits/fp-logb.h.
2351 * math/math.h: Include <bits/fp-logb.h>.
2352 [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
2353 [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
2354 * bits/mathdef.h (FP_ILOGB0): Remove.
2355 (FP_ILOGBNAN): Likewise.
2356 * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
2357 (FP_ILOGBNAN): Likewise.
2358 * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
2359 (FP_ILOGBNAN): Likewise.
2360 * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
2361 (FP_ILOGBNAN): Likewise.
2362 * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
2363 (FP_ILOGBNAN): Likewise.
2364 * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
2365 (FP_ILOGBNAN): Likewise.
2366 * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
2367 (FP_ILOGBNAN): Likewise.
2368 * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
2369 (FP_ILOGBNAN): Likewise.
2370 * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
2371 (FP_ILOGBNAN): Likewise.
2372 * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
2373 (FP_ILOGBNAN): Likewise.
2374
2375 * scripts/build-many-glibcs.py: Add bot to usage message. Import
2376 time module.
2377 (Context.__init__): Initialize self.logsdir_old.
2378 (Context.run_builds): Handle bot action.
2379 (Context.bot_cycle): Copy logs directory before running builds.
2380 (Context.bot_run_self): Take argument for whether to check
2381 subprocess result. Flush stdout before running subprocess.
2382 (Context.bot): New function.
2383 (get_parser): Allow bot action.
2384
2385 2016-11-30 Joseph Myers <joseph@codesourcery.com>
2386
2387 * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
2388 Import email.mime.text, email.utils and smtplib modules.
2389 (Context.__init__): Initialize self.bot_config_json.
2390 (Context.run_builds): Handle bot-cycle action.
2391 (Context.load_bot_config_json): New function.
2392 (Context.part_build_old): Likewise.
2393 (Context.bot_cycle): Likewise.
2394 (Context.bot_build_mail): Likewise.
2395 (Context.bot_run_self): Likewise.
2396 (get_parser): Allow bot-cycle action.
2397
2398 2016-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2399
2400 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
2401 Remove redirection to __stpcpy_ppc.
2402
2403 2016-11-30 Florian Weimer <fweimer@redhat.com>
2404
2405 Remove __libc_memalign from ld.so because it is unused.
2406 * elf/dl-minimal.c: Update comment on the malloc implementation.
2407 (malloc): Renamed from __libc_memalign, replacing the original
2408 malloc implementation. Replace the align parameter with
2409 MALLOC_ALIGNMENT.
2410 * elf/Versions (ld): Update comment and remove __libc_memalign.
2411 * sysdeps/nacl/ld.abilist: Likewise.
2412 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
2413 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
2414 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
2415 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
2416 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
2417 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
2418 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
2419 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
2420 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
2421 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
2422 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
2423 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
2424 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
2425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
2426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
2427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
2428 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
2429 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
2430 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
2431 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
2432 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
2433 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
2434 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
2435 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
2436 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
2437 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
2438 * sysdeps/generic/localplt.data (ld.so): Likewise.
2439 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
2440 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
2441 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
2442 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
2443 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
2444 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
2445 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
2446 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
2447 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
2448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
2449 (ld.so): Likewise.
2450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
2451 (ld.so): Likewise.
2452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
2453 Likewise.
2454 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
2455 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
2456 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
2457 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
2458 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
2459
2460 2016-11-30 Florian Weimer <fweimer@redhat.com>
2461
2462 [BZ #16628]
2463 Implement _dl_catch_error, _dl_signal_error in libc.so.
2464 * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
2465 (catch_hook): Define as thread-local or regular variable,
2466 depending on DL_ERROR_BOOTSTRAP.
2467 (CATCH_HOOK): Remove.
2468 (dl_signal_error, _dl_catch_error): Use
2469 catch_hook. Add hidden definition for libc.
2470 (_dl_receive_error, _dl_signal_cerror): Use catch_hook. Compile
2471 for DL_ERROR_BOOTSTRAP only.
2472 * elf/dl-error.c: New file.
2473 * elf/dl-error-minimal.c: Likewise.
2474 * elf/tst-latepthread.c: Likewise.
2475 * elf/tst-latepthreadmod.c: Likewise.
2476 * elf/Makefile (routines): Add dl-error.
2477 (dl-routines): Remove dl-error.
2478 (rtld-routines): Add dl-error-minimal.
2479 [build-shared] (tests): Add tst-latepthread.
2480 (module-names): Add tst-latepthreadmod.
2481 (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
2482 symbol.
2483 (tst-latepthreadmod.so): Link against libpthread.
2484 (tst-latepthread): Link against libdbl.
2485 * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
2486 _dl_catch_error.
2487 [ld] (GLIBC_PRIVATE): Likewise.
2488 * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
2489 * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
2490 * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
2491 directly.
2492 * elf/dl-tsd.c: Remove file.
2493 * elf/rtld.c (_rtld_global_ro): Remove initializers for
2494 _dl_catch_error, _dl_signal_error.
2495 (_dl_initial_error_catch_tsd): Remove definition.
2496 (do_preload): Remove initialization of dl_error_catch_tsd.
2497 * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
2498 * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
2499 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
2500 * dlfcn/dlopen.c (dlopen_doit): Likewise.
2501 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
2502 set dl_error_catch_tsd.
2503 * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
2504 _dl_error_catch_tsd member.
2505 (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
2506 members.
2507 (_dl_initial_error_catch_tsd): Remove declaration.
2508 (_dl_dprintf): Provide definition for use outside of ld.so.
2509 [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
2510 (_dl_signal_error, _dl_catch_error): Make public. Add hidden
2511 prototype for libc.
2512 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
2513 _dl_catch_error.
2514 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
2515 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
2516 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
2517 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
2518 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
2519 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
2520 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
2521 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
2522 Likewise.
2523 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
2524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
2525 (ld.so): Likewise.
2526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
2527 (ld.so): Likewise.
2528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
2529 Likewise.
2530 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
2531 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
2532 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
2533 Likewise.
2534 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
2535 Likewise.
2536 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
2537
2538 2016-11-30 Florian Weimer <fweimer@redhat.com>
2539
2540 [BZ #4099]
2541 * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
2542 _IO_BUFSIZ (8192).
2543
2544 2016-11-30 Carlos O'Donell <carlos@redhat.com>
2545
2546 * PROJECTS: Remove file.
2547
2548 2016-11-29 Florian Weimer <fweimer@redhat.com>
2549
2550 * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
2551
2552 2016-11-29 Yury Norov <ynorov@caviumnetworks.com>
2553 Steve Ellcey <sellcey@caviumnetworks.com>
2554
2555 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
2556 fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
2557 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
2558 fxstatat.
2559 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
2560 lxstat.
2561 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
2562 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
2563 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
2564 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
2565 an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
2566 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
2567 __xstat.
2568
2569 2016-11-29 Florian Weimer <fweimer@redhat.com>
2570
2571 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
2572 Define.
2573 * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
2574 definition.
2575
2576 2016-11-29 Florian Weimer <fweimer@redhat.com>
2577
2578 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
2579 version and turn into strong alias. Remove compat symbol.
2580
2581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2582 (__longjmp): Remove.
2583
2584 2016-11-29 Joseph Myers <joseph@codesourcery.com>
2585
2586 * bits/fp-fast.h: New file.
2587 * sysdeps/aarch64/bits/fp-fast.h: Likewise.
2588 * sysdeps/powerpc/bits/fp-fast.h: Likewise.
2589 * math/Makefile (headers): Add bits/fp-fast.h.
2590 * math/math.h: Include <bits/fp-fast.h>.
2591 * bits/mathdef.h (FP_FAST_FMA): Remove.
2592 (FP_FAST_FMAF): Likewise.
2593 (FP_FAST_FMAL): Likewise.
2594 * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
2595 (FP_FAST_FMAF): Likewise.
2596 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
2597 (FP_FAST_FMAF): Likewise.
2598 * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
2599 (FP_FAST_FMAF): Likewise.
2600 (FP_FAST_FMAL): Likewise.
2601 * sysdeps/arm/bits/mathdef.h: Remove file.
2602 * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
2603 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
2604 * sysdeps/tile/bits/mathdef.h: Likewise.
2605
2606 2016-11-28 Joseph Myers <joseph@codesourcery.com>
2607
2608 * math/w_ilogb_template.c: New file. Based on math/w_ilogb.c.
2609 * math/w_ilogb.c: Remove.
2610 * math/w_ilogbf.c: Likewise.
2611 * math/w_ilogbl.c: Likewise.
2612 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
2613 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
2614 * math/Makefile (gen-libm-calls): Add w_ilogbF.
2615 (libm-calls): Remove w_ilogbF.
2616 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
2617 (LDOUBLE_ilogbl_libm_version): New macro.
2618
2619 * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
2620
2621 * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
2622 [!__STRICT_ANSI__ && !__cplusplus].
2623
2624 2016-11-28 H.J. Lu <hongjiu.lu@intel.com>
2625
2626 [BZ #20750]
2627 * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
2628 of PIC.
2629
2630 2016-11-28 Andrew Pinski <andrew.pinski@caviumnetworks.com>
2631 Yury Norov <ynorov@caviumnetworks.com>
2632 Steve Ellcey <sellcey@caviumnetworks.com>
2633
2634 * sysdeps/aarch64/crti.S: Add include of sysdep.h.
2635 (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
2636 * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
2637 (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
2638 * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
2639 (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
2640 elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
2641 elf_machine_lazy_rel): Add ifdef's for ILP32 support.
2642 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
2643 _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
2644 _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
2645 to get correct reg name for ILP32.
2646 * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
2647 (RELA_SIZE): New Macro.
2648 (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
2649 to support ILP32.
2650 * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
2651 cast for ILP32 mode.
2652 * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
2653 * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
2654 * sysdeps/aarch64/memset.S (__memset): Ditto.
2655 * sysdeps/aarch64/strchr.S (strchr): Ditto.
2656 * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
2657 * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
2658 * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
2659 * sysdeps/aarch64/strlen.S (__strlen): Ditto.
2660 * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
2661 * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
2662 * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
2663 * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
2664 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
2665 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
2666 * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
2667 change PTR_MANGLE call to use register numbers instead of names.
2668 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
2669 * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
2670 ILP32 mode, change PTR_MANGLE calls to use register numbers.
2671 * sysdeps/aarch64/start.S (_start): Ditto.
2672 * sysdeps/aarch64/nptl/bits/pthreadtypes.h
2673 (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
2674 (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
2675 __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
2676 __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
2677 __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
2678 __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
2679 Make defined values dependent on __ILP32__.
2680 * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
2681 (sem_t): Change __align type.
2682 * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
2683 PTR_SIZE): New Macros.
2684 (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
2685 * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
2686 Set when in ILP32 mode.
2687 (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
2688 * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
2689 Set elf flags for ILP32.
2690 (add_system_dir): Set ILP32 library directories.
2691 * sysdeps/unix/sysv/linux/aarch64/init-first.c
2692 (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
2693 * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
2694 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
2695 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
2696 New Macros.
2697 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
2698
2699 2016-11-28 Steve Ellcey <sellcey@caviumnetworks.com>
2700
2701 * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
2702 only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
2703 * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
2704
2705 2016-11-28 Joseph Myers <joseph@codesourcery.com>
2706
2707 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
2708 <asm/cachectl.h>.
2709
2710 2016-11-27 Zack Weinberg <zackw@panix.com>
2711
2712 * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
2713 * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
2714
2715 2016-11-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2716
2717 * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
2718 error_t to fix usage in C++ programs.
2719
2720 2016-11-26 Joseph Myers <joseph@codesourcery.com>
2721
2722 * scripts/build-many-glibcs.py: Import datetime module.
2723 (Context.__init__): Load JSON build state. Initialize list of
2724 status logs.
2725 (Context.run_builds): Update saved build state.
2726 (Context.add_makefile_cmdlist): Update list of status logs.
2727 (Context.load_build_state_json): New function.
2728 (Context.store_build_state_json): Likewise.
2729 (Context.clear_last_build_state): Likewise.
2730 (Context.update_build_state): Likewise.
2731 (CommandList.status_logs): Likewise.
2732
2733 2016-11-25 Joseph Myers <joseph@codesourcery.com>
2734
2735 * scripts/build-many-glibcs.py (Context.__init__): Save text of
2736 script being executed.
2737 (Context.get_script_text): New function.
2738 (Context.exec_self): Likewise.
2739 (Context.checkout): Re-exec script if changed by checkout process.
2740
2741 2016-11-24 Joseph Myers <joseph@codesourcery.com>
2742
2743 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2744 (setpayloadsig): New declaration.
2745 * math/Versions (setpayloadsig): New libm symbol at version
2746 GLIBC_2.25.
2747 (setpayloadsigf): Likewise.
2748 (setpayloadsigl): Likewise.
2749 * math/Makefile (libm-calls): Add s_setpayloadsigF.
2750 * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
2751 (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
2752 (setpayloadsig_test_data): New array.
2753 (setpayloadsig_test): New function.
2754 (main): Call setpayloadsig_test.
2755 * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
2756 setpayloadsigf and setpayloadsigl.
2757 * manual/libm-err-tab.pl: Update comment on interfaces without
2758 ulps tabulated.
2759 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
2760 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
2761 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
2762 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
2763 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
2764 * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
2765 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
2766 setpayloadsig.
2767 (CFLAGS-nldbl-setpayloadsig.c): New variable.
2768 * sysdeps/nacl/libm.abilist: Update.
2769 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2770 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2771 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2772 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2773 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2774 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2775 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2776 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2777 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2778 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2779 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2780 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2782 Likewise.
2783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2784 Likewise.
2785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2786 Likewise.
2787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2788 Likewise.
2789 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2790 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2791 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2792 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2793 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2794 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2795 Likewise.
2796 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2797 Likewise.
2798 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2799 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2800 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2801
2802 * scripts/build-many-glibcs.py: Import json module.
2803 (Context.__init__): Take replace_sources argument. Load
2804 versions.json.
2805 (Context.load_versions_json): New function.
2806 (Context.store_json): Likewise.
2807 (Context.store_versions_json): Likewise.
2808 (Context.set_component_version): Likewise.
2809 (Context.checkout): Update versions.json. Check for and handle
2810 changes of version. Prefer previously explicitly specified
2811 version to default version.
2812 (Context.checkout_vcs): Return a revision identifier.
2813 (Context.git_checkout): Likewise.
2814 (Context.gcc_checkout): Likewise.
2815 (get_parser): Add --replace-sources option.
2816 (main): Pass replace_sources argument to Context call.
2817
2818 2016-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2819
2820 * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
2821 * nptl/allocatestack.c (allocate_stack): Likewise.
2822 (__reclaim_stacks): Likewise.
2823 (setxid_signal_thread): Obtain pid through syscall.
2824 * nptl/nptl-init.c (sigcancel_handler): Likewise.
2825 (sighandle_setxid): Likewise.
2826 * nptl/pthread_cancel.c (pthread_cancel): Likewise.
2827 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
2828 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
2829 Likewise.
2830 * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
2831 * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
2832 comment.
2833 * sysdeps/unix/sysv/linux/getpid.c: Remove file.
2834 * nptl/descr.h (struct pthread): Change comment about pid value.
2835 * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
2836 pid assert.
2837 * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
2838 Do not set pid value.
2839 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
2840 pid cache check.
2841 * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
2842 * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
2843 * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
2844 * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
2845 * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
2846 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
2847 * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
2848 * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
2849 * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
2850 * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
2851 * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
2852 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
2853 * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
2854 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
2855 * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
2856 * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
2857 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
2858 * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
2859 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
2860 * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
2861 * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
2862 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2863 * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
2864 * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
2865 * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
2866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
2868 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
2869 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
2870 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
2871 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
2872 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
2873 * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
2874 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
2875 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
2876 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
2877 * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
2878 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2879 * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
2880 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
2881 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
2882 * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
2883 * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
2884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
2885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
2886 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2887 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2888 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2889 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
2890 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
2891 * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
2892 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
2893 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
2894 * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
2895 struct access.
2896 (clone_test): Remove function.
2897 (do_test): Rewrite to take in consideration pid is not cached anymore.
2898
2899 2016-11-24 Joseph Myers <joseph@codesourcery.com>
2900
2901 * bits/flt-eval-method.h: New file.
2902 * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
2903 * sysdeps/s390/bits/flt-eval-method.h: Likewise.
2904 * sysdeps/x86/bits/flt-eval-method.h: Likewise.
2905 * math/Makefile (headers): Add bits/flt-eval-method.h.
2906 * math/math.h: Include <bits/flt-eval-method.h>.
2907 [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
2908 [__USE_ISOC99] (double_t): Likewise.
2909 * bits/mathdef.h (float_t): Remove.
2910 (double_t): Likewise.
2911 * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
2912 (double_t): Likewise.
2913 * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
2914 (double_t): Likewise.
2915 * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
2916 (double_t): Likewise.
2917 * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
2918 (double_t): Likewise.
2919 * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
2920 (double_t): Likewise.
2921 * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
2922 (double_t): Likewise.
2923 * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
2924 (double_t): Likewise.
2925 * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
2926 (double_t): Likewise.
2927 * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
2928 (double_t): Likewise.
2929 * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
2930 (double_t): Likewise.
2931 * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
2932 (double_t): Likewise.
2933 * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
2934 (double_t): Likewise.
2935 * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
2936 (double_t): Likewise.
2937
2938 2016-11-24 Aurelien Jarno <aurelien@aurel32.net>
2939
2940 * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
2941 instead of PIC.
2942
2943 2016-11-23 Joseph Myers <joseph@codesourcery.com>
2944
2945 [BZ #20859]
2946 * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
2947 (-0x7fffffff) instead of 0x80000001.
2948 * math/test-fp-ilogb-constants.c: New file.
2949 * math/Makefile (tests): Add test-fp-ilogb-constants.
2950
2951 2016-11-23 Maciej W. Rozycki <macro@imgtec.com>
2952
2953 * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
2954 (_init): Use it in place of hardcoded R_MIPS_JALR.
2955 * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
2956 (_init): Use it in place of hardcoded R_MIPS_JALR.
2957 * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
2958 (_init): Use it in place of hardcoded R_MIPS_JALR.
2959
2960 2016-11-23 Joseph Myers <joseph@codesourcery.com>
2961
2962 [BZ #20787]
2963 * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
2964 [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
2965 (double_t): Do not define to double if [__x86_64__] when
2966 __FLT_EVAL_METHOD__ is nonzero.
2967 * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
2968 * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
2969 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
2970 test-flt-eval-method-387 and test-flt-eval-method-sse.
2971 [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
2972 variable.
2973 [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
2974
2975 2016-11-23 Chris Metcalf <cmetcalf@mellanox.com>
2976
2977 * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
2978 use of -fno-isolate-erroneous-paths options for tilepro.
2979
2980 2016-11-23 Florian Weimer <fweimer@redhat.com>
2981
2982 * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
2983 structure initialization is no longer needed.
2984
2985 2016-11-23 Joseph Myers <joseph@codesourcery.com>
2986
2987 [BZ #20855]
2988 * bits/mathdef.h (float_t): Define to float.
2989 * math/test-flt-eval-method.c: New file.
2990 * math/Makefile (tests): Add test-flt-eval-method.
2991 (CFLAGS-test-flt-eval-method.c): New variable.
2992
2993 2016-11-22 Steve Ellcey <sellcey@caviumnetworks.com>
2994
2995 * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
2996 and __fstatfs. Make them aliases of __fstatfs64 if
2997 STATFS_IS_STATFS64 is set to non-zero.
2998 * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
2999 and __statfs64.
3000 * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
3001 define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
3002 * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
3003 for __statfs and statfs.
3004 * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
3005 to 0.
3006 * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
3007 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
3008 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
3009 * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
3010 * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
3011 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
3012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
3013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
3014 * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
3015 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
3016 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
3017 * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
3018
3019 2016-11-22 Andreas Schwab <schwab@suse.de>
3020
3021 * misc/mkstemp.c: Include <fcntl.h>.
3022 * misc/mkstemps.c: Likewise.
3023 * misc/mkostemp.c: Likewise.
3024 * misc/mkostemps.c: Likewise.
3025
3026 2016-11-22 Adhemerval Zanella <adhemerva.zanella@linaro.org>
3027
3028 [BZ #20847]
3029 * posix/execvpe.c (maybe_script_execute): Remove write past allocated
3030 array bounds.
3031 (__execvpe): Likewise.
3032
3033 2016-11-22 Joseph Myers <joseph@codesourcery.com>
3034
3035 * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
3036 -fno-isolate-erroneous-paths options for tilepro.
3037
3038 2016-11-21 Steve Ellcey <sellcey@caviumnetworks.com>
3039
3040 * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
3041 to 0 when in 32 bit mode.
3042 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
3043 * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
3044 * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
3045 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
3046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
3047 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
3048 * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
3049 XSTAT_IS_XSTAT64 test.
3050 * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
3051 * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
3052 * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
3053 * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
3054 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
3055 * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
3056 * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
3057 * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
3058 * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
3059 * sysdeps/unix/sysv/linux/xstat.c: Ditto.
3060 * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
3061
3062 2016-11-19 Joseph Myers <joseph@codesourcery.com>
3063
3064 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3065 (setpayload): New declaration.
3066 * math/Versions (setpayload): New libm symbol at version
3067 GLIBC_2.25.
3068 (setpayloadf): Likewise.
3069 (setpayloadl): Likewise.
3070 * math/Makefile (libm-calls): Add s_setpayloadF.
3071 * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
3072 test_Ff_b1_data.
3073 (RUN_TEST_Ff_b1): New macro.
3074 (RUN_TEST_LOOP_Ff_b1): Likewise.
3075 (canonicalize_test_data): Update type.
3076 (setpayload_test_data): New array.
3077 (setpayload_test): New function.
3078 (main): Call setpayload_test.
3079 * manual/arith.texi (FP Bit Twiddling): Document setpayload,
3080 setpayloadf and setpayloadl.
3081 * manual/libm-err-tab.pl: Update comment on interfaces without
3082 ulps tabulated.
3083 * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
3084 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
3085 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
3086 Likewise.
3087 * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
3088 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
3089 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
3090 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
3091 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
3092 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
3093 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
3094 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
3095 * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
3096 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
3097 setpayload.
3098 (CFLAGS-nldbl-setpayload.c): New variable.
3099 * sysdeps/nacl/libm.abilist: Update.
3100 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3101 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3102 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3103 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3104 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3105 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3106 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3107 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3108 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3109 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3110 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3111 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3113 Likewise.
3114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3115 Likewise.
3116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3117 Likewise.
3118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3119 Likewise.
3120 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3121 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3122 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3123 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3124 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3125 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3126 Likewise.
3127 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3128 Likewise.
3129 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3130 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3131 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3132
3133 2016-11-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3134
3135 * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
3136 * include/unistd.h: Extend comment about __access_noerrno return
3137 semantics.
3138 * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
3139 (access_common): Correct typo for EACCES.
3140
3141 2016-11-18 Chris Metcalf <cmetcalf@mellanox.com>
3142
3143 * sysdeps/tile/math-tests.h: New file.
3144
3145 * sysdeps/unix/sysv/linux/tile/set_dataplane.c
3146 (__old_set_dataplane): Rename from set_dataplane and make a
3147 compatibility symbol.
3148 * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
3149 * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
3150 sys/dataplane.h.
3151
3152 2016-11-18 Joseph Myers <joseph@codesourcery.com>
3153
3154 * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
3155 script quote words in command output to log suitably for input to
3156 the shell.
3157
3158 2016-11-18 Matthew Fortune <Matthew.Fortune@imgtec.com>
3159 Maciej W. Rozycki <macro@imgtec.com>
3160
3161 * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
3162 `.Lno_weak_fn' label.
3163 * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
3164 * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
3165
3166 2016-11-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3167 Yury Norov <ynorov@caviumnetworks.com>
3168
3169 * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
3170 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
3171 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3172 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
3173 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3174 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
3175 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3176 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3177 [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3178 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
3179 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3180 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
3181 (sysdep_routines): Remove oldgetrlimit64.
3182 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
3183 (sysdep_routines): Likewise.
3184 * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
3185 (sysdep_routines): Likewise.
3186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
3187 [$(subdir) = resource] (sysdep_routines): Likewise.
3188 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
3189 [$(subdir) = resource] (sysdep_routines): Likewise.
3190 * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
3191 * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
3192 * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
3193 * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
3194 * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
3195 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
3196 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
3197 * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
3198 * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
3199 * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
3200 * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
3201 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
3202 * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
3203 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
3204 * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
3205 * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
3206 * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
3207 setrlimit and getrlimit.
3208 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
3209 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
3210 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
3211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
3212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
3213 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
3214 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
3215 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
3216 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
3217 * sysdeps/unix/sysv/linux/getrlimit.c: New file.
3218 * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
3219 * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
3220 * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
3221 __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
3222 (__old_getrlimit64): Add compatibility symbol.
3223 * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
3224
3225 2016-11-17 Joseph Myers <joseph@codesourcery.com>
3226
3227 * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
3228 newly built gmp, mpfr and mpc.
3229
3230 * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
3231
3232 2016-11-16 Joseph Myers <joseph@codesourcery.com>
3233
3234 * conform/Makefile (linknamespace-libs): Rename to
3235 linknamespace-libs-thr.
3236 (linknamespace-libs-posix): New variable.
3237 (linknamespace-libs-xsi): Likewise.
3238 (linknamespace-libs-XPG3): Include libcrypt.a.
3239 (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
3240 (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
3241 (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
3242 (linknamespace-libs-XOPEN2K): Likewise.
3243 (linknamespace-libs-XOPEN2K8): Likewise.
3244 (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
3245
3246 [BZ #20829]
3247 * stdio-common/Versions (__snprintf): Add to version
3248 GLIBC_PRIVATE.
3249 * include/stdio.h (__snprintf): Use libc_hidden_proto.
3250 * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
3251 * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
3252 of snprintf.
3253 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3254
3255 2016-11-16 Zack Weinberg <zackw@panix.com>
3256
3257 * string/string.h: Remove obsolete comment stating that
3258 strcoll_l and strxfrm_l have not yet been standardized.
3259
3260 2016-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3261
3262 * hurd/hurd.h (__hurd_fail_noerrno): New function.
3263 * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
3264 __access_noerrno.
3265 * io/access.c (__access_noerrno): New function.
3266 * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
3267 (hurd_fail_seterrno): Likewise.
3268 (access_common): Likewise.
3269 (__access_noerrno): Likewise.
3270 * sysdeps/nacl/access.c (__access_noerrno): Likewise.
3271 * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
3272 * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
3273 macro.
3274
3275 2016-11-16 Joseph Myers <joseph@codesourcery.com>
3276
3277 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
3278 Only declare fpregs if [__SH_FPU_ANY__].
3279
3280 2016-11-15 Joseph Myers <joseph@codesourcery.com>
3281
3282 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
3283 Make code unconditional.
3284 [!(__SH4__ || __SH4A__)]: Remove conditional code.
3285
3286 2016-11-15 Rical Jasan <ricaljasan@pacific.net>
3287
3288 * manual/sysinfo.texi (S_APPEND): Delete.
3289 (S_IMMUTABLE): Likewise.
3290
3291 2016-11-15 Denis Kaganovich <mahatma@eu.by>
3292 Magnus Granberg <zorry@gentoo.org>
3293 Mike Frysinger <vapier@gentoo.org>
3294
3295 [BZ #20662]
3296 * configure.ac (libc_cv_predef_stack_protector): Also check for
3297 __stack_chk_fail_local symbols.
3298 * configure: Regenerated.
3299
3300 2016-11-15 Florian Weimer <fweimer@redhat.com>
3301
3302 * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
3303 (libc_hidden_def): Remove redefinition.
3304 (__sigsetjmp): Add hidden definition.
3305 * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
3306 (libc_hidden_def): Remove redefinition.
3307 (__sigsetjmp): Add hidden definition.
3308
3309 2016-11-14 Joseph Myers <joseph@codesourcery.com>
3310
3311 * scripts/build-many-glibcs.py (os.path): Do not import.
3312 (Context): Inherit explicitly from object. Remove blank line
3313 between class and docstring.
3314 (Config): Likewise.
3315 (Glibc): Likewise.
3316 (Command): Likewise.
3317 (CommandList): Likewise.
3318 (Context.write_files): Store chmod mode in a variable.
3319
3320 * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
3321 LIBC_SLIBDIR_RTLDDIR for tilegx32.
3322 * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
3323
3324 2016-11-14 Zack Weinberg <zackw@panix.com>
3325
3326 * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
3327 creating or re-creating it.
3328
3329 * string/bits/string2.h: Fix typo in comment.
3330
3331 2016-11-14 Zack Weinberg <zackw@panix.com>
3332
3333 * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
3334 (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
3335 (__SYSMACROS_FST_IMPL_TEMPL): Delete.
3336 (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
3337 of redirected function names.
3338
3339 * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
3340 as well. Document that MESSAGE must be a single string literal.
3341
3342 2016-11-11 Joseph Myers <joseph@codesourcery.com>
3343
3344 * scripts/build-many-glibcs.py: New file.
3345
3346 * stdlib/bug-getcontext.c: Include <libc-internal.h>.
3347 (do_test): Disable -Wmaybe-uninitialized around uses of
3348 except_mask.
3349
3350 * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
3351
3352 2016-11-10 Chris Metcalf <cmetcalf@mellanox.com>
3353
3354 * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
3355 (atomic_store_release): Provide tilepro-specific implementations.
3356
3357 2016-11-10 Joseph Myers <joseph@codesourcery.com>
3358
3359 * math/math.h (__MATH_TG): New macro.
3360 [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
3361 [__USE_ISOC99] (signbit): Likewise.
3362 [__USE_ISOC99] (isfinite): Likewise.
3363 [__USE_ISOC99] (isnan): Likewise.
3364 [__USE_ISOC99] (isinf): Likewise.
3365 [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
3366 [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
3367 [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
3368 __MATH_TG and __MATH_EVAL_FMT2.
3369 * sysdeps/generic/math_private.h (fabs_tg): Define using
3370 __MATH_TG.
3371 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
3372 [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
3373 [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
3374 [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
3375 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
3376 macro.
3377 (__iscanonical): Likewise.
3378 (iscanonical): Define using __MATH_TG.
3379
3380 2016-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3381
3382 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
3383 guards.
3384
3385 * sysdeps/unix/sysv/linux/access.c: New file.
3386 * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
3387
3388 2016-11-10 Steve Ellcey <sellcey@caviumnetworks.com>
3389
3390 * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
3391 and __WORDSIZE32_PTRDIFF_LONG.
3392
3393 2016-11-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
3394
3395 * sysdeps/aarch64/libm-test-ulps: Regenerated.
3396
3397 2016-11-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3398
3399 * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
3400 * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
3401 * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
3402 * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
3403 * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
3404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
3405 * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
3406 * sysdeps/unix/sysv/linux/truncate.c: New file.
3407 * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
3408 INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
3409 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
3410 Remove.
3411 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
3412 Likewise.
3413
3414 * posix/tst-truncate-common.c: New file.
3415 * posix/tst-truncate.c: Use tst-truncate-common.c.
3416 * posix/tst-truncate64.c: Likewise and add LFS tests.
3417 * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
3418 * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
3419 * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
3420 * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
3421 * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
3422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
3423 * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
3424 * sysdeps/unix/sysv/linux/ftruncate.c: New file.
3425 * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
3426 INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
3427 [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
3428 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
3429 Remove.
3430 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
3431 Likewise.
3432
3433 2016-11-08 Joseph Myers <joseph@codesourcery.com>
3434
3435 [BZ #20790]
3436 * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
3437 to MAXLINESIZE.
3438 * sunrpc/bug20790.x: New file.
3439 * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
3440 variable.
3441 [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
3442 [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
3443
3444 * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
3445
3446 * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
3447
3448 * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
3449 optional in ld.so. Allow R_ALPHA_GLOB_DAT relocation for malloc,
3450 calloc, realloc, free, memalign and __libc_memalign rather than
3451 making them optional.
3452
3453 * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
3454 for libc.so.
3455
3456 2016-11-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3457
3458 * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
3459 ptw-lseek64.
3460 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
3461 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines):
3462 Likewise.
3463 * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
3464 * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
3465 * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
3466 * sysdeps/unix/sysv/linux/llseek.c: Remove file.
3467 * sysdeps/unix/sysv/linux/lseek.c: New file.
3468 * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
3469 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
3470 __libc_lseek64 from auto-generation.
3471 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
3472 * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
3473
3474 2016-11-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3475
3476 * nptl/tst-basic1.c (tf, do_test): Use write_message.
3477 * nptl/tst-cleanup1.c (do_test): Likewise.
3478 * nptl/tst-cleanup3.c (do_test): Likewise.
3479 * nptl/tst-key1.c (do_test): Likewise.
3480 * nptl/tst-key2.c (tf, do_test): Likewise.
3481 * nptl/tst-key3.c (tf, do_test): Likewise.
3482 * nptl/tst-stdio1.c (do_test): Likewise.
3483 * nptl/tst-stdio2.c (do_test): Likewise.
3484
3485 * nptl/tst-kill3.c (handler): Use write_message in place of write.
3486 * nptl/tst-kill6.c (handler): Likewise.
3487 * nptl/tst-tls2.c (CB): Likewise.
3488 * nptl/tst-tls3.c (CB): Likewise.
3489
3490 2016-11-07 Joseph Myers <joseph@codesourcery.com>
3491
3492 * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
3493
3494 2016-11-07 Yury Norov <ynorov@caviumnetworks.com>
3495 Steve Ellcey <sellcey@caviumnetworks.com>
3496
3497 * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
3498 __ASSUME_ST_INO_64_BIT as 0
3499 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
3500 * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
3501 over the code where __ASSUME_ST_INO_64_BIT is used.
3502 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
3503 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
3504 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
3505
3506 2016-11-07 Florian Weimer <fweimer@redhat.com>
3507
3508 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3509 Document ABI exposure of the __kind offset.
3510 * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3511 Mention reason for the __kind offset exposure in the ABI.
3512 * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3513 Likewise.
3514 * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3515 Likewise.
3516 * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3517 Likewise.
3518 * sysdeps/microblaze/nptl/bits/pthreadtypes.h
3519 (struct __pthread_mutex_s): Likewise.
3520 * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3521 Likewise.
3522 * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3523 Likewise.
3524 * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3525 Likewise.
3526 * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3527 Likewise.
3528 * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3529 Likewise.
3530 * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3531 Likewise.
3532 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
3533 (struct __pthread_mutex_s): Likewise.
3534 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3535 (struct __pthread_mutex_s): Likewise.
3536 * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
3537 Likewise.
3538
3539 2016-11-07 Steve Ellcey <sellcey@caviumnetworks.com>
3540
3541 * test-skeleton.c: Document do_test usage.
3542
3543 2016-11-06 Aurelien Jarno <aurelien@aurel32.net>
3544
3545 * iconv/gconv.h (__gconv_info): Define __data element using a
3546 zero-length array.
3547
3548 2016-11-04 Steve Ellcey <sellcey@caviumnetworks.com>
3549
3550 * math/test-tgmath2.c: Split up test function.
3551
3552 2016-11-04 Joseph Myers <joseph@codesourcery.com>
3553
3554 * Rules (tests-expected): New variable, depending on
3555 $(run-built-tests).
3556 (tests): Pass $(tests-expected) to merge-test-results.sh, not
3557 $(tests).
3558
3559 * Rules [$(run-built-tests) = no] (tests): Do not depend on
3560 $(tests-unsupported).
3561
3562 2016-11-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3563
3564 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
3565 (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and 64 bits.
3566
3567 2016-11-04 Joseph Myers <joseph@codesourcery.com>
3568
3569 [BZ #20768]
3570 * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
3571 __fegetenv instead of fegetenv.
3572
3573 [BZ #14139]
3574 * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
3575 (find_files): Obtain platform name from libm-test-ulps-name and
3576 store in %pplatforms.
3577 (canonicalize_platform): Remove.
3578 (print_platforms): Use $pplatforms directly.
3579 (by_platforms): Do not allow for platforms missing from
3580 %pplatforms.
3581 * sysdeps/aarch64/libm-test-ulps-name: New file.
3582 * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
3583 * sysdeps/arm/libm-test-ulps-name: Likewise.
3584 * sysdeps/generic/libm-test-ulps-name: Likewise.
3585 * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
3586 * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
3587 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
3588 * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
3589 * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
3590 * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
3591 * sysdeps/microblaze/libm-test-ulps-name: Likewise.
3592 * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
3593 * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
3594 * sysdeps/nios2/libm-test-ulps-name: Likewise.
3595 * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
3596 * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
3597 * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
3598 * sysdeps/sh/libm-test-ulps-name: Likewise.
3599 * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
3600 * sysdeps/tile/libm-test-ulps-name: Likewise.
3601 * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
3602
3603 * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
3604
3605 * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
3606 (test-xfail-check-execstack): New variable.
3607
3608 * sysdeps/mips/localplt.data: New file.
3609
3610 2016-11-04 Yury Norov <ynorov@caviumnetworks.com>
3611 Steve Ellcey <sellcey@caviumnetworks.com>
3612
3613 * bits/wordsize.h: Add documentation.
3614 * sysdeps/aarch64/bits/wordsize.h : New file
3615 * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
3616 definitions.
3617 (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
3618 * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
3619 with #if instead of #ifdef.
3620 * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
3621 * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
3622 __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
3623 Add or change defines.
3624 * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
3625 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
3626 * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
3627 * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
3628 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
3629 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
3630 * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
3631 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
3632 * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
3633 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
3634 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
3635 * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
3636 * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
3637 * sysdeps/x86/bits/wordsize.h: Likewise.
3638
3639 2016-11-04 Wilco Dijkstra <wdijkstr@arm.com>
3640 Kevin Petit <kevin.petit@arm.com>
3641
3642 * sysdeps/aarch64/memchr.S (__memchr): New file.
3643
3644 2016-11-04 Joseph Myers <joseph@codesourcery.com>
3645
3646 * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
3647
3648 2016-11-03 Joseph Myers <joseph@codesourcery.com>
3649
3650 [BZ #19398]
3651 * conform/Makefile ($(linknamespace-header-tests)): Also depend on
3652 $(linknamespace-symlists-tests).
3653
3654 2016-11-02 Steve Ellcey <sellcey@caviumnetworks.com>
3655
3656 * time/tst-strptime2.c: Ignore -Wformat-length warning.
3657
3658 2016-11-02 Florian Weimer <fweimer@redhat.com>
3659 Carlos O'Donell <carlos@redhat.com>
3660
3661 [Bug #20729]
3662 * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
3663 change to non -Os related diagnostic. Use DIAG_IGNORE_Os_NEEDS_COMMENT
3664 for -Os related change.
3665
3666 2016-11-01 Steve Ellcey <sellcey@caviumnetworks.com>
3667
3668 * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
3669
3670 2016-11-01 Joseph Myers <joseph@codesourcery.com>
3671
3672 [BZ #19673]
3673 * manual/math.texi (Exponents and Logarithms): Correct description
3674 of clog10.
3675
3676 2016-10-31 Carlos O'Donell <carlos@redhat.com>
3677
3678 [Bz #20729]
3679 * locale/weight.h: Include libc-internal.h.
3680 * locale/weightwc.h: Likewise.
3681 * nptl/nptl_dbP.h: Likewise.
3682
3683 2016-10-31 Brent W. Baccala <cosine@freesoft.org>
3684
3685 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
3686 when it is MACH_PORT_NULL.
3687
3688 2016-10-31 Andreas Schwab <schwab@suse.de>
3689
3690 [BZ #20707]
3691 * posix/glob.c (glob): Initialize pglob before checking for
3692 GLOB_BRACE. Don't call glob recursively if pattern contains no
3693 valid brace expression despite GLOB_BRACE.
3694 * posix/globtest.sh: Test it.
3695
3696 2016-10-28 Carlos O'Donell <carlos@redhat.com>
3697
3698 [BZ #20729]
3699 * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
3700 Define.
3701 * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
3702 -Wmaybe-uninitialized for BODY macro only for -Os compiles.
3703 * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
3704 for seq2.back_us and seq1.back_us only for -Os compiles.
3705 * locale/weightwc.h (findix): Likewise.
3706 * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
3707 DB_GET_FIELD_ADDRESS only for -Os compiles.
3708 * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
3709 for slen only for -Os compiles.
3710 * string/strcoll_l.c (get_next_seq): Ignore
3711 -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
3712 for -Os compiles.
3713
3714 * elf/Makefile (CFALGS-tst-linkall-static): Remove.
3715 * include/crypt.h: New file.
3716
3717 2016-10-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3718
3719 * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
3720 from test-skeleton.c.
3721 (statclass): Replace calls to write with calls to write_message.
3722
3723 2016-10-28 Joseph Myers <joseph@codesourcery.com>
3724
3725 * math/math.h
3726 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
3727 New macro.
3728 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
3729 Likewise.
3730 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
3731 Likewise.
3732 * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
3733 SNANL.
3734 * math/test-double.h (snan_value_MACRO): New macro.
3735 * math/test-float.h (snan_value_MACRO): Likewise.
3736 * math/test-ldouble.h (snan_value_MACRO): Likewise.
3737 * math/libm-test.inc (issignaling_test_data): Add tests of
3738 snan_value_MACRO.
3739
3740 2016-10-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3741
3742 * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
3743 behavior when eliding a lock not held by the current thread.
3744 * sysdeps/powerpc/nptl/elide.h: Likewise.
3745
3746 2016-10-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3747
3748 [BZ #20728]
3749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
3750 branch to _exit() by a function call.
3751
3752 2016-10-28 Florian Weimer <fweimer@redhat.com>
3753
3754 * malloc/malloc.c: Update chunk layout comments.
3755 (chunk_main_arena): Update comment.
3756
3757 2016-10-28 Florian Weimer <fweimer@redhat.com>
3758
3759 * crypt/sha256.c, crypt/sha256-block.c,
3760 sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
3761 sha256_process_block to __sha256_process_block.
3762 * crypt/sha512.c, crypt/sha512-block.c,
3763 sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
3764 sha512_process_block to __sha512_process_block.
3765
3766 2016-10-28 Carlos O'Donell <carlos@redhat.com>
3767
3768 * elf/Makefile (CFLAGS-tst-linkall-static): Define.
3769
3770 * math/test-nan-overflow.c: Include stdlib.h for malloc.
3771
3772 2016-10-28 H.J. Lu <hongjiu.lu@intel.com>
3773
3774 [BZ #20019]
3775 * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
3776 definition in unrelocated shared library.
3777 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3778
3779 2016-10-28 Florian Weimer <fweimer@redhat.com>
3780
3781 [BZ #20729]
3782 Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
3783 * sysdeps/unix/sysv/linux/i386/Makefile
3784 (uses-6-syscall-arguments): Define.
3785 [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
3786 (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
3787 (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
3788 [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
3789 Likewise.
3790 [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
3791 (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
3792 (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
3793 (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
3794 (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
3795 (CFLAGS-fallocate64.os): Likewise.
3796 [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
3797 (CFLAGS-pthread_rwlock_timedrdlock.os)
3798 (CFLAGS-pthread_rwlock_timedwrlock.o)
3799 (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
3800 (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
3801 (CFLAGS-sem_timedwait.os): Likewise.
3802
3803 2016-10-28 Florian Weimer <fweimer@redhat.com>
3804
3805 * elf/tst-linkall-static.c: New file.
3806 * elf/Makefile (tests-static): Add tst-linkall-static.
3807 (tst-linkall-static): Link against static libraries.
3808
3809 2016-10-27 Florian Weimer <fweimer@redhat.com>
3810
3811 * malloc/malloc.c (sysmalloc): Initialize previous size field of
3812 mmaped chunks.
3813
3814 2016-10-28 Florian Weimer <fweimer@redhat.com>
3815
3816 * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
3817 members to mchunk_prev_size, mchunk_size.
3818 (chunk_main_arena): Reverse sense and rename from
3819 chunk_non_main_arena.
3820 (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
3821 mchunk_size instead of size.
3822 (set_non_main_arena): Define.
3823 (chunksize): Use chunksize_nomask instead of direct member access.
3824 (chunksize_nomask): Define.
3825 (next_chunk): Use chunksize instead of direct member access.
3826 (prev_size, set_prev_size): Define.
3827 (prev_chunk): Use prev_size instead of direct member access.
3828 (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
3829 (inuse_bit_at_offset, set_inuse_bit_at_offset)
3830 (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
3831 (mchunk_prev_size, mchunk_size): Poison tokens.
3832 (unlink): Use chunksize_nomask, prev_size accessors.
3833 (do_check_remalloced_chunk): Use chunk_main_arena accessor.
3834 (do_check_free_chunk): Use prev_size accessor.
3835 (sysmalloc): Use set_prev_size, set_head accessors.
3836 (munmap_chunk, mremap_chunk): Use prev_size accessor.
3837 (__libc_free): Use chunksize_nomask accessor.
3838 (_int_malloc): Use set_non_main_arena, chunksize_nomask,
3839 chunk_main_arena accessors.
3840 (_int_free): Use chunksize_nomask, prev_size accessors.
3841 (malloc_consolidate): Use chunksize, prev_size accessors.
3842 (_int_realloc): Use chunksize_nomask accessor.
3843 (_int_memalign): Use set_prev_size accessor.
3844 (__malloc_info): Use chunksize_nomask accessor.
3845 * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
3846 accessors.
3847 * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
3848 (heap_trim): Use chunksize_nomask, prev_size accessors.
3849
3850 2016-10-28 Joseph Myers <joseph@codesourcery.com>
3851
3852 [BZ #19380]
3853 * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
3854 for inexact results.
3855 * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
3856 of inexact result where mpfr_subnormalize is the only inexact
3857 step.
3858 * stdlib/tst-strtod-round-data.h: Regenerated.
3859 * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
3860 Define to 0.
3861 (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
3862
3863 2016-10-27 David S. Miller <davem@davemloft.net>
3864
3865 * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
3866
3867 2016-10-27 Siddhesh Poyarekar <siddhesh@sourceware.org>
3868
3869 * malloc/malloc.c (do_set_mallopt_check): New function.
3870 (do_set_mmap_threshold): Likewise.
3871 (do_set_mmaps_max): Likewise.
3872 (do_set_top_pad): Likewise.
3873 (do_set_perturb_byte): Likewise.
3874 (do_set_trim_threshold): Likewise.
3875 (do_set_arena_max): Likewise.
3876 (do_set_arena_test): Likewise.
3877 (__libc_mallopt): Use them.
3878
3879 2016-10-26 Joseph Myers <joseph@codesourcery.com>
3880
3881 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3882 (canonicalize): New declaration.
3883 * math/Versions (canonicalize): New libm symbol at version
3884 GLIBC_2.25.
3885 (canonicalizef): Likewise.
3886 (canonicalizel): Likewise.
3887 * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
3888 * math/s_canonicalize_template.c: New file.
3889 * math/libm-test.inc: Update comment on functions tested and
3890 testing of NaN payloads.
3891 (TEST_NAN_PAYLOAD): New macro.
3892 (NO_TEST_INLINE): Update value.
3893 (XFAIL_TEST): Likewise.
3894 (ERRNO_UNCHANGED): Likewise.
3895 (ERRNO_EDOM): Likewise.
3896 (ERRNO_ERANGE): Likewise.
3897 (IGNORE_RESULT): Likewise.
3898 (NON_FINITE): Likewise.
3899 (TEST_SNAN): Likewise.
3900 (NO_TEST_MATHVEC): Likewise.
3901 (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
3902 (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
3903 (struct test_Ffp_b1_data): New type.
3904 (RUN_TEST_Ffp_b1): New macro.
3905 (RUN_TEST_LOOP_Ffp_b1): Likewise.
3906 (canonicalize_test_data): New array.
3907 (canonicalize_test): New function.
3908 (main): Call canonicalize_test.
3909 * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
3910 canonicalizef and canonicalizel.
3911 * manual/libm-err-tab.pl: Update comment on interfaces without
3912 ulps tabulated.
3913 * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
3914 * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
3915 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
3916 canonicalize.
3917 (CFLAGS-nldbl-canonicalize.c): New variable.
3918 * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
3919 to ...
3920 * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
3921 ... here.
3922 (do_test): Also test canonicalizel.
3923 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
3924 test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
3925 * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
3926 file.
3927 * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
3928 Use libm_hidden_def.
3929 * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
3930 * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
3931 (do_test): Also test canonicalizel.
3932 * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
3933 test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
3934 * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
3935 * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
3936 libm_hidden_def.
3937 * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
3938 macro.
3939 * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
3940 (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
3941 * sysdeps/nacl/libm.abilist: Update.
3942 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3943 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3944 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3945 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3946 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3947 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3948 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3949 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3950 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3951 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3952 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3953 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3955 Likewise.
3956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3957 Likewise.
3958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3959 Likewise.
3960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3961 Likewise.
3962 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3963 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3964 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3965 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3966 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3967 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3968 Likewise.
3969 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3970 Likewise.
3971 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3972 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3973 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3974
3975 * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
3976 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
3977 getpayload.
3978 (CFLAGS-nldbl-getpayload.c): New variable.
3979
3980 2016-10-26 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3981
3982 * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
3983 integer from the format string.
3984
3985 2016-10-26 Florian Weimer <fweimer@redhat.com>
3986
3987 [BZ #19473]
3988 * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
3989 declarations.
3990 * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
3991 weak aliases.
3992 * malloc/hooks.c (__malloc_get_state): Remove definition.
3993 (malloc_get_state): New stub implementation as
3994 compatibility symbol.
3995 (malloc_set_state): Rename from __malloc_set_state. Turn into
3996 compat symbol.
3997 * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
3998 malloc_set_state.
3999 * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
4000
4001 2016-10-26 Florian Weimer <fweimer@redhat.com>
4002
4003 * iconvdata/iso646.c (enum variant): Drop illegal_var.
4004 (names): Turn into concatenation of strings.
4005 (gconv_init): Adapt iteration over names.
4006
4007 2016-10-26 Florian Weimer <fweimer@redhat.com>
4008
4009 * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
4010 make const.
4011 * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
4012 * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
4013 * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
4014 * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
4015 character in sbconv.
4016 * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
4017 * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
4018 * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
4019
4020 2016-10-26 Siddhesh Poyarekar <siddhesh@sourceware.org>
4021
4022 * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
4023
4024 * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
4025 (M_TRIM_THRESHOLD): Likewise.
4026
4027 * manual/memory.texi (M_ARENA_TEST): Add documentation.
4028 (M_ARENA_MAX): Likewise.
4029 * malloc/malloc.c: Remove obsolete comment.
4030
4031 * manual/memory.texi: Add environment variable alternatives to
4032 setting mallopt parameters.
4033
4034 2016-10-26 Carlos O'Donell <carlos@redhat.com>
4035
4036 * include/atomic.h
4037 [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
4038 (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
4039
4040 2016-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4041
4042 * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
4043 * stdlib/tst-strfrom.h: New file.
4044 * stdlib/tst-strfrom.c: New file.
4045 * stdlib/tst-strfrom-locale.c: New file.
4046
4047 * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
4048 * stdlib/bug-strtod2.c: Likewise.
4049 * stdlib/tst-strtod-round-skeleton.c: Likewise.
4050 * stdlib/tst-strtod6.c: Likewise.
4051 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
4052
4053 2016-10-25 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4054
4055 * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
4056 * manual/arith.texi: Document strfromd, strfromf, strfroml.
4057 * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
4058 * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
4059 * stdlib/stdlib.h (strfromd): New declaration.
4060 (strfromf): Likewise.
4061 (strfroml): Likewise.
4062 * stdlib/strfrom-skeleton.c: New file. Generic implementation for
4063 strfrom.
4064 * stdlib/strfromd.c: New file.
4065 * stdlib/strfromf.c: Likewise.
4066 * stdlib/strfroml.c: Likewise.
4067 * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
4068 * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
4069 * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
4070 * sysdeps/arm/nacl/libc.abilist: Update.
4071 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
4072 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4073 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4074 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4075 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4076 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4077 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4078 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4079 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4080 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4081 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4082 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4083 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4084 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
4086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
4087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4089 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4090 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4091 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4092 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4093 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4094 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4095 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4096 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4097 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4098 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4099
4100 2016-10-25 Joseph Myers <joseph@codesourcery.com>
4101
4102 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
4103 instead of cmpli.
4104 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
4105 instead of cmpli.
4106
4107 2016-10-24 Yury Norov <ynorov@caviumnetworks.com>
4108
4109 * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
4110 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
4111 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
4112 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
4113 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
4114 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
4115
4116 2016-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4117
4118 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
4119 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
4120 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
4121 SYSCALL_LL64_PRW.
4122 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
4123 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
4124 __ASSUME_PRW_DUMMY_ARG.
4125 * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
4126 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
4127 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
4128 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
4129 * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
4130 SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
4131
4132 2016-10-24 Steve Ellcey <sellcey@caviumnetworks.com>
4133
4134 * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
4135
4136 2016-10-22 Florian Weimer <fweimer@redhat.com>
4137
4138 * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
4139 "C++", to override a potential extern "C" directive around the
4140 header file inclusion.
4141
4142 2016-10-21 Joseph Myers <joseph@codesourcery.com>
4143
4144 * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
4145
4146 2016-10-21 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4147
4148 * sysdeps/powerpc/fpu/fenv_private.h:
4149 (_FPU_MASK_ALL): Rename to...
4150 (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
4151 XE FPSCR bits.
4152
4153 (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
4154
4155 (_FPU_MASK_ROUNDING): Rename to...
4156 (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
4157 NI bits.
4158
4159 (_FPU_MASK_EXCEPT_ROUND): Rename to...
4160 (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
4161 bits and rounding bits.
4162
4163 (__libc_feholdbits_ppc): New inline function to mask, set,
4164 and pontentially clear FSPCR bits, and change MSR[FE] bits.
4165 (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
4166 (libc_feholdexcept_setround_ppc): Likewise.
4167
4168 (__libc_femergeenv_ppc): New function to dynamically mask both
4169 old and new FP environments and merge.
4170 (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
4171 (libc_feresetround_ppc): Likewise.
4172 (libc_feupdateenv_test_ppc): Likewise.
4173 (libc_feupdateenv_ppc): Likewise.
4174
4175 (libc_feholdsetround_ppc_ctx): Fix usage to include masking
4176 of ISA RN bits, and update macro names.
4177 (libc_feholdexcept_setround_ppc_ctx): Remove as it is
4178 effectively the same as the previously mentioned function.
4179
4180 (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
4181 usage with fe_resetround_ppc.
4182
4183 (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
4184 to be used.
4185 (libc_feholdexcept_setround_ctxf): Likewise.
4186 (libc_feholdexcept_setround_ctxl): Likewise.
4187
4188 2016-10-21 Florian Weimer <fweimer@redhat.com>
4189
4190 [BZ #20715]
4191 * math/math.h [__cplusplus] (iszero): Define as function template.
4192 * math/Makefile [CXX] (tests): Add test-math-iszero.
4193 (CFLAGS-test-math-iszero.cc): Set.
4194 * math/test-math-iszero.cc: New file.
4195
4196 2016-10-20 Joseph Myers <joseph@codesourcery.com>
4197
4198 [BZ #20660]
4199 * sysdeps/arm/e_sqrt.c: New file.
4200 * sysdeps/arm/e_sqrtf.c: Likewise.
4201
4202 2016-10-19 Joseph Myers <joseph@codesourcery.com>
4203
4204 [BZ #20718]
4205 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
4206 not use floating-point comparisons to test sign.
4207 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
4208 Likewise.
4209
4210 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4211 (getpayload): New declaration.
4212 * math/Versions (getpayload): New libm symbol at version
4213 GLIBC_2.25.
4214 (getpayloadf): Likewise.
4215 (getpayloadl): Likewise.
4216 * math/Makefile (libm-calls): Add s_getpayloadF.
4217 * math/libm-test.inc: Include <nan-high-order-bit.h>.
4218 (struct test_f_f_data): Add comment.
4219 (RUN_TEST_fp_f): New macro.
4220 (RUN_TEST_LOOP_fp_f): Likewise.
4221 (getpayload_test_data): New array.
4222 (getpayload_test): New function.
4223 (main): Call getpayload_test.
4224 * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
4225 descriptor.
4226 * manual/arith.texi (FP Bit Twiddling): Document getpayload,
4227 getpayloadf and getpayloadl.
4228 * manual/libm-err-tab.pl: Update comment on interfaces without
4229 ulps tabulated.
4230 * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
4231 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
4232 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
4233 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
4234 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
4235 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
4236 * sysdeps/nacl/libm.abilist: Update.
4237 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4238 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4239 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4240 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4241 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4242 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4243 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4244 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4245 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4246 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4247 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4248 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4250 Likewise.
4251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4252 Likewise.
4253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4254 Likewise.
4255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4256 Likewise.
4257 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4258 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4259 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4260 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4261 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4262 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4263 Likewise.
4264 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4265 Likewise.
4266 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4267 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4268 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4269
4270 2016-10-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4271
4272 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
4273 tst-fallocate{64}.
4274 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
4275 on syscall return.
4276
4277 2016-10-17 Carlos O'Donell <carlos@redhat.com>
4278
4279 [BZ #20689]
4280 * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
4281 usable.
4282
4283 2016-10-17 Joseph Myers <joseph@codesourcery.com>
4284
4285 * sysdeps/generic/nan-high-order-bit.h: New file.
4286 * sysdeps/hppa/nan-high-order-bit.h: Likewise.
4287 * sysdeps/mips/nan-high-order-bit.h: Likewise.
4288 * sysdeps/hppa/math_private.h: Remove file.
4289 * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
4290 not define here.
4291 * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
4292 <nan-high-order-bit.h>.
4293 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4294 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
4295 <nan-high-order-bit.h>.
4296 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4297 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
4298 <nan-high-order-bit.h>.
4299 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4300 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
4301 <nan-high-order-bit.h>.
4302 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4303 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
4304 <nan-high-order-bit.h>.
4305 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4306 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
4307 <nan-high-order-bit.h>.
4308 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4309 * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
4310 <nan-high-order-bit.h>.
4311 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4312 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
4313 <nan-high-order-bit.h>.
4314 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4315 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
4316 <nan-high-order-bit.h>.
4317 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4318 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
4319 <nan-high-order-bit.h>.
4320 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4321 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
4322 <nan-high-order-bit.h>.
4323 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4324 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
4325 <nan-high-order-bit.h>.
4326 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4327 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
4328 <nan-high-order-bit.h>.
4329 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4330 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
4331 <nan-high-order-bit.h>.
4332 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4333 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
4334 <nan-high-order-bit.h>.
4335 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4336 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
4337 <nan-high-order-bit.h>.
4338 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4339 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
4340 <nan-high-order-bit.h>.
4341 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4342 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
4343 <nan-high-order-bit.h>.
4344 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4345
4346 2016-10-17 Stefan Liebler <stli@linux.vnet.ibm.com>
4347
4348 * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
4349
4350 2016-09-22 John David Anglin <dave.anglin@bell.net>
4351
4352 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
4353 abort-instr.h.
4354 (EFAULT): Remove conditional define.
4355 (ENOSYS): Likewise.
4356 (atomic_compare_and_exchange_val_acq): Use instruction nullification
4357 instead of conditional branch instructions.
4358
4359 2016-10-15 Joseph Myers <joseph@codesourcery.com>
4360
4361 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4362 (totalordermag): New declaration.
4363 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
4364 New macro.
4365 * math/Versions (totalordermag): New libm symbol at version
4366 GLIBC_2.25.
4367 (totalordermagf): Likewise.
4368 (totalordermagl): Likewise.
4369 * math/Makefile (libm-calls): Add s_totalordermagF.
4370 * math/libm-test.inc (totalordermag_test_data): New array.
4371 (totalordermag_test): New function.
4372 (main): Call totalordermag_test.
4373 * math/test-tgmath.c (NCALLS): Increase to 125.
4374 (F(compile_test)): Call totalordermag.
4375 (F(totalordermag)): New function.
4376 * manual/arith.texi (FP Comparison Functions): Document
4377 totalordermag, totalordermagf and totalordermagl.
4378 * manual/libm-err-tab.pl: Update comment on interfaces without
4379 ulps tabulated.
4380 * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
4381 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
4382 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
4383 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
4384 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
4385 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
4386 * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
4387 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
4388 totalordermag.
4389 (CFLAGS-nldbl-totalordermag.c): New variable.
4390 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
4391 (do_test): Also test totalordermagl.
4392 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
4393 Likewise.
4394 * sysdeps/nacl/libm.abilist: Update.
4395 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4396 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4397 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4398 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4399 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4400 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4401 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4402 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4403 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4404 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4405 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4406 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4408 Likewise.
4409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4410 Likewise.
4411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4412 Likewise.
4413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4414 Likewise.
4415 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4416 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4417 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4418 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4419 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4420 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4421 Likewise.
4422 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4423 Likewise.
4424 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4425 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4426 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4427
4428 2016-10-14 Steve Ellcey <sellcey@caviumnetworks.com>
4429
4430 * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
4431 boolean.
4432
4433 2016-10-13 Joseph Myers <joseph@codesourcery.com>
4434
4435 * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
4436 raising FE_INVALID with feraisexcept in case where part of
4437 argument is infinite, subtract that part of argument from itself.
4438 * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
4439 * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
4440 * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
4441
4442 2016-10-12 Joseph Myers <joseph@codesourcery.com>
4443
4444 * math/libm-test.inc (totalorder_test_data): Add more tests.
4445
4446 2016-10-12 Adhemerval Zanela <adhemerval.zanella@linaro.org>
4447
4448 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
4449 Undefine weak_alias and add a comment why mips64 require
4450 versioning.
4451
4452 2016-10-12 H.J. Lu <hongjiu.lu@intel.com>
4453
4454 [BZ #20647]
4455 * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
4456 maximum CPUID level is less than 2.
4457
4458 2016-10-12 Joseph Myers <joseph@codesourcery.com>
4459
4460 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4461 (totalorder): New declaration.
4462 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
4463 New macro.
4464 * math/Versions (totalorder): New libm symbol at version
4465 GLIBC_2.25.
4466 (totalorderf): Likewise.
4467 (totalorderl): Likewise.
4468 * math/Makefile (libm-calls): Add s_totalorderF.
4469 * math/gen-libm-test.pl (parse_args): Escape quotes in test name
4470 string.
4471 * math/libm-test.inc (PAYLOAD_DIG): New macro.
4472 (qnan_value_pl): Likewise.
4473 (snan_value_pl): Likewise.
4474 (qnan_value): Define using qnan_value_pl.
4475 (snan_value): Define using snan_value_pl.
4476 (struct test_ff_i_data): Add comment about which tests use this
4477 structure.
4478 (RUN_TEST_ff_b): New macro.
4479 (RUN_TEST_LOOP_ff_b): Likewise.
4480 (totalorder_test_data): New array.
4481 (totalorder_test): New function.
4482 (main): Call totalorder_test.
4483 * math/test-tgmath.c (NCALLS): Increase to 122.
4484 (F(compile_test)): Call totalorder.
4485 (F(totalorder)): New function.
4486 * manual/arith.texi (FP Comparison Functions): Document
4487 totalorder, totalorderf and totalorderl.
4488 * manual/libm-err-tab.pl: Update comment on interfaces without
4489 ulps tabulated.
4490 * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
4491 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
4492 * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
4493 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
4494 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
4495 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
4496 * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
4497 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
4498 totalorder.
4499 (CFLAGS-nldbl-totalorder.c): New variable.
4500 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
4501 file.
4502 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
4503 Add test-totalorderl-ldbl-128ibm.
4504 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
4505 * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
4506 test-totalorderl-ldbl-96.
4507 * sysdeps/nacl/libm.abilist: Update.
4508 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4509 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4510 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4511 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4512 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4513 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4514 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4515 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4516 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4517 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4518 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4519 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4521 Likewise.
4522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4523 Likewise.
4524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4525 Likewise.
4526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4527 Likewise.
4528 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4529 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4530 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4531 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4532 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4533 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4534 Likewise.
4535 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4536 Likewise.
4537 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4538 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4539 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4540
4541 2016-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4542
4543 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
4544 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
4545 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
4546 * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
4547 remove ENOSYS implementation.
4548 * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
4549 Consolidate all Linux implementations.
4550
4551 2016-10-11 Florian Weimer <fweimer@redhat.com>
4552
4553 * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
4554 * resolv/herror.c (herror): Cast away const-ness.
4555 * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
4556 (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
4557
4558 2016-10-11 Joseph Myers <joseph@codesourcery.com>
4559
4560 * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
4561 instead of M_NAN + M_NAN.
4562 * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
4563
4564 2016-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4565
4566 * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
4567 unused variable 'p'.
4568
4569 2016-10-09 Alan Modra <amodra@gmail.com>
4570 Andreas Schwab <schwab@linux-m68k.org>
4571
4572 [BZ #20554]
4573 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
4574 [PIC && !SHARED]: Set up PIC register for PLT call.
4575
4576 2016-10-07 Joseph Myers <joseph@codesourcery.com>
4577
4578 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
4579 conditional on value of [__FLT_EVAL_METHOD__].
4580 * math/test-iseqsig-excess-precision.c: New file.
4581 * math/Makefile (tests): Add test-iseqsig-excess-precision.
4582
4583 2016-10-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4584
4585 * math/s_iseqsig_template.c: Include math-private.h.
4586
4587 * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
4588 * posix/tst-posix_fadvise.c: New file.
4589 * posix/tst-posix_fadvise64.c: Likewise.
4590 * posix/tst-posix_fadvise-common.c: Likewise.
4591 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4592 (__ASSUME_FADVISE64_64_6ARG): Define.
4593 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4594 [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
4595 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4596 [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
4597 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
4598 * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
4599 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
4600 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
4601 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
4602 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
4603 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
4604 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
4605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
4606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
4607 Likewise.
4608 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
4609 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
4610 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
4611 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
4612 Alias to __posix_fadvise64_l32.
4613 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
4614 Add compat definition to posix_fadvise64.
4615 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
4616 Add versioned definition to posix_fadvise64.
4617 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
4618 __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
4619 __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
4620 * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
4621 __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
4622
4623 * io/Makefile (tests): Add tst-posix_fallocate and
4624 tst-posix_fallocate64.
4625 * io/tst-posix_fallocate-common.c: New file.
4626 * io/tst-posix_fallocate.c: Likewise.
4627 * io/tst-posix_fallocate64.c: Likewise.
4628 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
4629 file.
4630 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
4631 Likewise.
4632 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
4633 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
4634 Likewise.
4635 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
4636 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
4637 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
4638 SYSCALL_LL to pass both offset and len arguments.
4639 * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
4640 Likewise.
4641 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
4642 __libc_pwrite64 alias used by posix_fallocate64.
4643
4644 * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
4645 tst-fallocate64.
4646 * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
4647 * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
4648 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
4649 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
4650 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
4651 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
4652 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
4653 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
4654 * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
4655 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
4656 macro on offset argument.
4657 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
4658 SYSCALL_LL64 on offset argument.
4659
4660 * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
4661 tst-fallocate64.
4662 * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
4663 * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
4664 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
4665 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
4666 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
4667 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
4668 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
4669 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
4670 * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
4671 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
4672 macro on offset argument.
4673 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
4674 SYSCALL_LL64 on offset argument.
4675 * test-skeleton.c (FAIL_RET): Add macro.
4676 (FAIL_EXIT): Likewise.
4677 (FAIL_EXIT1): Likewise.
4678 (_FAIL): Likewise.
4679
4680 2016-10-07 Florian Weimer <fweimer@redhat.com>
4681
4682 [BZ #20629]
4683 resolv: Remove RES_USEBSTRING and its implementation.
4684 * resolv/resolv.h (RES_USEBSTRING): Remove.
4685 * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
4686 (digitvalue, encode_bitstring, decode_bitstring): Remove.
4687 (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
4688 (labellen): Remove extended label types support.
4689 * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
4690 * resolv/res_init.c (res_setoptions): Likewise.
4691 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
4692
4693 2016-10-07 Florian Weimer <fweimer@redhat.com>
4694
4695 resolv: Remove RES_NOIP6DOTINT and its implementation.
4696 * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
4697 (RES_NOIP6DOTINT): Remove.
4698 * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
4699 handling.
4700 * resolv/res_debug.c (p_option): Likewise.
4701 * resolv/res_init.c (res_setoptions): Likewise.
4702 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
4703
4704 2016-10-07 Florian Weimer <fweimer@redhat.com>
4705
4706 resolv: Deprecate unimplemented flags.
4707 * misc/sys/cdefs.h (__glibc_macro_warning1)
4708 (__glibc_macro_warning): Define.
4709 * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
4710 (RES_KEEPTSIG): Mark as deprecated.
4711 * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
4712 RES_NOCHECKNAME, RES_KEEPTSIG.
4713 * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
4714
4715 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4716
4717 * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
4718 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
4719 Use strong_alias to create symbols for glibc verison 2.19.
4720
4721 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4722
4723 * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
4724
4725 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4726
4727 * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
4728
4729 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4730
4731 * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
4732
4733 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4734
4735 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4736 Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
4737 in header for using it as type for ifunc function because __GI_* symbols
4738 for ppc32 do not target the ifunc symbols.
4739 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
4740
4741 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4742
4743 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
4744 Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
4745 libc_ifunc_hidden_def.
4746 * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
4747 * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
4748 Redirect ifunced function in header for using it as type of ifunc'ed
4749 function. Redefine libc_hidden_def to use fallback non ifunc'ed
4750 function for __GI_* symbol.
4751 * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
4752 * include/libc-symbols.h
4753 (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
4754
4755 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4756
4757 [BZ #20478]
4758 * sysdeps/s390/multiarch/ifunc-resolve.h
4759 (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
4760 to create ifunc symbols.
4761 (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
4762 , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
4763 * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
4764 for using it as type for ifunc function.
4765 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
4766 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
4767 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
4768 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
4769 * sysdeps/s390/multiarch/strcat.c: Likewise.
4770 * sysdeps/s390/multiarch/strchr.c: Likewise.
4771 * sysdeps/s390/multiarch/strcmp.c: Likewise.
4772 * sysdeps/s390/multiarch/strcpy.c: Likewise.
4773 * sysdeps/s390/multiarch/strcspn.c: Likewise.
4774 * sysdeps/s390/multiarch/strlen.c: Likewise.
4775 * sysdeps/s390/multiarch/strncmp.c: Likewise.
4776 * sysdeps/s390/multiarch/strncpy.c: Likewise.
4777 * sysdeps/s390/multiarch/strnlen.c: Likewise.
4778 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
4779 * sysdeps/s390/multiarch/strrchr.c: Likewise.
4780 * sysdeps/s390/multiarch/strspn.c: Likewise.
4781 * sysdeps/s390/multiarch/wcschr.c: Likewise.
4782 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
4783 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
4784 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
4785 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
4786 * sysdeps/s390/multiarch/wmemset.c: Likewise.
4787 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
4788 * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
4789 * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
4790 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
4791 * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
4792 * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
4793
4794 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4795
4796 * include/libc-symbols.h (__ifunc_resolver):
4797 New macro is used by __ifunc* macros.
4798 (__ifunc): New macro uses gcc attribute ifunc or inline assembly
4799 depending on HAVE_GCC_IFUNC.
4800 (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
4801 (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
4802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
4803 Redirect ifunced function in header for using as type for ifunc function.
4804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
4805 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
4806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
4807 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
4808 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
4809 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
4810 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
4811 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
4812 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
4813 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
4814 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
4815 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
4816 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
4817 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
4818 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
4819 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
4820 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
4821 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
4822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
4823 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
4824 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
4825 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
4826 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
4827 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
4828 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
4829 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
4830 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
4831 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
4832 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
4833 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
4834 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
4835 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
4836 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
4837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
4838 Add libc_hidden_def() and use libc_ifunc_hidden() macro
4839 instead of libc_ifunc() macro.
4840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
4841 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
4842
4843 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4844
4845 * config.h.in (HAVE_GCC_IFUNC): New undef.
4846 * configure.ac: Add check if gcc supports attribute ifunc feature.
4847 * configure: Regenerated.
4848 * manual/install.texi: Add recommendation for gcc with
4849 indirect-function support.
4850 * INSTALL: Regenerated.
4851
4852 2016-10-06 Joseph Myers <joseph@codesourcery.com>
4853
4854 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
4855 macro.
4856 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4857 (__iseqsig): New declaration.
4858 * math/s_iseqsig_template.c: New file.
4859 * math/Versions (__iseqsigf): New libm symbol at version
4860 GLIBC_2.25.
4861 (__iseqsig): Likewise.
4862 (__iseqsigl): Likewise.
4863 * math/libm-test.inc (iseqsig_test_data): New array.
4864 (iseqsig_test): New function.
4865 (main): Call iseqsig_test.
4866 * math/Makefile (gen-libm-calls): Add s_iseqsigF.
4867 * manual/arith.texi (FP Comparison Functions): Document iseqsig.
4868 * manual/libm-err-tab.pl: Update comment on interfaces without
4869 ulps tabulated.
4870 * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
4871 * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
4872 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
4873 * sysdeps/nacl/libm.abilist: Update.
4874 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4875 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4876 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4877 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4878 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4879 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4880 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4881 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4882 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4883 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4884 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4885 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4887 Likewise.
4888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4889 Likewise.
4890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4891 Likewise.
4892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4893 Likewise.
4894 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4895 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4896 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4897 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4898 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4899 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4900 Likewise.
4901 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4902 Likewise.
4903 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4904 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4905 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4906
4907 2016-10-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
4908
4909 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
4910 do_sincos_2, sloww, sloww1): Update comments.
4911
4912 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
4913 do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
4914
4915 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
4916 K boolean and rename it.
4917 (__sin): Adjust.
4918 (__cos): Adjust.
4919
4920 2016-10-06 Rical Jasan <ricaljasan@pacific.net>
4921 Siddhesh Poyarekar <siddhesh@sourceware.org>
4922
4923 * manual/nss.texi: Fix typos in the manual.
4924
4925 2016-10-06 Rical Jasan <ricaljasan@pacific.net>
4926
4927 * manual/contrib.texi: Fix typos in the manual.
4928
4929 * manual/maint.texi: Fix typos in the manual.
4930
4931 * manual/install.texi: Fix typos in the manual.
4932 * INSTALL: Regenerated.
4933
4934 * manual/lang.texi: Fix typos in the manual.
4935
4936 * manual/probes.texi: Fix typos in the manual.
4937
4938 * manual/threads.texi: Fix typos in the manual.
4939
4940 * manual/debug.texi: Fix typos in the manual.
4941
4942 * manual/crypt.texi: Fix typos in the manual.
4943
4944 * manual/conf.texi: Fix typos in the manual.
4945
4946 * manual/sysinfo.texi: Fix typos in the manual.
4947
4948 * manual/users.texi: Fix typos in the manual.
4949
4950 * manual/job.texi: Fix typos in the manual.
4951
4952 * manual/process.texi: Fix typos in the manual.
4953
4954 * manual/argp.texi: Fix typos in the manual.
4955 * manual/getopt.texi: Likewise.
4956 * manual/startup.texi: Likewise.
4957
4958 * manual/signal.texi: Fix typos in the manual.
4959
4960 * manual/setjmp.texi: Fix typos in the manual.
4961
4962 * manual/resource.texi: Fix typos in the manual.
4963
4964 * manual/time.texi: Fix typos in the manual.
4965
4966 * manual/arith.texi: Fix typos in the manual.
4967
4968 * manual/math.texi: Fix typos in the manual.
4969
4970 * manual/syslog.texi: Fix typos in the manual.
4971
4972 * manual/terminal.texi: Fix typos in the manual.
4973
4974 * manual/socket.texi: Fix typos in the manual.
4975
4976 * manual/filesys.texi: Fix typos in the manual.
4977
4978 * manual/llio.texi: Fix typos in the manual.
4979
4980 * manual/stdio.text: Fix typos in the manual.
4981
4982 2016-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
4983
4984 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
4985 instead of K1.
4986
4987 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
4988 SHIFT_QUADRANT and make it bool.
4989 (do_sincos_2): Likewise.
4990 (sloww): Likewise.
4991 (sloww1): Likewise.
4992 (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
4993 (__cos): Likewise.
4994
4995 2016-10-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4996
4997 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
4998
4999 2016-10-04 Joseph Myers <joseph@codesourcery.com>
5000
5001 * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
5002 Define to __WORDSIZE, not conditional on [LONG_MAX ==
5003 0x7fffffffL].
5004 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
5005
5006 2016-10-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5007
5008 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
5009 inline by __inline__.
5010 (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
5011 (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
5012 (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
5013 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
5014 sigset_t from signal.h.
5015 * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
5016 which is already required.
5017
5018 2016-10-04 Stefan Liebler <stli@linux.vnet.ibm.com>
5019
5020 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5021
5022 2016-10-03 Joseph Myers <joseph@codesourcery.com>
5023
5024 * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
5025 (struct tcp_repair_window): New type.
5026
5027 2016-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5028
5029 * libio/tst-memstream3.c: Include string.h.
5030
5031 2016-09-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5032
5033 [BZ #18241]
5034 [BZ #20181]
5035 * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
5036 * libio/memstream.c (_IO_mem_sync): Only append a null byte if
5037 write position is at the end the buffer.
5038 * libio/wmemstream.c (_IO_wmem_sync): Likewise.
5039 * libio/strops.c (_IO_str_switch_to_get_mode): New function.
5040 (_IO_str_seekoff): Set correct offset from negative displacement and
5041 set EINVAL for invalid ones.
5042 * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
5043 buffer length.
5044 (_IO_wstr_switch_to_get_mode): New function.
5045 (_IO_wstr_seekoff): Set correct offset from negative displacement and
5046 set EINVAL for invalid ones.
5047 * libio/tst-memstream3.c: New file.
5048 * libio/tst-wmemstream3.c: Likewise.
5049 * manual/examples/memstrm.c: Remove warning when priting size_t.
5050
5051 2016-09-30 Joseph Myers <joseph@codesourcery.com>
5052
5053 * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
5054 macro to use __builtin_fma.
5055 * sysdeps/x86_64/fpu/dla.h: Remove file.
5056
5057 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
5058 [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
5059 [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
5060
5061 2016-09-30 Carlos O'Donell <carlos@redhat.com>
5062
5063 [BZ #20292]
5064 * elf/Makefile (routines): Add dl-addr-obj.
5065 [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
5066 tst-_dl_addr_inside_object.
5067 [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
5068 [ifeq (yesyes,$(have-fpie)$(build-shared))]
5069 ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
5070 [ifeq (yesyes,$(have-fpie)$(build-shared))]
5071 (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
5072 * elf/dl-addr.c: Remove _dl_addr_inside_object function.
5073 * elf/dl-open.c: Likewise.
5074 * elf/dl-addr-obj.c: New file.
5075 * elf/tst-_dl_addr_inside_object.c: New file.
5076
5077 2016-09-30 Joseph Myers <joseph@codesourcery.com>
5078
5079 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
5080 <bits/iscanonical.h>.
5081 * bits/iscanonical.h: New file.
5082 * math/s_iscanonicall.c: Likewise.
5083 * math/Versions (__iscanonicall): New libm symbol at version
5084 GLIBC_2.25.
5085 * math/libm-test.inc (iscanonical_test_data): New array.
5086 (iscanonical_test): New function.
5087 (main): Call iscanonical_test.
5088 * math/Makefile (headers): Add bits/iscanonical.h.
5089 (type-ldouble-routines): Add s_iscanonicall.
5090 * manual/arith.texi (Floating Point Classes): Document
5091 iscanonical.
5092 * manual/libm-err-tab.pl: Update comment on interfaces without
5093 ulps tabulated.
5094 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
5095 * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
5096 * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
5097 Likewise.
5098 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
5099 test-iscanonical-ldbl-128ibm.
5100 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
5101 * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
5102 * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
5103 * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
5104 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5105 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5106 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5108 Likewise.
5109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5110 Likewise.
5111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5112 Likewise.
5113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5114 Likewise.
5115 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5116 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5117
5118 2016-09-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5119
5120 * string/bits/string3.h: Remove C++ style comments.
5121
5122 2016-09-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
5123
5124 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
5125 instead of ternary condition.
5126 (do_sincos_2): Likewise.
5127 (__sin): Likewise.
5128 (__cos): Likewise.
5129 (slow): Likewise.
5130 (sloww): Likewise.
5131 (sloww1): Likewise.
5132 (bsloww): Likewise.
5133 (bsloww1): Likewise.
5134
5135 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
5136 instead of ternary condition.
5137 (do_sin_slow): Likewise.
5138 (do_sincos_1): Likewise.
5139 (do_sincos_2): Likewise.
5140 (__cos): Likewise.
5141 (sloww): Likewise.
5142 (sloww1): Likewise.
5143 (sloww2): Likewise.
5144 (bsloww): Likewise.
5145 (bsloww1): Likewise.
5146 (bsloww2): Likewise.
5147
5148 * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
5149 check from here...
5150 (slow2): ... and here...
5151 (__sin): ... to here.
5152
5153 2016-09-28 Joseph Myers <joseph@codesourcery.com>
5154
5155 * math/math.h
5156 [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
5157 Cast argument to its own type.
5158 * math/test-iszero-excess-precision.c: New file.
5159 * math/Makefile (tests): Add test-iszero-excess-precision.
5160 (CFLAGS-test-iszero-excess-precision.c): New variable.
5161
5162 2016-09-28 Rasmus Villemoes <rv@rasmusvillemoes.dk>
5163
5164 * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
5165 field, add err field.
5166 (__spawni_child): Report error through err member instead of pipe.
5167 (__spawnix): Likewise.
5168
5169 2016-09-28 Zack Weinberg <zackw@panix.com>
5170
5171 * scripts/check-installed-headers.sh: Generalize treatment of
5172 sys/elf.h to all target architectures.
5173
5174 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
5175 deleted typedef ucontext_t.
5176
5177 2016-09-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5178
5179 * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
5180 (__INTERNAL_SYSCALL1): Likewise.
5181 (__INTERNAL_SYSCALL2): Likewise.
5182 (__INTERNAL_SYSCALL3): Likewise.
5183 (__INTERNAL_SYSCALL4): Likewise.
5184 (__INTERNAL_SYSCALL5): Likewise.
5185 (__INTERNAL_SYSCALL6): Likewise.
5186 (__INTERNAL_SYSCALL7): Likewise.
5187 (__INTERNAL_SYSCALL_NARGS_X): Likewise.
5188 (__INTERNAL_SYSCALL_NARGS): Likewise.
5189 (__INTERNAL_SYSCALL_DISP): Likewise.
5190 (INTERNAL_SYSCALL_CALL): Likewise.
5191 (__SYSCALL0): Rename to __INLINE_SYSCALL0.
5192 (__SYSCALL1): Rename to __INLINE_SYSCALL1.
5193 (__SYSCALL2): Rename to __INLINE_SYSCALL2.
5194 (__SYSCALL3): Rename to __INLINE_SYSCALL3.
5195 (__SYSCALL4): Rename to __INLINE_SYSCALL4.
5196 (__SYSCALL5): Rename to __INLINE_SYSCALL5.
5197 (__SYSCALL6): Rename to __INLINE_SYSCALL6.
5198 (__SYSCALL7): Rename to __INLINE_SYSCALL7.
5199 (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
5200 (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
5201 (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
5202 (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
5203 (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
5204
5205 2016-09-23 Joseph Myers <joseph@codesourcery.com>
5206
5207 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
5208 macro.
5209 * math/libm-test.inc (iszero_test_data): New array.
5210 (iszero_test): New function.
5211 (main): Call iszero_test.
5212 * manual/arith.texi (Floating Point Classes): Document iszero.
5213 * manual/libm-err-tab.pl: Update comment on interfaces without
5214 ulps tabulated.
5215
5216 2016-09-23 Zack Weinberg <zackw@panix.com>
5217
5218 * scripts/check-installed-headers.sh: New script.
5219 * Rules: In each directory that defines header files to be installed,
5220 run check-installed-headers.sh on them as a special test.
5221 * Makefile: Likewise for the headers installed at top level.
5222
5223 * include/aliases.h, include/alloca.h, include/argz.h
5224 * include/arpa/nameser.h, include/arpa/nameser_compat.h
5225 * include/elf.h, include/envz.h, include/err.h
5226 * include/execinfo.h, include/fpu_control.h, include/getopt.h
5227 * include/gshadow.h, include/ifaddrs.h, include/libintl.h
5228 * include/link.h, include/malloc.h, include/mcheck.h
5229 * include/mntent.h, include/netinet/ether.h
5230 * include/nss.h, include/obstack.h, include/printf.h
5231 * include/pty.h, include/resolv.h, include/rpc/auth.h
5232 * include/rpc/auth_des.h, include/rpc/auth_unix.h
5233 * include/rpc/clnt.h, include/rpc/des_crypt.h
5234 * include/rpc/key_prot.h, include/rpc/netdb.h
5235 * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
5236 * include/rpc/pmap_rmt.h, include/rpc/rpc.h
5237 * include/rpc/rpc_msg.h, include/rpc/svc.h
5238 * include/rpc/svc_auth.h, include/rpc/xdr.h
5239 * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
5240 * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
5241 * include/rpcsvc/ypupd.h, include/shadow.h
5242 * include/stdio_ext.h, include/sys/epoll.h
5243 * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
5244 * include/sys/prctl.h, include/sys/profil.h
5245 * include/sys/statfs.h, include/sys/sysctl.h
5246 * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
5247 * sysdeps/arm/nacl/include/bits/setjmp.h
5248 * sysdeps/mips/include/sys/asm.h
5249 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
5250 * sysdeps/unix/sysv/linux/include/sys/timex.h
5251 * sysdeps/x86/fpu/include/bits/fenv.h:
5252 Add #ifndef _ISOMAC guard around internal declarations.
5253 Add multiple-inclusion guard if not already present.
5254
5255 2016-09-23 Zack Weinberg <zackw@panix.com>
5256
5257 * sysdeps/generic/sys/ucontext.h
5258 * sysdeps/arm/sys/ucontext.h
5259 * sysdeps/i386/sys/ucontext.h
5260 * sysdeps/m68k/sys/ucontext.h
5261 * sysdeps/mips/sys/ucontext.h
5262 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
5263 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
5264 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
5265 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
5266 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
5267 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
5268 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
5269 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
5270 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
5271 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
5272 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
5273 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
5274 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
5275 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
5276 Include both bits/sigcontext.h and bits/sigstack.h.
5277 Fix grammar error in comment, if present.
5278
5279 * bits/sigstack.h
5280 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
5281 * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
5282 * sysdeps/unix/sysv/linux/bits/sigstack.h
5283 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
5284 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
5285 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
5286 * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
5287 * bits/sigcontext.h
5288 * sysdeps/mach/hurd/i386/bits/sigcontext.h
5289 * sysdeps/unix/sysv/linux/bits/sigcontext.h
5290 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
5291 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
5292 Add multiple inclusion guard. Permit inclusion by sys/ucontext.h
5293 as well as signal.h, if this was not already allowed. Request
5294 definition of size_t if necessary. Minimize semantically-null
5295 differences across files.
5296
5297 2016-09-23 Zack Weinberg <zackw@panix.com>
5298
5299 * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
5300 Remove all logic conditional on __need macros. Move all the
5301 conditionally defined types to their own headers...
5302 * time/bits/types/clock_t.h: Define clock_t here.
5303 * time/bits/types/clockid_t.h: Define clockid_t here.
5304 * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
5305 * time/bits/types/struct_timespec.h: Define struct timespec here.
5306 * time/bits/types/struct_timeval.h: Define struct timeval here.
5307 * time/bits/types/struct_tm.h: Define struct tm here.
5308 * time/bits/types/time_t.h: Define time_t here.
5309 * time/bits/types/timer_t.h: Define timer_t here.
5310 * time/Makefile: Install the new headers.
5311
5312 * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
5313 * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
5314 * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
5315 * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
5316 * sysdeps/unix/sysv/linux/alpha/bits/resource.h
5317 * sysdeps/unix/sysv/linux/alpha/sys/acct.h
5318 * sysdeps/unix/sysv/linux/bits/resource.h
5319 * sysdeps/unix/sysv/linux/bits/timex.h
5320 * sysdeps/unix/sysv/linux/mips/bits/resource.h
5321 * sysdeps/unix/sysv/linux/net/ppp_defs.h
5322 * sysdeps/unix/sysv/linux/sparc/bits/resource.h
5323 * sysdeps/unix/sysv/linux/sys/acct.h
5324 * sysdeps/unix/sysv/linux/sys/timerfd.h
5325 * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
5326 * time/sys/time.h, time/sys/timeb.h
5327 Use the new bits/types headers.
5328
5329 * include/time.h: Remove __need logic.
5330 * include/bits/time.h
5331 * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
5332 * include/bits/types/time_t.h, include/bits/types/timer_t.h
5333 * include/bits/types/struct_itimerspec.h
5334 * include/bits/types/struct_timespec.h
5335 * include/bits/types/struct_timeval.h
5336 * include/bits/types/struct_tm.h:
5337 New wrapper headers.
5338
5339 2016-09-23 Zack Weinberg <zackw@panix.com>
5340
5341 * sysdeps/mach/hurd/net/if_ppp.h
5342 * sysdeps/unix/sysv/linux/net/if_ppp.h:
5343 Only define struct ifpppstatsreq and struct ifpppcstatsreq
5344 if __USE_MISC is defined, to ensure struct ifreq is declared.
5345
5346 * inet/netinet/ether.h: Condition all function prototypes
5347 on __USE_MISC, to ensure struct ether_addr is declared.
5348
5349 * socket/bits/types/struct_osockaddr.h: New header.
5350 * include/bits/types/struct_osockaddr.h: New wrapper.
5351 * socket/Makefile: Install the new header.
5352 * socket/sys/socket.h, inet/protocols/talkd.h:
5353 Refer to bits/types/struct_osockaddr.h for the definition of
5354 struct osockaddr.
5355
5356 2016-09-23 Zack Weinberg <zackw@panix.com>
5357
5358 * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
5359 * inet/protocols/routed.h, inet/protocols/talkd.h
5360 * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
5361 * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
5362 * sysdeps/generic/netinet/if_ether.h
5363 * sysdeps/generic/netinet/in_systm.h
5364 * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
5365 * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
5366 * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
5367 * sysdeps/mach/hurd/net/if_arp.h
5368 * sysdeps/mach/hurd/net/if_ppp.h
5369 * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
5370 * sysdeps/unix/sysv/linux/bits/in.h
5371 * sysdeps/unix/sysv/linux/net/ethernet.h
5372 * sysdeps/unix/sysv/linux/net/if_arp.h
5373 * sysdeps/unix/sysv/linux/net/if_ppp.h
5374 * sysdeps/unix/sysv/linux/net/if_shaper.h
5375 * sysdeps/unix/sysv/linux/net/route.h
5376 * sysdeps/unix/sysv/linux/netinet/if_ether.h
5377 * sysdeps/unix/sysv/linux/netinet/if_fddi.h
5378 * sysdeps/unix/sysv/linux/netinet/if_tr.h
5379 * sysdeps/unix/sysv/linux/netipx/ipx.h
5380 * sysdeps/unix/sysv/linux/sys/acct.h
5381 * include/arpa/nameser.h, include/resolv.h:
5382 Change all uses of u_char to unsigned char,
5383 u_short and ushort to unsigned short, u_int and uint to unsigned int,
5384 u_long and ulong to unsigned long, u_int8_t to uint8_t,
5385 u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
5386 and u_int64_t and u_quad_t to uint64_t.
5387
5388 * mach/sys/reboot.h: Remove two casts of integer literals
5389 to the types they already have.
5390
5391 * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
5392 * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
5393 * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
5394 from referring to 'unsigned char' to 'uint8_t' for consistency with
5395 the macro definition below.
5396
5397 * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
5398 * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
5399 * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
5400 * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
5401 * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
5402 * sysdeps/unix/sysv/linux/sys/acct.h
5403 * include/arpa/nameser.h, include/resolv.h:
5404 Fix indentation disrupted by mechanical edits.
5405
5406 * inet/protocols/talkd.h, resolv/arpa/nameser.h
5407 * sysdeps/generic/netinet/in_systm.h
5408 * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
5409 * sysdeps/gnu/netinet/udp.h
5410 * sysdeps/unix/sysv/linux/net/ethernet.h
5411 * sysdeps/unix/sysv/linux/net/if_arp.h
5412 * sysdeps/unix/sysv/linux/net/if_ppp.h
5413 * sysdeps/unix/sysv/linux/net/if_shaper.h
5414 * sysdeps/unix/sysv/linux/netinet/if_fddi.h
5415 * sysdeps/unix/sysv/linux/netinet/if_tr.h
5416 * sysdeps/unix/sysv/linux/netipx/ipx.h
5417 * sysdeps/unix/sysv/linux/sys/acct.h
5418 Include stdint.h for uintNN_t definitions.
5419 Don't include sys/cdefs.h, features.h, or asm/types.h directly.
5420
5421 2016-09-23 Zack Weinberg <zackw@panix.com>
5422
5423 * rpcsvc/nislib.h: Include rpcsvc/nis.h.
5424 * sysdeps/unix/sysv/linux/netrose/rose.h:
5425 Include sys/socket.h and netax25/ax25.h.
5426
5427 * inet/netinet/icmp6.h, inet/netinet/ip6.h
5428 * resolv/arpa/nameser_compat.h:
5429 Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
5430
5431 * sysdeps/unix/sysv/linux/sys/quota.h:
5432 Use __caddr_t instead of caddr_t.
5433 * sysdeps/unix/sysv/linux/sys/timerfd.h:
5434 Use __clockid_t instead of clockid_t.
5435
5436 * sysvipc/sys/ipc.h: Remove unnecessary #warning.
5437
5438 * argp/argp.h: Check whether _LIBC is defined before expanding it.
5439 * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
5440 expanding it.
5441
5442 * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
5443 Define __glibc_c99_flexarr_available to 1 when the compiler
5444 supports C99-compatible flexible array members, 0 otherwise.
5445 * sysdeps/unix/sysv/linux/bits/socket.h
5446 * sysdeps/mach/hurd/bits/socket.h
5447 * bits/socket.h: Use __glibc_c99_flexarr_available in
5448 definitions of struct cmsghdr and CMSG_DATA.
5449
5450 2016-09-23 Florian Weimer <fweimer@redhat.com>
5451
5452 * manual/nss.texi (NSS Modules Interface): Adjust function return
5453 type to enum nss_status. Document errnop argument. Clarify
5454 h_errnop semantics. Fix cross-reference formatting.
5455 (NSS Module Function Internals): Mention that *errnop needs to be
5456 set on failure, but not to zero.
5457
5458 2016-09-23 Florian Weimer <fweimer@redhat.com>
5459
5460 * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
5461 (get_random_name): New functions.
5462 (check_wrapper_flags_mode): Use linkat to give the new file a name
5463 determined by get_random_name.
5464 (do_test): Add calls to test open64 and openat64.
5465
5466 2016-09-23 Florian Weimer <fweimer@redhat.com>
5467
5468 * test-skeleton.c: Remove #include <stdarg.h>.
5469
5470 2016-09-21 Alexandre Oliva <aoliva@redhat.com>
5471
5472 [BZ #19826]
5473 * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
5474 initialization of static TLS entries.
5475 * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
5476 * nptl/allocatestack.c (init_one_static_tls): Likewise.
5477
5478 2016-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
5479
5480 * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
5481 _hurd_malloc_fork_prepare.
5482 (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
5483 (malloc_fork_child): Rename to _hurd_malloc_fork_child.
5484 (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
5485 (_hurd_fork_parent_hook): Drop malloc_fork_parent.
5486 (_hurd_fork_child_hook): Drop malloc_fork_child.
5487 * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
5488 _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
5489 * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
5490 after locking locks (notably hurd_dtable_lock). Call
5491 _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
5492 before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
5493 __malloc_fork_unlock_child.
5494 * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
5495
5496 2016-09-21 James Greenhalgh <james.greenhalgh@arm.com>
5497
5498 * soft-fp/extendhftf2.c: New.
5499 * soft-fp/fixhfti.c: Likewise.
5500 * soft-fp/fixunshfti.c: Likewise.
5501 * soft-fp/floattihf.c: Likewise.
5502 * soft-fp/floatuntihf.c: Likewise.
5503 * soft-fp/half.h: Likewise.
5504 * soft-fp/trunctfhf2.c: Likewise.
5505
5506 2016-09-21 Joseph Myers <joseph@codesourcery.com>
5507
5508 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
5509 macro.
5510 * math/libm-test.inc (issubnormal_test_data): New array.
5511 (issubnormal_test): New function.
5512 * manual/arith.texi (Floating Point Classes): Document
5513 issubnormal.
5514 * manual/libm-err-tab.pl: Update comment on interfaces without
5515 ulps tabulated.
5516
5517 * sysdeps/generic/stdint.h: Define
5518 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5519 <bits/libc-header-start.h> instead of including <features.h>.
5520 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
5521 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
5522 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
5523 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
5524 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
5525 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
5526 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
5527 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
5528 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
5529 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
5530 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
5531 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
5532 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
5533 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
5534 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
5535 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
5536 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
5537 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
5538 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
5539 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
5540 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
5541 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
5542 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
5543 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
5544 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
5545 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
5546 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
5547 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
5548 [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
5549 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
5550 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
5551 [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
5552 [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
5553 * manual/arith.texi (Integers): Document these macros for types
5554 specified by width properties.
5555 * manual/lang.texi (Width of Type): Document these macros for
5556 other standard typedefs.
5557 * stdlib/tst-width-stdint.c: New file.
5558 * stdlib/Makefile (tests): Add tst-width-stdint.
5559
5560 2016-09-21 Florian Weimer <fweimer@redhat.com>
5561
5562 [BZ #20016]
5563 * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
5564 * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
5565 Move ...
5566 * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
5567 ... here, as compatibility symbols in a new file.
5568 * resolv/Makefile (libresolv-routines): Add compat-hooks.
5569 * resolv/res_init.c (__res_vinit): Adjust member names.
5570 * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
5571 * resolv/resolv.h (res_sendhookact, res_send_qhook)
5572 (res_send_rhook): Remove.
5573 (struct __res_state): Rename qhook, rhook members.
5574
5575 2016-09-21 Florian Weimer <fweimer@redhat.com>
5576
5577 malloc: Use __libc_lock wrappers.
5578 * malloc/arena.c (list_lock, free_list_lock): Define using
5579 __libc_lock_define_initialized.
5580 (arena_lock): Adjust formatting.
5581 * malloc/malloc.c (struct malloc_state): Define mutex using
5582 __libc_lock_define.
5583 * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
5584 (mutex_lock, mutex_trylock, mutex_unlock): Remove.
5585 * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
5586 (mutex_unlock, mutex_trylock): Remove.
5587 (__pthread_initialize): Remove unused macro.
5588 * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
5589 (mutex_unlock, mutex_trylock): Remove.
5590
5591 2016-09-21 Florian Weimer <fweimer@redhat.com>
5592
5593 [BZ #20592]
5594 Remove RR type classification macros.
5595 * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
5596 (ns_t_udp_p, ns_t_xfr_p): Remove.
5597
5598 2016-09-21 Florian Weimer <fweimer@redhat.com>
5599
5600 Remove misleading version information.
5601 * resolv/arpa/nameser.h (__NAMESER): Remove.
5602 * resolv/arpa/nameser_compat.h (__BIND): Remove.
5603
5604 2016-09-21 Florian Weimer <fweimer@redhat.com>
5605
5606 Remove the always-defined BIND_4_COMPAT macro.
5607 * resolv/arpa/nameser.h: Unconditionally include
5608 <arpa/nameser_compat.h>.
5609 (BIND_4_COMPAT): Remove.
5610 * resolv/res_comp.c: Do not check BIND_4_COMPAT.
5611
5612 2016-09-21 Florian Weimer <fweimer@redhat.com>
5613
5614 [BZ #20591]
5615 Remove obsolete DNSSEC support.
5616 * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
5617 (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
5618 (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
5619 (ns_verify_tcp, ns_verify_tcp_init): Remove.
5620 (ns_cert_types): Add comment.
5621 * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
5622 separately.
5623 (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
5624 (dst_s_dns_key_id): Remove.
5625 * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
5626 variables.
5627
5628 2016-09-21 Florian Weimer <fweimer@redhat.com>
5629
5630 [BZ #20524]
5631 * manual/string.texi (String/Array Comparison): Clarify the
5632 strverscmp behavior.
5633
5634 2016-09-21 Florian Weimer <fweimer@redhat.com>
5635
5636 * test-skeleton.c (xasprintf): Add function.
5637 * io/tst-open-tmpfile.c: New test.
5638 * io/Makefile (tests): Add it.
5639
5640 2016-09-21 Florian Weimer <fweimer@redhat.com>
5641
5642 Avoid running $(CXX) during build to obtain header file paths.
5643 * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
5644 * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
5645 * Makerules (cstdlib, cmath): Remove variables. Use
5646 $(c++-cstdlib-header), $(c++-cmath-header) instead.
5647 * configure: Regenerate.
5648
5649 2016-09-21 Florian Weimer <fweimer@redhat.com>
5650
5651 * Makeconfig (all-object-suffixes): Include .op only if
5652 $(build-profile).
5653
5654 2016-09-21 Florian Weimer <fweimer@redhat.com>
5655
5656 * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
5657 conditionals. Do not define PATH_MAX.
5658
5659 2016-09-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5660
5661 * posix/Makefile (tests): Add tst-spawn3.
5662 * posix/tst-spawn3.c: New file.
5663 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
5664 if it is already opened for open action.
5665
5666 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
5667 all signals when executing the clone vfork child.
5668 (SIGALL_SET): Remove macro.
5669
5670 * nptl/Makefile (tests): Add tst-exec5.
5671 * nptl/tst-exec5.c: New file.
5672 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
5673 asynchronous cancellation.
5674
5675 2016-09-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
5676
5677 * hurd/exc2signal.c: #include <hurd/signal.h>
5678 (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
5679 'sigcode', 'error' parameters with 'detail' parameter. Fix code
5680 accordingly.
5681 * mach/mach_error.c (mach_error): Fix old-style function definition.
5682 * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
5683
5684 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5685
5686 * math/Makefile (libm-calls): Remove s_nanF.
5687 (gen-libm-calls): Add s_nanF.
5688
5689 * math/s_nan.c: Refactor into ...
5690 * math/s_nan_template.c: New file.
5691
5692 * math/s_nanf.c: Removed.
5693 * math/s_nanl.c: Removed.
5694 * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
5695 * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
5696
5697 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
5698 (LDOUBLE_nanl_libm_version): New macro.
5699
5700 * sysdeps/generic/math-type-macros-double.h:
5701 (M_STRTO_NAN): New macro.
5702 * sysdeps/generic/math-type-macros-float.h: Likewise.
5703 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
5704
5705 * sysdeps/generic/math-type-macros.h: Document
5706 M_STRTO_NAN.
5707
5708 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5709
5710 * math/s_nanf.c: Remove __nanf undef.
5711 * math/s_nan.c: Remove __nan undef.
5712 * math/s_nanl.c: Remove __nanl undef.
5713
5714 * sysdeps/generic/math_private.h (__nan): Remove macro
5715 override.
5716 (__nanf): Likewise.
5717 (__nanl): Likewise.
5718
5719 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5720
5721 * math/Makefile (gen-all-calls): New variable.
5722 (generated): Replace gen-libm-calls with gen-all-calls.
5723 (gen-libm-templates.stmp): Likewise. Also, ensure
5724 the output directory exists or is created and add
5725 dependency on the Makefile.
5726 (calls): Move s_ldexpF into gen-calls.
5727 (gen-calls): New variable.
5728
5729 * math/s_ldexpf.c: Removed.
5730 * math/s_ldexpl.c: Removed.
5731 * math/s_ldexp.c: Refactored into ...
5732 * math/s_ldexp_template.c: New file.
5733
5734 * sysdeps/generic/math-type-macros-double.h: Remove
5735 redundant fall-through definition of declare_mgen_alias.
5736 (declare_mgen_alias_2): New macro.
5737
5738 * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
5739 New macro for function aliased to two exported symbols.
5740
5741 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
5742 new template file.
5743 sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
5744
5745 2016-09-20 Florian Weimer <fweimer@redhat.com>
5746
5747 * Makeconfig (all-object-suffixes): Remove .og.
5748 * Makerules (elide-routines.og): Remove.
5749 * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
5750 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
5751 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
5752
5753 2016-09-20 Florian Weimer <fweimer@redhat.com>
5754
5755 * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
5756 .os objects.
5757
5758 2016-09-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5759
5760 [BZ #20615]
5761 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
5762 fpu directory by non-fpu.
5763 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
5764 on non-fpu directory from a fpu directory.
5765
5766 2016-09-19 Joseph Myers <joseph@codesourcery.com>
5767
5768 * include/limits.h: Define
5769 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5770 <bits/libc-header-start.h> instead of including <features.h>.
5771 [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
5772 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
5773 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
5774 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
5775 [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
5776 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
5777 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
5778 [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
5779 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
5780 [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
5781 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
5782 * manual/lang.texi (Width of Type): Document these macros.
5783 * stdlib/tst-width.c: New file.
5784 * stdlib/Makefile (tests): Add tst-width.
5785
5786 2016-09-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
5787
5788 * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
5789 * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
5790
5791 2016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5792
5793 * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
5794 * sysdeps/sparc/sparc32/sem_open.c: Remove file.
5795 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
5796
5797 2016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5798
5799 [BZ #18243]
5800 * rt/Makefile (test): Add tst-shm-cancel.
5801 * rt/tst-shm-cancel.c: New file.
5802 * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
5803
5804 [BZ #18243]
5805 * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
5806 * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
5807 definition.
5808 * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
5809 uncontended case.
5810 * nptl/sem_wait.c (__new_sem_wait): Likewise.
5811 * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
5812 (tf): Fix check for uncontended case.
5813 (do_test): Likewise.
5814 * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
5815 (tf): Fix check for uncontended case.
5816 (do_test): Likewise.
5817 * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
5818 (tf): Fix check for uncontended case.
5819 (do_test): Likewise.
5820 * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
5821 (tf): Fix check for uncontended case.
5822 (do_test): Likewise.
5823
5824 * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
5825 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
5826
5827 [BZ #15765]
5828 * nptl/Makefile (tests): Add tst-sem16.
5829 * nptl/tst-sem16.c: New file.
5830 * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
5831
5832 * nptl/sem_open.c (sem_open): Init pad value to 0.
5833 * sysdeps/sparc/sparc32/sem_open.c: Remove file.
5834 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
5835
5836 2016-09-15 Florian Weimer <fweimer@redhat.com>
5837
5838 [BZ #20611]
5839 * inet/Makefile (routines): Add inet6_scopeid_pton.
5840 (tests): Add tst-inet6_scopeid_pton.
5841 * inet/inet6_scopeid_pton.c: New file.
5842 * inet/net-internal.h: Likewise.
5843 * inet/tst-inet6_scopeid_pton.c: New test.
5844 * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
5845 * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
5846 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5847
5848 2016-09-14 Florian Weimer <fweimer@redhat.com>
5849
5850 Remove support for compiling wrappers with PTW.
5851 * sysdeps/nptl/Makeconfig: Drop ptw- support.
5852 * nptl/Makefile (pthread-compat-wrappers): Define.
5853 (libpthread-routines): Use pthread-compat-wrappers.
5854 * sysdeps/unix/sysv/linux/alpha/Makefile
5855 (libpthread-routines, libpthread-shared-only-routines): Remove
5856 ptw- prefix.
5857 * sysdeps/s390/nptl/Makefile
5858 (libpthread-routines, libpthread-shared-only-routines): Likewise.
5859 * sysdeps/ia64/nptl/Makefile
5860 (libpthread-routines, libpthread-shared-only-routines): Likewise.
5861 * sysdeps/nacl/Makefile (libpthread-routines): Use
5862 pthread-compat-wrappers to filter the routines list instead of the
5863 ptw- prefix.
5864
5865 2016-09-13 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5866
5867 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
5868 with L() and remove explicit suffix, convert real literals
5869 which can be equivalentally substituted with integers, and
5870 transform -L(x) to L(-x).
5871
5872 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
5873 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5874 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
5875 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
5876 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
5877 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5878 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5879 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
5880 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
5881 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5882 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5883 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5884 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5885 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
5886 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
5887 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
5888 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
5889 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5890 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
5891 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
5892 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
5893 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
5894 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
5895 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5896 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
5897 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5898 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5899 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
5900 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5901 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5902 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5903 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
5904 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5905 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5906 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5907 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5908 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5909 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5910 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5911 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5912 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5913 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5914 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5915 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
5916 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5917 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5918 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5919 * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
5920 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
5921 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
5922
5923 2016-09-13 Florian Weimer <fweimer@redhat.com>
5924
5925 * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
5926
5927 2016-09-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
5928
5929 * malloc/Makefile (tests): Remove individual static test names
5930 and just add all of tests-static.
5931
5932 * csu/libc-start.c (__libc_csu_irel): Remove declaration.
5933
5934 2016-09-07 Joseph Myers <joseph@codesourcery.com>
5935
5936 * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
5937 file.
5938
5939 * sysdeps/sparc/fpu/fegetmode.c: New file.
5940 * sysdeps/sparc/fpu/fesetmode.c: Likewise.
5941
5942 * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
5943 * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
5944
5945 * sysdeps/s390/fpu/fegetmode.c: New file.
5946 * sysdeps/s390/fpu/fesetmode.c: Likewise.
5947
5948 * sysdeps/powerpc/fpu/fegetmode.c: New file.
5949 * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
5950 * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
5951 * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
5952 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
5953 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
5954
5955 * sysdeps/mips/fpu/fegetmode.c: New file.
5956 * sysdeps/mips/fpu/fesetmode.c: Likewise.
5957
5958 * sysdeps/m68k/fpu/fegetmode.c: New file.
5959 * sysdeps/m69k/fpu/fesetmode.c: Likewise.
5960
5961 * sysdeps/ia64/fpu/fegetmode.c: New file.
5962 * sysdeps/ia64/fpu/fesetmode.c: Likewise.
5963
5964 * sysdeps/hppa/fpu/fegetmode.c: New file.
5965 * sysdeps/hppa/fpu/fesetmode.c: Likewise.
5966
5967 * sysdeps/arm/fegetmode.c: New file.
5968 * sysdeps/arm/fesetmode.c: Likewise.
5969
5970 * sysdeps/alpha/fpu/fegetmode.c: New file.
5971 * sysdeps/alpha/fpu/fesetmode.c: Likewise.
5972
5973 * sysdeps/aarch64/fpu/fegetmode.c: New file.
5974 * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
5975
5976 * math/fegetmode.c: New file.
5977 * math/fesetmode.c: Likewise.
5978 * sysdeps/i386/fpu/fegetmode.c: Likewise.
5979 * sysdeps/i386/fpu/fesetmode.c: Likewise.
5980 * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
5981 * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
5982 * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
5983 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
5984 declaration.
5985 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
5986 * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
5987 typedef.
5988 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5989 * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5990 (femode_t): New typedef.
5991 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5992 * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5993 (femode_t): New typedef.
5994 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5995 * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5996 (femode_t): New typedef.
5997 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5998 * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5999 (femode_t): New typedef.
6000 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6001 * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6002 (femode_t): New typedef.
6003 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6004 * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6005 (femode_t): New typedef.
6006 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6007 * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6008 (femode_t): New typedef.
6009 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6010 * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6011 (femode_t): New typedef.
6012 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6013 * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6014 (femode_t): New typedef.
6015 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6016 * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6017 (femode_t): New typedef.
6018 [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
6019 declaration.
6020 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6021 * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6022 (femode_t): New typedef.
6023 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6024 * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6025 (femode_t): New typedef.
6026 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6027 * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6028 (femode_t): New typedef.
6029 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6030 * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6031 (femode_t): New typedef.
6032 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6033 * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6034 (femode_t): New typedef.
6035 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6036 * manual/arith.texi (FE_DFL_MODE): Document macro.
6037 (fegetmode): Document function.
6038 (fesetmode): Likewise.
6039 * math/Versions (fegetmode): New libm symbol at version
6040 GLIBC_2.25.
6041 (fesetmode): Likewise.
6042 * math/Makefile (libm-support): Add fegetmode and fesetmode.
6043 (tests): Add test-femode and test-femode-traps.
6044 * math/test-femode-traps.c: New file.
6045 * math/test-femode.c: Likewise.
6046 * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
6047 alias for __fe_dfl_env.
6048 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
6049 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
6050 (__fe_dfl_mode): Likewise.
6051 * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
6052 version GLIBC_2.25.
6053 * sysdeps/nacl/libm.abilist: Update.
6054 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6055 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6056 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6057 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6058 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6059 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6060 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6061 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6062 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6063 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6064 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6065 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6067 Likewise.
6068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6069 Likewise.
6070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6071 Likewise.
6072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6073 Likewise.
6074 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6075 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6076 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6077 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6078 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6079 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6080 Likewise.
6081 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6082 Likewise.
6083 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6084 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6085 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6086
6087 2016-09-06 H.J. Lu <hongjiu.lu@intel.com>
6088
6089 [BZ #20495]
6090 [BZ #20508]
6091 * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
6092 processors, set Use_dl_runtime_resolve_slow and set
6093 Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
6094 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
6095 New.
6096 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
6097 (index_arch_Use_dl_runtime_resolve_opt): Likewise.
6098 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
6099 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
6100 _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
6101 if Use_dl_runtime_resolve_opt is set. Use
6102 _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
6103 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
6104 (_dl_runtime_resolve_opt): New. Defined for AVX and AVX512.
6105 (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
6106 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
6107 New.
6108 (_dl_runtime_resolve_opt): Likewise.
6109 (_dl_runtime_profile): Define only if _dl_runtime_profile is
6110 defined.
6111
6112 2016-09-06 Stefan Liebler <stli@linux.vnet.ibm.com>
6113
6114 * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
6115 __libc_memalign with "+ RELA R_390_GLOB_DAT".
6116
6117 2016-09-06 Florian Weimer <fweimer@redhat.com>
6118
6119 Convert malloc to __libc_lock. Automated part, using this Perl
6120 s/// command:
6121 s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
6122 \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
6123 * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
6124 conversion.
6125
6126 2016-09-05 Aurelien Jarno <aurelien@aurel32.net>
6127
6128 * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
6129 (linknamespace-symlists-tests): Likewise.
6130 (linknamespace-header-tests): Likewise.
6131
6132 2016-09-03 Aurelien Jarno <aurelien@aurel32.net>
6133
6134 [BZ #19810]
6135 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
6136 * elf/tst-noload.c: New test case.
6137 * elf/Makefile (tests): Add tst-noload.
6138
6139 2016-09-02 Roland McGrath <roland@hack.frob.com>
6140
6141 * sysdeps/nacl/dup.c: Add libc_hidden_def.
6142
6143 * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
6144 not any more.
6145
6146 * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
6147
6148 2016-09-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
6149
6150 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
6151 (do_cos_slow): Likewise.
6152 (do_sin): Likewise.
6153 (do_sin_slow): Likewise.
6154 (slow): Likewise.
6155 (slow1): Likewise.
6156 (slow2): Likewise.
6157 (sloww): Likewise.
6158 (sloww1): Likewise.
6159 (sloww2): Likewise.
6160 (bsloww): Likewise.
6161 (bsloww1): Likewise.
6162 (bsloww2): Likewise.
6163 (cslow2): Likewise.
6164
6165 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
6166
6167 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
6168 arguments. Consolidate input partitioning from callers here.
6169 (do_cos_slow): Likewise.
6170 (do_sin): Likewise.
6171 (do_sin_slow): Likewise.
6172 (do_sincos_1): Remove the no longer necessary input partitioning.
6173 (do_sincos_2): Likewise.
6174 (__sin): Likewise.
6175 (__cos): Likewise.
6176 (slow1): Likewise.
6177 (slow2): Likewise.
6178 (sloww1): Likewise.
6179 (sloww2): Likewise.
6180 (bsloww1): Likewise.
6181 (bsloww2): Likewise.
6182 (cslow2): Likewise.
6183
6184 2016-09-02 Florian Weimer <fweimer@redhat.com>
6185
6186 * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
6187 MB_CUR_MAX to avoid race condition. Avoid pointer arithmetic
6188 outside of allocated array.
6189
6190 2016-09-02 Florian Weimer <fweimer@redhat.com>
6191
6192 * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
6193 instead of MB_CUR_MAX to avoid variable-length array.
6194
6195 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6196
6197 * math/Makefile (libm-calls): Remove k_rem_pio2F.
6198 (type-double-routines): Add k_rem_pio2.
6199 (type-float-routines): Add k_rem_pio2f.
6200
6201 * sysdeps/generic/math_private.h:
6202 (__kernel_rem_pio2l): Removed.
6203
6204 * math/k_rem_pio2l.c: Removed.
6205 * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
6206 * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
6207 * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
6208 * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
6209
6210 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6211
6212 * math/Makefile (gen-libm-calls): Add s_fmin
6213 (libm-calls): Remove above.
6214
6215 * math/s_fmin.c: Refactor into ...
6216 * math/s_fmin_template.c: New file.
6217
6218 * math/s_fminf.c: Removed.
6219 * math/s_fminl.c: Removed.
6220 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
6221 (LDOUBLE_fmin_libm_version): New macro.
6222
6223 * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
6224 * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
6225
6226 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6227
6228 * math/Makefile: (gen-libm-calls): Add s_fmax.
6229 (libm-calls): Remove above.
6230
6231 * math/s_fmax.c: Refactor into ...
6232 * math/s_fmax_template.c: New file.
6233 * math/s_fmaxf.c: Removed.
6234 * math/s_fmaxl.c: Removed.
6235
6236 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
6237 (LDOUBLE_fmaxl_libm_version): New macro.
6238
6239 * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
6240 * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
6241
6242 * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
6243 s_fmin.c to pick the aarch64 version of the file.
6244 * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
6245 * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
6246
6247 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6248
6249 * math/Makefile: (gen-libm-calls): Add s_nextdown.
6250 (libm-calls): Remove above.
6251
6252 * math/s_nextdown.c: Refactor into ...
6253 * math/s_nextdown_template.c: New file.
6254 * math/s_nextdownf.c: Removed.
6255 * math/s_nextdownl.c: Removed.
6256
6257 * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
6258
6259 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6260
6261 * math/Makefile (gen-libm-calls): Add s_fdim.
6262 (libm-calls): Move to above.
6263
6264 * math/s_fdim.c: Renamed and refactored into to ...
6265 * math/s_fdim_template.c: New file.
6266 * math/s_fdiml.c: Removed.
6267 * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
6268 * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
6269
6270 * sysdeps/generic/math-type-macros-double.h:
6271 (declare_mgen_alias): Don't declare if already declared.
6272 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
6273 Likewise.
6274
6275 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
6276 (declare_mgen_alias): Don't declare if already declared.
6277 (M_LIBM_NEED_COMPAT): Likewise.
6278 (declare_mgen_libm_compat): Likewise.
6279 (LDOUBLE_fdiml_libm_version): New macro.
6280
6281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
6282 Include math/s_fdim.c now that ldbl-opt version is not needed.
6283 (declare_mgen_alias): New macro to disable aliasing.
6284
6285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
6286 (declare_mgen_alias): Likewise.
6287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
6288 (declare_mgen_alias): Likewise.
6289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
6290 (declare_mgen_alias): Likewise.
6291 (M_LIBM_NEED_COMPAT): Likewise.
6292
6293 2016-09-01 Florian Weimer <fweimer@redhat.com>
6294
6295 [BZ #20525]
6296 * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
6297 Include <linux/quota.h>.
6298 (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
6299 and btodb.
6300 (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
6301 (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
6302 (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
6303 (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
6304 (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
6305 (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
6306 (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
6307 (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
6308 types.
6309 * sysdeps/unix/sysv/linux/tst-quota.c: New test.
6310 * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
6311
6312 2016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6313
6314 * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
6315 (gammal_positive): Fix spacing.
6316 (__ieee754_gammal_r): Likewise.
6317
6318 2016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6319
6320 * sysdeps/ieee754/ldbl-128/math_ldbl.h:
6321 (_Float128): Define as long double, always.
6322 (L): Apply long double type suffix, always.
6323
6324 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
6325 _Float128, excepting comments.
6326
6327 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6328 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6329 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6330 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6331 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6332 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6333 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6334 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6335 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6336 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
6337 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6338 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6339 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6340 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6341 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6342 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6343 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6344 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6345 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6346 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6347 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6348 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
6349 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6350 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6351 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6352 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6353 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
6354 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
6355 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6356 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6357 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6358 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6359 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6360 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6361 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6362 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6363 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6364 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6365 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6366 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
6367 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6368 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6369 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
6370 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6371 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
6372 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6373 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6374 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6375 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6376 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6377 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6378 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6379 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6380 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6381 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
6382 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6383 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6384 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6385 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6386 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6387 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
6388 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6389 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6390 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6391 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6392 * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
6393 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6394 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6395
6396 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
6397 _Float128, and include math_private.h.
6398 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
6399
6400 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
6401 long double semantics.
6402 (_Float128): Likewise.
6403 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
6404 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
6405 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
6406 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
6407
6408 2016-08-31 Stefan Liebler <stli@linux.vnet.ibm.com>
6409
6410 * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
6411 * sysdeps/s390/configure.ac: Add test for z196 zarch support.
6412 * sysdeps/s390/configure: Regenerated.
6413 * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
6414 instruction for raising over-/underflow if z196 zarch is supported
6415 by default.
6416 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
6417
6418 2016-08-30 Svante Signell <svante.signell@gmail.com>
6419
6420 * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
6421 it point to a dumb buffer for RPC to fill it.
6422
6423 2016-08-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
6424
6425 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
6426 instead of if/else.
6427 (do_sin_slow): Likewise.
6428 (do_sincos_1): Use fabs instead of if/else.
6429 (do_sincos_2): Likewise.
6430 (__sin): Likewise.
6431 (__cos): Likewise.
6432 (slow2): Likewise.
6433 (sloww): Likewise.
6434 (sloww1): Likewise. Drop argument M.
6435 (sloww2): Use fabs instead of if/else.
6436 (bsloww): Likewise.
6437 (bsloww1): Likewise.
6438 (bsloww2): Likewise.
6439
6440 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
6441 fall through comment.
6442 (do_sincos_1): Likewise.
6443
6444 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
6445 Consolidate switch cases 0 and 2.
6446
6447 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6448
6449 * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
6450 (libm-calls): Remove the above.
6451
6452 * math/s_cexp_template.c: Update using type-generic macros.
6453 * math/s_clog10_template.c: Likewise.
6454 * math/s_cpow_template.c: Likewise.
6455 * math/s_clog_template.c: Likewise.
6456 * math/s_cproj_template.c: Likewise.
6457 * math/s_csqrt_template.c: Likewise.
6458
6459 * math/s_cexp.c: Removed.
6460 * math/s_cexpf.c: Removed.
6461 * math/s_cexpl.c: Removed.
6462 * math/s_clog10.c: Removed.
6463 * math/s_clog10f.c: Removed.
6464 * math/s_clog10l.c: Removed.
6465 * math/s_cpow.c: Removed.
6466 * math/s_cpowf.c: Removed.
6467 * math/s_cpowl.c: Removed.
6468 * math/s_clog.c: Removed.
6469 * math/s_clogf.c: Removed.
6470 * math/s_clogl.c: Removed.
6471 * math/s_cproj.c: Removed.
6472 * math/s_cprojf.c: Removed.
6473 * math/s_cprojl.c: Removed.
6474 * math/s_csqrt.c: Removed.
6475 * math/s_csqrtf.c: Removed.
6476 * math/s_csqrtl.c: Removed.
6477
6478 * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
6479 * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
6480 * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
6481 * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
6482 * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
6483 * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
6484
6485 * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
6486 * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
6487 * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
6488 * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
6489 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
6490 * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
6491 * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
6492 * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
6493 * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
6494 * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
6495 * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
6496
6497 * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
6498 version.
6499
6500 * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
6501 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
6502 * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
6503 * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
6504
6505 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6506
6507 * s_cexp_template.c: Copy of s_cexp.c.
6508 * s_clog_template.c: Copy of s_clog.c.
6509 * s_clog10_template.c: Copy of s_clog10.c.
6510 * s_cpow_template.c: Copy of s_cpow.c.
6511 * s_cproj_template.c: Copy of s_cproj.c.
6512 * s_csqrt_template.c: Copy of s_csqrt.c.
6513
6514 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6515
6516 [BZ #20517]
6517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
6518 Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
6519 exported.
6520
6521 2016-08-29 Joseph Myers <joseph@codesourcery.com>
6522
6523 * math/fetestexceptflag.c: New file.
6524 * sysdeps/s390/fpu/fetestexceptflag.c: Likewise. Comment by
6525 Stefan Liebler.
6526 * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6527 (fetestexceptflag): New function declaration.
6528 * manual/arith.texi (fetestexceptflag): Document function.
6529 * math/Versions (fetestexceptflag): New libm symbol at version
6530 GLIBC_2.25.
6531 * math/Makefile (libm-support): Add fetestexceptflag.
6532 (tests): Add test-fetestexceptflag.
6533 * math/test-fetestexceptflag.c: New file.
6534 * sysdeps/nacl/libm.abilist: Update.
6535 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6536 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6537 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6538 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6539 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6540 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6541 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6542 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6543 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6544 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6545 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6546 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6548 Likewise.
6549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6550 Likewise.
6551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6552 Likewise.
6553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6554 Likewise.
6555 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6556 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6557 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6558 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6559 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6560 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6561 Likewise.
6562 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6563 Likewise.
6564 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6565 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6566 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6567
6568 2016-08-26 Florian Weimer <fweimer@redhat.com>
6569
6570 [BZ #20432]
6571 Avoid strong references to malloc-internal symbols when linking
6572 statically, to support statically interposed mallocs.
6573 * include/libc-symbols.h (call_function_static_weak): New macro.
6574 * malloc/Makefile (tests): Add tst-interpose-nothread,
6575 tst-interpose-thread, tst-interpose-static-nothread,
6576 tst-interpose-static-thread.
6577 (tests-static): Add tst-interpose-static-nothread,
6578 tst-interpose-static-thread.
6579 (extra-tests-objs): Add tst-interpose-aux-nothread.o,
6580 tst-interpose-aux-thread.o.
6581 (test-extras): Add tst-interpose-aux-nothread,
6582 tst-interpose-aux-thread.
6583 (tst-interpose-nothread, tst-interpose-static-nothread): Link with
6584 tst-interpose-aux-nothread.o.
6585 (tst-interpose-thread, tst-interpose-static-thread): Link with
6586 tst-interpose-aux-thread.o and libthread.
6587 * malloc/tst-interpose-aux-nothread.c: New file.
6588 * malloc/tst-interpose-aux-thread.c: Likewise.
6589 * malloc/tst-interpose-aux.c: Likewise.
6590 * malloc/tst-interpose-aux.h: Likewise.
6591 * malloc/tst-interpose-nothread.c: Likewise.
6592 * malloc/tst-interpose-skeleton.c: Likewise.
6593 * malloc/tst-interpose-static-nothread.c: Likewise.
6594 * malloc/tst-interpose-static-thread.c: Likewise.
6595 * malloc/tst-interpose-thread.c: Likewise.
6596 * nptl/tst-tls3-malloc.c: Use new interposed malloc.
6597 * sysdeps/mach/hurd/fork.c (__fork): Only call
6598 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
6599 __malloc_fork_unlock_child if defined.
6600 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
6601
6602 2016-08-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6603
6604 * test-skeleton.c (delayed_exit_thread): Add initializer on struct
6605 timespec C99 designated initialization.
6606
6607 2016-08-26 Florian Weimer <fweimer@redhat.com>
6608
6609 [BZ #19946]
6610 Avoid expected SIGALRM signals.
6611 * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
6612 (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
6613 (xpthread_create, xpthread_detach, xpthread_join)
6614 (delayed_exit_thread, delayed_exit): New functions.
6615 * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
6616 (tf): Use xpthread_cond_wait.
6617 (do_test): Likewise. Replace alarm with delayed_exit.
6618 * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
6619 (do_test): Call delayed_exit. Report failure.
6620 * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
6621 (do_test): Call delayed_exit.
6622 * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
6623 (do_test): Call delayed_exit. Use xpthread_join. Report error.
6624 * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
6625 (do_test): Call delayed_exit. Use xpthread_barrier_wait. Report
6626 error.
6627 * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
6628 (do_test): Call delayed_exit. Use xpthread_cond_wait. Report
6629 error.
6630 * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
6631 (do_test): Call delayed_exit.
6632 * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
6633 (do_test): Call delayed_exit.
6634 * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
6635 (do_test): Call delayed_exit instead of alarm. Use
6636 xpthread_mutex_lock.
6637 * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
6638 (do_test): Call delayed_exit instead of alarm. Use
6639 xpthread_mutex_lock.
6640 * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
6641 (do_test): Call delayed_exit instead of alarm.
6642 * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
6643 (do_test): Call delayed_exit instead of alarm. Use
6644 xpthread_spin_lock.
6645 * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
6646 (do_test): Call delayed_exit instead of alarm. Use
6647 xpthread_join.
6648
6649 2016-08-26 H.J. Lu <hongjiu.lu@intel.com>
6650
6651 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
6652 adjust CFA when allocating register save area on re-aligned
6653 stack.
6654
6655 2016-08-26 Florian Weimer <fweimer@redhat.com>
6656
6657 * string/tst-cmp.c: New test.
6658 * string/Makefile (tests): Add it.
6659
6660 2016-08-25 Mark Wielaard <mark@klomp.org>
6661
6662 * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
6663 USE_MALLOC_LOW_BIT. Define pointer/value accessors.
6664 (check_tree_recurse): Use newly defined accessors.
6665 (check_tree): Likewise.
6666 (maybe_split_for_insert): Likewise.
6667 (__tfind): Likewise.
6668 (__tdelete): Likewise.
6669 (trecurse): Likewise.
6670 (tdestroy_recurse): Likewise.
6671 (__tsearch): Likewise. And add asserts for malloc alignment.
6672 (__twalk): Cast root to node in case CHECK_TREE is defined.
6673
6674 2016-08-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
6675
6676 * scripts/check-local-headers.sh (exclude): Add mach_debug/.
6677
6678 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6679
6680 * math/Makefile (libm-gen-calls): Add
6681 catan, catanh, ctan, ctanh.
6682 (libm-calls): Remove the above.
6683
6684 * math/s_catan_template.c: Update using type-generic macros.
6685 * math/s_catanh_template.c: Likewise.
6686 * math/s_ctan_template.c: Likewise.
6687 * math/s_ctanh_template.c: Likewise.
6688
6689 * math/s_catanf.c: Removed.
6690 * math/s_catan.c: Removed.
6691 * math/s_catanl.c: Removed.
6692 * math/s_catanhf.c: Removed.
6693 * math/s_catanh.c: Removed.
6694 * math/s_catanhl.c: Removed.
6695 * math/s_ctanf.c: Removed.
6696 * math/s_ctan.c: Removed.
6697 * math/s_ctanl.c: Removed.
6698 * math/s_ctanhf.c: Removed.
6699 * math/s_ctanh.c: Removed.
6700 * math/s_ctanhl.c: Removed.
6701
6702 * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
6703 * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
6704 * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
6705 * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
6706 * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
6707 * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
6708
6709 * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
6710 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
6711 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
6712 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
6713
6714 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6715
6716 * s_catan_template.c: Copy of s_catan.c.
6717 * s_catanh_template.c: Copy of s_catanh.c.
6718 * s_ctan_template.c: Copy of s_ctan.c.
6719 * s_ctanh_template.c: Copy of s_ctanh.c.
6720
6721 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6722
6723 * math/Makefile (gen-libm-calls): Move
6724 casin, casinh, csin, csinh here.
6725 (libm-calls): Remove the above.
6726
6727 * math/s_casin_template.c: Update using type-generic macros.
6728 * math/s_casinh_template.c: Likewise.
6729 * math/s_csin_template.c: Likewise.
6730 * math/s_csinh_template.c: Likewise.
6731 * math/k_casinh_template.c: Likewise.
6732
6733 * math/s_casinf.c: Removed.
6734 * math/s_casin.c: Removed.
6735 * math/s_casinl.c: Removed.
6736 * math/s_casinh.c: Removed.
6737 * math/s_casinhf.c: Removed.
6738 * math/s_casinhl.c: Removed.
6739 * math/s_csin.c: Removed.
6740 * math/s_csinf.c: Removed.
6741 * math/s_csinl.c: Removed.
6742 * math/s_csinh.c: Removed.
6743 * math/s_csinhf.c: Removed.
6744 * math/s_csinhl.c: Removed.
6745 * math/k_casinh.c: Removed.
6746 * math/k_casinhf.c: Removed.
6747 * math/k_casinhl.c: Removed.
6748
6749 * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
6750 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
6751 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
6752 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
6753
6754 * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
6755 * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
6756 * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
6757 * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
6758 * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
6759 * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
6760 * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
6761 * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
6762
6763 * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
6764 * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
6765 * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
6766 * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
6767
6768 * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
6769 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
6770 * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
6771 * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
6772
6773 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6774
6775 * s_casin_template.c: Copy of s_casin.c.
6776 * s_casinh_template.c: Copy of s_casinh.c.
6777 * s_csin_template.c: Copy of s_csin.c.
6778 * s_csinh_template.c: Copy of s_csinh.c.
6779 * k_casinh_template.c: Copy of k_casinh.c.
6780
6781 2016-08-19 H.J. Lu <hongjiu.lu@intel.com>
6782
6783 * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
6784
6785 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6786
6787 * sysdeps/ieee754/ldbl-128/gamma_productl.c:
6788 (mul_split) Remove, rename as mul_splitl, remove
6789 redundant float.h include, and include via mul_splitl.h
6790
6791 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
6792 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6793 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
6794 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
6795 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
6796
6797 * math/mul_splitl.h: New file.
6798
6799 * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
6800 Move into mul_split.h, and remove redundant float.h include.
6801
6802 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
6803 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
6804 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
6805 * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
6806
6807 * math/mul_split.h: New file.
6808
6809 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6810
6811 * math/Makefile (libm-gen-calls): Move
6812 s_cacos, s_cacosh, s_ccos, s_ccosh from ...
6813 (libm-calls): Remove above.
6814
6815 * math/s_cacos_template.c: Update using type-generic macros.
6816 * math/s_cacosh_template.c: Likewise.
6817 * math/s_ccos_template.c: Likewise.
6818 * math/s_ccosh_template.c: Likewise.
6819
6820 * math/s_cacosf.c: Removed.
6821 * math/s_cacos.c: Removed.
6822 * math/s_cacosl.c: Removed.
6823 * math/s_cacoshf.c: Removed.
6824 * math/s_cacosh.c: Removed.
6825 * math/s_cacoshl.c: Removed.
6826 * math/s_ccosf.c: Removed.
6827 * math/s_ccos.c: Removed.
6828 * math/s_ccosl.c: Removed.
6829 * math/s_ccoshf.c: Removed.
6830 * math/s_ccosh.c: Removed.
6831 * math/s_ccoshl.c: Removed.
6832
6833 * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
6834 * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
6835 * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
6836 * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
6837 * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
6838 * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
6839
6840 * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
6841 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
6842 * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
6843 * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
6844
6845 * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
6846 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
6847 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
6848 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
6849
6850 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6851
6852 * s_cacos_template.c: Copy of s_cacos.c.
6853 * s_cacosh_template.c: Copy of s_cacosh.c.
6854 * s_ccos_template.c: Copy of s_ccos.c.
6855 * s_ccosh_template.c: Copy of s_ccosh.c.
6856
6857 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6858
6859 * stdlib/tst-strtod-round-skeleton.c:
6860 Refactored from tst-strtod-round.c.
6861
6862 (L_): New macro to apply literal modifier.
6863 (FNPFX): New macro to select str or wcs prefix.
6864 (CHAR): New macro to choose wchar_t or char.
6865 (STRM): New macro to choose printf for tested character type.
6866
6867 (STRTO): New macro to choose appropriate string -> real function.
6868 (FNPFXS): Stringitized version of FNPFX.
6869 (STR): Support for above macro.
6870 (STRX): Likewise.
6871
6872 (TEST): Update with above macros.
6873 (test): Likewise.
6874 (GEN_ONE_TEST): Likewise.
6875 (test_in_one_mode): Likewise.
6876
6877 * stdlib/tst-strtod-round.c: New file.
6878 * wcsmbs/tst-wcstod-round.c: New file.
6879
6880 * wcsmbs/Makefile: (tests): Add tst-wcstod-round
6881 (tst-wcstod-round): Add libm depencency for fesetround.
6882
6883 2016-08-19 Zack Weinberg <zackw@panix.com>
6884
6885 * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
6886
6887 2016-08-18 Torvald Riegel <triegel@redhat.com>
6888
6889 [BZ #20477]
6890 * resolv/res_hconf.c (do_init): Use atomic access.
6891 * resolv/res_hconf.h: Add comments.
6892 * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
6893 * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
6894 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6895
6896 2016-08-18 Stefan Liebler <stli@linux.vnet.ibm.com>
6897
6898 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
6899 Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
6900 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
6901 Likewise.
6902
6903 2016-08-18 Florian Weimer <fweimer@redhat.com>
6904
6905 [BZ #16907]
6906 * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
6907 (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
6908 * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
6909 (__attribute__): Remove definition.
6910
6911 2016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6912
6913 * sysdeps/ieee754/ldbl-128/e_asinl.c:
6914 Remove unused sqrtl declaration.
6915
6916 2016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6917
6918 * math/Makefile: (gen-libm-templates.stmp): New rule.
6919 (libm-calls): Move carg conj cimag and cabs into ...
6920 (gen-libm-calls): New variable.
6921 (generated): Inform Make objects from gen-libm-calls
6922 may be generated.
6923
6924 * sysdeps/generic/math-type-macros.h: New file.
6925 * sysdeps/generic/math-type-macros-float.h: Likewise.
6926 * sysdeps/generic/math-type-macros-double.h: Likewise.
6927 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
6928 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
6929 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
6930
6931 * math/cabs.c: Refactor into
6932 * math/cabs_template.c: new file.
6933 * math/cabsf.c: Removed.
6934 * math/cabsl.c: Removed.
6935 * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
6936 * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
6937
6938 * math/carg.c: Refactor into
6939 * math/carg_template.c: new file.
6940 * math/cargf.c: Removed.
6941 * math/cargl.c: Removed.
6942 * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
6943 * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
6944
6945 * math/conj.c: Refactor into
6946 * math/conj_template.c: new file.
6947 * math/conjf.c: Removed.
6948 * math/conjl.c: Removed.
6949 * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
6950 * sysdeps/ieee754/ldbl-opt/conjl.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 * math/cimag.c: Refactor into
6960 * math/cimag_template.c: new file.
6961 * math/cimagf.c: Removed.
6962 * math/cimagl.c: Removed.
6963 * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
6964 * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
6965
6966 2016-08-17 Florian Weimer <fweimer@redhat.com>
6967
6968 Reduce time to expected nptl/tst-once5 failure.
6969 * nptl/tst-once5.cc (TIMEOUT): Define.
6970
6971 2016-08-17 Florian Weimer <fweimer@redhat.com>
6972
6973 [BZ #20452]
6974 Avoid additional copies of objects in libc.a in static libraries.
6975 * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
6976 Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
6977 * sysdeps/mips/Makefile (librt-shared-only-routines): Add
6978 rt-sysdep.
6979 * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
6980 Add nptl-sysdep.
6981 * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
6982 Add ptw-sysdep.
6983 * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
6984 rt-sysdep.
6985 * sysdeps/unix/sysv/linux/alpha/Makefile
6986 (libpthread-shared-only-routines): Add ptw-sysdep,
6987 ptw-sigprocmask, ptw-rt_sigaction.
6988 * sysdeps/unix/sysv/linux/ia64/Makefile
6989 (librt-shared-only-routines): Add rt-sysdep.
6990 * sysdeps/unix/sysv/linux/i386/Makefile
6991 (libpthread-shared-only-routines): Add libc-do-syscall.
6992 * sysdeps/unix/sysv/linux/microblaze/Makefile
6993 (libpthread-shared-only-routines): Add sysdep.
6994 * sysdeps/unix/sysv/linux/powerpc/Makefile
6995 (librt-shared-only-routines): Add rt-sysdep.
6996 (libpthread-shared-only-routines): Add sysdep.
6997 * sysdeps/unix/sysv/linux/s390/Makefile
6998 (librt-shared-only-routines): Add rt-sysdep.
6999 * sysdeps/unix/sysv/linux/sparc/Makefile
7000 (librt-shared-only-routines): Add rt-sysdep.
7001 (libpthread-shared-only-routines): Add sysdep.
7002 * sysdeps/unix/sysv/linux/tile/Makefile
7003 (libpthread-shared-only-routines): Likewise.
7004
7005 2016-08-16 Joseph Myers <joseph@codesourcery.com>
7006
7007 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
7008 Mask implicit bit out of unpacked value.
7009 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
7010 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
7011 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
7012
7013 * sysdeps/sparc/fpu/fesetexcept.c: New file.
7014
7015 * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
7016
7017 * sysdeps/s390/fpu/fesetexcept.c: New file.
7018
7019 * sysdeps/powerpc/fpu/fesetexcept.c: New file.
7020 * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
7021 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
7022
7023 * sysdeps/mips/fpu/fesetexcept.c: New file.
7024
7025 * sysdeps/m68k/fpu/fesetexcept.c: New file.
7026
7027 * sysdeps/ia64/fpu/fesetexcept.c: New file.
7028
7029 * sysdeps/hppa/fpu/fesetexcept.c: New file.
7030
7031 * sysdeps/arm/fesetexcept.c: New file.
7032
7033 * sysdeps/alpha/fpu/fesetexcept.c: New file.
7034
7035 * sysdeps/aarch64/fpu/fesetexcept.c: New file.
7036
7037 * math/fesetexcept.c: New file.
7038 * sysdeps/i386/fpu/fesetexcept.c: Likewise.
7039 * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
7040 * math/fenv.h: Define
7041 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
7042 <bits/libc-header-start.h> instead of including <features.h>.
7043 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
7044 declaration.
7045 * manual/arith.texi (fesetexcept): Document function.
7046 * math/Versions (fesetexcept): New libm symbol at version
7047 GLIBC_2.25.
7048 * math/Makefile (libm-support): Add fesetexcept.
7049 (tests): Add test-fesetexcept and test-fesetexcept-traps.
7050 * math/test-fesetexcept.c: New file.
7051 * math/test-fesetexcept-traps.c: Likewise.
7052 * sysdeps/nacl/libm.abilist: Update.
7053 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7054 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7055 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7056 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7057 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7058 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7059 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7060 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7061 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7062 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7063 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7064 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7066 Likewise.
7067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7068 Likewise.
7069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7070 Likewise.
7071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7072 Likewise.
7073 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7074 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7075 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7076 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7077 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7078 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7079 Likewise.
7080 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7081 Likewise.
7082 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7083 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7084 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7085
7086 2016-08-16 Florian Weimer <fweimer@redhat.com>
7087
7088 * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
7089 New.
7090 (do_test): Apply default_stack_size_in_mb if not set.
7091 * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
7092
7093 2016-08-15 Andreas Schwab <schwab@suse.de>
7094
7095 [BZ #20435]
7096 CVE-2016-6323
7097 * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
7098 as .cantunwind.
7099
7100 2016-08-12 Joseph Myers <joseph@codesourcery.com>
7101
7102 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
7103 comment from fraiseexcpt.c.
7104
7105 * math/test-fexcept.c (feraiseexcept_exact): New function.
7106 (test_set): Call feraiseexcept_exact instead of feraiseexcept.
7107 (test_except): Likewise.
7108
7109 2016-08-10 Joseph Myers <joseph@codesourcery.com>
7110
7111 [BZ #20455]
7112 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
7113 all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
7114 to be restored.
7115
7116 * math/test-fexcept-traps.c: New file.
7117 * math/test-fexcept.c: Likewise.
7118 * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
7119 * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
7120 macro.
7121 * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
7122 (EXCEPTION_SET_FORCES_TRAP): Likewise.
7123
7124 2016-08-09 Torvald Riegel <triegel@redhat.com>
7125
7126 * include/atomic.h (atomic_fetch_and_relaxed,
7127 atomic_fetch_and_release, atomic_fetch_or_release,
7128 atomic_fetch_xor_release): New.
7129
7130 2016-08-06 Christian Seiler <christian@iwakd.de>
7131
7132 [BZ #20444]
7133 * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
7134 MACH_PORT_NULL.
7135
7136 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
7137
7138 * math/s_fdim.c: Avoid alias renamed.
7139 * math/s_fdimf.c: Likewise.
7140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
7141 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
7142 Add s_fdimf-vis3, s_fdim-vis3.
7143 (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
7144 (CFLAGS-s_fdim-vis3.c): Likewise.
7145 sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
7146 sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
7147
7148 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
7149
7150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
7151 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
7152 Remove s_fdimf-vis3, s_fdim-vis3.
7153 * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
7154 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
7155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
7156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
7157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
7158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
7159 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
7160 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
7161 * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
7162 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
7163
7164 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
7165
7166 * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
7167 * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
7168 -Wa,-Av9a -mvis.
7169
7170 2016-08-05 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7171
7172 * math/gen-libm-test.pl (apply_lit): Rewrite to apply
7173 LIT() to individual constants in simple expressions
7174 after splitting on spaces.
7175 (_apply_lit): Rename replaced version, and use it to
7176 apply to what appears to be a token.
7177
7178 * math/libm-test.inc: Fix many, many issues with
7179 spacing.
7180
7181 2016-08-05 Joseph Myers <joseph@codesourcery.com>
7182
7183 * math/math.h: Move comment about <bits/mathdef.h> definitions
7184 above inclusion of <bits/mathdef.h>. Do not mention
7185 FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
7186
7187 2016-08-05 Torvald Riegel <triegel@redhat.com>
7188
7189 * include/atomic.h (atomic_exchange_relaxed): New.
7190
7191 2016-08-04 Joseph Myers <joseph@codesourcery.com>
7192
7193 * math/e_scalb.c: Do not include <fenv.h>.
7194 (invalid_fn): Do calculation resulting in NaN instead of raising
7195 FE_INVALID and returning a NaN explicitly.
7196 * math/e_scalbf.c: Do not include <fenv.h>.
7197 (invalid_fn): Do calculation resulting in NaN instead of raising
7198 FE_INVALID and returning a NaN explicitly.
7199 * math/e_scalbl.c: Do not include <fenv.h>.
7200 (invalid_fn): Do calculation resulting in NaN instead of raising
7201 FE_INVALID and returning a NaN explicitly.
7202
7203 2016-08-04 Carlos O'Donell <carlos@redhat.com>
7204
7205 * po/de.po: Updated from Translation Project.
7206 * po/fi.po: Likewise.
7207 * po/sv.po: Likewise.
7208
7209 2016-08-04 Florian Weimer <fweimer@redhat.com>
7210
7211 [BZ #20452]
7212 Use sysdep.o from libc.a in static libraries.
7213 * sysdeps/unix/sysv/linux/i386/Makefile
7214 (libpthread-shared-only-routines): Add sysdep.
7215 (librt-shared-only-routines): Likewise.
7216
7217 2016-08-03 Joseph Myers <joseph@codesourcery.com>
7218
7219 * math/tgmath.h (nextdown): Define if
7220 [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
7221 (nextup): Likewise.
7222
7223 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
7224 macro.
7225 * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
7226 Document.
7227 * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
7228 Document macro.
7229 * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
7230 (exp10f): Likewise.
7231 (exp10l): Likewise.
7232 * math/bits/mathcalls.h (exp10): Declare if
7233 [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
7234
7235 * manual/arith.texi (nextup): Fix typo in last change.
7236
7237 2016-08-03 Zack Weinberg <zackw@panix.com>
7238
7239 [BZ #19239]
7240 * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
7241 * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
7242 define major, minor, and makedev to issue deprecation warnings on use.
7243 If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
7244 previously-activated deprecation warnings for these macros and prevent
7245 subsequent inclusions of this header from having any effect.
7246 * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
7247 including <sys/sysmacros.h>, and undefine it again afterward.
7248
7249 2016-08-03 Zack Weinberg <zackw@panix.com>
7250
7251 * sysdeps/generic/sys/sysmacros.h: Delete file.
7252 * sysdeps/unix/sysv/linux/makedev.c: Delete file.
7253 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
7254 * bits/sysmacros.h: ... here; this encoding is now the generic
7255 encoding. Now defines only the following macros:
7256 __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
7257 __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
7258 __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
7259
7260 * misc/sys/sysmacros.h, misc/makedev.c: New files that use
7261 bits/sysmacros.h and the above new macros to generate the
7262 public implementations of major, minor, and makedev.
7263 * misc/tst-makedev.c: New test.
7264 * include/sys/sysmacros.h: New wrapper.
7265
7266 * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
7267 (routines): Add makedev.
7268 (tests): Add tst-makedev.
7269 * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
7270 gnu_dev_makedev.
7271 * posix/Makefile (headers): Remove sys/sysmacros.h.
7272 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
7273
7274 * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
7275 gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
7276 * sysdeps/unix/sysv/linux/aarch64/libc.abilist
7277 * sysdeps/unix/sysv/linux/alpha/libc.abilist
7278 * sysdeps/unix/sysv/linux/arm/libc.abilist
7279 * sysdeps/unix/sysv/linux/hppa/libc.abilist
7280 * sysdeps/unix/sysv/linux/i386/libc.abilist
7281 * sysdeps/unix/sysv/linux/ia64/libc.abilist
7282 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
7283 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
7284 * sysdeps/unix/sysv/linux/microblaze/libc.abilist
7285 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
7286 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
7287 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
7288 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
7289 * sysdeps/unix/sysv/linux/nios2/libc.abilist
7290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
7292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
7293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
7294 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
7295 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
7296 * sysdeps/unix/sysv/linux/sh/libc.abilist
7297 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
7298 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
7299 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
7300 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
7301 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
7302 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
7303 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
7304 Add GLIBC_2.25.
7305
7306 * include/features.h (__glibc_clang_prereq): New macro.
7307 * misc/sys/cdefs.h (__glibc_clang_has_extension)
7308 (__attribute_deprecated_msg__): New macros.
7309
7310 2016-08-03 Joseph Myers <joseph@codesourcery.com>
7311
7312 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
7313 macro.
7314 * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
7315 * manual/arith.texi (issignaling): Document as ISO from TS
7316 18661-1:2014.
7317 (nextup): Likewise.
7318 (nextupf): Likewise.
7319 (nextupl): Likewise.
7320 (nextdown): Likewise.
7321 (nextdownf): Likewise.
7322 (nextdownl): Likewise.
7323 * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
7324 macro.
7325 * math/math.h: Define
7326 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
7327 <bits/libc-header-start.h> instead of including <features.h>.
7328 (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
7329 [__USE_GNU].
7330 * math/bits/mathcalls.h (nextdown): Declare if
7331 [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
7332 (nextup): Likewise.
7333 (__issignaling): Likewise.
7334
7335 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7336
7337 * s_ccoshf.c (__ccoshf): Remove FE_INVALID
7338 check, and remove __glibc_likely hint
7339 from FP_INFINITE check.
7340 * s_csinhf.c (__csinhf): Likewise.
7341
7342 * s_ccoshl.c (__ccoshl): Remove __glibc_likely
7343 hint from FP_INFINITE check.
7344 * s_csinhl.c (__csinhl): Likewise.
7345
7346 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7347
7348 * math/Makefile (libm-calls): Insert F placeholder into
7349 object names. Move w_lgamma_compat* routines into
7350 (libm-compat-calls): New variable.
7351 (libm-compat-calls-ldouble-yes): New variable.
7352 (calls): Insert F placeholder.
7353 (generated): Redefine using new type-foreach macro call.
7354 (routines): Likewise.
7355
7356 (types): New variable to hold a list of symbolic names
7357 for each type supported by the target machine.
7358 (libm-routines): Redefine using new types variable.
7359 (type-foreach): macro to replace fooF with the
7360 appropriately suffixed foo for each types.
7361
7362 (type-ldouble-suffix): New variable.
7363 (type-ldouble-routines): Likewise.
7364 (type-ldouble-yes): Likewise.
7365 (type-double-suffix): Likewise.
7366 (type-double-routines): Likewise.
7367 (type-float-suffix): Likewise.
7368 (type-float-routines): Likewise.
7369
7370 (dbl-only-routines): Remove.
7371 (long-c-yes): Likewise.
7372 (long-m-routines): Likewise.
7373 (long-m-support): Likewise.
7374 (long-m-yes): Likewise.
7375 (test-longdouble-yes): Likewise.
7376
7377 (test-float.o): Simplify by increasing the scope of the
7378 recipe which adds libm-test.stmp to the vector types.
7379 (test-ifloat.o): Likewise.
7380 (test-float-finite.o): Likewise.
7381 (test-double.o): Likewise
7382 (test-idouble.o): Likewise.
7383 (test-double-finite.o): Likewise.
7384 (test-ldouble.o): Likewise
7385 (test-ildoubl.o): Likewise.
7386 (test-ldouble-finite.o): Likewise.
7387
7388 (libm-tests): Redefine type tests using foreach and the
7389 list of types in types.
7390
7391 (CPPFLAGS-test-ildoubl.c): Rename to
7392 (CPPFLAGS-test-ildouble.c): New variable
7393
7394 * math/test-ildoubl.c: Rename to
7395 * math/test-ildouble.c: New file.
7396
7397 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7398
7399 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
7400 Use fabsl instead of fabs.
7401 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
7402 Likewise.
7403 * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
7404 Add long double suffix to constant to ensure proper
7405 promotion to long double.
7406
7407 2016-08-03 Tom Tromey <tom@tromey.com>
7408
7409 [BZ #20311]
7410 * nptl_db/Makefile (headers): Add proc_service.h.
7411 * nptl_db/proc_service.h: Add include guard. Use
7412 __BEGIN/__END_DECLS.
7413 (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
7414 (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
7415 arguments.
7416
7417
7418 2016-08-03 Florian Weimer <fweimer@redhat.com>
7419
7420 [BZ #17730]
7421 Avoid using memalign for TCB allocations.
7422 * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
7423 (_dl_allocate_tls_storage): Use malloc and manual alignment.
7424 Avoid alignment gap in the TLS_DTV_AT_TP case.
7425 (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
7426 determine the pointer to free.
7427 * nptl/tst-tls3-malloc.c: New test.
7428 * nptl/Makefile (tests): Add it.
7429 (tst-tls3-malloc): Link with libdl, libpthread.
7430 (LDFLAGS-tst-tls3-malloc): Set.
7431 (tst-tls3-malloc.out): Depend on DSO used in test.
7432
7433 2016-08-03 Florian Weimer <fweimer@redhat.com>
7434
7435 [BZ #17730]
7436 Avoid using memalign for TLS allocations.
7437 * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New. Replaces
7438 is_static member with to_free member.
7439 (union dtv): Use struct dtv_pointer.
7440 * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
7441 dtv_pointer instead of is_static.
7442 * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
7443 (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
7444 instead of val.
7445 (allocate_dtv_entry): New function.
7446 (allocate_and_init): Return struct dtv_pointer. Call
7447 allocate_dtv_entry instead of __libc_memalign.
7448 (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
7449 instead of val.
7450 (tls_get_addr_tail): Set to_free member of struct dtv_pointer
7451 instead of is_static. Adjust call to allocate_and_init.
7452 * nptl/allocatestack.c (get_cached_stack): Free to_free member of
7453 struct dtv_pointer instead of val.
7454
7455 2016-08-03 Florian Weimer <fweimer@redhat.com>
7456
7457 * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
7458 (MALLOC_ALIGN_MASK): Move ...
7459 * malloc/malloc-internal.h: ... to here.
7460 * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
7461
7462 2016-08-03 Joseph Myers <joseph@codesourcery.com>
7463
7464 * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
7465 (UDP_ENCAP_GTP1U): Likewise.
7466
7467 * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
7468 (PF_MAX): Update value.
7469 (AF_QIPCRTR): New macro.
7470
7471 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
7472
7473 * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
7474 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
7475 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
7476 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
7477 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
7478 Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
7479 s_truncf-vis3, s_trunc-vis3.
7480 (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
7481 (CFLAGS-s_ceil-vis3.c): Likewise.
7482 (CFLAGS-s_floorf-vis3.c): Likewise.
7483 (CFLAGS-s_floor-vis3.c): Likewise.
7484 (CFLAGS-s_truncf-vis3.c): Likewise.
7485 (CFLAGS-s_trunc-vis3.c): Likewise.
7486 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
7487 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
7488 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
7489 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
7490 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
7491 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
7492 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
7493 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
7494 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
7495 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
7496 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
7497 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
7498
7499 2016-08-02 David S. Miller <davem@davemloft.net>
7500
7501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
7502 (__nearbyint_vis3): Don't check for sNaN before float register is
7503 loaded with the incoming argument.
7504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
7505 (__nearbyintf_vis3): Likewise.
7506 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
7507 Likewise.
7508 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
7509 Likewise.
7510
7511 * string/test-strncmp.c (do_test_limit): Make sure the test data
7512 stream is aligned as required for the type "CHAR".
7513 (do_test): Likewise.
7514
7515 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
7516
7517 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
7518 by beq instructions jumping to the end of the function.
7519 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
7520 clobber list. Use "i" constraint instead of "X".
7521 (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
7522 of "X".
7523
7524 2016-08-02 Joseph Myers <joseph@codesourcery.com>
7525
7526 * bits/libc-header-start.h: New file.
7527 * Makefile (headers): Add bits/libc-header-start.h.
7528 * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
7529 (__GLIBC_USE): New macro.
7530 * libio/stdio.h: Define
7531 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
7532 <bits/libc-header-start.h> instead of including <features.h>.
7533 (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
7534 (open_memstream): Likewise.
7535 (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
7536 (__asprintf): Likewise.
7537 (asprintf): Likewise.
7538 (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
7539 (getdelim): Likewise.
7540 (getline): Likewise.
7541 * string/string.h: Define
7542 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
7543 <bits/libc-header-start.h> instead of including <features.h>.
7544 (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
7545 (strndup): Likewise.
7546 * wcsmbs/wchar.h: Define
7547 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
7548 <bits/libc-header-start.h> instead of including <features.h>.
7549 (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
7550 * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
7551
7552 2016-08-02 Florian Weimer <fweimer@redhat.com>
7553
7554 Support linking against compatibility symbols, for use in tests.
7555 * include/libc-symbols.h (symbol_version_reference): New macro.
7556 (symbol_version): Use it.
7557 * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
7558 (compat_symbol): Use compat_symbol_reference.
7559 (compat_symbol_1, compat_symbol_2): Remove.
7560 (compat_symbol_reference, compat_symbol_reference_1)
7561 (compat_symbol_reference_2): New macro. Use
7562 symbol_version_reference.
7563
7564 2016-08-02 Florian Weimer <fweimer@redhat.com>
7565
7566 [BZ #19469]
7567 * malloc/Makefile (CPPFLAGS): Compile tests with
7568 -DTEST_NO_MALLOPT.
7569 * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
7570
7571 2016-08-02 Andrew Senkevich <andrew.senkevich@intel.com>
7572
7573 [BZ #20033]
7574 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
7575 finite version.
7576 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
7577 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
7578 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
7579 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
7580 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
7581 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
7582 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
7583 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
7584 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
7585 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
7586 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
7587 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
7588 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
7589 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
7590 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
7591 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
7592 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
7593 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
7594 * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
7595 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
7596 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
7597 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
7598 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
7599 * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
7600 in zero power.
7601
7602 2016-08-02 Florian Weimer <fweimer@redhat.com>
7603
7604 [BZ #20370]
7605 * malloc/arena.c (get_free_list): Update comment. Assert that
7606 arenas on the free list have no attached threads.
7607 (remove_from_free_list): New function.
7608 (reused_arena): Call it.
7609
7610 2016-08-02 Aurelien Jarno <aurelien@aurel32.net>
7611
7612 * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
7613 when it is a NaN.
7614 [_IEEE_FP_INEXACT] Remove.
7615 * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
7616 * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
7617 when it is a NaN.
7618 [_IEEE_FP_INEXACT] Remove.
7619 * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
7620 * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
7621 when it is a NaN.
7622 * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
7623 * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
7624 when its absolute value is greater than 0x1.0p52.
7625 [_IEEE_FP_INEXACT] Remove.
7626 * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
7627 when its absolute value is greater than 0x1.0p23.
7628 [_IEEE_FP_INEXACT] Remove.
7629
7630 2016-08-01 Carlos O'Donell <carlos@redhat.com>
7631
7632 * version.h (RELEASE): Set to "development"
7633 (VERSION): Set to 2.24.90.
7634 * NEWS: Add 2.25 section.
7635
7636 * version.h (RELEASE): Set to "stable"
7637 (VERSION): Set to 2.24.
7638 * include/features.h (__GLIBC_MINOR__): Set to 24.
7639
7640 * NEWS: Add 2.24 fixed bugs.
7641 * po/libc.pot: Regenerate.
7642
7643 2016-08-01 Aurelien Jarno <aurelien@aurel32.net>
7644
7645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
7646 [$(subdir) = math] (libm-sysdep_routines): Remove.
7647 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
7648 Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
7649 s_truncf-vis3, s_trunc-vis3.
7650 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
7652 file.
7653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
7654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
7655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
7656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
7657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
7658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
7659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
7660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
7662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
7663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
7664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
7665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
7666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
7667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
7668 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
7669 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7670 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
7671 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
7672 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
7673 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
7674 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
7675 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
7676 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7677 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
7678 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
7679 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7680 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
7681 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
7682 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7683 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
7684 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
7685 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7686 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
7687 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
7688 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
7689 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
7690 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7691 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7692 * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
7693 * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
7694 * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
7695 * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
7696
7697 2016-07-27 H.J. Lu <hongjiu.lu@intel.com>
7698
7699 [BZ #20384]
7700 * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
7701 test-double-libmvec-sincos-avx-main.o,
7702 test-double-libmvec-sincos-avx2-main.o,
7703 test-double-libmvec-sincos-main.o,
7704 test-float-libmvec-sincosf-avx-main.o,
7705 test-float-libmvec-sincosf-avx2-main.o and
7706 test-float-libmvec-sincosf-main.o.
7707 test-float-libmvec-sincosf-avx512-main.o.
7708 ($(objpfx)test-double-libmvec-sincos): Also link with
7709 $(objpfx)test-double-libmvec-sincos-main.o.
7710 ($(objpfx)test-double-libmvec-sincos-avx): Also link with
7711 $(objpfx)test-double-libmvec-sincos-avx-main.o.
7712 ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
7713 $(objpfx)test-double-libmvec-sincos-avx2-main.o.
7714 ($(objpfx)test-float-libmvec-sincosf): Also link with
7715 $(objpfx)test-float-libmvec-sincosf-main.o.
7716 ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
7717 $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
7718 [$(config-cflags-avx512) == yes] (extra-test-objs): Add
7719 test-double-libmvec-sincos-avx512-main.o and
7720 ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
7721 $(objpfx)test-double-libmvec-sincos-avx512-main.o.
7722 ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
7723 $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
7724 (CFLAGS-test-double-libmvec-sincos.c): Removed.
7725 (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
7726 (CFLAGS-test-double-libmvec-sincos-main.c): New.
7727 (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
7728 (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
7729 (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
7730 (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
7731 (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
7732 (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
7733 (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
7734 (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
7735 (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
7736 -DREQUIRE_AVX2.
7737 (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
7738 (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
7739 -DREQUIRE_AVX512F.
7740 (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
7741 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
7742 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
7743 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
7744 file.
7745 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
7746 Likewise.
7747 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
7748 Likewise.
7749 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
7750 Likewise.
7751 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
7752 Likewise.
7753 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
7754 Likewise.
7755 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
7756 Likewise.
7757 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
7758 Likewise.
7759
7760 2016-07-27 Chung-Lin Tang <cltang@codesourcery.com>
7761
7762 * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
7763
7764 2016-07-21 Gustavo Romero <gromero@linux.vnet.ibm.com>
7765
7766 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
7767 and typo in a comment about AT_HWCAP entry.
7768
7769 2016-07-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7770
7771 * sysdeps/aarch64/libm-test-ulps: Updated.
7772
7773 2016-07-20 Stefan Liebler <stli@linux.vnet.ibm.com>
7774
7775 * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
7776 of r13 as it is not restored in mvcle case.
7777
7778 2016-07-19 Mike Frysinger <vapier@gentoo.org>
7779
7780 * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
7781 Rename "ret" to "__ret".
7782 (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
7783 inline_syscall5, inline_syscall6): Likewise.
7784
7785 2016-07-19 Will Newton <will.newton@gmail.com>
7786
7787 * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
7788 R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
7789 R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
7790 R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
7791 R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
7792
7793 2016-07-18 H.J. Lu <hongjiu.lu@intel.com>
7794
7795 * sysdeps/i386/Makefile (rtld-CFLAGS): New.
7796 [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
7797 -mfpmath=387 with $(rtld-CFLAGS).
7798 [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
7799 $(rtld-CFLAGS).
7800
7801 2016-07-18 Ross Burton <ross.burton@intel.com>
7802 Khem Raj <raj.khem@gmail.com>
7803
7804 * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
7805 R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
7806 R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
7807 R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
7808 R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
7809 R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
7810 R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
7811 R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
7812 R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
7813 R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
7814 R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
7815 R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
7816 R_METAG_TLS_DTPOFF): New.
7817
7818 2016-07-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
7819 Matt Clay <mclay@lycos.com>
7820
7821 [BZ #20357]
7822 * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
7823 to call __mpsin/__mpcos and to negate values.
7824 * math/auto-libm-test-in: Add test.
7825 * math/auto-libm-test-out: Regenerate.
7826
7827 2016-07-18 Zack Weinberg <zackw@panix.com>
7828
7829 * grp/Makefile: Don't install the internal header grp-merge.h.
7830
7831 2016-07-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
7832
7833 * sysdeps/aarch64/libm-test-ulps: Regenerated.
7834
7835 2016-07-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
7836
7837 * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
7838
7839 2016-07-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7840
7841 [BZ #15368]
7842 * sysdeps/unix/sysv/linux/nptl-signals.h
7843 (__nptl_clear_internal_signals): New function.
7844 (__libc_signal_block_all): Likewise.
7845 (__libc_signal_block_app): Likewise.
7846 (__libc_signal_restore_set): Likewise.
7847 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
7848 implementation.
7849 * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
7850 the cached pid/tid value in pthread structure.
7851
7852 2016-07-13 H.J. Lu <hongjiu.lu@intel.com>
7853
7854 [BZ #20347]
7855 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
7856
7857 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
7858
7859 [BZ #20348]
7860 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
7861 preadv64, pwrite64 and pwritev64.
7862
7863 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
7864
7865 [BZ #20350]
7866 * posix/tst-preadwrite.c: Renamed to ...
7867 * posix/tst-preadwrite-common.c: This.
7868 (PREAD): Removed.
7869 (PWRITE): Likewise.
7870 (STRINGIFY): Likewise.
7871 (STRINGIFY2): Likewise.
7872 (do_prepare): Make it static and remove function arguments.
7873 (do_test): Likewise.
7874 (PREPARE): Updated.
7875 (TEST_FUNCTION): New.
7876 (name): Make it static.
7877 (fd): Likewise.
7878 (do_prepare): Use create_temp_file.
7879 (do_test): Renamed to ...
7880 (do_test_with_offset): This. Make it static and accept offset.
7881 Properly check return value of PWRITE and PREAD. Return bytes
7882 read. Don't close fd nor unlink name.
7883 * posix/tst-preadwrite.c: Rewrite.
7884 * posix/tst-preadwrite64.c: Likewise.
7885
7886 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
7887
7888 [BZ #20309]
7889 * configure.ac (have-mtls-dialect-gnu2): Set to yes if
7890 -mtls-dialect=gnu2 works.
7891 * configure: Regenerated.
7892 * elf/Makefile [have-mtls-dialect-gnu2 = yes]
7893 (tests): Add tst-gnu2-tls1.
7894 (modules-names): Add tst-gnu2-tls1mod.
7895 ($(objpfx)tst-gnu2-tls1): New.
7896 (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
7897 (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
7898 * elf/tst-gnu2-tls1.c: New file.
7899 * elf/tst-gnu2-tls1mod.c: Likewise.
7900 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
7901 bytes for push in the PLT entry to align the stack.
7902
7903 2016-07-11 H.J. Lu <hongjiu.lu@intel.com>
7904
7905 [BZ #20349]
7906 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
7907
7908 2016-07-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
7909
7910 [BZ #18707]
7911 * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
7912 * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
7913
7914 2016-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7915
7916 * sysdeps/unix/sysv/linux/sysdep.h
7917 [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
7918 guards.
7919 * misc/tst-preadvwritev-common.c: New file.
7920 * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
7921 * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
7922 a check for files larger than 2GB.
7923
7924 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7925 (__ASSUME_OFF_DIFF_OFF64): Remove define.
7926 * sysdeps/unix/sysv/linux/pread.c
7927 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
7928 __OFF_T_MATCHES_OFF64_T.
7929 * sysdeps/unix/sysv/linux/pread64.c
7930 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
7931 * sysdeps/unix/sysv/linux/preadv.c
7932 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
7933 * sysdeps/unix/sysv/linux/preadv64.c
7934 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
7935 * sysdeps/unix/sysv/linux/pwrite.c
7936 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
7937 * sysdeps/unix/sysv/linux/pwrite64.c
7938 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
7939 * sysdeps/unix/sysv/linux/pwritev.c
7940 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
7941 * sysdeps/unix/sysv/linux/pwritev64.c
7942 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
7943
7944 2016-07-08 Chris Metcalf <cmetcalf@mellanox.com>
7945
7946 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7947 (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
7948
7949 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
7950
7951 * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
7952
7953 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
7954
7955 [BZ #20240]
7956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
7957 (CFLAGS-s_modf-ppc32.c): New variable.
7958 (CFLAGS-s_modff-ppc32.c): Likewise.
7959 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
7960 (CFLAGS-s_modf-ppc64.c): Likewise.
7961 (CFLAGS-s_modff-ppc64.c): Likewise.
7962
7963 2016-07-07 Andreas Schwab <schwab@suse.de>
7964
7965 [BZ #20263]
7966 * nptl/tst-robust10.c: New test.
7967 * nptl/Makefile (tests): Add tst-robust10.
7968
7969 2016-07-07 Jiyoung Yun <t2wish@gmail.com>
7970
7971 [BZ #20263]
7972 * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
7973
7974 2016-07-06 Stefan Liebler <stli@linux.vnet.ibm.com>
7975
7976 * sysdeps/s390/linkmap.h (struct link_map_machine):
7977 Remove member gotplt and add member jmprel.
7978 * sysdeps/s390/s390-32/dl-machine.h
7979 (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
7980 instead of gotplt with &got[3].
7981 (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
7982 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7983
7984 2016-07-06 John David Anglin <danglin@gcc.gnu.org>
7985
7986 * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
7987
7988 2016-07-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
7989
7990 * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
7991 _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
7992 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
7993 (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
7994 * libio/vtables.c (_IO_vtable_check)
7995 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
7996 * libio/libioP.h (IO_set_accept_foreign_vtables)
7997 [!PTR_MANGLE]: Do not call PTR_MANGLE.
7998
7999 2016-07-05 H.J. Lu <hongjiu.lu@intel.com>
8000
8001 [BZ #20314]
8002 * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
8003 * Makerules (before-compile): Add $(common-objpfx)cstdlib and
8004 $(common-objpfx)cmath.
8005 ($(common-objpfx)cstdlib): New target.
8006 ($(common-objpfx)cmath): Likewise.
8007
8008 2016-07-05 Chris Metcalf <cmetcalf@mellanox.com>
8009
8010 * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
8011
8012 2016-07-05 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8013
8014 [BZ #20327]
8015 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
8016 are not part of the string.
8017
8018 2016-07-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8019
8020 * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
8021 * nptl/tst-cancel4-common.h (fifoname): New variable.
8022 (fifofd): Likewise.
8023 (cl_fifo): New function.
8024 * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
8025 SIGINT.
8026 (tf_open): Add early cancel test.
8027
8028 2016-07-04 Andreas Schwab <schwab@linux-m68k.org>
8029
8030 * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
8031
8032 2016-07-01 Maciej W. Rozycki <macro@imgtec.com>
8033
8034 * sysdeps/generic/ldsodefs.h
8035 (dl_symbol_visibility_binds_local_p): New inline function.
8036 * elf/dl-addr.c (determine_info): Treat hidden and internal
8037 symbols as local.
8038 * elf/dl-lookup.c (do_lookup_x): Likewise.
8039 * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
8040
8041 2016-07-01 Aurelien Jarno <aurelien@aurel32.net>
8042
8043 * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
8044 invalid exception for a sNaN input.
8045 * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
8046 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
8047 (__nearbyint_vis3): Likewise
8048 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
8049 (__nearbyintf_vis3): Likewise
8050 * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
8051 * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
8052 * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
8053 Likewise.
8054 * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
8055 Likewise.
8056
8057 2016-07-01 H.J. Lu <hongjiu.lu@intel.com>
8058
8059 [BZ #20139]
8060 * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
8061 (HAVE_AVX512DQ_ASM_SUPPORT): This.
8062 * sysdeps/x86_64/configure.ac: Require assembler from binutils
8063 2.24 or above.
8064 (HAVE_AVX512_ASM_SUPPORT): Removed.
8065 (HAVE_AVX512DQ_ASM_SUPPORT): New.
8066 * sysdeps/x86_64/configure: Regenerated.
8067 * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
8068 check unconditional.
8069 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
8070 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8071 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8072 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
8073 Likewise.
8074 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
8075 Likewise.
8076 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
8077 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
8078 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8079 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8080 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
8081 Likewise.
8082 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
8083 Likewise.
8084 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8085 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8086 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
8087 HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
8088 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
8089 Likewise.
8090 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
8091 Likewise.
8092 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
8093 Likewise.
8094 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
8095 Likewise.
8096 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
8097 Likewise.
8098 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
8099 Likewise.
8100 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
8101 Likewise.
8102 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
8103 Likewise.
8104 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
8105 Likewise.
8106 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
8107 Likewise.
8108 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
8109 Likewise.
8110
8111 2016-07-01 Andrew Senkevich <andrew.senkevich@intel.com>
8112
8113 [BZ #20024]
8114 * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
8115 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
8116 of this implementation of vector function.
8117 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
8118 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
8119 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
8120 Likewise.
8121 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
8122 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
8123 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
8124 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
8125 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
8126 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
8127 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
8128 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
8129 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
8130 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
8131 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
8132 for testing vector sincos with fixed ABI.
8133 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
8134 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
8135 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
8136 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
8137 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
8138 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
8139 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
8140 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
8141 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
8142 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
8143 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
8144 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
8145 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
8146 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
8147 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
8148 * sysdeps/x86_64/fpu/Makefile: Added new tests.
8149
8150 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
8151
8152 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
8153
8154 2016-06-30 Anton Blanchard <anton@samba.org>
8155
8156 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8157 [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
8158 s_sinf-ppc64.
8159 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
8160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
8161 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
8162 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
8163
8164 2016-06-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8165
8166 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8167 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8168 [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
8169 e_expf-ppc64.
8170 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
8171 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
8172 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
8173 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
8174
8175 2016-06-30 John David Anglin <danglin@gcc.gnu.org>
8176
8177 [BZ #20277]
8178 * sysdeps/hppa/start.S (_start): Correct loading of global pointer
8179 when SHARED is defined.
8180
8181 2016-06-30 H.J. Lu <hongjiu.lu@intel.com>
8182
8183 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
8184 (index_arch_Prefer_ERMS): Likewise.
8185 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
8186 __memcpy_erms for Prefer_ERMS.
8187 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
8188 (__memmove_erms): Enabled for libc.a.
8189 * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
8190 __memmove_erms or Prefer_ERMS.
8191 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
8192 __mempcpy_erms for Prefer_ERMS.
8193 * sysdeps/x86_64/multiarch/memset.S (memset): Return
8194 __memset_erms for Prefer_ERMS.
8195
8196 2016-06-30 Andreas Schwab <schwab@suse.de>
8197
8198 [BZ #20262]
8199 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
8200 NSS_STATUS_SUCCESS when done. Return NSS_STATUS_TRYAGAIN when out
8201 of memory.
8202
8203 2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
8204
8205 [BZ #18645]
8206 * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
8207 (test-extras): Add tst-cleanupx4aux.
8208 (CFLAGS-tst-cleanupx4aux.c): New. Set to -fexceptions.
8209 ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
8210 tst-cleanupx4aux.o.
8211 * nptl/tst-cleanupx4aux.c: New file.
8212
8213 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
8214
8215 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
8216
8217 2016-06-29 Andreas Schwab <schwab@suse.de>
8218
8219 [BZ #20260]
8220 * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
8221 address before the beginning of the string as an integer to avoid
8222 array-bounds warning.
8223
8224 2016-06-28 Richard Henderson <rth@redhat.com>
8225
8226 * elf/elf.h (EM_BPF): New.
8227 (EM_NUM): Update.
8228 (R_BPF_NONE, R_BPF_MAP_FD): New.
8229
8230 * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
8231 EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
8232 EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
8233 EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
8234 EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
8235 EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
8236 EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
8237 EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
8238 EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
8239 EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
8240 EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
8241 EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
8242 EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
8243 EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
8244 EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
8245 EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
8246 EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
8247 (EM_NUM): Update.
8248
8249 2016-06-28 Stefan Liebler <stli@linux.vnet.ibm.com>
8250
8251 [BZ #18960]
8252 * locale/localeinfo.h (_NL_CURRENT_DEFINE):
8253 Set _nl_current_LC_CATEGORY_used to two instead of one.
8254
8255 2016-06-27 Aurelien Jarno <aurelien@aurel32.net>
8256
8257 * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
8258 (do_test): ... this.
8259 (TEST_FUNCTION): New macro.
8260 Include test-skeleton.c.
8261 * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
8262 * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
8263
8264 2016-06-27 Joseph Myers <joseph@codesourcery.com>
8265
8266 [BZ #15479]
8267 * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
8268 floating-point environment rather than just control word.
8269 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
8270 * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
8271 floating-point environment, with "invalid" exceptions merged in,
8272 rather than just control word.
8273 * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
8274 * math/libm-test.inc (trunc_test_data): Do not allow spurious
8275 "inexact" exceptions.
8276
8277 [BZ #15479]
8278 * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
8279 floating-point environment rather than just control word.
8280 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
8281 * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
8282 floating-point environment, with "invalid" exceptions merged in,
8283 rather than just control word.
8284 * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
8285 * math/libm-test.inc (floor_test_data): Do not allow spurious
8286 "inexact" exceptions.
8287
8288 [BZ #15479]
8289 * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
8290 floating-point environment rather than just control word.
8291 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
8292 * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
8293 floating-point environment, with "invalid" exceptions merged in,
8294 rather than just control word.
8295 * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
8296 * math/libm-test.inc (ceil_test_data): Do not allow spurious
8297 "inexact" exceptions.
8298
8299 2016-06-21 Aurelien Jarno <aurelien@aurel32.net>
8300
8301 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
8302 __libc_vfork.
8303 (__vfork) [IS_IN (libc)]: Remove alias.
8304 (__libc_vfork) [IS_IN (libc)]: Define as an alias.
8305 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
8306 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
8307
8308 2016-06-24 Torvald Riegel <triegel@redhat.com>
8309
8310 * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
8311 of atomic_compare_and_exchange_bool_rel.
8312 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8313 * include/atomic.h (atomic_compare_and_exchange_bool_rel,
8314 catomic_compare_and_exchange_bool_rel): Remove.
8315 * sysdeps/aarch64/atomic-machine.h
8316 (atomic_compare_and_exchange_bool_rel): Likewise.
8317 * sysdeps/alpha/atomic-machine.h
8318 (atomic_compare_and_exchange_bool_rel): Likewise.
8319 * sysdeps/arm/atomic-machine.h
8320 (atomic_compare_and_exchange_bool_rel): Likewise.
8321 * sysdeps/mips/atomic-machine.h
8322 (atomic_compare_and_exchange_bool_rel): Likewise.
8323 * sysdeps/microblaze/atomic-machine.h
8324 ( __arch_compare_and_exchange_bool_8_rel,
8325 __arch_compare_and_exchange_bool_16_rel): Likewise.
8326 * sysdeps/powerpc/atomic-machine.h
8327 ( __arch_compare_and_exchange_bool_8_rel,
8328 __arch_compare_and_exchange_bool_16_rel): Likewise.
8329 * sysdeps/powerpc/powerpc32/atomic-machine.h
8330 ( __arch_compare_and_exchange_bool_32_rel,
8331 __arch_compare_and_exchange_bool_64_rel): Likewise.
8332 * sysdeps/powerpc/powerpc64/atomic-machine.h
8333 ( __arch_compare_and_exchange_bool_32_rel,
8334 __arch_compare_and_exchange_bool_64_rel): Likewise.
8335 * sysdeps/tile/atomic-machine.h
8336 (atomic_compare_and_exchange_bool_rel): Likewise.
8337
8338 2016-06-23 Joseph Myers <joseph@codesourcery.com>
8339
8340 [BZ #20296]
8341 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
8342 when either argument is a NaN.
8343 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
8344 * math/libm-test.inc (scalb_test_data): Add sNaN tests.
8345
8346 * math/libm-test.inc (snan_value_ld): New macro.
8347 (isgreater_test_data): Add sNaN tests.
8348 (isgreaterequal_test_data): Likewise.
8349 (isless_test_data): Likewise.
8350 (islessequal_test_data): Likewise.
8351 (islessgreater_test_data): Likewise.
8352 (isunordered_test_data): Likewise.
8353 (nextafter_test_data): Likewise.
8354 (nexttoward_test_data): Likewise.
8355 (remainder_test_data): Likewise.
8356 (remquo_test_data): Likewise.
8357 (significand_test_data): Likewise.
8358 * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
8359
8360 2016-06-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
8361
8362 * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
8363 environment macros are defined.
8364 (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
8365
8366 2016-06-23 Florian Weimer <fweimer@redhat.com>
8367
8368 [BZ #20191]
8369 Implement vtable verification in libio.
8370 * Makerules (shlib.lds): Place __libc_IO_vtables section.
8371 * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
8372 * debug/vdprintf_chk.c (__vdprintf_chk): Call
8373 _IO_new_file_init_internal instead of _IO_file_init.
8374 * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
8375 * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
8376 * libio/Makefile (routines): Add vtables.
8377 * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
8378 (_IO_init): Remove, not for internal use.
8379 (_IO_init_internal): Declare, internal replacement for _IO_init.
8380 (_IO_file_init): Remove, not for internal use.
8381 (_IO_new_file_init): Remove, not for internal use.
8382 (_IO_new_file_init_internal): Declare, internal replacement for
8383 _IO_new_file_init.
8384 (_IO_old_file_init): Remove, not for internal use.
8385 (_IO_old_file_init_internal): Declare, internal replacement for
8386 _IO_old_file_init.
8387 (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
8388 internal use.
8389 (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
8390 Declare.
8391 (libio_vtable): New macro.
8392 (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
8393 functions.
8394 * libio/fileops.c (_IO_new_file_init_internal): Rename from
8395 _IO_new_file_init.
8396 (_IO_new_file_init): New externally visible wrapper which disables
8397 vtable verification.
8398 (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
8399 Define as vtables.
8400 * libio/genops.c (_IO_init_internal): Rename from _IO_init.
8401 (_IO_init): New externally visible wrapper which disables
8402 vtable verification.
8403 * libio/iofdopen.c (_IO_new_fdopen): Call
8404 _IO_new_file_init_internal instead of _IO_file_init. Adjust
8405 comment.
8406 * libio/iofopen.c (__fopen_internal): Call
8407 _IO_new_file_init_internal instead of _IO_file_init.
8408 * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
8409 Define as vtables.
8410 (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
8411 _IO_new_file_init_internal instead of _IO_file_init.
8412 * libio/iopopen.c (_IO_new_popen): Likewise.
8413 (_IO_proc_jumps): Define as vtable.
8414 * libio/iovdprintf.c (_IO_vdprintf): Call
8415 _IO_new_file_init_internal instead of _IO_file_init.
8416 * libio/memstream.c (_IO_mem_jumps): Define as vtable.
8417 (__open_memstream): Call _IO_init_internal instead of _IO_init.
8418 * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
8419 * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
8420 _IO_old_file_init.
8421 (_IO_old_file_init): New externally visible wrapper which disables
8422 vtable verification.
8423 (_IO_old_file_jumps): Define as vtable.
8424 * libio/oldiofdopen.c (_IO_old_fdopen): Call
8425 _IO_old_file_init_internal instead of _IO_old_file_init.
8426 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
8427 * libio/oldiopopen.c (_IO_old_popen): Likewise.
8428 (_IO_old_proc_jumps): Define as vtable.
8429 * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
8430 Define as vtables.
8431 * libio/vtables.c: New file.
8432 * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
8433 (_IO_wfile_jumps_maybe_mmap): Define as vtables.
8434 * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
8435 * libio/wstrops.c (_IO_wstr_jumps): Likewise.
8436 * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
8437 * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
8438 instead of _IO_init.
8439
8440 2016-06-23 Florian Weimer <fweimer@redhat.com>
8441
8442 * test-skeleton.c (xrealloc): Support deallocation with n == 0.
8443
8444 2016-06-23 Florian Weimer <fweimer@redhat.com>
8445
8446 * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
8447 potentially unused.
8448
8449 2016-06-22 Florian Weimer <fweimer@redhat.com>
8450
8451 * test-skeleton.c (write_message): New function.
8452 * malloc/tst-mallocfork2.c (write_message): Remove.
8453 * debug/tst-longjmp_chk2.c (write_indented): New function.
8454 (write_message): Remove.
8455 (stackoverflow_handler): Call write_indented.
8456
8457 2016-06-22 Joseph Myers <joseph@codesourcery.com>
8458
8459 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
8460 "inexact" exceptions after fnstenv.
8461 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
8462 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
8463 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
8464
8465 2015-06-22 Zack Weinberg <zackw@panix.com>
8466
8467 * sysdeps/generic/bits/hwcap.h: Moved to ...
8468 * bits/hwcap.h: Here.
8469
8470 2016-06-22 Wilco Dijkstra <wdijkstr@arm.com>
8471
8472 * sysdeps/aarch64/memcpy.S (memcpy):
8473 Further tuning for performance.
8474
8475 2016-06-21 Florian Weimer <fweimer@redhat.com>
8476
8477 [BZ #20284]
8478 * malloc/arena.c (reused_arena): Do not return NULL if we start
8479 out with a non-corrupted arena.
8480
8481 2016-06-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8482
8483 * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
8484 * misc/tst-preadvwritev.c: New file.
8485 * misc/tst-preadvwritev64.c: Likewise.
8486 * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
8487 usage.
8488 * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
8489 * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
8490 * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
8491 * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
8492
8493 2016-06-20 Andrew Senkevich <andrew.senkevich@intel.com>
8494
8495 [BZ #19654]
8496 * sysdeps/x86_64/fpu/Makefile: Added new tests.
8497 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
8498 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
8499 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
8500 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
8501 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
8502 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
8503 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
8504 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
8505 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
8506 * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
8507 * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
8508 * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
8509 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
8510 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
8511 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
8512 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
8513 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
8514 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
8515 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
8516 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
8517 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
8518 * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
8519 * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
8520 * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
8521 * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
8522
8523 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
8524
8525 * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
8526 * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
8527
8528 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
8529
8530 * sysdeps/aarch64/memcpy.S (memcpy):
8531 Rewrite of optimized memcpy and memmove.
8532 * sysdeps/aarch64/memmove.S (memmove): Remove
8533 memmove code (merged into memcpy.S).
8534
8535 2016-06-20 Florian Weimer <fweimer@redhat.com>
8536
8537 Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
8538 * sysdeps/generic/dl-dtv.h: New file.
8539 * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8540 * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
8541 (dtv_t): Remove.
8542 * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8543 * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
8544 (dtv_t): Remove.
8545 * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8546 * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
8547 (dtv_t): Remove.
8548 * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8549 * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
8550 (dtv_t): Remove.
8551 * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8552 * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
8553 (dtv_t): Remove.
8554 * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8555 * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
8556 (dtv_t): Remove.
8557 * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8558 * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
8559 (dtv_t): Remove.
8560 * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
8561 (dtv_t): Remove.
8562 * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8563 * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
8564 (dtv_t): Remove.
8565 * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8566 * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
8567 (dtv_t): Remove.
8568 * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8569 * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
8570 (dtv_t): Remove.
8571 * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8572 * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
8573 (dtv_t): Remove.
8574 * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8575 * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
8576 (dtv_t): Remove.
8577 * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8578 * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
8579 (dtv_t): Remove.
8580 * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8581 * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
8582 (dtv_t): Remove.
8583 * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8584 * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
8585 (dtv_t): Remove.
8586
8587 2016-06-20 Florian Weimer <fweimer@redhat.com>
8588
8589 Revert symbol poisoning of __malloc_initialize_hook.
8590 * include/stdc-predef.h (__malloc_initialize_hook): Remove
8591 poisoning.
8592 * malloc/Makefile: Remove un-poisoning.
8593 * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
8594 instead of old__malloc_initialize_hook.
8595 * malloc/malloc-hooks.h: Likewise.
8596 * malloc/malloc.c: Likewise.
8597 * malloc/mcheck-init.c: Likewise.
8598
8599 2016-06-19 Carlos O'Donell <carlos@redhat.com>
8600
8601 * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
8602
8603 2016-06-18 Aurelien Jarno <aurelien@aurel32.net>
8604
8605 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
8606 hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
8607 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
8608 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
8609
8610 2016-06-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8611
8612 * NEWS: Mention addition of nextup and nextdown.
8613 * manual/arith.texi: Document nextup and nextdown.
8614 * manual/libm-err-tab.pl: Add nextup and nextdown.
8615 * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
8616 * math/Versions (libm): Add GLIBC_2.24.
8617 * math/bits/mathcalls.h: Add nextup and nextdown declaration.
8618 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
8619 Add new test.
8620 (nextafter_test_data) [TEST_COND_binary32]: Likewise.
8621 (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
8622 (nextafter_test_data) [TEST_COND_binary64]: Likewise.
8623 (nextafter_test_data) [TEST_COND_binary128]: Likewise.
8624 (nextup_test_data): Likewise.
8625 (nextdown_test_data): Likewise.
8626 * math/s_nextdown.c: New file.
8627 * math/s_nextdownf.c: Likewise.
8628 * math/s_nextdownl.c: Likewise.
8629 * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
8630 F(nextup): New function.
8631 F(nextdown): Likewise.
8632 * math/tgmath.h: Add nextup and nextdown.
8633 * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
8634 * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
8635 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
8636 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
8637 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
8638 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
8639 Add nextup and nextdown.
8640 (CFLAGS-nldbl-nextup.c): New variable.
8641 (CFLAGS-nldbl-nextdown.c): Likewise.
8642 * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
8643 * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
8644 * sysdeps/nacl/libm.abilist: Update.
8645 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8646 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8647 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8648 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8649 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8650 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8651 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8652 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8653 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8654 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8655 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8656 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
8658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8659 Likewise.
8660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
8661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
8662 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8663 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8664 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8665 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8666 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8667 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
8668 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
8669 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8670 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8671 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
8672 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8673
8674 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
8675
8676 * manual/pattern.texi: Fix typos & grammar errors.
8677
8678 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
8679
8680 * manual/search.texi: Fix typos & grammar errors.
8681
8682 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
8683
8684 * manual/message.texi: Fix typos & grammar errors.
8685
8686 2016-06-16 Mike Frysinger <vapier@gentoo.org>
8687
8688 * manual/contrib.texi: Fix spelling typos.
8689 * manual/crypt.texi: Likewise.
8690 * manual/filesys.texi: Likewise.
8691 * manual/locale.texi: Likewise.
8692 * manual/message.texi: Likewise.
8693 * manual/nss.texi: Likewise.
8694 * manual/string.texi: Likewise.
8695
8696 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
8697
8698 * manual/locale.texi: Fix typos & grammar errors.
8699
8700 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
8701
8702 * manual/charset.texi: Fix typos & grammar errors.
8703
8704 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
8705
8706 * manual/string.texi: Fix typos.
8707
8708 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
8709
8710 * manual/ctype.texi: Fix typos.
8711
8712 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
8713
8714 * manual/memory.texi: Fix various typos & grammar errors.
8715
8716 2016-06-14 Joseph Myers <joseph@codesourcery.com>
8717
8718 [BZ #20255]
8719 * sysdeps/i386/fpu/s_fdim.c: New file. Based on math/s_fdim.c.
8720 * math/libm-test.inc (fdim_test_data): Add another test.
8721
8722 [BZ #6796]
8723 [BZ #20255]
8724 [BZ #20256]
8725 * math/s_fdim.c: Include <math_private.h>.
8726 (__fdim): Use math_narrow_eval on result.
8727 * math/s_fdimf.c: Include <math_private.h>.
8728 (__fdimf): Use math_narrow_eval on result.
8729 * sysdeps/i386/fpu/s_fdim.S: Remove file.
8730 * sysdeps/i386/fpu/s_fdimf.S: Likewise.
8731 * sysdeps/i386/fpu/s_fdiml.S: Likewise.
8732 * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
8733 * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
8734 * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
8735 * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
8736 * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
8737 * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
8738 * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
8739 * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
8740 * math/libm-test.inc (fdim_test_data): Expect errno setting on
8741 overflow. Add sNaN tests.
8742
8743 * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
8744 fpclassify.
8745 * math/s_fdimf.c (__fdimf): Likewise.
8746 * math/s_fdiml.c (__fdiml): Likewise.
8747
8748 2016-06-14 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8749
8750 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
8751 (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
8752 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8753 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
8754 ifunc'ed strcasecmp/strncasecmp.
8755 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
8756 [EALIGN]: Removed.
8757 [END]: Likewise.
8758 [__strcasecmp]: Define instead of the above to control symbol name.
8759 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
8760 for __strcasecmp_power8.
8761 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
8762 for __strncasecmp_power8.
8763 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
8764 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
8765 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
8766 * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
8767 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
8768 * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
8769
8770 2016-06-13 Joseph Myers <joseph@codesourcery.com>
8771
8772 [BZ #20252]
8773 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
8774 arguments when second argument is a NaN.
8775 * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
8776 qNaN tests.
8777
8778 * math/libm-test.inc (cimag_test_data): Add sNaN tests.
8779 (conj_test_data): Likewise.
8780 (copysign_test_data): Likewise.
8781 (creal_test_data): Likewise.
8782 (fma_test_data): Likewise.
8783 (fmod_test_data): Likewise.
8784
8785 [BZ #20250]
8786 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
8787 itself.
8788 * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
8789 zero input to itself.
8790 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
8791 Likewise.
8792 * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
8793 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
8794 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
8795 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
8796 * math/libm-test.inc (frexp_test_data): Add sNaN tests.
8797
8798 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8799
8800 * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
8801 * nptl/tst-cancel4-common.c: New file.
8802 * nptl/tst-cancel4-common.h: Likewise.
8803 * nptl/tst-cancel4.c: Move common definitions to
8804 tst-cancel4-common.{c,h} file.
8805 * nptl/tst-cancel4_1.c: New test.
8806 * nptl/tst-cancel4_2.c: New test.
8807
8808 2016-06-13 Florian Weimer <fweimer@redhat.com>
8809
8810 [BZ #20248]
8811 * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
8812 (write_message): New function.
8813 (stackoverflow_handler): Call it instead of printf, to avoid
8814 excessive stack usage by printf.
8815 (do_test): Restore SIGSEGV, SIGBUS default handlers.
8816
8817 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8818
8819 * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
8820 (prio_inherit_missing): Remove define.
8821 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8822 (__ASSUME_FUTEX_LOCK_PI): Likewise.
8823 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
8824 Likewise.
8825 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8826 (__ASSUME_FUTEX_LOCK_PI): Likewise.
8827 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8828 (__ASSUME_FUTEX_LOCK_PI): Likewise.
8829 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8830 (__ASSUME_FUTEX_LOCK_PI): Likewise.
8831
8832 2016-06-11 Paul Pluzhnikov <ppluzhnikov@google.com>
8833
8834 [BZ #19670]
8835 [BZ #19672]
8836
8837 * io/test-lfs.c (do_prepare): Use xmalloc.
8838 * io/tst-fcntl.c (do_prepare): Likewise.
8839 * libio/tst-fopenloc.c (do_bz17916): Likewise.
8840 * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
8841 * login/tst-utmp.c (do_prepare): Likewise.
8842 * posix/tst-exec.c (do_prepare): Likewise.
8843 * posix/tst-pathconf.c (prepare): Likewise.
8844 * posix/tst-spawn.c (do_prepare): Likewise.
8845 * posix/tst-truncate.c (do_prepare): Likewise.
8846 * rt/tst-aio.c (do_prepare): Likewise.
8847 * rt/tst-aio64.c (do_prepare): Likewise.
8848
8849 2016-06-11 Florian Weimer <fweimer@redhat.com>
8850
8851 [BZ #20237]
8852 * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
8853 (get*ent): Set entidx to NULL during initialization. If entidx is
8854 NULL, start iteration from the beginning.
8855
8856 2016-06-11 Florian Weimer <fweimer@redhat.com>
8857
8858 * malloc/malloc.c (musable): Return correct size for dumped fake
8859 mmapped chunk.
8860
8861 2016-06-11 Florian Weimer <fweimer@redhat.com>
8862
8863 [BZ #20222]
8864 * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
8865 (_IO_cookie_write): Likewise.
8866 (_IO_cookie_seek): Likewise.
8867 (_IO_cookie_close): Likewise.
8868 (_IO_old_cookie_seek): Likewise.
8869 (set_callbacks): New function.
8870 (_IO_cookie_init): Call set_callbacks to copy callbacks.
8871
8872 2016-06-11 Marko Myllynen <myllynen@redhat.com>
8873
8874 * locale/programs/localedef.c (oldstyle_tables): Remove.
8875 * locale/programs/localedef.h (oldstyle_tables): Likewise.
8876
8877 2016-06-10 Joseph Myers <joseph@codesourcery.com>
8878
8879 [BZ #20240]
8880 * math/Makefile (CFLAGS-s_modf.c): New variable.
8881 (CFLAGS-s_modff.c): Likewise.
8882 (CFLAGS-s_modfl.c): Likewise.
8883 * math/libm-test.inc (modf_test_data): Add sNaN tests.
8884
8885 2016-06-09 Carlos O'Donell <carlos@redhat.com>
8886
8887 [BZ #20215]
8888 * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
8889 [!__GNUC_PREREQ (3,2)]: Likewise.
8890
8891 2016-06-10 Adhemerval Zanela <adhemerval.zanella@linaro.org>
8892
8893 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
8894 (msghdr.msg_controllen): Likewise.
8895 (cmsghdr.cmsg_len): Likewise.
8896 * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
8897 ptw-oldsendmsg.
8898 (CFLAGS-oldrecvmsg.c): Remove rule.
8899 (CFLAGS-oldsendmsg.c): Likewise.
8900 (CFLAGS-recvmsg.c): Add rule.
8901 (CFLAGS-sendmsg.c): Likewise.
8902 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
8903 oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
8904 (CFLAGS-recvmsg.c): Remove rule.
8905 (CFLAGS-sendmsg.c): Likewise.
8906 (CFLAGS-oldrecvmsg.c): Likewise.
8907 (CFLAGS-oldsendmsg.c): Likewise.
8908 (CFLAGS-recvmmsg.c): Likewise.
8909 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
8910 to kernel defined interfaces.
8911 (msghdr.msg_controllen): Likewise.
8912 (cmsghdr.cmsg_len): Likewise.
8913 (msghdr.__glibc_reserved1): Remove member.
8914 (msghdr.__glibc_reserved2): Likewise.
8915 (cmsghdr.__glibc_reserved1): Likewise.
8916 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
8917 * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
8918 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
8919 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
8920 * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
8921 version.
8922 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
8923 * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
8924 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
8925 * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
8926 Remove recvmsg and sendmsg.
8927 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
8928 Likewise.
8929 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
8930 Likewise.
8931 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
8932 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
8933 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
8934 Likewise.
8935 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
8936 Likewise.
8937 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
8938 [libc] (GLIBC_2.24): Likewise.
8939 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
8940 Likewise.
8941 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
8942 Likewise.
8943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
8944 [libc] (GLIBC_2.24): Likewise.
8945 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
8946 Likewise.
8947 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
8948 Likewise.
8949 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
8950 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
8951 Likewise.
8952 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
8953 Likewise.
8954 * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
8955 Likewise.
8956 * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
8957 Likewise.
8958 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
8959 * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
8960 * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
8961 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
8962 version for {recv,send,recm,sendm}msg.
8963 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8964 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
8965 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8966 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8967 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8968 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8969 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8970 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8971 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8972 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
8973 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8974 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8976 Likewise.
8977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8978 Likewise.
8979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
8980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8981 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8982 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8983 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8984 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8985 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8986 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8987 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
8988 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
8989 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8990 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8991 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8992
8993 2016-06-10 Florian Weimer <fweimer@redhat.com>
8994
8995 [BZ #19564]
8996 Remove __malloc_initialize_hook from the API.
8997 * malloc/malloc.h (__malloc_initialize_hook): Remove.
8998 * include/stdc-predef.h (__malloc_initialize_hook): Poison with
8999 #pragma GCC poison.
9000 * malloc/malloc-hooks.h: New file.
9001 * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
9002 * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
9003 (old__malloc_initialize_hook): Rename from
9004 __malloc_initialize_hook to evade poisoning. Turn into compat
9005 symbol.
9006 * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
9007 __malloc_initialize_hook.
9008 * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
9009 (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
9010 * manual/memory.texi (Hooks for Malloc): Remove
9011 __malloc_initialize_hook. Adjust hook example.
9012
9013 2016-06-09 Joseph Myers <joseph@codesourcery.com>
9014
9015 [BZ #20235]
9016 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
9017 itself.
9018 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
9019 * math/libm-test.inc (log2_test_data): Add sNaN tests.
9020
9021 [BZ #20234]
9022 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
9023 infinity or NaN input to itself.
9024
9025 [BZ #20233]
9026 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
9027 to itself.
9028
9029 [BZ #20232]
9030 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
9031 itself.
9032
9033 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
9034
9035 * sysdeps/x86_64/start.S (_start): Always indirect branch to
9036 __libc_start_main via GOT.
9037
9038 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
9039
9040 * sysdeps/x86_64/memcopy.h: New file.
9041 * sysdeps/x86_64/wordcopy.c: Likewise.
9042
9043 2016-06-09 Florian Weimer <fweimer@redhat.com>
9044
9045 Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
9046 * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
9047 <cstdlib>.
9048 (optimization_barrier): New.
9049 (do_test): Use it. Call quick_exit in the global namespace.
9050 * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
9051 instead of <cstdlib>, <thread>.
9052 (optimization_barrier): New.
9053 (non_main_thread): Adjust declaration. Call optimization_barrier.
9054 Call quick_exit in the global namespace.
9055 (do_test): Call optimization_barrier. Use pthread_create,
9056 pthread_join instead of std::thread.
9057
9058 2016-06-09 Andreas Schwab <schwab@suse.de>
9059
9060 [BZ #19755]
9061 * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
9062 new entries in auto-propagate mode.
9063 * nscd/grpcache.c (cache_addgr): Likewise.
9064
9065 2016-06-09 Paul Pluzhnikov <ppluzhnikov@google.com>
9066
9067 * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
9068 New functions.
9069 (add_temp_file): Use them.
9070
9071 2016-06-09 Samuel Thibault <samuel.thibault@ens-lyon.org
9072
9073 * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
9074
9075 2016-06-08 Joseph Myers <joseph@codesourcery.com>
9076
9077 [BZ #20229]
9078 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
9079 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
9080 * math/libm-test.inc (log1p_test_data): Add sNaN tests.
9081
9082 [BZ #20228]
9083 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
9084 itself.
9085 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
9086 * math/libm-test.inc (log10_test_data): Add sNaN tests.
9087
9088 [BZ #20227]
9089 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
9090 itself.
9091 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9092 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
9093 * math/libm-test.inc (log_test_data): Add sNaN tests.
9094
9095 [BZ #20226]
9096 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
9097 itself.
9098 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
9099 * math/libm-test.inc (exp_test_data): Add sNaN tests.
9100 (exp10_test_data): Likewise.
9101 (expm1_test_data): Likewise.
9102
9103 [BZ #20225]
9104 * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
9105 itself.
9106 * math/s_ldexpf.c (__ldexpf): Likewise.
9107 * math/s_ldexpl.c (__ldexpl): Likewise.
9108 * math/w_scalbln.c (__w_scalbln): Likewise.
9109 * math/w_scalblnf.c (__w_scalblnf): Likewise.
9110 * math/w_scalblnl.c (__w_scalblnl): Likewise.
9111 * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
9112 (scalbln_test_data): Likewise.
9113
9114 [BZ #20224]
9115 * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
9116 argument to itself.
9117 * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
9118
9119 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
9120
9121 [BZ #19776]
9122 * sysdeps/x86_64/memcpy.S: Make it dummy.
9123 * sysdeps/x86_64/mempcpy.S: Likewise.
9124 * sysdeps/x86_64/memmove.S: New file.
9125 * sysdeps/x86_64/memmove_chk.S: Likewise.
9126 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
9127 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
9128 * sysdeps/x86_64/memmove.c: Removed.
9129 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
9130 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9131 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
9132 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
9133 Likewise.
9134 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9135 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9136 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9137 memcpy-sse2-unaligned, memmove-avx-unaligned,
9138 memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
9139 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9140 (__libc_ifunc_impl_list): Replace
9141 __memmove_chk_avx512_unaligned_2 with
9142 __memmove_chk_avx512_unaligned. Remove
9143 __memmove_chk_avx_unaligned_2. Replace
9144 __memmove_chk_sse2_unaligned_2 with
9145 __memmove_chk_sse2_unaligned. Remove __memmove_chk_sse2 and
9146 __memmove_avx_unaligned_2. Replace __memmove_avx512_unaligned_2
9147 with __memmove_avx512_unaligned. Replace
9148 __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
9149 Remove __memmove_sse2. Replace __memcpy_chk_avx512_unaligned_2
9150 with __memcpy_chk_avx512_unaligned. Remove
9151 __memcpy_chk_avx_unaligned_2. Replace
9152 __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
9153 Remove __memcpy_chk_sse2. Remove __memcpy_avx_unaligned_2.
9154 Replace __memcpy_avx512_unaligned_2 with
9155 __memcpy_avx512_unaligned. Remove __memcpy_sse2_unaligned_2
9156 and __memcpy_sse2. Replace __mempcpy_chk_avx512_unaligned_2
9157 with __mempcpy_chk_avx512_unaligned. Remove
9158 __mempcpy_chk_avx_unaligned_2. Replace
9159 __mempcpy_chk_sse2_unaligned_2 with
9160 __mempcpy_chk_sse2_unaligned. Remove __mempcpy_chk_sse2.
9161 Replace __mempcpy_avx512_unaligned_2 with
9162 __mempcpy_avx512_unaligned. Remove __mempcpy_avx_unaligned_2.
9163 Replace __mempcpy_sse2_unaligned_2 with
9164 __mempcpy_sse2_unaligned. Remove __mempcpy_sse2.
9165 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
9166 __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
9167 Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
9168 if processor has ERMS. Default to __memcpy_sse2_unaligned.
9169 (ENTRY): Removed.
9170 (END): Likewise.
9171 (ENTRY_CHK): Likewise.
9172 (libc_hidden_builtin_def): Likewise.
9173 Don't include ../memcpy.S.
9174 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
9175 __memcpy_chk_avx512_unaligned_erms and
9176 __memcpy_chk_avx512_unaligned. Use
9177 __memcpy_chk_avx_unaligned_erms and
9178 __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
9179 Default to __memcpy_chk_sse2_unaligned.
9180 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
9181 Change function suffix from unaligned_2 to unaligned.
9182 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
9183 __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
9184 Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
9185 if processor has ERMS. Default to __mempcpy_sse2_unaligned.
9186 (ENTRY): Removed.
9187 (END): Likewise.
9188 (ENTRY_CHK): Likewise.
9189 (libc_hidden_builtin_def): Likewise.
9190 Don't include ../mempcpy.S.
9191 (mempcpy): New. Add a weak alias.
9192 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
9193 __mempcpy_chk_avx512_unaligned_erms and
9194 __mempcpy_chk_avx512_unaligned. Use
9195 __mempcpy_chk_avx_unaligned_erms and
9196 __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
9197 Default to __mempcpy_chk_sse2_unaligned.
9198
9199 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
9200
9201 [BZ #19881]
9202 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
9203 into ...
9204 * sysdeps/x86_64/memset.S: This.
9205 (__bzero): Removed.
9206 (__memset_tail): Likewise.
9207 (__memset_chk): Likewise.
9208 (memset): Likewise.
9209 (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
9210 defined.
9211 (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
9212 * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
9213 (__memset_zero_constant_len_parameter): Check SHARED instead of
9214 PIC.
9215 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9216 memset-avx2 and memset-sse2-unaligned-erms.
9217 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9218 (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
9219 __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
9220 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
9221 (__bzero): Enabled.
9222 * sysdeps/x86_64/multiarch/memset.S (memset): Replace
9223 __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
9224 and __memset_avx2_unaligned. Use __memset_sse2_unaligned_erms
9225 or __memset_avx2_unaligned_erms if processor has ERMS. Support
9226 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
9227 (memset): Removed.
9228 (__memset_chk): Likewise.
9229 (MEMSET_SYMBOL): New.
9230 (libc_hidden_builtin_def): Replace __memset_sse2 with
9231 __memset_sse2_unaligned.
9232 * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
9233 __memset_chk_sse2 and __memset_chk_avx2 with
9234 __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
9235 Use __memset_chk_sse2_unaligned_erms or
9236 __memset_chk_avx2_unaligned_erms if processor has ERMS. Support
9237 __memset_chk_avx512_unaligned_erms and
9238 __memset_chk_avx512_unaligned.
9239
9240 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9241
9242 * math/gen-auto-libm-test.c (fp_format_desc): remove
9243 suffix member.
9244 (output_generic_value): Remove usage of suffix member,
9245 and the resulting unuse of the fp_format argument.
9246 (output_for_one_input_case): Remove unused fp_format
9247 parameter.
9248
9249 * math/auto-libm-test-out: Regenerate.
9250
9251 * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
9252 usage with TEST_COND_ibm128.
9253 (TEST_COND_flt_32): Remove.
9254 (TEST_COND_dbl_64): Remove.
9255 (TEST_COND_ldbl_96_intel): Remove.
9256 (TEST_COND_ldbl_96_m68k): Remove.
9257 (TEST_COND_ldbl_128): Remove.
9258
9259 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9260
9261 * auto-libm-test-in:
9262 Replace flt-32 usage with binary32.
9263 Replace dbl-64 usage with binary64.
9264 Replace ldbl-intel-96 usage with intel96.
9265 Replace ldbl-m68k-96 usage with m68k96.
9266 Replace ldbl-128ibm usage with ibm128.
9267 Replace ldbl-128 usage with binary128.
9268
9269 * auto-libm-test-out: Regenerate.
9270
9271 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9272
9273 * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
9274 (parse_ulps): Dynamically generate type name matching
9275 string from all_floats.
9276 (get_ulps): Generate the ulps as an array instead.
9277 (output_ulps): Dynamically compose the type based
9278 on the number of supported formats, and print
9279 the indices as type specific helper macros.
9280
9281 * math/libm-test.inc: Remove comment about CHOOSE.
9282 (ulp_data): Generate the type in libm-test-ulps.h.
9283 (ULP_IDX): New macro.
9284 (find_ulps): Update usage of max_ulp.
9285
9286 * math/test-double-vlen2.h (CHOOSE): Remove.
9287 * math/test-double-vlen4.h (CHOOSE): Likewise.
9288 * math/test-double-vlen8.h (CHOOSE): Likewise.
9289 * math/test-float.c (CHOOSE): Likewise.
9290 * math/test-float-finite.c (CHOOSE): Likewise.
9291 * math/test-double.c (CHOOSE): Likewise.
9292 * math/test-double-finite.c (CHOOSE): Likewise.
9293 * math/test-idouble.c (CHOOSE): Likewise.
9294 * math/test-ifloat.c (CHOOSE): Likewise.
9295 * math/test-ildoubl.c (CHOOSE): Likewise.
9296 * math/test-ldouble-finite.c (CHOOSE): Likewise.
9297 * math/test-ldouble.c (CHOOSE): Likewise.
9298
9299 * math/test-float.h (TEST_FLOAT): Remove.
9300 * math/test-double.h (TEST_DOUBLE): Likewise.
9301 * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
9302
9303 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9304
9305 * math/gen-libm-test.pl: (apply_lit): New subroutine.
9306 (parse_args): Strip C suffix from floating point literals
9307 typed with 'f' and wrap them with LIT().
9308
9309 * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
9310 (test_ff_f_data_nexttoward): Rename to
9311 (test_fj_f_data): New struct.
9312 (nexttoward_test_data): Relabel tests as
9313 TEST_fj_f instead of TEST_ff_f.
9314
9315 2016-06-08 Florian Weimer <fweimer@redhat.com>
9316
9317 Emacs bug 23726.
9318 * malloc/malloc.c (dumped_main_arena_start): Update comment.
9319 (__libc_realloc): Correct size computation for dumped fake mmapped
9320 chunks.
9321
9322 2016-06-07 Joseph Myers <joseph@codesourcery.com>
9323
9324 [BZ #20219]
9325 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
9326 to itself.
9327 * math/libm-test.inc (atanh_test_data): Add sNaN tests.
9328
9329 [BZ #20218]
9330 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
9331 to itself.
9332 * math/libm-test.inc (asinh_test_data): Add sNaN tests.
9333
9334 2016-06-07 H.J. Lu <hongjiu.lu@intel.com>
9335
9336 [BZ #20195]
9337 * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
9338 check to ...
9339 (init_cpu_features): Here.
9340
9341 2016-06-07 Carlos O'Donell <carlos@redhat.com>
9342
9343 [BZ #20214]
9344 * sysdeps/unix/sysv/linux/bits/in.h
9345 [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
9346 || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
9347 Define to 1.
9348 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
9349 || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
9350 Define to 0.
9351 [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
9352 [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
9353
9354 2016-06-06 Carlos O'Donell <carlos@redhat.com>
9355
9356 [BZ #20198]
9357 * stdlib/Makefile (tests): Add tst-quick_exit, and
9358 tst-thread-quick_exit.
9359 [ifeq ($(have-cxx-thread_local),yes)]
9360 (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
9361 (CFLAGS-tst-thread-quick_exit.o): Likewise.
9362 (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
9363 (LDLIBS-tst-thread-quick_exit): Likewise.
9364 [ifneq ($(have-cxx-thread_local),yes)]
9365 (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
9366 * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
9367 If run_dtors is true call __call_tls_dtors.
9368 (exit): Call __run_exit_handlers with run_dtors set to true.
9369 * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
9370 definition.
9371 * stdlib/quick_exit.c (quick_exit): Remove function.
9372 (__new_quick_exit): New function.
9373 [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
9374 function.
9375 * stdlib/tst-quick_exit.cc: New file.
9376 * stdlib/tst-thread-quick_exit.cc: New file.
9377 * stdlib/Versions: Add quick_exit@GLIBC_2.24.
9378 * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
9379 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
9380 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
9381 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
9382 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
9383 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
9384 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
9385 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
9386 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
9387 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
9388 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
9389 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
9390 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
9391 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
9392 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
9393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
9394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
9395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
9396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
9397 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
9398 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
9399 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
9400 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
9401 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
9402 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
9403 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
9404 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
9405 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
9406 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
9407
9408 2016-06-06 H.J. Lu <hongjiu.lu@intel.com>
9409
9410 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
9411 a typo in comments.
9412
9413 2016-06-06 Joseph Myers <joseph@codesourcery.com>
9414
9415 [BZ #20213]
9416 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
9417 argument to itself.
9418 * math/libm-test.inc (asin_test_data): Add sNaN tests.
9419
9420 2016-06-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9421
9422 * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
9423 required flags.
9424 (CFLAGS-pwritev64.c): Likewise.
9425 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
9426 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
9427 * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
9428 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
9429 * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
9430 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
9431 syscall from auto-generation.
9432 * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
9433 [WORDSIZE == 64] (pwritev64): Remove macro.
9434 [!PWRITEV] (PWRITEV): Likewise.
9435 [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
9436 [!PWRITEV] (PWRITE): Likewise.
9437 [!PWRITEV] (OFF_T): Likewise.
9438 [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
9439 (LO_HI_LONG): Remove macro.
9440 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
9441 * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
9442 (PWRITEV): Remove macro.
9443 (PWRITEV_REPLACEMENTE): Likewise.
9444 (PWRITE): Likewise.
9445 (OFF_T): Likewise.
9446 (pwritev64): New function.
9447 * nptl/tst-cancel4.c (tf_writev): Add test.
9448
9449 * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
9450 required flags.
9451 (CFLAGS-preadv64.c): Likewise.
9452 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
9453 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
9454 * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
9455 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
9456 * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
9457 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
9458 syscall from auto-generation.
9459 * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
9460 [WORDSIZE == 64] (preadv64): Remove macro.
9461 [!PREADV] (PREADV): Likewise.
9462 [!PREADV] (PREADV_REPLACEMENT): Likewise.
9463 [!PREADV] (PREAD): Likewise.
9464 [!PREADV] (OFF_T): Likewise.
9465 [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
9466 (LO_HI_LONG): Remove macro.
9467 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
9468 * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
9469 (PREADV): Remove macro.
9470 (PREADV_REPLACEMENTE): Likewise.
9471 (PREAD): Likewise.
9472 (OFF_T): Likewise.
9473 (preadv64): New function.
9474 * nptl/tst-cancel4.c (tf_preadv): Add test.
9475
9476 2016-06-06 Joseph Myers <joseph@codesourcery.com>
9477
9478 [BZ #20212]
9479 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
9480 argument to itself.
9481 * math/libm-test.inc (acos_test_data): Add sNaN tests.
9482
9483 2016-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9484
9485 * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
9486 New symbol defined as libc_hidden_def.
9487 (strcasestr): Became a weak alias to __strcasestr.
9488 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
9489 according to multi-arch support. Move __stpncpy hidden
9490 definition from here to...
9491 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here. Add
9492 symbol stpncpy.
9493 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
9494 libc_hidden_builtin_def.
9495 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
9496 memset symbol to use when multi-arch support is available.
9497
9498 2016-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
9499
9500 * dlfcn/tst-rec-dlopen.c: Include string.h.
9501
9502 2016-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9503
9504 * manual/install.texi: Remove mention of --without-tls
9505 * INSTALL: Regenerate.
9506
9507 2016-06-05 Florian Weimer <fweimer@redhat.com>
9508
9509 * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
9510 Remove.
9511 (call_function, interposed_malloc_called): New variables.
9512 (malloc): New function.
9513 (do_test): Do not change malloc hooks. Initialize malloc. Set
9514 and clear call_function as needed.
9515
9516 2016-06-04 Andreas Schwab <schwab@linux-m68k.org>
9517
9518 * include/wchar.h (__wmemset): Use __typeof.
9519
9520 2016-06-03 Carlos O'Donell <carlos@redhat.com>
9521
9522 * include/wchar.h (__wmemset): Declare function without typeof.
9523
9524 2016-06-03 Joseph Myers <joseph@codesourcery.com>
9525
9526 [BZ #20205]
9527 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
9528 exponent when incrementing negative subnormal with low mantissa
9529 word zero.
9530 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
9531 Add another test.
9532
9533 2016-06-03 Florian Weimer <fweimer@redhat.com>
9534
9535 * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
9536 __wmemset instead of wmemset.
9537
9538 2016-06-02 Carlos O'Donell <carlos@redhat.com>
9539
9540 * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
9541 defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
9542 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
9543 __USE_KERNEL_IPV6_DEFS to 0.
9544 * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
9545 Update comment.
9546
9547 2016-06-01 Florian Weimer <fweimer@redhat.com>
9548
9549 [BZ #19861]
9550 Do not use IFUNC resolver with potentially unrelocated symbol.
9551 * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
9552 (DEFINE_FORK): Remove macro and inline definition.
9553 (fork_alias): Renamed from fork_ifunc.
9554 (__fork_alias): Renamed from __fork_ifunc.
9555
9556 2016-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
9557
9558 [BZ 19653]
9559 * inet/if_index.c (__protocol_available): Delete #if 0'd code.
9560 * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
9561
9562 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
9563
9564 * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
9565 include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
9566 i386-linux-gnu).
9567 * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
9568 Set to no.
9569 * sysdeps/mach/hurd/configure: Refresh.
9570
9571 2016-05-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9572
9573 [BZ #20178]
9574 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
9575 on failure instead of exit.
9576
9577 2016-05-30 Roland McGrath <roland@hack.frob.com>
9578
9579 [BZ #3629]
9580 * manual/string.texi (Copying Strings and Arrays): stpcpy is part
9581 of POSIX.1-2008.
9582
9583 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
9584
9585 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
9586 Use PLT entry for calling _hurd_self_sigstate.
9587
9588 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
9589
9590 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
9591 available logical processors with SMT level type sharing L2
9592 cache for Intel processors.
9593
9594 2016-05-27 Joseph Myers <joseph@codesourcery.com>
9595
9596 [BZ #20160]
9597 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
9598 argument to itself before returning the result.
9599 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
9600 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
9601 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
9602 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
9603 Likewise.
9604 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
9605 Likewise.
9606 * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
9607 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
9608 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
9609 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
9610 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
9611 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
9612
9613 [BZ #20160]
9614 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
9615 argument to itself before returning the result.
9616 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
9617 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
9618 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
9619 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
9620 Likewise.
9621 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
9622 Likewise.
9623 * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
9624 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
9625 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
9626 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
9627 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
9628 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
9629
9630 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9631
9632 * libm-test.inc: Replace usage of M_El with
9633 (lit_e): New macro.
9634
9635 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9636
9637 * libm-test.inc: Replace usage of M_PI_4l with
9638 (lit_pi_4_d): New macro.
9639
9640 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9641
9642 * libm-test.inc: Replace usage of M_PIl with
9643 (lit_pi): New macro.
9644
9645 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9646
9647 * libm-test.inc: Replace usage of M_PI2l with
9648 (lit_pi_2_d): New macro.
9649
9650 * math/test-double.h (LITM): New macro.
9651 * math/test-float.h (LITM): Likewise.
9652 * math/test-ldouble.h (LITM): Likewise.
9653
9654 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9655
9656 * libm-test.inc (M_PI_34l): Rename to
9657 (lit_pi_3_m_4_d): New Macro.
9658 (M_PI_34_LOG10El): Rename to
9659 (lit_pi_3_m_4_ln10_m_d): New Macro.
9660 (M_PI2_LOG10El): Rename to
9661 (lit_pi_2_ln10_m_d): New Macro.
9662 (M_PI4_LOG10El): Rename to
9663 (lit_pi_4_ln10_m_d): New Macro.
9664 (M_PI_LOG10El): Rename to
9665 (lit_pi_ln10_d): New Macro.
9666
9667 2016-05-27 Joseph Myers <joseph@codesourcery.com>
9668
9669 [BZ #20157]
9670 * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
9671 determine whether to negate low half if [_ARCH_PPCGR], and integer
9672 comparison otherwise.
9673 * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
9674 determine whether to negate low half.
9675
9676 * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
9677 (NO_TEST_INLINE_DOUBLE): Likewise.
9678 (TEST_COND_x86_64): Likewise.
9679 (TEST_COND_x86): Likewise.
9680 (M_PI_6l): Likewise.
9681
9682 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9683
9684 * math/libm-test.inc:
9685 (TEST_FLOAT): Change usage to TEST_COND_binary32.
9686 (TEST_DOUBLE): Change usage to TEST_COND_binary64.
9687 (TEST_LDOUBLE): Update usage to evaluate as true if
9688 the guarded tests match the property being tested.
9689 (LDBL_MAX_EXP): Change to MAX_EXP.
9690 (LDBL_MIN_EXP): Change to MIN_EXP.
9691 (LDBL_MANT_DIG): Change to MANT_DIG, except for
9692 nexttoward tests.
9693
9694 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9695
9696 * math/libm-test.inc:
9697 (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
9698 (TYPE_MIN): Likewise.
9699 (TYPE_TRUE_MIN): Likewise.
9700 (TYPE_MAX): Likewise.
9701 (MIN_EXP): Likewise.
9702 (MAX_EXP): Likewise.
9703 (MANT_DIG): Likewise.
9704
9705 (FSTR_MAX): New macro.
9706 (__CONCATX): Likewise.
9707 (QTYPE_STR): Likewise.
9708 (TEST_COND_binary32): Likewise.
9709 (TEST_COND_binary64): Likewise.
9710 (TEST_COND_binary128): Likewise.
9711 (TEST_COND_ibm128): Likewise.
9712 (TEST_COND_intel96): Likewise.
9713 (TEST_COND_m68k96): Likewise.
9714
9715 (TEST_COND_flt_32): Redefine as equivalent format test macro.
9716 (TEST_COND_dbl_64): Likewise.
9717 (TEST_COND_ldbl_96_intel): Likewise.
9718 (TEST_COND_ldbl_96_m68k): Likewise.
9719 (TEST_COND_ldbl_128): Likewise.
9720 (TEST_COND_ldbl_128ibm): Likewise.
9721
9722 (plus_zero): Redefine using LIT macro.
9723 (minus_zero): Likewise.
9724 (plus_infty): Redefine as (INF).
9725 (minux_infty): Redefine as (-INF).
9726 (max_value): Redefine as TYPE_MAX.
9727 (min_value): Redefine as TYPE_MIN.
9728 (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
9729
9730 (print_float): Refactor to use snprintf to convert FLOAT values
9731 to string. This brings it closer to dropin replacement of strtof
9732 for the TS 18661 defined types.
9733 (update_stats): Likewise.
9734 (print_complex_function_ulps): Likewise.
9735 (print_max_error): Likewise.
9736 (print_complex_max_error): Likewise.
9737 (check_float_internal): Likewise.
9738
9739 * math/test-float.h (PREFIX): New macro.
9740 (LIT): Likewise.
9741 (TYPE_STR): Likewise.
9742 (FTOSTR): Likewise.
9743
9744 * math/test-double.h (PREFIX): New macro.
9745 (LIT): Likewise.
9746 (TYPE_STR): Likewise.
9747 (FTOSTR): Likewise.
9748
9749 * math/test-ldouble.h (PREFIX): New macro.
9750 (LIT): Likewise.
9751 (TYPE_STR): Likewise.
9752 (FTOSTR): Likewise.
9753
9754 2016-05-27 Joseph Myers <joseph@codesourcery.com>
9755
9756 [BZ #20156]
9757 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
9758 to itself when zero or not finite.
9759 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
9760 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
9761 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
9762 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
9763
9764 2016-05-26 Joseph Myers <joseph@codesourcery.com>
9765
9766 [BZ #20153]
9767 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
9768 x * x + x for infinities and NaNs.
9769
9770 [BZ #20151]
9771 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
9772 argument to itself before returning result.
9773 (__ieee754_y0l): Likewise.
9774 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
9775 (__ieee754_y1l).
9776
9777 * math/libm-test.inc (acosh_test_data): Add sNaN tests.
9778 (atan_test_data): Likewise.
9779 (ceil_test_data): Likewise.
9780 (cos_test_data): Likewise.
9781 (cosh_test_data): Likewise.
9782 (erf_test_data): Likewise.
9783 (exp2_test_data): Likewise.
9784 (fabs_test_data): Likewise.
9785 (floor_test_data): Likewise.
9786 (ilogb_test_data): Likewise.
9787 (j0_test_data): Likewise.
9788 (j1_test_data): Likewise.
9789 (jn_test_data): Likewise.
9790 (lgamma_test_data): Likewise.
9791 (lrint_test_data): Likewise.
9792 (llrint_test_data): Likewise.
9793 (logb_test_data): Likewise.
9794 (lround_test_data): Likewise.
9795 (llround_test_data): Likewise.
9796 (nearbyint_test_data): Likewise.
9797 (rint_test_data): Likewise.
9798 (round_test_data): Likewise.
9799 (sin_test_data): Likewise.
9800 (sincos_test_data): Likewise.
9801 (sinh_test_data): Likewise.
9802 (sqrt_test_data): Likewise.
9803 (tan_test_data): Likewise.
9804 (tanh_test_data): Likewise.
9805 (tgamma_test_data): Likewise.
9806 (trunc_test_data): Likewise.
9807 (y0_test_data): Likewise.
9808 (y1_test_data): Likewise.
9809 (yn_test_data): Likewise.
9810
9811 * math/libm-test.inc: Update comment about NaN testing.
9812 (TEST_SNAN): New macro.
9813 (snan_value): Likewise.
9814 (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
9815 (fpclassify_test_data): Add sNaN tests.
9816 (isfinite_test_data): Likewise.
9817 (isinf_test_data): Likewise.
9818 (isnan_test_data): Likewise.
9819 (isnormal_test_data): Likewise.
9820 (issignaling_test_data): Likewise.
9821 (signbit_test_data): Likewise.
9822 * math/gen-libm-test.pl (%beautify): Add snan_value.
9823 (show_exceptions): Add argument $test_snan.
9824 (parse_args): Handle snan_value as non-finite. Update call to
9825 show_exceptions.
9826 * math/Makefile (libm-test-no-inline-cflags): Add
9827 -fsignaling-nans.
9828
9829 2016-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9830
9831 * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
9832 (CFLAGS-oldsendmsg.c): Add rule.
9833 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
9834 Correct recvmsg symbol name.
9835 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
9836 Likewise.
9837
9838 2016-05-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9839
9840 * sysdeps/unix/sysv/linux/Makefile
9841 [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
9842 oldsendmmsg.
9843 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
9844 sendmmsg.
9845 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9846 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9847 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9848 * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9850 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9851 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9852 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
9853 Likewise.
9854 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9855 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
9856 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
9857 * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
9858 iovlen and controllen fields to adjust to POSIX specification.
9859 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
9860
9861 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
9862 and change to correct expected type.
9863 (msghdr.msg_controllen): Likewise.
9864 (cmsghdr.cmsg_len): Likewise.
9865 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
9866 expected POSIX assumption about the size.
9867 (msghdr.msg_controllen): Likewise.
9868 (msghdr.__glibc_reserved1): Likewise.
9869 (msghdr.__glibc_reserved2): Likewise.
9870 (cmsghdr.cmsg_len): Likewise.
9871 (cmsghdr.__glibc_reserved1): Likewise.
9872 * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
9873 Add ptw-oldrecvmsg and ptw-oldsendmsg.
9874 (CFLAGS-sendmsg.c): Remove rule.
9875 (CFLAGS-recvmsg.c): Likewise.
9876 (CFLAGS-oldsendmsg.c): Add rule.
9877 (CFLAGS-oldrecvmsg.c): Likewise.
9878 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
9879 recvmsg and sendmsg.
9880 * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
9881 Likewise.
9882 * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
9883 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
9884 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
9885 * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
9886 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
9887 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
9888 Likewise.
9889 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
9890 Likewise.
9891 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
9892 Likewise.
9893 * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
9894 Likewise.
9895 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
9896 Likewise.
9897 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
9898 Likewise.
9899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
9900 (GLIBC_2.24): Likewise.
9901 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
9902 Likewise.
9903 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
9904 Likewise.
9905 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
9906 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
9907 Likewise.
9908 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
9909 Likewise.
9910 ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
9911 Likewise.
9912 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
9913 (GLIBC_2.24): Likewise.
9914 ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
9915 Likewise.
9916 * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
9917 Likewise.
9918 * sysdeps/unix/sysv/linux/Makefile
9919 [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
9920 (CFLAGS-sendmsg.c): Add rule.
9921 (CFLAGS-recvmsg.c): Likewise.
9922 (CFLAGS-oldsendmsg.c): Likewise.
9923 (CFLAGS-oldrecvmsg.c): Likewise.
9924 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
9925 initialization.
9926 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
9927 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
9928 * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
9929 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
9930 * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
9931 iovlen and controllen fields to adjust to POSIX specification.
9932 * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
9933 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
9934 added recvmsg and sendmsg.
9935 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9936 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9937 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9938 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9939 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9940 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9941 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9942 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9943 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9944 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9945 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9946 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
9947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9948 Likewise.
9949 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
9950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9951 * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9952 Likewise.
9953 Likewise.
9954 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9955 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9956 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9957 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9958 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9959 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9960 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
9961 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9962 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
9963 Likewise.
9964 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9965 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9966
9967 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
9968 from auto-generation.
9969 (sendmsg): Likewise.
9970 * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
9971 (sendmsg): Likewise.
9972 * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
9973 (sendmsg): Likewise.
9974 * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
9975 (sendmsg): Likewise.
9976 * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
9977 (sendmsg): Likewise.
9978 * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
9979 (sendmsg): Likewise.
9980 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
9981 Likewise.
9982 (sendmsg): Likewise.
9983 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
9984 (sendmsg): Likewise.
9985 * sysdeps/unix/sysv/linux/i386/kernel-features.h
9986 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9987 Remove.
9988 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9989 Likewise.
9990 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9991 Undefine.
9992 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9993 Likewise.
9994 * sysdeps/unix/sysv/linux/kernel-features.h
9995 (__ASSUME_SENDMSG_SYSCALL): Define.
9996 (__ASSUME_RECVMSG_SYSCALL): Likewise.
9997 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9998 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9999 Remove.
10000 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10001 Likewise.
10002 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10003 Undefine.
10004 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10005 Likewise.
10006 * sysdeps/unix/sysv/linux/s390/kernel-features.h
10007 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10008 Remove.
10009 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10010 Likewise.
10011 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10012 Undefine.
10013 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10014 Likewise.
10015 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10016 (__ASSUME_SENDMSG_SYSCALL): Undefine.
10017 (__ASSUME_RECVMSG_SYSCALL): Likewise.
10018 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10019 (__ASSUME_SENDMSG_SYSCALL): Likewise.
10020 (__ASSUME_RECVMSG_SYSCALL): Likewise.
10021 * sysdeps/unix/sysv/linux/sh/kernel-features.h
10022 (__ASSUME_SENDMSG_SYSCALL): Likewise.
10023 (__ASSUME_RECVMSG_SYSCALL): Likewise.
10024
10025 2016-05-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10026
10027 * stdlib/gen-tst-strtod-round.c: Add backslash to
10028 compile command in comment.
10029 (printfp): Remove the literal suffix, and define an infinite
10030 value as INF to avoid expansion clash with INFINITY.
10031 (round_str): Remove the literal suffix.
10032 (round_for_all): Likewise, remove the now duplicate ldbl-64
10033 entry, and remove some magic constants.
10034
10035 * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
10036 duplication. Remove duplicate dbl-64 and ldbl-64 entries.
10037 (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
10038 (_CONCAT): New macro.
10039 (CONCAT): Likewise.
10040 (CHOOSE_ld): Likewise.
10041 (CHOOSE_f): Likewise.
10042 (CHOOSE_d): Likewise.
10043 (FTYPE_MEMBER): Likewise.
10044 (BOOL_MEMBER): Likewise.
10045 (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
10046 (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
10047 (_XNTRY): Likewise.
10048 (XNTRY): Likewise.
10049 (_ENTRY): Likewise.
10050 (ENTRY): Likewise.
10051 (test_exactness): Generate members via macro.
10052 (test_results): Likewise.
10053 (test): Update members.
10054 (TEST): Redefine using new macros.
10055 (INF): New macro.
10056 (fetestmodes): New structure.
10057 (do_test): Refactor to be type generic.
10058 (test_in_one_mode): Refactor duplicate code into
10059 (GEN_ONE_TEST): New macro.
10060
10061 * stdlib/tst-strtod-round-data.h: Regenerate.
10062
10063 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
10064 Extend to pass additional arbitrary parameters to
10065 generators.
10066
10067 2016-05-25 Joseph Myers <joseph@codesourcery.com>
10068
10069 [BZ #15479]
10070 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
10071 floating-point state after first floating-point operation on
10072 input. Restore full floating-point state instead of just rounding
10073 mode.
10074 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
10075 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
10076 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
10077 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
10078 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
10079
10080 [BZ #15479]
10081 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
10082 floating-point state after first floating-point operation on
10083 input. Restore full floating-point state instead of just rounding
10084 mode.
10085 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
10086 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
10087 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
10088 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
10089 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
10090
10091 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10092
10093 [BZ #19727]
10094 * iconvdata/utf-16.c (BODY): Report an error if first word is not a
10095 valid high surrogate.
10096 * iconvdata/utf-32.c (BODY): Report an error if the value is in range
10097 of an utf16 surrogate.
10098 * iconv/gconv_simple.c (BODY): Likewise.
10099 * iconvdata/bug-iconv12.c: New file.
10100 * iconvdata/Makefile (tests): Add bug-iconv12.
10101
10102 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10103
10104 [BZ #19726]
10105 * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
10106 outptrp in case of an illegal input.
10107 * iconv/tst-iconv6.c: New file.
10108 * iconv/Makefile (tests): Add tst-iconv6.
10109
10110 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10111
10112 * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
10113 an error in case of a value in range of an utf16 low surrogate.
10114
10115 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10116
10117 * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
10118 an error in case of a value in range of an utf16 low surrogate.
10119
10120 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10121
10122 * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
10123 Move to ...
10124 * sysdeps/s390/Makefile: ... here.
10125 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
10126 * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
10127 (BRANCH_ON_COUNT): New define.
10128 (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
10129 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
10130 * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
10131 run on s390-32, too.
10132 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
10133 * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
10134 run on s390-32, too.
10135 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
10136 * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
10137 run on s390-32, too.
10138
10139 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10140
10141 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
10142 etf3eh or new vector loop-variant.
10143
10144 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10145
10146 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
10147 etf3eh or new vector loop-variant.
10148
10149 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10150
10151 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
10152 or new vector loop-variant.
10153
10154 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10155
10156 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
10157 Rename to TR_LOOP and usage of tr instead of troo instruction.
10158
10159 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10160
10161 * sysdeps/s390/multiarch/gconv_simple.c: New File.
10162 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
10163
10164 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10165
10166 * sysdeps/s390/multiarch/8bit-generic.c: New File.
10167 * sysdeps/s390/multiarch/gen-8bit.sh: New File.
10168 * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
10169 New override define.
10170 * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
10171
10172 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10173
10174 * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
10175 * sysdeps/s390/configure.ac: Add test for S390 vector register
10176 support in gcc.
10177 * sysdeps/s390/configure: Regenerated.
10178
10179 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10180
10181 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
10182 Install file from $(objpfx)gconv-modules.
10183 ($(objpfx)gconv-modules): Concatenate architecture specific file
10184 in variable sysdeps-gconv-modules and gconv-modules in src dir.
10185 * sysdeps/s390/gconv-modules: New file.
10186 * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
10187 Deleted.
10188 ($(objpfx)gconv-modules-s390): Deleted.
10189 (sysdeps-gconv-modules): New variable.
10190
10191 2016-05-24 Joseph Myers <joseph@codesourcery.com>
10192
10193 [BZ #15479]
10194 * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
10195 of immediate operand to rounding instruction.
10196 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
10197 Likewise.
10198 * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
10199 Likewise.
10200 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
10201 Likewise.
10202
10203 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10204
10205 * math/libm-test.inc (MIN_EXP): Directly define as
10206 (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
10207
10208 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10209
10210 * math/libm-test.inc (MANT_DIG): Directly define as
10211 (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
10212
10213 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10214
10215 * stdlib/gen-tst-strtod-round.c (main):
10216 Change usage to more closely match the generated
10217 output. Add usage and compilation instructions.
10218 (string_to_fp): Add and use FILE* parameter as
10219 output target.
10220 (print_fp): Likewise.
10221 (round_str): Likewise.
10222 (round_for_all): Likewise.
10223 * stdlib/tst-strtod-round.c (tests): Move into
10224 * stdlib/tst-strtod-round-data.h: New file.
10225
10226 2016-05-24 Joseph Myers <joseph@codesourcery.com>
10227
10228 [BZ #15479]
10229 * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
10230 (__round): Do not force "inexact" exception.
10231 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
10232 variable.
10233 (__round): Do not force "inexact" exception.
10234 * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
10235 (__roundf): Do not force "inexact" exception.
10236 * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
10237 (__roundl): Do not force "inexact" exception.
10238 * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
10239 (__roundl): Do not force "inexact" exception.
10240 * math/libm-test.inc (round_test_data): Do not allow spurious
10241 "inexact" exceptions.
10242
10243 [BZ #15479]
10244 * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
10245 exception in comment.
10246 (huge): Remove variable.
10247 (__floor): Do not force "inexact" exception.
10248 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
10249 "inexact" exception in comment.
10250 (huge): Remove variable.
10251 (__floor): Do not force "inexact" exception.
10252 * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
10253 exception in comment.
10254 (huge): Remove variable.
10255 (__floorf): Do not force "inexact" exception.
10256 * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
10257 exception in comment.
10258 (huge): Remove variable.
10259 (__floorl): Do not force "inexact" exception.
10260
10261 [BZ #15479]
10262 * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
10263 exception in comment.
10264 (huge): Remove variable.
10265 (__ceil): Do not force "inexact" exception.
10266 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
10267 "inexact" exception in comment.
10268 (huge): Remove variable.
10269 (__ceil): Do not force "inexact" exception.
10270 * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
10271 (__ceilf): Do not force "inexact" exception.
10272 * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
10273 exception in comment.
10274 (huge): Remove variable.
10275 (__ceill): Do not force "inexact" exception.
10276
10277 2016-05-24 H.J. Lu <hongjiu.lu@intel.com>
10278
10279 * config.h.in (BIND_NOW): New.
10280 * configure.ac (BIND_NOW): New. Defined for --enable-bind-now.
10281 * configure: Regenerated.
10282 * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
10283 indirect branch via the GOT slot.
10284
10285 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
10286
10287 [BZ #19765]
10288 * sysdeps/s390/mempcpy.S: New File.
10289 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
10290 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
10291 * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10292 Add mempcpy variants.
10293 * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
10294 (memcpy): Adjust to be usable from mempcpy entry point.
10295 (__memcpy_mvcle): Likewise.
10296 * sysdeps/s390/s390-64/memcpy.S: Likewise.
10297 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
10298 ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
10299 (__memcpy_z196): Adjust to be usable from mempcpy entry point.
10300 (__memcpy_z10): Likewise.
10301 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
10302
10303 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
10304
10305 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
10306 Remove __GI_ symbol.
10307 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
10308 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
10309 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
10310 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
10311 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
10312 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
10313
10314 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
10315
10316 * sysdeps/s390/s390-64/memcpy.S (memcpy):
10317 Use cghi instead of chi to compare 64bit value.
10318
10319 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
10320
10321 * sysdeps/s390/s390-32/memcpy.S (memcpy):
10322 Jump to 1MB check before executing mvc-loop.
10323
10324 2016-05-24 Florian Weimer <fweimer@redhat.com>
10325
10326 [BZ #6527]
10327 * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
10328 unconditionally.
10329 * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
10330
10331 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10332
10333 * stdlib/tst-strtod6.c (do_test): Use new type generic
10334 invocation of the test function.
10335 (test): Refactor into ...
10336 (TEST_STRTOD): New macro base function.
10337
10338 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10339
10340 * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
10341 (TEST_STRTOD): New macro.
10342 (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
10343
10344 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10345
10346 * stdlib/tst-strtod6.c (do_test): Use new type generic
10347 invocation of the test function.
10348 (test): Refactor into ...
10349 (TEST_STRTOD): New macro base function.
10350
10351 2016-05-23 Florian Weimer <fweimer@redhat.com>
10352
10353 CVE-2016-4429
10354 [BZ #20112]
10355 * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
10356 payload.
10357
10358 2016-05-23 Florian Weimer <fweimer@redhat.com>
10359
10360 [BZ #20111]
10361 * bits/sockaddr.h (_SS_SIZE): Define.
10362 * bits/socket.h (_SS_SIZE): Remove.
10363 (_SS_PADSIZE): Adjust to account for all padding.
10364 (struct sockaddr_storage): Update comment. Avoid implicit
10365 padding.
10366 * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
10367 (_SS_PADSIZE): Adjust to account for all padding.
10368 (struct sockaddr_storage): Update comment. Avoid implicit
10369 padding.
10370 * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
10371 * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
10372 (_SS_PADSIZE): Adjust to account for all padding.
10373 (struct sockaddr_storage): Update comment. Avoid implicit
10374 padding.
10375 * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
10376 __SS_SIZE is 126 in this version.
10377 * inet/tst-sockaddr.c: New file.
10378 * inet/Makefile (tests): Add tst-sockaddr.c
10379 (tst-sockaddr.c): Compile with non-strict aliasing.
10380
10381 2016-05-23 Joseph Myers <joseph@codesourcery.com>
10382
10383 * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
10384 [XPG3 || XPG4].
10385 (NL_ARGMAX): Also expect for [XPG3].
10386 (NL_LANGMAX): Likewise.
10387 (NL_MSGMAX): Likewise.
10388 (NL_NMAX): Likewise.
10389 (NL_SETMAX): Likewise.
10390 (NL_TEXTMAX): Likewise.
10391 (NZERO): Likewise.
10392 (TMP_MAX): Likewise.
10393 * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
10394 variable.
10395
10396 * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
10397 (PF_MAX): Update value.
10398 (AF_KCM): New macro.
10399 (SOL_NETBEUI): Likewise.
10400 (SOL_LLC): Likewise.
10401 (SOL_DCCP): Likewise.
10402 (SOL_NETLINK): Likewise.
10403 (SOL_TIPC): Likewise.
10404 (SOL_RXRPC): Likewise.
10405 (SOL_PPPOL2TP): Likewise.
10406 (SOL_BLUETOOTH): Likewise.
10407 (SOL_PNPIPE): Likewise.
10408 (SOL_RDS): Likewise.
10409 (SOL_IUCV): Likewise.
10410 (SOL_CAIF): Likewise.
10411 (SOL_ALG): Likewise.
10412 (SOL_NFC): Likewise.
10413 (SOL_KCM): Likewise.
10414 (MSG_BATCH): New enum value and macro.
10415
10416 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
10417
10418 [BZ #18185]
10419 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
10420 sharing L2 cache to 2 for Knights Landing.
10421
10422 2016-05-20 Joseph Myers <joseph@codesourcery.com>
10423
10424 * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
10425 (FTW_DP): Do not expect for [XPG3 || XPG4].
10426 (FTW_SL): Do not expect for [XPG3].
10427 (FTW_SLN): Likewise.
10428 (FTW_PHYS): Likewise.
10429 (FTW_MOUNT): Likewise.
10430 (FTW_DEPTH): Likewise.
10431 (FTW_CHDIR): Likewise.
10432 (nftw): Likewise.
10433 * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
10434 variable.
10435
10436 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
10437
10438 * manual/errno.texi: Fix various typos & grammar errors.
10439
10440 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
10441
10442 * manual/intro.texi: Fix duplicated typo.
10443
10444 2016-05-19 Joseph Myers <joseph@codesourcery.com>
10445
10446 [BZ #13304]
10447 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
10448 <float.h>, <math_private.h> and <stdlib.h>.
10449 (add_split): New function.
10450 (mul_split): Likewise.
10451 (ext_val): New typedef.
10452 (store_ext_val): New function.
10453 (mul_ext_val): New function.
10454 (compare): New function.
10455 (add_split_ext): New function.
10456 (__fmal): After checking for Inf, NaN and zero, compute result as
10457 an exact sum of scaled double values in round-to-nearest before
10458 adding those up and adjusting for other rounding modes.
10459 * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
10460 tests of fma.
10461 * math/auto-libm-test-out: Regenerated.
10462
10463 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
10464
10465 [BZ #20119]
10466 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
10467 processor level type mask for CPUID with EAX == 11.
10468
10469 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
10470
10471 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
10472 logical threads if the HTT bit is 0.
10473 * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
10474 (index_cpu_HTT): Likewise.
10475 (reg_HTT): Likewise.
10476
10477 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
10478
10479 [BZ #20115]
10480 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
10481 Remove alignments on jump targets.
10482
10483 2016-05-19 Joseph Myers <joseph@codesourcery.com>
10484
10485 * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
10486 (getpwent): Likewise.
10487 (setpwent): Likewise.
10488 * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
10489 variable.
10490
10491 * conform/data/search.h-data (insque): Do not expect for [XPG3].
10492 (remque): Likewise.
10493 * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
10494 variable.
10495
10496 2016-05-18 Joseph Myers <joseph@codesourcery.com>
10497
10498 * math/libm-test.inc: Update comment not to refer to signs of NaNs
10499 not being tested.
10500
10501 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
10502
10503 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
10504 (__condvar_cleanup2): Remove JUMPTARGET from _Unwind_Resume
10505 call.
10506 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
10507 (__condvar_cleanup1): Likewise.
10508
10509 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
10510
10511 * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
10512 New
10513 (__pthread_unwind): Renamed to ...
10514 (PTHREAD_UNWIND): This.
10515 (__pthread_enable_asynccancel): Replace
10516 JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
10517
10518 2016-05-18 Joseph Myers <joseph@codesourcery.com>
10519
10520 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
10521 (CLONE_NEWCGROUP): New macro.
10522
10523 * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
10524 (Q_GETNEXTQUOTA): New macro.
10525
10526 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
10527
10528 [BZ #19907]
10529 * benchtests/bench-memcpy.c (do_one_test): Clear the destination
10530 buffer updated by the previous run.
10531 * string/test-memcpy.c (do_one_test): Likewise.
10532 * benchtests/bench-memmove.c (do_one_test): Add a comment.
10533 * string/test-memmove.c (do_one_test): Likewise.
10534
10535 2016-05-17 Joseph Myers <joseph@codesourcery.com>
10536
10537 [BZ #20094]
10538 * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
10539 not [__USE_XOPEN].
10540 (unlockpt): Likewise.
10541 (ptsname): Likewise.
10542 * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
10543 variable.
10544
10545 [BZ #20076]
10546 * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
10547 instead of [__USE_UNIX98].
10548 (S_ISSOCK): Likewise.
10549 * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
10550 variable.
10551
10552 [BZ #20074]
10553 * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
10554 [__USE_POSIX].
10555 * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
10556 variable.
10557
10558 [BZ #20051]
10559 * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
10560 (ttyslot): Do not declare.
10561 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
10562 (ttyslot): New prototype.
10563 * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
10564 variable.
10565 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
10566
10567 2016-05-17 Stefan Liebler <stli@linux.vnet.ibm.com>
10568
10569 * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
10570
10571 2016-05-13 Florian Weimer <fweimer@redhat.com>
10572
10573 Fix race condition in tst-mallocfork2, use fewer resources.
10574 * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
10575 to current process group.
10576 (signal_sender): Yield in the non-sleeping case.
10577
10578 2016-05-13 Joseph Myers <joseph@codesourcery.com>
10579
10580 * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
10581 (ecvt): Likewise.
10582 (fcvt): Likewise.
10583 (gcvt): Likewise.
10584 (getsubopt): Likewise.
10585 (grantpt): Likewise.
10586 (initstate): Likewise.
10587 (l64a): Likewise.
10588 (mktemp): Likewise.
10589 (mkstemp): Likewise.
10590 (ptsname): Likewise.
10591 (random): Likewise.
10592 (realpath): Likewise.
10593 (setstate): Likewise.
10594 (srandom): Likewise.
10595 (ttyslot): Likewise.
10596 (unlockpt): Likewise.
10597 (valloc): Likewise.
10598
10599 * conform/data/string.h-data (strdup): Do not expect for [XPG3].
10600 * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
10601 variable.
10602
10603 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
10604
10605 [BZ #20072]
10606 * sysdeps/i386/dl-machine.h (dl_platform_init): Call
10607 init_cpu_features only if SHARED is defined.
10608 * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
10609
10610 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
10611
10612 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
10613 non-inclusive caches on Intel processors.
10614
10615 2016-05-13 Florian Weimer <fweimer@redhat.com>
10616
10617 * malloc/malloc.c (dumped_main_arena_start)
10618 (dumped_main_arena_end): New variables.
10619 (DUMPED_MAIN_ARENA_CHUNK): New macro.
10620 (do_check_chunk): Skip dumped fake mmapped chunks.
10621 (munmap_chunk): Likewise.
10622 (__libc_free): Do not adjust statistics for fake mmapped chunks.
10623 (__libc_realloc): Adjust hardening check. Always copy dumped fake
10624 mmapped chunks.
10625 * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
10626 Mark dumped chunks as using mmap. Update dumped_main_arena_start
10627 and dumped_main_arena_end to cover the dumped heap.
10628
10629 2016-05-12 Joseph Myers <joseph@codesourcery.com>
10630
10631 * conform/data/time.h-data (getdate_err): Do not expect for
10632 [XPG3].
10633 (getdate): Likewise.
10634 * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
10635 variable.
10636
10637 * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
10638 (F_ULOCK): Likewise.
10639 (F_TEST): Likewise.
10640 (F_TLOCK): Likewise.
10641 (useconds_t): Likewise.
10642 (intptr_t): Do not expect for [XPG3] or [XPG4].
10643 (brk): Do not expect for [XPG3]
10644 (fchown): Likewise.
10645 (fchdir): Likewise.
10646 (ftruncate): Likewise.
10647 (getdtablesize): Likewise.
10648 (gethostid): Likewise.
10649 (getpagesize): Likewise.
10650 (getpgid): Likewise.
10651 (getsid): Likewise.
10652 (getwd): Likewise.
10653 (lchown): Likewise.
10654 (lockf): Likewise.
10655 (readlink): Likewise.
10656 (sbrk): Likewise.
10657 (setpgrp): Likewise.
10658 (setregid): Likewise.
10659 (setreuid): Likewise.
10660 (symlink): Likewise.
10661 (sync): Likewise.
10662 (truncate): Likewise.
10663 (ualarm): Likewise.
10664 (usleep): Likewise.
10665 (vfork): Likewise.
10666 * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
10667 variable.
10668
10669 [BZ #20054]
10670 * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
10671 not [__USE_UNIX98].
10672 * conform/data/unistd.h-data (gethostname): Do not expect for
10673 [XPG3].
10674
10675 * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
10676 [!POSIX] (S_IFBLK): Likewise.
10677 [!POSIX] (S_IFCHR): Likewise.
10678 [!POSIX] (S_IFIFO): Likewise.
10679 [!POSIX] (S_IFREG): Likewise.
10680 [!POSIX] (S_IFDIR): Likewise.
10681 [!POSIX] (S_IFLNK): Likewise.
10682 [!POSIX] (S_IFSOCK): Likewise.
10683 * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
10684 variable.
10685 (test-xfail-XPG4/fcntl.h/conform): Likewise.
10686
10687 2016-05-12 Wilco Dijkstra <wdijkstr@arm.com>
10688
10689 * sysdeps/aarch64/memset.S (__memset):
10690 Rewrite of optimized memset.
10691
10692 2016-05-12 Florian Weimer <fweimer@redhat.com>
10693
10694 [BZ #19703]
10695 Partially async-signal-safe fork for single-threaded processes.
10696 * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
10697 variable. Do not acquire and reset/release malloc and libio locks
10698 in single-threaded processes.
10699 * malloc/tst-mallocfork2.c: New file.
10700 * malloc/Makefile (tests): Add it.
10701
10702 2016-05-12 Florian Weimer <fweimer@redhat.com>
10703
10704 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
10705 argument. Use scratch buffer instead of extend_alloca.
10706 (gethosts): Use scratch buffer instead of extend_alloca.
10707 (gaih_inet): Add tmpbuf argument. Use scratch buffer instead of
10708 extend_alloca.
10709 (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
10710
10711 2016-05-11 Joseph Myers <joseph@codesourcery.com>
10712
10713 [BZ #20055]
10714 * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
10715 instead of [__USE_UNIX98].
10716 (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
10717 [__USE_UNIX98].
10718 * conform/data/termios.h-data (tcgetsid): Do not expect for
10719 [XPG3].
10720 * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
10721 variable.
10722 (test-xfail-XPG4/termios.h/conform): Likewise.
10723
10724 2016-05-11 Florian Weimer <fweimer@redhat.com>
10725
10726 Do not use mcheck in localedef.
10727 * locale/programs/localedef.c (turn_on_mcheck)
10728 (__malloc_initialize_hook): Remove.
10729
10730 2016-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
10731
10732 * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
10733 * sysdeps/s390/s390-64/Makefile: Likewise.
10734
10735 2016-05-11 H.J. Lu <hongjiu.lu@intel.com>
10736
10737 * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
10738 Remove ifunc-defines.sym.
10739 * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
10740 Likewise.
10741 * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
10742 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
10743 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
10744 * sysdeps/x86/Makefile (gen-as-const-headers): Remove
10745 rtld-global-offsets.sym.
10746 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
10747 * sysdeps/x86/cpu-features-offsets.sym: This.
10748 * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
10749 instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
10750
10751 2016-05-10 Joseph Myers <joseph@codesourcery.com>
10752
10753 [BZ #20073]
10754 * io/sys/stat.h (fchmod): Declare for
10755 [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
10756 * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
10757 variable.
10758
10759 * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
10760 [XPG3] (S_IFSOCK): Likewise.
10761 [XPG3] (S_ISVTX): Likewise.
10762 [XPG3] (S_ISLNK): Likewise.
10763 [XPG3] (S_ISSOCK): Likewise.
10764 [XPG3] (fchmod): Likewise.
10765 [XPG3] (lstat): Likewise.
10766 [XPG3] (mknod): Likewise.
10767
10768 * conform/data/sys/stat.h-data (st_blksize): Do not expect for
10769 [XPG3]. Expect type long and XFAIL for [XPG4].
10770 (st_blocks): Likewise.
10771
10772 [BZ #20044]
10773 * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
10774 (pthread_atfork): New prototype.
10775 * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
10776 variable.
10777
10778 [BZ #20043]
10779 * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
10780 prototype.
10781
10782 2016-05-10 Florian Weimer <fweimer@redhat.com>
10783
10784 [BZ #20017]
10785 * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
10786 gmtime.
10787
10788 2016-05-10 Florian Weimer <fweimer@redhat.com>
10789
10790 [BZ #19994]
10791 * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
10792 flag in _res.options.
10793
10794 2016-05-09 Joseph Myers <joseph@codesourcery.com>
10795
10796 * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
10797 [XPG3 || XPG4].
10798 (blksize_t): Likewise.
10799 (clockid_t): Likewise.
10800 * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
10801 variable.
10802 (test-xfail-XPG4/sys/types.h/conform): Likewise.
10803
10804 2016-05-09 Stefan Liebler <stli@linux.vnet.ibm.com>
10805
10806 * sysdeps/unix/sysv/linux/s390/init-first.c:
10807 Add VDSO_SYMBOL(getcpu).
10808 (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
10809 * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
10810 Add VDSO_SYMBOL(getcpu).
10811 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
10812 New define HAVE_GETCPU_VSYSCALL.
10813 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10814
10815 2016-05-08 H.J. Lu <hongjiu.lu@intel.com>
10816
10817 * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
10818 instead of <sysdeps/x86_64/cacheinfo.c>.
10819 * sysdeps/x86_64/cacheinfo.c: Moved to ...
10820 * sysdeps/x86/cacheinfo.c: Here.
10821
10822 2016-05-04 Florian Weimer <fweimer@redhat.com>
10823
10824 * malloc/malloc-internal.h: Adjust header file guard.
10825
10826 2016-05-04 Florian Weimer <fweimer@redhat.com>
10827
10828 [BZ #19787]
10829 * inet/getnameinfo.c (check_sprintf_result): New function.
10830 (CHECKED_SNPRINTF): New macro.
10831 (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
10832 to the host buffer.
10833 (gni_host_local): Use checked_copy to copy the host name.
10834 (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
10835 (gni_serv_local): Use checked_copy to copy the service name.
10836 (getnameinfo): Remove unnecessary truncation of result buffers.
10837
10838 2016-05-04 Florian Weimer <fweimer@redhat.com>
10839
10840 * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
10841 in case of inet_ntop failure.
10842
10843 2016-05-04 Florian Weimer <fweimer@redhat.com>
10844
10845 * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
10846 avoid long lines.
10847 (gni_host_inet_numeric): Likewise. Reduce scope of local
10848 variables.
10849 (gni_host_inet, gni_host_local): Add comment.
10850 (gni_host): Add comment. Use temporary to avoid long lines.
10851
10852 2016-05-04 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
10853
10854 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
10855 registers specifiers where general purpose registers specifiers should
10856 have been used.
10857
10858 2016-05-04 Florian Weimer <fweimer@redhat.com>
10859
10860 [BZ #19779]
10861 CVE-2016-1234
10862 Avoid copying names of directory entries.
10863 * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
10864 (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
10865 (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
10866 (struct readdir_result): New type.
10867 (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
10868 (GL_READDIR): New macros.
10869 (readdir_result_might_be_symlink, readdir_result_might_be_dir)
10870 (convert_dirent, convert_dirent64): New functions.
10871 (glob_in_dir): Use struct readdir_result. Call convert_dirent or
10872 convert_dirent64. Adjust references to the readdir result.
10873 * sysdeps/unix/sysv/linux/i386/glob64.c:
10874 (convert_dirent, GL_READDIR): Redefine for second file inclusion.
10875 * posix/bug-glob2.c (LONG_NAME): Define.
10876 (filesystem): Add LONG_NAME.
10877 (my_DIR): Increase the size of room_for_dirent.
10878
10879 2016-05-03 Joseph Myers <joseph@codesourcery.com>
10880
10881 [BZ #20041]
10882 * misc/sys/select.h (__need_timespec): Only define if
10883 [__USE_XOPEN2K].
10884 * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
10885 variable.
10886 (test-xfail-XPG4/utmpx.h/conform): Likewise.
10887 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
10888 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
10889
10890 2016-05-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10891 Segher Boessenkool <segher@gcc.gnu.org>
10892
10893 [BZ #20004]
10894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
10895 (__novec_swapcontext): Add missing load.
10896
10897 2016-05-02 Joseph Myers <joseph@codesourcery.com>
10898
10899 [BZ #20023]
10900 * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
10901 <time.h>.
10902 * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
10903 variable.
10904 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
10905
10906 2016-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10907
10908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
10909 flags CLONE_VM compare.
10910
10911 2016-05-02 Florian Weimer <fweimer@redhat.com>
10912
10913 [BZ #20031]
10914 * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
10915 completely empty.
10916
10917 2016-05-02 Florian Weimer <fweimer@redhat.com>
10918
10919 [BZ #19573]
10920 * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
10921 * hesiod/nss_hesiod/hesiod-init.c: Remove file.
10922 * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
10923 * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
10924 (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
10925 (hesiod_free_list): Mark as hidden.
10926 * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
10927 res_set, res_get.
10928 * hesiod/hesiod.c: Remove unnecessary forward declarations.
10929 (init, __hesiod_res_get, __hesiod_res_set): Remove.
10930 (hesiod_init): Remove obsolete res_ninit call.
10931 (hesiod_end): Do not free resolver state. Do not invoke callback.
10932 (hesiod_bind): Do not call init.
10933 (get_txt_records): Use res_mkquery, res_send instead of
10934 res_nmkquery, res_nsend.
10935 * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
10936 instead of _nss_hesiod_init.
10937 (_nss_hesiod_initgroups_dyn): Likewise.
10938 * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
10939 * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
10940 * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
10941
10942 2016-05-02 Florian Weimer <fweimer@redhat.com>
10943
10944 * hesiod/hesiod_p.h (DEF_RHS): Remove.
10945 * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
10946
10947 2016-05-02 Florian Weimer <fweimer@redhat.com>
10948
10949 * hesiod/hesiod.h: Remove RCS keyword.
10950 * hesiod/hesiod_p.h: Likewise.
10951
10952 * hesiod/hesiod.c: Likewise.
10953
10954 2016-05-01 Arnas Udovičius <arnas.udovicius@gmail.com>
10955
10956 [BZ #12450]
10957 * locale/iso-639.def: Add Samogitian/sgs.
10958
10959 2016-04-30 Andreas Schwab <schwab@linux-m68k.org>
10960
10961 * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
10962
10963 * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
10964
10965 2016-04-29 Stephen Gallagher <sgallagh@redhat.com>
10966 Carlos O'Donell <carlos@redhat.com>
10967
10968 [BZ #19072]
10969 * grp/Makefile (headers): Add grp-merge.h
10970 (routines): Add grp-merge.
10971 * grp/getgrgid_r.c: Include grp-merge.h.
10972 (DEEPCOPY_FN): Define.
10973 (MERGE_FN): Define.
10974 * grp/getgrname_r.c: Include grp-merge.h.
10975 (DEEPCOPY_FN): Define.
10976 (MERGE_FN): Define.
10977 * grp/grp-merge.c: New file.
10978 * grp/grp-merge.h: New file.
10979 * include/grp-merge.h: New file.
10980 * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
10981 __copy_grp@GLIBC_PRIVATE.
10982 * manual/nss.texi (Actions in the NSS configuration): Describe
10983 return, continue, and merge.
10984 * nscd/getgrgid_r.c: Include grp/grp-merge.h.
10985 (DEEPCOPY_FN): Define.
10986 (MERGE_FN): Define.
10987 * nscd/getgrnam_r.c: Include grp/grp-merge.h.
10988 (DEEPCOPY_FN): Define.
10989 (MERGE_FN): Define.
10990 * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
10991 [!MERGE_FN]: Define __merge_einval.
10992 (CHECK_MERGE): Define.
10993 (REENTRANT_NAME): Process merge if do_merge is true.
10994 * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
10995 (__nss_getent_r): Likewise.
10996 * nss/nsswitch.c (nss_parse_service_list): Likewise.
10997 * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
10998
10999 2016-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11000
11001 [BZ #20012]
11002 * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
11003 length to calculate the buffer to read.
11004 (fmemopen_write): Set the buffer position based on bytes written.
11005 (fmemopen_seek): Return EINVAL for invalid whence modes.
11006
11007 [BZ #19957]
11008 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
11009 tst-getpid2.
11010 (test): Add tst-clone2.
11011 * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
11012 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
11013 pid/tid fields for CLONE_VM.
11014 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
11015 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
11016 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
11017 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
11018 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
11019 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
11020 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
11021 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
11022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
11023 Likewise.
11024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11025 Likewise.
11026 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
11027 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
11028 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
11029 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
11030 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
11031 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
11032 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
11033 * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
11034
11035 2016-04-29 Florian Weimer <fweimer@redhat.com>
11036
11037 [BZ #19642]
11038 * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
11039 (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
11040 (gni_serv_local, gni_serv): New functions extracted from
11041 getnameinfo.
11042 (getnameinfo): Call gni_host and gni_serv to perform the
11043 processing. Always free scratch buffer.
11044
11045 2016-04-29 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
11046
11047 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
11048 remaining bytes in the dest string, with zeros.
11049
11050 2016-04-29 Florian Weimer <fweimer@redhat.com>
11051
11052 [BZ #20010]
11053 CVE-2016-3706
11054 * sysdeps/posix/getaddrinfo.c
11055 (convert_hostent_to_gaih_addrtuple): New function.
11056 (gethosts): Call convert_hostent_to_gaih_addrtuple.
11057 (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
11058 AF_INET data.
11059
11060 2016-04-29 Florian Weimer <fweimer@redhat.com>
11061
11062 glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
11063 callback function gl_readdir.
11064 * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
11065 (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
11066 (glob_in_dir): Remove len. Use strdup instead of malloc and
11067 memcpy to copy the name.
11068 * manual/pattern.texi (Calling Glob): Document requirements for
11069 implementations of the gl_readdir callback function.
11070 * manual/examples/mkdirent.c: New example.
11071 * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
11072 per the manual guidance.
11073 * posix/tst-gnuglob.c (my_readdir): Likewise.
11074
11075 2016-04-28 Joseph Myers <joseph@codesourcery.com>
11076
11077 [BZ #20014]
11078 * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
11079 not [__USE_POSIX].
11080 (getchar_unlocked): Likewise.
11081 (putc_unlocked): Likewise.
11082 (putchar_unlocked): Likewise.
11083 (flockfile): Likewise.
11084 (ftrylockfile): Likewise.
11085 (funlockfile): Likewise.
11086 * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
11087 variable.
11088 (test-xfail-XPG4/stdio.h/conform): Likewise.
11089
11090 * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
11091 Expect constant.
11092 [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
11093 * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
11094 variable.
11095 (test-xfail-XPG4/langinfo.h/conform): Likewise.
11096 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
11097
11098 * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
11099 [__USE_LARGEFILE64] (off64_t): Likewise.
11100 * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
11101 variable.
11102
11103 2016-04-28 Florian Weimer <fweimer@redhat.com>
11104
11105 * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
11106
11107 2016-04-28 Florian Weimer <fweimer@redhat.com>
11108
11109 * resolv/inet_addr.c: Reindent preprocessor conditionals.
11110 * resolv/res_init.c: Likewise.
11111 * resolv/res_mkquery.c: Likewise.
11112
11113 2016-04-28 Florian Weimer <fweimer@redhat.com>
11114
11115 * resolv/res_init.c (isascii): Do not define. Use definition in
11116 <ctype.h>.
11117 * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
11118 (LOG_AUTH): Remove.
11119 (SPRINTF): Remove, adjust caller.
11120 (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
11121
11122 2016-04-28 Florian Weimer <fweimer@redhat.com>
11123
11124 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
11125 SUNSECURITY conditional.
11126 * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
11127
11128 2016-04-28 Florian Weimer <fweimer@redhat.com>
11129
11130 * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
11131 * resolv/gethnamaddr.c: Use include files from conf/portability.h.
11132 Remove BSD-related preprocessor conditionals.
11133 * conf/portability.h: Remove.
11134
11135 2016-04-28 Florian Weimer <fweimer@redhat.com>
11136
11137 * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
11138 * resolv/res_data.c: Likewise.
11139
11140 2016-04-28 Florian Weimer <fweimer@redhat.com>
11141
11142 * resolv/res_comp.c: Remove code conditional on __ultrix__.
11143 * resolv/res_data.c: Remove code conditional on ultrix.
11144
11145 2016-04-28 Florian Weimer <fweimer@redhat.com>
11146
11147 * resolv/res_init.c (RFC1535): Do not define. Remove
11148 RFC1535 preprocessor conditionals.
11149 * resolv/README: Update. Do not claim strict RFC 1535 compliance
11150 because there configuration options which make the resolver
11151 behavior different.
11152
11153 2016-04-28 Florian Weimer <fweimer@redhat.com>
11154
11155 * resolv/gethnamaddr.c (RESOLVSORT): Do not define. Remove
11156 RESOLVSORT preprocessor conditionals.
11157 * resolv/nss_dns/dns-host.c: Likewise.
11158 * resolv/res_init.c: Likewise.
11159
11160 2016-04-28 Florian Weimer <fweimer@redhat.com>
11161
11162 * resolv/res_data.c: Remove code conditional on BIND_UPDATE. It
11163 is never defined.
11164
11165 2016-04-28 Florian Weimer <fweimer@redhat.com>
11166
11167 * inet/inet_lnaof.c: Remove SCSS keyword.
11168 * inet/inet_mkadr.c: Likewise.
11169 * inet/inet_net.c: Likewise.
11170 * inet/inet_netof.c: Likewise.
11171 * inet/rcmd.c: Likewise.
11172 * inet/rexec.c: Likewise.
11173 * inet/ruserpass.c: Likewise.
11174
11175 2016-04-28 Florian Weimer <fweimer@redhat.com>
11176
11177 * resolv/inet_addr.c: Remove _LIBC conditionals.
11178 * resolv/res_data.c: Likewise.
11179 * resolv/res_init.c: Likewise.
11180 * resolv/res_mkquery.c: Likewise.
11181 * resolv/res_libc.c: Update comment.
11182 * resolv/README: Update.
11183
11184 2016-04-28 Florian Weimer <fweimer@redhat.com>
11185
11186 * resolv/gethnamaddr.c: Remove SCSS keyword.
11187 * resolv/herror.c: Likewise.
11188 * resolv/inet_addr.c: Likewise.
11189 * resolv/inet_net_ntop.c: Likewise.
11190 * resolv/inet_net_pton.c: Likewise.
11191 * resolv/inet_neta.c: Likewise.
11192 * resolv/inet_ntop.c: Likewise.
11193 * resolv/inet_pton.c: Likewise.
11194 * resolv/ns_date.c: Remove RCS keyword.
11195 * resolv/ns_name.c: Likewise.
11196 * resolv/ns_netint.c: Likewise.
11197 * resolv/ns_parse.c: Likewise.
11198 * resolv/ns_print.c: Likewise.
11199 * resolv/ns_samedomain.c: Likewise.
11200 * resolv/ns_ttl.c: Likewise.
11201 * resolv/nsap_addr.c: Likewise.
11202 * resolv/res_comp.c: Remove SCSS and RCS keyword.
11203 * resolv/res_data.c: Remove RCS keyword.
11204 * resolv/res_debug.c: Remove SCSS and RCS keyword.
11205 * resolv/res_init.c: Likewise.
11206 * resolv/res_mkquery.c: Likewise.
11207 * resolv/res_query.c: Likewise.
11208 * resolv/res_send.c: Likewise.
11209
11210 2016-04-27 Joseph Myers <joseph@codesourcery.com>
11211
11212 * conform/data/stdio.h-data (fdopen): Expect also for
11213 [XPG3 || XPG4].
11214
11215 * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
11216 (fseeko): Likewise.
11217 (ftello): Likewise.
11218 (ftrylockfile): Likewise.
11219 (funlockfile): Likewise.
11220 (getc_unlocked): Likewise.
11221 (getchar_unlocked): Likewise.
11222 (putc_unlocked): Likewise.
11223 (putchar_unlocked): Likewise.
11224
11225 2016-04-27 Florian Weimer <fweimer@redhat.com>
11226
11227 [BZ #19868]
11228 * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
11229 DNS packet syntax checks (which were not needed before). Skip
11230 over non-PTR records.
11231
11232 2016-04-27 Florian Weimer <fweimer@redhat.com>
11233
11234 * resolv/nss_dns/dns-network.c (offsetof): Remove macro
11235 definition. Include <stddef.h> instead.
11236
11237 2016-04-27 Florian Weimer <fweimer@redhat.com>
11238
11239 [BZ #19831]
11240 * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
11241 function.
11242 (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
11243 (gaih_getanswer_slice): Check RDATA length against RRTYPE.
11244
11245 2016-04-27 Florian Weimer <fweimer@redhat.com>
11246
11247 [BZ #19862]
11248 * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
11249 (getanswer_r): Do not call syslog.
11250 (gaih_getanswer_slice): Likewise.
11251 * resolv/gethnamaddr.c (AskedForGot): Remove.
11252 (getanswer): Do not call syslog.
11253 (gethostbyaddr): Likewise.
11254
11255 2016-04-27 Joseph Myers <joseph@codesourcery.com>
11256
11257 * conform/data/signal.h-data (union sigval): Expect also if
11258 [XOPEN2K].
11259 (struct sigevent): Likewise.
11260 (SIGEV_NONE): Likewise.
11261 (SIGEV_SIGNAL): Likewise.
11262 (SIGEV_THREAD): Likewise.
11263 (SIGRTMIN): Likewise.
11264 (SIGRTMAX): Likewise.
11265 * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
11266 variable.
11267 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
11268
11269 2016-04-27 Florian Weimer <fweimer@redhat.com>
11270
11271 [BZ #19830]
11272 * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
11273 (gaih_getanswer_slice): Likewise.
11274 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
11275 Also check for availability of RR metadata.
11276
11277 2016-04-27 Florian Weimer <fweimer@redhat.com>
11278
11279 [BZ #19825]
11280 * resolv/res_send.c (send_vc): Remove early *resplen2
11281 initialization. Set *resplen2 on socket error. Call
11282 close_and_return_error for other errors.
11283
11284 2016-04-27 Stefan Liebler <stli@linux.vnet.ibm.com>
11285
11286 * sysdeps/unix/sysv/linux/netiucv/iucv.h
11287 (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
11288 (SCM_IUCV_TRGCLS): New define.
11289
11290 2016-04-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11291
11292 [BZ #20005]
11293 * libio/fmemopen.c (fmemopen_write): Update internal position after
11294 write.
11295 * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
11296 * stdio-common/tst-fmemopen4.c: New file..
11297
11298 2016-04-26 Joseph Myers <joseph@codesourcery.com>
11299
11300 [BZ #19996]
11301 * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
11302 not [__USE_XOPEN2K].
11303 * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
11304 variable.
11305
11306 * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
11307 * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
11308 variable.
11309
11310 * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
11311 [__USE_XOPEN2K8].
11312 [__USE_LARGEFILE64] (off64_t): Likewise.
11313 * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
11314 variable.
11315
11316 2016-04-25 Joseph Myers <joseph@codesourcery.com>
11317
11318 [BZ #19989]
11319 * libio/stdio.h (cuserid): Do not declare if
11320 [__USE_XOPEN2K && !__USE_GNU].
11321 * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
11322 variable.
11323
11324 2016-04-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
11325
11326 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
11327 (sysdep_routines): Add P8 and PPC64 strcspn targets.
11328 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11329 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
11330 ifunc'ed strcspn.
11331 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
11332 [EALIGN]: Removed.
11333 [END]: Likewise
11334 [STRSPN]: Define instead of the above to control symbol name.
11335 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
11336 New file.
11337 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
11338 Likewise.
11339 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
11340 Likewise.
11341 * sysdeps/powerpc/powerpc64/power8/strcspn.S:
11342 Likewise.
11343 * sysdeps/powerpc/powerpc64/power8/strspn.S:
11344 [INITIAL_MASK]: New macro.
11345 [STRCSPN]: Likewise.
11346 [UPDATE_MASK]: Likewise.
11347 [USE_AS_STRCSPN]: Likewise.
11348
11349 2016-04-25 Florian Weimer <fweimer@redhat.com>
11350
11351 [BZ #19931]
11352 * stdio-common/tst-vfprintf-width-prec.c: New file.
11353 * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
11354 (tests-special): Add tst-vfprintf-width-prec-mem.out.
11355 (generated): Add mtrace-related files.
11356 (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
11357 (tst-%-mem.out): New pattern rule, replaces
11358 tst-printf-bz18872-mem.out.
11359 * stdio-common/vfprintf.c (vfprintf): When handling a precision
11360 specifier, deallocate any previously allocated work buffer.
11361
11362 2016-04-25 Chung-Lin Tang <cltang@codesourcery.com>
11363
11364 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
11365 Add nop before __startcontext, add explaining comments.
11366
11367 2016-04-25 Samuel thibault <samuel.thibault@ens-lyon.org>
11368
11369 RFC2292 macros were obsoleted by RFC3542, and should not be exposed
11370 any more. Notably since IPV6_PKTINFO has been reintroduced with a
11371 completely different API.
11372
11373 * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
11374 (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
11375 (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
11376 (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
11377 (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
11378 (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
11379 (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
11380 IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
11381 IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
11382 IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
11383
11384 2016-04-23 H.J. Lu <hongjiu.lu@intel.com>
11385
11386 * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
11387
11388 2016-04-23 Mike Frysinger <vapier@gentoo.org>
11389
11390 * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
11391 when it is the default of 0.
11392
11393 2016-04-22 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11394
11395 * sysdeps/powerpc/locale-defines.sym: Add new macros.
11396 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
11397 (sysdep_routines): Add new strcasestr targets.
11398 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11399 (__libc_ifunc_impl_list): Likewise.
11400 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
11401 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
11402 * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
11403 * sysdeps/powerpc/powerpc64/power8/Makefile:
11404 New file to add strcasestr-ppc64 to sysdep_routines.
11405 * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
11406 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
11407
11408 2016-04-20 Siddhesh Poyarekar <sid@reserved-bit.com>
11409
11410 * benchtests/Makefile (wcsmbs-benchset): Include only for
11411 native builds and runs.
11412 (LOCALES): Likewise.
11413 (bench-build): Build timing-type here instead of the bench
11414 target. Generate locale only for native builds.
11415 * benchtests/README: Add note for cross-building.
11416
11417 * benchtests/Makefile (bench-clean): Clean up extra-objs.
11418
11419 * benchtests/README: Update README to include instructions on
11420 using bench-build.
11421
11422 * Makefile.in (bench-build): New target.
11423 * Rules (PHONY): Add bench-build target.
11424 * benchtests/Makefile (bench): Depend on bench-build.
11425 (bench-build): New target.
11426
11427 2016-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
11428
11429 * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
11430 profil_reply_port.
11431 (profile_waiter): Do not initialize profil_reply_port.
11432 * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
11433 frequency instead of tick length in us.
11434
11435 2016-04-18 Wilco Dijkstra <wdijkstr@arm.com>
11436
11437 [BZ #18712]
11438 * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
11439 (__old_mempcpy_small): Likewise.
11440 (__old_strcpy_small): Likewise.
11441 (__old_stpcpy_small): Likewise.
11442 (__old_strpbrk_c2): Fix compat symbol name.
11443 (__old_strpbrk_c3): Likewise.
11444 * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
11445 (__mempcpy_small): Remove.
11446 (__strcpy_small): Remove.
11447 (__stpcpy_small): Remove.
11448
11449 2016-04-16 Robin van der Vliet <info@robinvandervliet.com>
11450
11451 [BZ #19400]
11452 * locale/iso-639.def: Add the Talossan/tzl language.
11453
11454 2016-04-16 Mike Frysinger <vapier@gentoo.org>
11455
11456 [BZ #16983]
11457 * locale/programs/ld-address.c (address_finish): Update postal_fmt
11458 comment. Add "ln" to strchr check on postal_fmt.
11459
11460 2016-04-16 Mike Frysinger <vapier@gentoo.org>
11461
11462 * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
11463 default tel_int_fmt. Add "Cet" to strchr check on tel_int_fmt and
11464 tel_dom_fmt.
11465
11466 2016-04-15 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
11467
11468 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
11469 (sysdep_routines): Added __strlen_power8.
11470 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
11471 __strlen_power8 entry.
11472 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
11473 Implementation for POWER8.
11474 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
11475 for __strlen_power8.
11476 * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
11477 Implementation for POWER8.
11478
11479 2016-04-15 Mike Frysinger <vapier@gentoo.org>
11480
11481 * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
11482
11483 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
11484
11485 * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
11486 Goldmont and Airmont processors.
11487
11488 2016-04-15 Wilco Dijkstra <wdijkstr@arm.com>
11489
11490 * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
11491 * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
11492 (__STRING2_SMALL_GET32): Remove.
11493 (memset): Remove.
11494 (__memset_1): Remove.
11495 (__memset_gc): Remove.
11496 (__mempcpy): Remove.
11497 (mempcpy): Remove.
11498 (__mempcpy_args): Remove.
11499 (strchr): Remove.
11500 (strcpy): Remove.
11501 (strcpy_args): Remove.
11502 (__stpcpy_args): Remove.
11503 (__strcmp_cc): Remove.
11504 (__strcmp_gc): Remove.
11505 (strstr): Remove.
11506
11507 2016-04-15 Yvan Roux <yvan.roux@linaro.org>
11508
11509 * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
11510 * nis/nis_call.c (nis_server_cache_add): Likewise.
11511
11512 2016-04-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11513
11514 * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
11515
11516 2016-04-14 Florian Weimer <fweimer@redhat.com>
11517
11518 * malloc/arena.c (__malloc_fork_lock_parent)
11519 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
11520 internal_function attribute.
11521
11522 2016-04-14 Stefan Liebler <stli@linux.vnet.ibm.com>
11523
11524 * stdio-common/printf_fp.c (__printf_fp_l):
11525 Rename ___printf_fp_l to __printf_fp_l and
11526 remove strong alias. Use libc_hidden_def instead
11527 of ldbl_hidden_def macro.
11528
11529 2016-04-14 Florian Weimer <fweimer@redhat.com>
11530
11531 Remove malloc hooks from fork handler. They are no longer needed
11532 because malloc runs right before fork, and no malloc calls from
11533 other fork handlers are not possible anymore.
11534 * malloc/malloc.c (malloc_atfork, free_atfork): Remove
11535 declarations.
11536 * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
11537 (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
11538 (atfork_recursive_cntr): Remove.
11539 (__malloc_fork_lock_parent): Do not override malloc hooks and
11540 thread_arena.
11541 (__malloc_fork_unlock_parent): Do not restore malloc hooks and
11542 thread_arena.
11543 (__malloc_fork_unlock_child): Do not restore malloc hooks. Use
11544 thread_arena instead of save_arena.
11545
11546 2016-04-14 Florian Weimer <fweimer@redhat.com>
11547
11548 * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
11549 (thread_atfork, thread_atfork_static): Remove.
11550 * sysdeps/mach/hurd/malloc-machine.h:
11551 (thread_atfork, thread_atfork_static): Remove.
11552
11553 2016-04-14 Florian Weimer <fweimer@redhat.com>
11554
11555 [BZ #19431]
11556 Run the malloc fork handler as late as possible to avoid deadlocks.
11557 * malloc/malloc-internal.h: New file.
11558 * malloc/malloc.c: Include it.
11559 * malloc/arena.c (ATFORK_MEM): Remove.
11560 (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
11561 Update comment.
11562 (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
11563 (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
11564 Remove outdated comment.
11565 (ptmalloc_init): Do not call thread_atfork. Remove
11566 thread_atfork_static.
11567 * malloc/tst-malloc-fork-deadlock.c: New file.
11568 * Makefile (tests): Add tst-malloc-fork-deadlock.
11569 (tst-malloc-fork-deadlock): Link against libpthread.
11570 * manual/memory.texi (Aligned Memory Blocks): Update safety
11571 annotation comments.
11572 * sysdeps/nptl/fork.c (__libc_fork): Call
11573 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
11574 __malloc_fork_unlock_child.
11575 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
11576
11577 2016-04-14 Florian Weimer <fweimer@redhat.com>
11578
11579 [BZ #19613]
11580 Remove union wait.
11581 * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
11582 (w_stopsig, w_stopval): Remove.
11583 * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
11584 stat_loc argument.
11585 * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
11586 (__WAIT_STATUS_DEFN): Remove.
11587 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
11588 (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
11589 (wait, wait3, wait4): Use int * for the stat_loc argument.
11590 * posix/wait.c (__wait): Likewise.
11591 * posix/wait3.c (__wait3): Likewise.
11592 * posix/wait4.c (__wait4): Likewise.
11593 * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
11594 (__WAIT_STATUS_DEFN): Remove.
11595 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
11596 (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
11597 * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
11598 argument.
11599 * sysdeps/posix/wait.c (__libc_wait): Likewise.
11600 * sysdeps/posix/wait3.c (__wait3): Likewise.
11601 * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
11602 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
11603 * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
11604 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
11605 stat_loc argument.
11606 * manual/process.texi (BSD Wait Functions): Remove union wait.
11607
11608 2016-04-13 Andreas Schwab <schwab@suse.de>
11609
11610 * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
11611 (test-extras): Add tst-tlsalign-vars.
11612 * math/Makefile: Wrap long lines.
11613 (libm-vec-test-wrappers): Define.
11614 (test-extras): Add $(libm-vec-test-wrappers).
11615 (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
11616 * nss/Makefile (extra-test-objs): Add nss_test1.os.
11617 * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
11618 * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
11619 tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
11620 (extra-test-objs): Add corresponding objects.
11621
11622 2016-04-12 H.J. Lu <hongjiu.lu@intel.com>
11623
11624 [BZ #19928]
11625 * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
11626 New.
11627 (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
11628 times of shared cache size.
11629 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
11630 (VMOVNT): New.
11631 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
11632 (VMOVNT): Likewise.
11633 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
11634 (VMOVNT): Likewise.
11635 (VMOVU): Changed to movups for smaller code sizes.
11636 (VMOVA): Changed to movaps for smaller code sizes.
11637 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
11638 comments.
11639 (PREFETCH): New.
11640 (PREFETCH_SIZE): Likewise.
11641 (PREFETCHED_LOAD_SIZE): Likewise.
11642 (PREFETCH_ONE_SET): Likewise.
11643 Rewrite to use forward and backward loops, which move 4 vector
11644 registers at a time, to support overlapping addresses and use
11645 non temporal store if size is above the threshold and there is
11646 no overlap between destination and source.
11647
11648 2016-04-12 Alex Smith <alex.smith@imgtec.com>
11649
11650 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
11651 Include dl-vdso.
11652 * sysdeps/unix/sysv/linux/mips/Versions: Add
11653 __vdso_clock_gettime.
11654 * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
11655 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
11656 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
11657 (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
11658 definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
11659 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
11660 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
11661 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
11662 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
11663
11664 2016-04-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11665
11666 * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
11667 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
11668 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
11669 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
11670 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
11671 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
11672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
11673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
11674 * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
11675 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
11676 syscalls generation.
11677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11678 [__NR_pwrite64] (__NR_write): Remove define.
11679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11680 [__NR_pwrite64] (__NR_write): Remove define.
11681 * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
11682 Remove define.
11683 (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
11684 * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
11685 Remove define.
11686 (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
11687 * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
11688 Linux implementation as base.
11689 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
11690
11691 * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
11692 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
11693 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
11694 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
11695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
11696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
11697 * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
11698 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
11699 syscall generation.
11700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11701 [__NR_pread64] (__NR_pread): Remove define.
11702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11703 [__NR_pread64] (__NR_pread): Likewise.
11704 * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
11705 define.
11706 (__libc_pread): Use SYSCALL_LL macro on offset argument.
11707 * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
11708 Remove define.
11709 (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
11710 * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
11711 Linux implementation as base.
11712 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
11713 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
11714 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
11715
11716 * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
11717 definition.
11718 (__ALIGNMENT_COUNT): Likewise.
11719 * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
11720 (__ALIGNMENT_COUNT): Likewise.
11721 (SYSCALL_LL): New define.
11722 (SYSCALL_LL64): Likewise.
11723 * sysdeps/unix/sysv/linux/mips/kernel-features.h:
11724 [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
11725 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
11726 [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
11727
11728 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11729 (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
11730 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11731 [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
11732 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11733 [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
11734
11735 2016-04-11 Florian Weimer <fweimer@redhat.com>
11736
11737 [BZ #19865]
11738 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
11739 original buffer before retry.
11740
11741 2016-04-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11742
11743 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
11744 [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
11745 * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
11746 GLRO(dl_auxv) list.
11747 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
11748 including <ldsodefs.h>.
11749 * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
11750
11751 2016-04-09 Nick Alcock <nick.alcock@oracle.com>
11752
11753 * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
11754 * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
11755 $(CPPFLAGS).
11756
11757 2016-04-09 Khem Raj <raj.khem@gmail.com>
11758
11759 [BZ #17950]
11760 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
11761 Add -mfpmath=387.
11762
11763 2016-04-09 Mike Frysinger <vapier@gentoo.org>
11764
11765 * sysdeps/i386/configure.ac: Change == to = when calling test.
11766 * sysdeps/x86_64/configure.ac: Likewise.
11767 * sysdeps/i386/configure: Regenerated.
11768 * sysdeps/x86_64/configure: Likewise.
11769
11770 2016-04-08 Mike Frysinger <vapier@gentoo.org>
11771
11772 [BZ #16137]
11773 * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
11774 * benchtests/bench-strcoll.c (input_files): Likewise.
11775 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
11776 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
11777 * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
11778
11779 2016-04-08 Joseph Myers <joseph@codesourcery.com>
11780
11781 [BZ #19929]
11782 * include/bits/xopen_lim.h (NL_NMAX): Do not define if
11783 [__USE_XOPEN2K8 && !__USE_GNU].
11784 * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
11785 variable.
11786
11787 [BZ #19925]
11788 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
11789 define if [!__USE_MISC && __USE_XOPEN2K].
11790 * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
11791 * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
11792 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
11793 Likewise.
11794 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
11795 * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
11796 variable.
11797 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
11798
11799 2016-04-07 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
11800
11801 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
11802 (sysdep_routines): Add new strspn targets.
11803 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11804 (__libc_ifunc_impl_list): Add strspn.
11805 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
11806 New file.
11807 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
11808 Likewise.
11809 * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
11810 Likewise.
11811 * sysdeps/powerpc/powerpc64/power8/strspn.S:
11812 Likewise.
11813
11814 2016-04-07 Florian Weimer <fweimer@redhat.com>
11815
11816 * misc/hsearch_r.c: Include <limits.h>.
11817
11818 2016-04-07 Florian Weimer <fweimer@redhat.com>
11819
11820 * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
11821
11822 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
11823
11824 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
11825 (MEMCPY_SYMBOL): New.
11826 (MEMPCPY_SYMBOL): Likewise.
11827 (MEMMOVE_CHK_SYMBOL): Likewise.
11828 Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
11829 symbols. Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
11830 __mempcpy symbols. Provide alias for __memcpy_chk in libc.a.
11831 Provide alias for memcpy in libc.a and ld.so.
11832
11833 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
11834
11835 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
11836 (MEMSET_CHK_SYMBOL): New. Define if not defined.
11837 (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
11838 Disabled fro now.
11839 Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
11840 symbols. Properly check USE_MULTIARCH on __memset symbols.
11841
11842 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
11843
11844 * benchtests/Makefile (string-benchset): Add memcpy-large,
11845 memmove-large and memset-large.
11846 * benchtests/bench-memcpy-large.c: New file.
11847 * benchtests/bench-memmove-large.c: Likewise.
11848 * benchtests/bench-memmove-large.c: Likewise.
11849 * benchtests/bench-string.h (TIMEOUT): Don't redefine.
11850
11851 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
11852
11853 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
11854 32-bit displacement to avoid long nop between instructions.
11855
11856 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
11857
11858 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
11859 a comment on VMOVU and VMOVA.
11860
11861 2016-04-04 Florian Weimer <fweimer@redhat.com>
11862
11863 [BZ #19633]
11864 Use specified locale for number formatting in strfmon_l.
11865 * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
11866 (__nl_lookup_word): New inline functions.
11867 * include/printf.h (__print_fp_l): Declare.
11868 * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
11869 ___printf_fp. Add locale argument. Replace _NL_CURRENT with
11870 _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
11871 (___printf_fp): New function.
11872 * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
11873 (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
11874 * stdlib/tst-strfmon_l.c (do_test): New test.
11875 * stdlib/Makefile (tests): Add kt.
11876 (LOCALES): Build additional locales.
11877 (tst-strfmon_l.out): Require locales.
11878
11879 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
11880
11881 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
11882 if not in libc.
11883 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
11884 Likewise.
11885 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
11886 Likewise.
11887 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
11888 Likewise.
11889
11890 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
11891
11892 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
11893 (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
11894 with unaligned_erms.
11895 (__memmove_erms): Skip if source == destination.
11896 (__memmove_unaligned_erms): Don't check source == destination
11897 first.
11898
11899 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
11900
11901 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
11902 bit_arch_Fast_Copy_Backward for Intel Core proessors.
11903
11904 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11905
11906 * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
11907 * string/strspn.c (strspn): Likewise.
11908
11909 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
11910
11911 * benchtests/bench-memset.c (do_test): Support 64-byte
11912 alignment.
11913 (test_main): Test 64-byte alignment.
11914
11915 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
11916
11917 * benchtests/bench-memmove.c (test_main): Test 64-byte
11918 alignment.
11919
11920 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
11921
11922 * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
11923
11924 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11925
11926 * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
11927 * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
11928 * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
11929
11930 * string/strpbrk.c (strpbrk): Rewrite function.
11931 * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
11932 (__strpbrk_c2): Likewise.
11933 (__strpbrk_c3): Likewise.
11934 * string/string-inlines.c
11935 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
11936 Likewise.
11937 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
11938 Likewise.
11939
11940 * string/strspn.c (strcspn): Rewrite function.
11941 * string/bits/string2.h (strspn): Use __builtin_strcspn.
11942 (__strspn_c1): Remove inline function.
11943 (__strspn_c2): Likewise.
11944 (__strspn_c3): Likewise.
11945 * string/string-inlines.c
11946 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
11947 compatibility symbol.
11948 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
11949 Likewise.
11950 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
11951 Likewise.
11952 * string/string-inlines.c: Include generic version.
11953
11954 2016-04-01 Wilco Dijkstra <wdijkstr@arm.com>
11955 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11956
11957 * string/Version (libc): Add GLIBC_2.24.
11958 * string/strcspn.c (strcspn): Rewrite function.
11959 * string/bits/string2.h (strcspn): Use __builtin_strcspn.
11960 (__strcspn_c1): Remove inline function.
11961 (__strcspn_c2): Likewise.
11962 (__strcspn_c3): Likewise.
11963 * string/string-inline.c
11964 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
11965 compatibility symbol.
11966 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
11967 Likewise.
11968 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
11969 Likewise.
11970 * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
11971
11972 2016-04-01 Stefan Liebler <stli@linux.vnet.ibm.com>
11973
11974 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
11975 Use ahi instead of aghi to adjust stack pointer.
11976
11977 2016-03-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
11978
11979 [BZ #19853]
11980 * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
11981 TEST to take significant digits as second parameter.
11982 [TEST]: Redefine in terms of TEST_N taking 30
11983 significant digits.
11984 (do_test): Add test case to demonstrate precision
11985 failure in the ldbl-128ibm printf.
11986 * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
11987 (__mpn_extract_long_double): Carry 7 extra intermediate
11988 bits of precision to aide computing difference when
11989 signs differ.
11990
11991 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
11992
11993 [BZ #19881]
11994 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11995 memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
11996 memset-avx512-unaligned-erms.
11997 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11998 (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
11999 __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
12000 __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
12001 __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
12002 __memset_sse2_unaligned_erms, __memset_erms,
12003 __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
12004 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
12005 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
12006 file.
12007 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
12008 Likewise.
12009 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
12010 Likewise.
12011 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
12012 Likewise.
12013
12014 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
12015
12016 [BZ #19776]
12017 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12018 memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
12019 memmove-avx512-unaligned-erms.
12020 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12021 (__libc_ifunc_impl_list): Test
12022 __memmove_chk_avx512_unaligned_2,
12023 __memmove_chk_avx512_unaligned_erms,
12024 __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
12025 __memmove_chk_sse2_unaligned_2,
12026 __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
12027 __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
12028 __memmove_avx512_unaligned_erms, __memmove_erms,
12029 __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
12030 __memcpy_chk_avx512_unaligned_2,
12031 __memcpy_chk_avx512_unaligned_erms,
12032 __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
12033 __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
12034 __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
12035 __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
12036 __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
12037 __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
12038 __mempcpy_chk_avx512_unaligned_erms,
12039 __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
12040 __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
12041 __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
12042 __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
12043 __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
12044 __mempcpy_erms.
12045 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
12046 file.
12047 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
12048 Likewise.
12049 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
12050 Likewise.
12051 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
12052 Likewise.
12053
12054 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
12055
12056 * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
12057 (La_s390_32_regs): Append vector register lr_v24-lr_v31.
12058 (La_s390_64_regs): Likewise.
12059 (La_s390_32_retval): Append vector register lrv_v24.
12060 (La_s390_64_retval): Likeweise.
12061 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
12062 Handle extended structs La_s390_32_regs and La_s390_32_retval.
12063 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
12064 Handle extended structs La_s390_64_regs and La_s390_64_retval.
12065
12066 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
12067
12068 [BZ #19916]
12069 * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
12070 to create a non-vector/vector version for _dl_runtime_resolve and
12071 _dl_runtime_profile. Move implementation to ...
12072 * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
12073 (_dl_runtime_resolve) Save and restore fpr/vrs.
12074 (_dl_runtime_profile) Save and restore vrs and fix some issues
12075 if _dl_call_pltexit is called.
12076 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
12077 Choose the correct resolver function if running on a machine with vx.
12078 * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
12079 to create a non-vector/vector version for _dl_runtime_resolve and
12080 _dl_runtime_profile. Move implementation to ...
12081 * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
12082 (_dl_runtime_resolve) Save and restore fpr/vrs.
12083 (_dl_runtime_profile) Save and restore vrs and fix some issues
12084 * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
12085 Choose the correct resolver function if running on a machine with vx.
12086
12087 2016-03-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12088
12089 * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
12090
12091 2016-03-31 Florian Weimer <fweimer@redhat.com>
12092
12093 [BZ #19509]
12094 * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
12095 skip_map != NULL.
12096 * elf/tst-dlsym-error.c: New file.
12097 * elf/Makefile (tests): Add tst-dlsym-error.
12098 (tst-dlsym-error): Link against libdl.
12099
12100 2016-03-29 Joseph Myers <joseph@codesourcery.com>
12101
12102 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12103 (__ASSUME_FUTIMESAT): Remove macro.
12104 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
12105
12106 2016-03-29 Florian Weimer <fweimer@redhat.com>
12107
12108 [BZ #19879]
12109 CVE-2016-3075
12110 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
12111 copy name.
12112
12113 2016-03-29 Florian Weimer <fweimer@redhat.com>
12114
12115 [BZ #19837]
12116 * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
12117 error if parse_line fails.
12118
12119 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
12120
12121 * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
12122 (index_cpu_ERMS): Likewise.
12123 (reg_ERMS): Likewise.
12124
12125 2016-03-28 Aurelien Jarno <aurelien@aurel32.net>
12126
12127 * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
12128 PER_LINUX_FDPIC): Add.
12129
12130 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
12131
12132 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12133 memcpy-avx512-no-vzeroupper.
12134 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
12135 to ...
12136 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
12137 (MEMCPY): Don't define.
12138 (MEMCPY_CHK): Likewise.
12139 (MEMPCPY): Likewise.
12140 (MEMPCPY_CHK): Likewise.
12141 (MEMPCPY_CHK): Renamed to ...
12142 (__mempcpy_chk_avx512_no_vzeroupper): This.
12143 (MEMPCPY_CHK): Renamed to ...
12144 (__mempcpy_chk_avx512_no_vzeroupper): This.
12145 (MEMCPY_CHK): Renamed to ...
12146 (__memmove_chk_avx512_no_vzeroupper): This.
12147 (MEMCPY): Renamed to ...
12148 (__memmove_avx512_no_vzeroupper): This.
12149 (__memcpy_avx512_no_vzeroupper): New alias.
12150 (__memcpy_chk_avx512_no_vzeroupper): Likewise.
12151
12152 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
12153
12154 [BZ #18858]
12155 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12156 mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
12157 and mempcpy-avx512-no-vzeroupper.
12158 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
12159 New.
12160 (MEMPCPY): Likewise.
12161 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
12162 (MEMPCPY_CHK): New.
12163 (MEMPCPY): Likewise.
12164 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
12165 (MEMPCPY): Likewise.
12166 * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
12167 (MEMPCPY): Likewise.
12168 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
12169 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
12170 Likewise.
12171 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
12172 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
12173
12174 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
12175 Amit Pawar <Amit.Pawar@amd.com>
12176
12177 [BZ #19583]
12178 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
12179 Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
12180 processors. Set Fast_Copy_Backward for AMD Excavator
12181 processors.
12182 * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
12183 New.
12184 (index_arch_Fast_Unaligned_Copy): Likewise.
12185 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
12186 Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
12187
12188 2016-03-25 Florian Weimer <fweimer@redhat.com>
12189
12190 [BZ #19791]
12191 * resolv/res_send.c (close_and_return_error): New function.
12192 (send_dg): Initialize *resplen2 after reopen failure. Call
12193 close_and_return_error for error returns. On error paths without
12194 __res_iclose, initialze *resplen2 explicitly. Update comment for
12195 successful return.
12196
12197 2016-03-25 Florian Weimer <fweimer@redhat.com>
12198
12199 [BZ# 19860]
12200 * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
12201 zero if the compiler does not provide the AVX512F bit.
12202
12203 2016-03-24 Joseph Myers <joseph@codesourcery.com>
12204
12205 [BZ #19848]
12206 * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
12207 from 8 to 4.
12208 (__ieee754_powl): Compare integer exponent against 4 not 8.
12209 * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
12210 from 8 to 4.
12211 (__ieee754_powl): Compare integer exponent against 4 not 8.
12212 * math/auto-libm-test-in: Add more tests of pow.
12213 * math/auto-libm-test-out: Regenerated.
12214 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
12215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12216
12217 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
12218
12219 * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
12220 Make code unconditional.
12221 [!__NR_utimensat]: Remove conditional code.
12222 * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
12223 Make code unconditional.
12224 [!__NR_utimensat]: Remove conditional code.
12225 * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
12226 Make code unconditional.
12227 [!__NR_utimensat]: Remove conditional code.
12228
12229 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
12230
12231 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
12232 Make code unconditional.
12233
12234 2016-03-23 Nick Alcock <nick.alcock@oracle.com>
12235
12236 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
12237 call-clobbered %eax on retry path.
12238 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
12239
12240 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
12241
12242 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
12243 Don't set %rcx twice before "rep movsb".
12244
12245 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
12246
12247 [BZ #19583]
12248 * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
12249 inline. Check family before setting family, model and
12250 extended_model. Set AVX, AVX2, AVX512, FMA and FMA4 usable
12251 bits here.
12252 (init_cpu_features): Replace HAS_CPU_FEATURE and
12253 HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
12254 CPU_FEATURES_ARCH_P. Set index_arch_AVX_Fast_Unaligned_Load
12255 for Intel processors with usable AVX2. Call get_common_indeces
12256 for other processors with family == NULL.
12257 * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
12258 (CPU_FEATURES_ARCH_P): Likewise.
12259 (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
12260 (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
12261
12262 2016-03-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
12263
12264 * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
12265 $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
12266 $(shared-thread-library) instead of hardcoding the path to libpthread.
12267
12268 2016-03-22 Joseph Myers <joseph@codesourcery.com>
12269
12270 * sysdeps/unix/sysv/linux/kernel-features.h
12271 (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
12272 * sysdeps/unix/sysv/linux/getdents.c
12273 [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
12274 [!have_no_getdents64_defined]: Likewise.
12275 (__GETDENTS): Remove __have_no_getdents64 conditional.
12276
12277 2016-03-21 Joseph Myers <joseph@codesourcery.com>
12278
12279 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
12280 Remove macro.
12281 * sysdeps/unix/sysv/linux/signalfd.c: Do not include
12282 <kernel-features.h>.
12283 (signalfd) [__NR_signalfd4]: Make code unconditional.
12284 (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
12285
12286 2016-03-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12287
12288 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
12289 style.
12290
12291 2016-03-21 H.J. Lu <hongjiu.lu@intel.com>
12292
12293 * sysdeps/unix/sysv/linux/x86_64/cancellation.S
12294 (__pthread_enable_asynccancel): Use JUMPTARGET to call
12295 __pthread_unwind.
12296 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
12297 (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
12298 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
12299 (__condvar_cleanup1): Likewise.
12300
12301 2016-03-21 Dylan Alex Simon <dylan-sourceware@dylex.net>
12302
12303 [BZ #19822]
12304 * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
12305 move it to the final $@ location.
12306
12307 2016-03-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12308
12309 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
12310 access where posix_spawn success and pid argument is null.
12311 * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
12312 success case.
12313
12314 2016-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>:
12315
12316 * sysdeps/mach/hurd/i386/c++-types.data: New file.
12317
12318 * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
12319
12320 * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
12321 and __fcntl.
12322 * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
12323 __fcntl only.
12324 * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
12325 adding attribute_hidden to __open and __fcntl.
12326
12327 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
12328 "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
12329 depend on libc-modules.h,
12330 * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
12331
12332 2016-03-17 Joseph Myers <joseph@codesourcery.com>
12333
12334 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
12335 Remove macro.
12336 * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
12337 * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
12338 entry.
12339
12340 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
12341 Remove macro.
12342 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
12343 include <kernel-features.h>.
12344 [!__ASSUME_FALLOCATE]: Remove conditional code.
12345 (posix_fallocate) [__NR_fallocate]: Make code unconditional.
12346
12347 2016-03-16 H.J. Lu <hongjiu.lu@intel.com>
12348
12349 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
12350 (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
12351 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
12352 (_ZGVdN4v_cos_avx2): Likewise.
12353 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
12354 (_ZGVdN4v_cos): Likewise.
12355 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
12356 (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
12357 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
12358 (_ZGVdN4v_exp_avx2): Likewise.
12359 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
12360 (_ZGVdN4v_exp): Likewise.
12361 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
12362 (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
12363 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
12364 (_ZGVdN4v_log_avx2): Likewise.
12365 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
12366 (_ZGVdN4v_log): Likewise.
12367 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
12368 (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
12369 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
12370 (_ZGVdN4vv_pow_avx2): Likewise.
12371 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
12372 (_ZGVdN4vv_pow): Likewise.
12373 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
12374 (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
12375 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
12376 (_ZGVdN4v_sin_avx2): Likewise.
12377 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
12378 (_ZGVdN4v_sin): Likewise.
12379 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
12380 (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
12381 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
12382 (_ZGVdN4vvv_sincos_avx2): Likewise.
12383 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
12384 (_ZGVdN4vvv_sincos): Likewise.
12385 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
12386 (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
12387 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
12388 (_ZGVbN4v_cosf_sse4): Likewise.
12389 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
12390 (_ZGVdN8v_cosf_avx2): Likewise.
12391 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
12392 (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
12393 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
12394 (_ZGVbN4v_expf_sse4): Likewise.
12395 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
12396 (_ZGVdN8v_expf_avx2): Likewise.
12397 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
12398 (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
12399 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
12400 (_ZGVbN4v_logf_sse4): Likewise.
12401 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
12402 (_ZGVdN8v_logf_avx2): Likewise.
12403 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
12404 (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
12405 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
12406 (_ZGVbN4vv_powf_sse4): Likewise.
12407 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
12408 (_ZGVdN8vv_powf_avx2): Likewise.
12409 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
12410 (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
12411 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
12412 (_ZGVbN4vvv_sincosf_sse4): Likewise.
12413 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
12414 (_ZGVdN8vvv_sincosf_avx2): Likewise.
12415 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
12416 (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
12417 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
12418 (_ZGVbN4v_sinf_sse4): Likewise.
12419 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
12420 (_ZGVdN8v_sinf_avx2): Likewise.
12421 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
12422 Use JUMPTARGET to call callee.
12423 (WRAPPER_IMPL_SSE2_ff): Likewise.
12424 (WRAPPER_IMPL_SSE2_fFF): Likewise.
12425 (WRAPPER_IMPL_AVX): Likewise.
12426 (WRAPPER_IMPL_AVX_ff): Likewise.
12427 (WRAPPER_IMPL_AVX_fFF): Likewise.
12428 (WRAPPER_IMPL_AVX512): Likewise.
12429 (WRAPPER_IMPL_AVX512_ff): Likewise.
12430 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
12431 Likewise.
12432 (WRAPPER_IMPL_SSE2_ff): Likewise.
12433 (WRAPPER_IMPL_SSE2_fFF): Likewise.
12434 (WRAPPER_IMPL_AVX): Likewise.
12435 (WRAPPER_IMPL_AVX_ff): Likewise.
12436 (WRAPPER_IMPL_AVX_fFF): Likewise.
12437 (WRAPPER_IMPL_AVX512): Likewise.
12438 (WRAPPER_IMPL_AVX512_ff): Likewise.
12439 (WRAPPER_IMPL_AVX512_fFF): Likewise.
12440
12441 2016-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12442
12443 * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
12444 * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
12445 qualifier.
12446 * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
12447 internal_function qualifiers.
12448
12449 2016-03-15 Carlos O'Donell <carlos@redhat.com>
12450
12451 * catgets/tst-catgets.c (do_bz17905): Mark result unused.
12452 * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
12453 * math/atest-exp.c (exp_mpn): Mark chk unused.
12454 * math/atest-exp2.c (exp_mpn): Likewise.
12455 * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
12456 * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
12457
12458 2016-03-15 Joseph Myers <joseph@codesourcery.com>
12459
12460 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
12461 Remove macro.
12462 * sysdeps/unix/sysv/linux/ppoll.c: Do not include
12463 <kernel-features.h>.
12464 [__NR_ppoll]: Make code unconditional.
12465 [!__ASSUME_PPOLL]: Remove conditional code.
12466
12467 * sysdeps/unix/sysv/linux/kernel-features.h
12468 (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
12469 (__ASSUME_ACCEPT4): Likewise.
12470 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12471 Define.
12472 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
12473 Likewise.
12474 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12475 Likewise.
12476 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
12477 Likewise.
12478 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
12479 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
12480 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12481 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
12482 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12483 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12484 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12485 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12486 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12487 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12488 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12489 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12490 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12491 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12492 * sysdeps/unix/sysv/linux/i386/kernel-features.h
12493 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12494 Likewise.
12495 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12496 Likewise.
12497 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
12498 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
12499 0x040300].
12500 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12501 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
12502 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12503 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
12504 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
12505 0x030300].
12506 [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
12507 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12508 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
12509 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
12510 0x040300].
12511 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12512 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12513 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12514 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12515 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12516 (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
12517 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
12518 0x030300].
12519 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12520 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12521 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12522 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12523 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12524 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12525 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12526 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12527 * sysdeps/unix/sysv/linux/s390/kernel-features.h
12528 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
12529 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
12530 0x040300].
12531 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12532 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12533 * sysdeps/unix/sysv/linux/sh/kernel-features.h
12534 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12535 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12536 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12537 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12538 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12539 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12540 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12541 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12542 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12543 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12544 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12545 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
12546 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12547 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12548 Likewise.
12549 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12550 Likewise.
12551
12552 2016-03-15 Andreas Schwab <schwab@suse.de>
12553
12554 [BZ #19257]
12555 * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
12556 statp->_u._ext.nscount as loop count.
12557
12558 2016-03-14 Andreas Schwab <schwab@linux-m68k.org>
12559
12560 * math/test-signgam-finite-c99.c: Also #undef
12561 __LIBC_INTERNAL_MATH_INLINES.
12562 * math/test-signgam-main.c: Likewise.
12563
12564 2016-03-14 Joseph Myers <joseph@codesourcery.com>
12565
12566 * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
12567 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
12568 (MADV_FREE): Likewise.
12569 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
12570 * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
12571 EPOLLEXCLUSIVE.
12572
12573 2016-03-14 Carlos O'Donell <carlos@redhat.com>
12574
12575 * timezone/README: Remove mention of checktab.awk. Mention wiki
12576 SharedSourceFiles.
12577
12578 2016-03-13 Samuel Thibault <samuel.thibault@ens-lyon.org
12579
12580 * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
12581 WUNTRACED.
12582
12583 2016-03-11 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12584
12585 * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
12586 order to match the type of p when calling atomic_exchange_acq().
12587
12588 2016-03-11 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12589
12590 * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
12591 cfi_offset calls.
12592 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
12593 * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
12594 * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
12595 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
12596 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
12597
12598 2016-03-10 Carlos O'Donell <carlos@redhat.com>
12599
12600 * timezone/checktab.awk: Removed.
12601
12602 2016-03-10 Joseph Myers <joseph@codesourcery.com>
12603
12604 * manual/math.texi (Errors in Math Functions): Document relaxed
12605 accuracy goals for IBM long double.
12606 * math/libm-test.inc (test_exceptions): Always allow spurious
12607 "underflow" and "inexact" exceptions for IBM long double.
12608
12609 2016-03-10 H.J. Lu <hongjiu.lu@intel.com>
12610
12611 [BZ #19762]
12612 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
12613 (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
12614 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
12615 * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
12616 (bit_arch_*): This for feature array.
12617 (bit_*): Renamed to ...
12618 (bit_cpu_*): This for cpu array.
12619 (index_*): Renamed to ...
12620 (index_arch_*): This for feature array.
12621 (index_*): Renamed to ...
12622 (index_cpu_*): This for cpu array.
12623 [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
12624 [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
12625 [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
12626 [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
12627 bit_##name with index_cpu_##name and bit_cpu_##name.
12628 [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
12629 bit_##name with index_arch_##name and bit_arch_##name.
12630
12631 2016-03-09 Aurelien Jarno <aurelien@aurel32.net>
12632
12633 [BZ #19792]
12634 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
12635 Terminate FDE before return label.
12636
12637 2016-03-09 Joseph Myers <joseph@codesourcery.com>
12638
12639 [BZ #19790]
12640 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
12641 (rintl): Define as macro.
12642 [USE_AS_NEARBYINTL] (__rintl): Likewise.
12643 (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
12644 of fesetround. Ensure results are evaluated before end of scope.
12645 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
12646 USE_AS_NEARBYINTL and include s_rintl.c.
12647 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
12648 Disable exception traps in new environment.
12649 (libc_feholdsetround_ppc_ctx): Likewise.
12650
12651 2016-03-08 Roland McGrath <roland@hack.frob.com>
12652
12653 * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
12654 * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
12655 (tst_audit10_aux) [__AVX512F__]: ... here.
12656
12657 2016-03-08 Aurelien Jarno <aurelien@aurel32.net>
12658
12659 * include/sys/auxv.h: New file.
12660
12661 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
12662
12663 [BZ #19759]
12664 * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
12665
12666 2016-03-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12667
12668 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
12669 operand modifier.
12670 (feclearexcept): Likewise.
12671
12672 2016-03-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
12673
12674 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
12675 to reflect the entire 32-bit HWCAP.
12676 * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
12677 (_DL_HWCAP_FIRST): Removed. Replaced by 0 accordingly.
12678
12679 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
12680
12681 [BZ #19783]
12682 * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
12683 $(test-via-rtld-prefix).
12684 ($(binaries-bench)): Replace $(+link) with $(+link-tests).
12685
12686 2016-03-08 Florian Weimer <fweimer@redhat.com>
12687
12688 * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
12689 union wait. Report any non-zero exit status as error.
12690
12691 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12692
12693 * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
12694 configured with --enable-hardcoded-path-in-tests.
12695
12696 2016-03-08 Joseph Myers <joseph@codesourcery.com>
12697
12698 [BZ #19677]
12699 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
12700 (__ieee754_remainderl): Put zero low parts in canonical form.
12701 * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
12702 file. Based on
12703 sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
12704 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
12705 with wrapper round test-fmodrem-ldbl-128ibm.c.
12706 * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
12707 file.
12708 * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
12709 Likewise.
12710 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
12711 test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
12712
12713 2016-03-07 Florian Weimer <fweimer@redhat.com>
12714
12715 [BZ #19610]
12716 * elf/ldconfig.c (opt_link): Update comment.
12717 (options): Update help string for option -X.
12718 (search_dir): Unlink stale symbolic link only if updating symbolic
12719 links.
12720 * elf/tst-ldconfig-X.sh: New file.
12721 * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
12722 (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
12723
12724 2016-03-07 Andreas Schwab <schwab@suse.de>
12725
12726 * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
12727 needed arguments.
12728
12729 2016-03-07 Hongjiu Zhang <noctuorare@gmail.com>
12730
12731 [BZ #15333]
12732 * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
12733 to lstat64.
12734
12735 2016-03-07 Florian Weimer <fweimer@redhat.com>
12736
12737 * libio/filedoalloc.c (isatty): Remove.
12738 (local_isatty): Add comment. Call __isatty directly.
12739 (_IO_file_doallocate): Update comment. Assume _LIBC.
12740 * libio/wfiledoalloc.c (isatty): Remove.
12741 (_IO_wfile_doallocate): Update comment.
12742
12743 2016-03-07 Florian Weimer <fweimer@redhat.com>
12744
12745 [BZ #19269]
12746 * sysdeps/x86_64/Makefile (tst-audit4): Depend on
12747 tst-audit4-aux.o.
12748 (tst-audit10): Depend on tst-audit10-aux.o.
12749 (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
12750 (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
12751 * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
12752 instead of inline AVX code.
12753 * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
12754 instead of inline AVX512 code.
12755 * sysdeps/x86_64/tst-audit4-aux.c: New file
12756 * sysdeps/x86_64/tst-audit10-aux.c: New file
12757
12758 [BZ #19648]
12759 * test-skeleton.c (main): Do not set RLIMIT_DATA.
12760
12761 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12762
12763 [BZ #14750]
12764 [BZ #10354]
12765 [BZ #18433]
12766 * include/sched.h (__clone): Add hidden prototype.
12767 (__clone2): Likewise.
12768 * include/unistd.h (__dup): Likewise.
12769 * posix/Makefile (tests): Add tst-spawn2.
12770 * posix/tst-spawn2.c: New file.
12771 * sysdeps/posix/dup.c (__dup): Add hidden definition.
12772 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
12773 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
12774 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
12775 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
12776 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
12777 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
12778 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
12779 * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
12780 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
12781 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
12782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
12783 Likewise.
12784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12785 Likewise.
12786 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
12787 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
12788 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
12789 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
12790 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
12791 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
12792 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
12793 * sysdeps/unix/sysv/linux/nptl-signals.h
12794 (____nptl_is_internal_signal): New function.
12795 * sysdeps/unix/sysv/linux/spawni.c: New file.
12796
12797 * posix/execvpe.c (__execvpe): Remove dynamic allocation.
12798 * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
12799 * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
12800 * posix/tst-execvp2.c (do_test): Likewise.
12801 * posix/tst-execvp3.c (do_test): Likewise.
12802 * posix/tst-execvp4.c (do_test): Likewise.
12803 * posix/tst-execvpe1.c: New file.
12804 * posix/tst-execvpe2.c: Likewise.
12805 * posix/tst-execvpe3.c: Likewise.
12806 * posix/tst-execvpe4.c: Likewise.
12807 * posix/tst-execvpe5.c: Likewise.
12808 * posix/tst-execvpe6.c: Likewise.
12809
12810 [BZ #19534]
12811 * posix/execl.c (execl): Remove dynamic memory allocation.
12812 * posix/execle.c (execle): Likewise.
12813 * posix/execlp.c (execlp): Likewise.
12814
12815 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
12816
12817 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
12818 Replace .text with .text.avx512.
12819 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
12820 Likewise.
12821
12822 2016-03-07 Aurelien Jarno <aurelien@aurel32.net>
12823
12824 * sysdeps/generic/libnsl.abilist: New file.
12825 * sysdeps/generic/libutil.abilist: New file.
12826
12827 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
12828
12829 [BZ #19762]
12830 * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
12831 HAS_ARCH_FEATURE with Fast_Rep_String.
12832 * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
12833 * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
12834 * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
12835 Likewise.
12836 * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
12837 Likewise.
12838 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
12839 * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
12840 Likewise.
12841 * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
12842 * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
12843 Likewise.
12844
12845 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
12846
12847 [BZ #19745]
12848 * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
12849 with *%rax in call.
12850
12851 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
12852
12853 [BZ #19745]
12854 * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
12855 with *__libc_start_main@GOTPCREL(%rip) in call.
12856
12857 2016-03-04 Roland McGrath <roland@hack.frob.com>
12858
12859 * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
12860 inside conditional for nonempty $(CXX).
12861
12862 * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
12863 nonempty.
12864
12865 * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
12866 to test for empty $(CXX) rather than $(CXX) of "no".
12867
12868 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
12869
12870 * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
12871
12872 2016-03-04 Amit Pawar <Amit.Pawar@amd.com>
12873 H.J. Lu <hongjiu.lu@intel.com>
12874
12875 [BZ #18880]
12876 * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
12877 instead of Slow_BSF, and also check for Fast_Copy_Backward to
12878 enable __memcpy_ssse3_back.
12879
12880 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
12881
12882 [BZ #19758]
12883 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
12884 (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
12885
12886 2016-03-03 Paul Pluzhnikov <ppluzhnikov@google.com>
12887
12888 [BZ #19490]
12889 * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
12890 (__fentry__): Likewise.
12891
12892 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
12893
12894 * gmon/Makefile (noprof): Add $(sysdep_noprof).
12895 * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
12896
12897 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
12898
12899 * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
12900 __mcount_internal directly.
12901 (C_LABEL(__fentry__)): Likewise.
12902 * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
12903 directly.
12904
12905 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
12906
12907 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
12908 (__start_context): Call __setcontext directly.
12909
12910 2016-02-26 Joseph Myers <joseph@codesourcery.com>
12911
12912 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12913 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
12914 [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
12915 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
12916 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12917 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
12918 [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
12919 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
12920 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12921 [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
12922 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
12923 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
12924 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12925 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
12926 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
12927 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12928 [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
12929 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12930 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
12931 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
12932 [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
12933 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12934 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
12935 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
12936 [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
12937 Remove conditional code.
12938 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12939 [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
12940 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
12941 * sysdeps/unix/sysv/linux/sh/kernel-features.h
12942 [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
12943 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
12944 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
12945 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12946 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
12947 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
12948 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12949 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
12950
12951 2016-02-24 Marko Myllynen <myllynen@redhat.com>
12952
12953 * NEWS (2.23): Fix typo in bug 19048 text.
12954
12955 2016-02-24 Carlos O'Donell <carlos@redhat.com>
12956
12957 [BZ #14259]
12958 * Makeconfig: Rename msgcatdir to localedir.
12959 Rename inst_msgcatdir to inst_localedir.
12960 * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
12961 * config.make.in: Add localedir.
12962 * elf/Makefile ($(objpfx)sotruss): Use localedir.
12963 (ldd-rewrite): Likewise.
12964 * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
12965 (install-others): Use inst_localedir.
12966 (CPPFLAGS): Use localedir.
12967 * locale/Makefile (locale-CPPFLAGS): Likewise.
12968 * po/Makefile (mo-installed): Use inst_localedir.
12969
12970 [BZ #19575]
12971 * localedata/charmaps/GB18030: Update comments regarding PAU to
12972 non-PUA mappings.
12973
12974 2016-02-24 Joseph Myers <joseph@codesourcery.com>
12975
12976 * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
12977 test for header.
12978 * sysdeps/unix/sysv/linux/configure: Regenerated.
12979 * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
12980 * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
12981 Remove conditional code.
12982 [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
12983
12984 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
12985 Define to 3.2.0.
12986 (arch_minimum_kernel): Likewise.
12987 * sysdeps/unix/sysv/linux/configure: Regenerated.
12988 * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
12989 Define to 2.6.32.
12990 * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
12991 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
12992 (arch_minimum_kernel): Define to 2.6.32.
12993 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
12994 * README: Document Linux 3.2 requirement.
12995 * manual/install.texi (Linux): Document Linux 3.2 headers
12996 requirement.
12997 * INSTALL: Regenerated.
12998
12999 2016-02-24 Andreas Schwab <schwab@suse.de>
13000
13001 * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
13002 if !NO_LONG_DOUBLE.
13003
13004 2016-02-22 Roland McGrath <roland@hack.frob.com>
13005
13006 * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
13007 fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
13008
13009 2016-02-22 Dmitry V. Levin <ldv@altlinux.org>
13010
13011 [BZ #19512]
13012 * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
13013
13014 2016-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
13015
13016 * posix/tst-dir.c: Include libc-internal.h.
13017
13018 2016-02-20 Florian Weimer <fweimer@redhat.com>
13019
13020 [BZ #19056]
13021 * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
13022 * manual/filesys.texi (Reading/Closing Directory): Mention
13023 deprecaion.
13024 * posix/tst-dir.c (main): Disable deprecation warning in test.
13025
13026 2016-02-19 H.J. Lu <hongjiu.lu@intel.com>
13027
13028 [BZ #19679]
13029 * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
13030 Renamed to ...
13031 (DL_RUNTIME_UNALIGNED_VEC_SIZE): This. Set to 8.
13032 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
13033 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This. Updated.
13034 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
13035 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
13036 * sysdeps/x86_64/dl-trampoline.h
13037 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
13038 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
13039
13040 2016-02-19 Mark Wielaard <mjw@redhat.com>
13041
13042 * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
13043
13044 2016-02-19 Mark Wielaard <mjw@redhat.com>
13045
13046 * elf/elf.h (R_386_GOT32X): New.
13047 (R_386_NUM): Update.
13048 (R_X86_64_GOTPCRELX: New.
13049 (R_X86_64_REX_GOTPCRELX): New.
13050 (R_X86_64_NUM): Update.
13051
13052 2016-02-19 Mike Frysinger <vapier@gentoo.org>
13053
13054 * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
13055
13056 2016-02-19 Carlos O'Donell <carlos@systemhalted.org>
13057
13058 * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
13059 assign attr->stackaddr to it, and adjust it down when
13060 _STACK_GROWS_UP. Change all attr->stackaddr to stackaddr.
13061 [_STACK_GROWS_UP]: Delete assert.
13062 * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
13063 Implement stack grows up logic.
13064 * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
13065 stack grows up logic.
13066
13067 2016-02-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13068
13069 * NEWS: Update with 2.24 template.
13070
13071 2016-02-19 Joseph Myers <joseph@codesourcery.com>
13072
13073 [BZ #19678]
13074 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
13075 Ensure +0.0 is returned when taking the next value below the least
13076 positive value.
13077
13078 2016-02-19 Florian Weimer <fweimer@redhat.com>
13079
13080 * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
13081 available. Do not define NO_THREADS.
13082 * malloc/malloc.c: Do not check NO_THREADS.
13083 * malloc/arena.c: Likewise.
13084
13085 2016-02-19 Florian Weimer <fweimer@redhat.com>
13086
13087 * malloc/malloc.c (__libc_mallinfo): Update comment.
13088 (struct malloc_par): Remove max_total_mem member, it was always 0.
13089 (int_mallinfo): Store 0 into usmblks (no functional change).
13090 * malloc/hooks.c (struct malloc_state): Document that
13091 max_total_mem is always 0.
13092 * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
13093 always 0.
13094 * manual/memory.texi (Statistics of Malloc): Likewise.
13095
13096 2016-02-19 Florian Weimer <fweimer@redhat.com>
13097
13098 * malloc/malloc.c (sysmalloc): Do not update arena_max.
13099 * malloc/arena.c (arena_max): Remove.
13100 (heap_trim, _int_new_arena): Do not update arena_max.
13101
13102 2016-02-19 Florian Weimer <fweimer@redhat.com>
13103
13104 * resolv/res_init.c (res_ninit): Update comment.
13105
13106 2016-02-19 Florian Weimer <fweimer@redhat.com>
13107
13108 [BZ #19505]
13109 * posix/spawn_int.h: Add headers and include guard.
13110 (__spawn_valid_fd): New function.
13111 * posix/spawn_faction_addopen.c
13112 (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
13113 * posix/spawn_faction_addclose.c
13114 (posix_spawn_file_actions_addclose): Likewise.
13115 * posix/spawn_faction_adddup2.c
13116 (posix_spawn_file_actions_adddup2): Likewise. Add check for
13117 second file descriptor.
13118 * posix/spawn_valid_fd.c: New file.
13119 * posix/tst-posix_spawn-fd.c: New file.
13120 * posix/Makefile (routines): Add spawn_valid_fd.
13121 (tests): Add tst-posix_spawn-fd.
13122
13123 2016-02-19 Florian Weimer <fweimer@redhat.com>
13124
13125 * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
13126 (do_test): Limit the number of arenas, so that we can use fewer
13127 outer threads. Limit timeout to 3 seconds, in preparation for a
13128 larger TIMEOUT value.
13129
13130 2016-02-19 Joseph Myers <joseph@codesourcery.com>
13131
13132 [BZ #19674]
13133 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
13134 sign in overflowing and underflowing results when overflow or
13135 underflow is detected early. Include sign in result before rather
13136 than after scaling.
13137
13138 [BZ #19603]
13139 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
13140 (__ieee754_remainderl): Adjust sign of integer version of low part
13141 when taking absolute value of high part.
13142 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13143 * math/libm-test.inc (remainder_test_data): Add another test.
13144 (remquo_test_data): Likewise.
13145
13146 2016-02-18 Joseph Myers <joseph@codesourcery.com>
13147
13148 [BZ #19602]
13149 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
13150 equal high parts and both low parts zero specially.
13151 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
13152 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
13153 Add test-fmodl-ldbl-128ibm.
13154
13155 [BZ #19595]
13156 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
13157 common logic for all cases of shifting subnormal results. Do not
13158 insert sign bit in shifted mantissa. Always pass -1023 as biased
13159 exponent to ldbl_insert_mantissa in subnormal case.
13160
13161 [BZ #19594]
13162 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
13163 on high and low parts then adjust result and use
13164 ldbl_canonicalize_int if needed.
13165
13166 [BZ #19593]
13167 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
13168 on high part and __floor or __ceil on low part then use
13169 ldbl_canonicalize_int if needed.
13170
13171 [BZ #19592]
13172 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
13173 high and low parts then use ldbl_canonicalize_int if needed.
13174
13175 [BZ #17899]
13176 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
13177 New function.
13178 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
13179 on high and low parts then use ldbl_canonicalize_int if needed.
13180
13181 2016-02-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13182
13183 * configure: Regenerated.
13184
13185 * po/libc.pot: Regenerated.
13186
13187 * po/be.po: Updated translation.
13188 * po/bg.po: Likewise.
13189 * po/ca.po: Likewise.
13190 * po/cs.po: Likewise.
13191 * po/da.po: Likewise.
13192 * po/el.po: Likewise.
13193 * po/eo.po: Likewise.
13194 * po/es.po: Likewise.
13195 * po/fi.po: Likewise.
13196 * po/fr.po: Likewise.
13197 * po/gl.po: Likewise.
13198 * po/hr.po: Likewise.
13199 * po/hu.po: Likewise.
13200 * po/ia.po: Likewise.
13201 * po/id.po: Likewise.
13202 * po/it.po: Likewise.
13203 * po/ja.po: Likewise.
13204 * po/lt.po: Likewise.
13205 * po/nb.po: Likewise.
13206 * po/nl.po: Likewise.
13207 * po/pt_BR.po: Likewise.
13208 * po/rw.po: Likewise.
13209 * po/sk.po: Likewise.
13210 * po/sl.po: Likewise.
13211 * po/sv.po: Likewise.
13212 * po/tr.po: Likewise.
13213 * po/zh_CN.po: Likewise.
13214 * po/zh_TW.po: Likewise.
13215
13216 * version.h (RELEAES): Set to "development".
13217 (VERSION): Set to 2.23.90.
13218
13219 * version.h (RELEASE): Set to "stable".
13220 (VERSION): Set to 2.23.
13221 * include/feature.h (__GLIBC_MINOR__): Set to 23.
13222
13223 * NEWS: Updated fixed bugs.
13224
13225 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
13226 Wilco Dijkstra <wdijkstr@arm.com>
13227
13228 [BZ #19462]
13229 * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
13230 (_STRING_INLINE_unaligned): This.
13231 * include/string.h: Include <string_private.h>.
13232 * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
13233 _STRING_INLINE_unaligned.
13234 * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
13235 (_STRING_INLINE_unaligned): New.
13236 * sysdeps/aarch64/string_private.h: New file.
13237 * sysdeps/generic/string_private.h: Likewise.
13238 * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
13239 * sysdeps/s390/string_private.h: Likewise.
13240 * sysdeps/x86/string_private.h: Likewise.
13241 * sysdeps/m68k/m680x0/m68020/bits/string.h
13242 (_STRING_ARCH_unaligned): Renamed to ...
13243 (_STRING_INLINE_unaligned): This.
13244 * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
13245 to ...
13246 (_STRING_INLINE_unaligned): This.
13247 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
13248 to ...
13249 (_STRING_INLINE_unaligned): This.
13250 * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
13251 to ...
13252 (_STRING_INLINE_unaligned): This.
13253
13254 2016-02-17 Andrew Senkevich <andrew.senkevich@intel.com>
13255 H.J. Lu <hongjiu.lu@intel.com>
13256
13257 [BZ #19590]
13258 * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
13259 relocation.
13260
13261 2016-02-15 Carlos O'Donell <carlos@redhat.com>
13262
13263 [BZ #18665]
13264 * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
13265 *herrno_p.
13266 (gaih_getanswer): Document functional behviour. Return tryagain
13267 if any result is tryagain.
13268 * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
13269 when freed.
13270 * resolv/res_send.c: Add copyright text.
13271 (__libc_res_nsend): Document that MAXPACKET is expected.
13272 (send_vc): Document. Remove buffer reuse.
13273 (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
13274 size of the buffer. Add Dprint for truncated UDP buffer.
13275
13276 2016-02-14 Carlos O'Donell <carlos@redhat.com>
13277
13278 * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
13279 4.1.3, and sed 4.2.2. Remove po2test.sed comments.
13280 * INSTALL: Regenerate.
13281
13282 2016-02-14 Jakub Jelinek <jakub@redhat.com>
13283 Jonathan Wakely <jwakely@redhat.com>
13284 Carlos O'Donell <carlos@redhat.com>
13285
13286 [BZ 19439]
13287 * math/Makefile (tests): Add test-math-isinff.
13288 (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
13289 * math/bits/mathcalls.h [__USE_MISC]: Use
13290 '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
13291 functions not in C++11 and which don't conflict e.g. isinff,
13292 isinfl etc.
13293 * math/test-math-isinff.cc: New file.
13294
13295 2016-02-12 Florian Weimer <fweimer@redhat.com>
13296
13297 * misc/bug18240.c (do_test): Set RLIMIT_AS.
13298
13299 2016-02-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
13300
13301 [BZ #19529]
13302 * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
13303
13304 2016-02-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13305
13306 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
13307
13308 2016-02-01 Joseph Myers <joseph@codesourcery.com>
13309
13310 [BZ #19550]
13311 * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
13312 * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
13313 * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
13314 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
13315 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
13316 New syscall entry.
13317 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
13318 New syscall entry.
13319 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
13320 syscall entry.
13321
13322 2016-01-27 Paul Eggert <eggert@cs.ucla.edu>
13323
13324 [BZ #18240]
13325 * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
13326 unsigned int wraparound.
13327
13328 2016-01-27 Florian Weimer <fweimer@redhat.com>
13329
13330 [BZ #18240]
13331 * misc/bug18240.c: New test.
13332 * misc/Makefile (tests): Add it.
13333
13334 2016-01-28 Steve Ellcey <sellcey@imgtec.com>
13335 Joseph Myers <joseph@codesourcery.com>
13336
13337 * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
13338 load in branch delay slot when less than a word of input left.
13339
13340 2016-01-27 Andreas Schwab <schwab@suse.de>
13341
13342 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
13343 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
13344 * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
13345 * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
13346
13347 2016-01-26 David S. Miller <davem@davemloft.net>
13348
13349 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
13350
13351 2016-01-25 David S. Miller <davem@davemloft.net>
13352
13353 * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
13354 __sqrtl_finite.
13355 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
13356 instead using versioned_symbol.
13357 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
13358 of entries.
13359
13360 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
13361 __sqrtl_finite to GLIBC_2.23
13362
13363 2016-01-25 Ricchard Henderson <rth@redhat.com>
13364
13365 * sysdeps/alpha/fpu/libm-test-ulps: Update.
13366
13367 2016-01-25 Andreas Schwab <schwab@suse.de>
13368
13369 [BZ #17514]
13370 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
13371 <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
13372 * nptl/Makefile (tests): Add tst-mutex-errorcheck.
13373 * nptl/tst-mutex-errorcheck.c: New file.
13374
13375 2016-01-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
13376
13377 [BZ #18560]
13378 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
13379 (IPCOP_semop): Likewise.
13380 (IPCOP_semget): Likewise.
13381 (IPCOP_semctl): Likewise.
13382 (IPCOP_msgsnd): Likewise.
13383 (IPCOP_msgrcv): Likewise.
13384 (IPCOP_msgget): Likewise.
13385 (IPCOP_msgctl): Likewise.
13386 (IPCOP_shmat): Likewise.
13387 (IPCOP_shmdt): Likewise.
13388 (IPCOP_shmget): Likewise.
13389 (IPCOP_shmctl): Likewise.
13390
13391 2016-01-22 Stefan Liebler <stli@linux.vnet.ibm.com>
13392
13393 * string/tst-endian.c: Include <libc-internal.h>.
13394 (do_test): Ignore tautological-compare warnings around
13395 "htobeXX (beXXtoh (i)) != i" and
13396 "htoleXX (leXXtoh (i)) != i" if-statements.
13397
13398 2016-01-24 David S. Miller <davem@davemloft.net>
13399
13400 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
13401 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
13402 alias.
13403 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
13404 __sqrtl_finite.
13405
13406 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13407
13408 2016-01-25 Maciej W. Rozycki <macro@imgtec.com>
13409
13410 * sysdeps/unix/sysv/linux/mips/configure.ac: Set
13411 `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
13412 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
13413
13414 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
13415
13416 * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
13417 (thread_func): Use new function to simplify barrier check.
13418 (do_test): Use new function to simplify checking barrier exit
13419 code, and actually join the child thread.
13420
13421 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
13422
13423 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
13424 semicolon.
13425 (__libc_tend): Likewise.
13426 (__libc_tabort): Likewise.
13427
13428 2016-01-22 Chung-Lin Tang <cltang@codesourcery.com>
13429
13430 * sysdeps/nios2/libm-test-ulps: Update.
13431 * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
13432 (__gtsf2): Likewise.
13433 (__unorddf2): Likewise.
13434 (__unordsf2): Likewise.
13435 (__ledf2): Likewise.
13436
13437 2016-01-20 Chris Metcalf <cmetcalf@ezchip.com>
13438
13439 * nis/nis_table.c (__follow_path): Disable diagnostic for
13440 uninitialized variable that is a false positive for gcc 4.7.
13441 * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
13442
13443 2016-01-20 Roland McGrath <roland@hack.frob.com>
13444
13445 * sysdeps/nacl/lowlevellock-futex.h
13446 (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
13447 Always evaluate PRIVATE argument.
13448
13449 2016-01-20 Paul Pluzhnikov <ppluzhnikov@google.com>
13450
13451 [BZ #19490]
13452 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
13453 (pthread_cond_broadcast): Use ENTRY/END
13454 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
13455 (pthread_cond_signal): Likewise.
13456 * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
13457 Likewise.
13458 * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
13459 Likewise.
13460 * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
13461 Likewise.
13462
13463 2016-01-20 Joseph Myers <joseph@codesourcery.com>
13464
13465 * sysdeps/ieee754/dbl-64/s_finite.c
13466 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
13467 compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
13468 SHLIB_COMPAT condition for libm, not GLIBC_2_0.
13469 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
13470 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
13471
13472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
13473 (__gtsf2): Add as optional for libc.so.
13474 (__unordsf2): Likewise.
13475 (__signbit): Remove for libc.so.
13476 (__signbitl): Likewise.
13477
13478 2016-01-19 Stefan Liebler <stli@linux.vnet.ibm.com>
13479
13480 * iconvdata/bug-iconv11.c (test_ibm93x):
13481 Use %zu printf format specifier for size_t argument.
13482
13483 2016-01-19 Joseph Myers <joseph@codesourcery.com>
13484
13485 * math/gen-libm-test.pl (parse_ulps): Do not reduce
13486 already-recorded ulps.
13487 * sysdeps/arm/libm-test-ulps: Regenerated.
13488 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
13489 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13490 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
13491
13492 2016-01-19 Andrew Senkevich <andrew.senkevich@intel.com>
13493 Paul Pluzhnikov <ppluzhnikov@google.com>
13494
13495 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
13496 assembler not supporting AVX-512.
13497
13498 2016-01-18 Stefan Liebler <stli@linux.vnet.ibm.com>
13499
13500 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13501
13502 2016-01-18 Joseph Myers <joseph@codesourcery.com>
13503
13504 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
13505 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13506
13507 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13508
13509 * sysdeps/arm/libm-test-ulps: Regenerated.
13510
13511 2016-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13512
13513 [BZ #19451]
13514 * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
13515
13516 2016-01-15 Stefan Liebler <stli@linux.vnet.ibm.com>
13517
13518 [BZ #19486]
13519 * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
13520 * sysdeps/generic/fix-fp-int-convert-overflow.h
13521 (FIX_LDBL_LONG_CONVERT_OVERFLOW,
13522 FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
13523 * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
13524 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
13525 Likewise.
13526 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
13527 Avoid conversions to long int where inexact exceptions
13528 could be raised.
13529 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
13530 Likewise.
13531 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
13532 Avoid conversions to long long int where inexact exceptions
13533 could be raised.
13534 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
13535 Likewise.
13536
13537 2016-01-17 Mike Frysinger <vapier@gentoo.org>
13538
13539 * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
13540 * configure: Regenerated.
13541
13542 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
13543
13544 * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
13545
13546 2016-01-16 Mike Frysinger <vapier@gentoo.org>
13547
13548 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
13549 outside of comment.
13550
13551 2016-01-15 Torvald Riegel <triegel@redhat.com>
13552
13553 * nptl/tst-barrier1.c: Add description on first line.
13554 * nptl/tst-barrier2.c: Likewise.
13555 * nptl/tst-barrier3.c: Likewise.
13556 * nptl/tst-barrier4.c: Likewise.
13557 * nptl/tst-barrier5.c: Likewise.
13558
13559 2016-01-15 Torvald Riegel <triegel@redhat.com>
13560
13561 [BZ #18868]
13562 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
13563
13564 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
13565
13566 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
13567 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
13568 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
13569 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
13570 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
13571 * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
13572 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13573 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13574 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13575 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13576 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13577
13578 2016-01-15 Torvald Riegel <triegel@redhat.com>
13579
13580 [BZ #13065]
13581 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
13582 new implementation.
13583 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
13584 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
13585 * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
13586 (BARRIER_IN_THRESHOLD): New macro.
13587 * nptl/pthread_barrierattr_setpshared.c
13588 (pthread_barrierattr_setpshared): Clean up.
13589 * nptl/tst-barrier4.c: Correct comment.
13590 * nptl/tst-barrier5.c: New file.
13591 * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
13592 (gen-as-const-headers): Remove lowlevelbarrier.sym.
13593 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
13594 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
13595 * nptl/lowlevelbarrier.sym: Remove.
13596 * nptl/DESIGN-barrier.txt: Remove.
13597 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
13598 * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
13599 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
13600 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
13601 error.
13602 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
13603 implementation.
13604
13605 2016-01-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
13606
13607 * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
13608 (do_child): Mask SIGRTMIN while thr is running.
13609
13610 2016-01-15 Martin Sebor <msebor@redhat.com>
13611
13612 [BZ #19432]
13613 * iconvdata/Makefile: Add bug-iconv11.
13614 * iconvdata/bug-iconv11.c: New test.
13615 * iconvdata/ibm930.c: Do not reject redundant shift sequences.
13616 * iconvdata/ibm933.c: Same.
13617 * iconvdata/ibm935.c: Same.
13618 * iconvdata/ibm937.c: Same.
13619 * iconvdata/ibm939.c: Same.
13620
13621 2016-01-15 Martin Sebor <msebor@redhat.com>
13622
13623 [BZ #19443]
13624 * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
13625 [DEBUG] (_ufc_set_bits): Declare used.
13626 * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
13627 [DEBUG] (print_all): Declare used.
13628 * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
13629 operands of the ternary ?: expression to target type.
13630 * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
13631 calling the undeclared abort.
13632 * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
13633
13634 2016-01-15 Martin Sebor <msebor@redhat.com>
13635
13636 [BZ #18755]
13637 * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
13638 warnings.
13639 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
13640 (__gai_create_helper_thread): Same.
13641 * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
13642 * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
13643 to suppress -Wmaybe-uninitialized warnings.
13644
13645 2016-01-15 H.J. Lu <hongjiu.lu@intel.com>
13646
13647 [BZ #19465]
13648 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
13649 inside if.
13650 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13651 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13652 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13653
13654 2016-01-14 H.J. Lu <hongjiu.lu@intel.com>
13655
13656 [BZ #19466]
13657 * time/tst-mktime2.c (time_t_max): Removed.
13658 (time_t_min): Likewise.
13659 (TYPE_SIGNED): New.
13660 (TYPE_MINIMUM): Likewise.
13661 (TYPE_MAXIMUM): Likewise.
13662 (TIME_T_MIN): Likewise.
13663 (TIME_T_MAX): Likewise.
13664 (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
13665 and TIME_T_MIN.
13666 (do_test): Likewise.
13667
13668 2016-01-14 Amit Pawar <amit.pawar@amd.com>
13669
13670 [BZ #19467]
13671 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
13672 index_Fast_Unaligned_Load flag for Excavator family CPUs.
13673
13674 2016-01-02 Marcin Kościelnicki <koriakin@0x04.net>
13675
13676 * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
13677
13678 2016-01-13 Carlos O'Donell <carlos@redhat.com>
13679
13680 * benchtests/Makefile (PYTHON): Define.
13681 (bench-func): Use $(PYTHON) to run python scripts.
13682 ($(objpfx)bench-%.c): Likewise.
13683
13684 2016-01-13 Flavio Cruz <flaviocruz@gmail.com>
13685
13686 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
13687 leading slash when `file_name' is "/".
13688
13689 2016-01-12 Joseph Myers <joseph@codesourcery.com>
13690
13691 * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
13692 * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
13693 Likewise.
13694 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
13695 Likewise.
13696 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
13697 Likewise.
13698 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
13699 enum constant and macro.
13700 (PTRACE_SETSIGMASK): Likewise.
13701 (PTRACE_SECCOMP_GET_FILTER): Likewise.
13702 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
13703 (PTRACE_GETSIGMASK): Likewise.
13704 (PTRACE_SETSIGMASK): Likewise.
13705 (PTRACE_SECCOMP_GET_FILTER): Likewise.
13706 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
13707 Likewise.
13708 (PTRACE_SETSIGMASK): Likewise.
13709 (PTRACE_SECCOMP_GET_FILTER): Likewise.
13710 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
13711 (PTRACE_GETSIGMASK): Likewise.
13712 (PTRACE_SETSIGMASK): Likewise.
13713 (PTRACE_SECCOMP_GET_FILTER): Likewise.
13714 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
13715 Likewise.
13716 (PTRACE_SETSIGMASK): Likewise.
13717 (PTRACE_SECCOMP_GET_FILTER): Likewise.
13718 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
13719 Likewise.
13720 (PTRACE_SETSIGMASK): Likewise.
13721 (PTRACE_SECCOMP_GET_FILTER): Likewise.
13722 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
13723 Likewise.
13724 (PTRACE_SETSIGMASK): Likewise.
13725 (PTRACE_SECCOMP_GET_FILTER): Likewise.
13726
13727 2016-01-11 Jonathan Wakely <jwakely.gcc@gmail.com>
13728 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13729
13730 [BZ #19439]
13731 * math/bits/mathcalls.h
13732 [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
13733 prototype.
13734 [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
13735
13736 2016-01-11 Andreas Schwab <schwab@suse.de>
13737
13738 [BZ #19253]
13739 * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
13740 cache when TZDEFRULES was used.
13741 * time/tst-tzname.c: New file.
13742 * time/Makefile (test): Add tst-tzname.
13743 (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
13744 * timezone/Makefile (test-zones): Add $(posixrules-file).
13745 ($(testdata)/$(posixrules-file)): New rule.
13746
13747 2016-01-10 Paul Eggert <eggert@cs.ucla.edu>
13748
13749 Fix doc quoting problems with Texinfo 5
13750 Without this change, in the info file output, Texinfo 5 quotes code
13751 in text with undirected single quotes 'like this' and generates
13752 code examples that with many PDF readers cannot be cut out of PDFs
13753 and pasted into code.
13754 * manual/libc.texinfo: Configure the libc manual like the GNU
13755 Emacs manual, by using @documentencoding and setting
13756 txicodequoteundirected and txicodequotebacktick. This way,
13757 Texinfo 5 quotes code in text with directed single quotes ‘like
13758 this’ and produces examples that can be cut out of PDFs. This
13759 change causes Texinfo 5 to generate info files that contain UTF-8
13760 characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
13761 '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
13762
13763 2016-01-08 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13764
13765 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
13766 __libc_tabort, __libc_tend): New wrappers that enforce compiler
13767 barriers to their respective compiler built-ins.
13768 * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
13769 ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
13770 * sysdeps/powerpc/sysdep.h: Likewise.
13771 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
13772 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
13773 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
13774
13775 2016-01-08 Marko Myllynen <myllynen@redhat.com>
13776
13777 * scripts/config.guess: Revert previous shebang change.
13778 * scripts/config.sub: Likewise.
13779 * scripts/mkinstalldirs: Likewise.
13780
13781 2016-01-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
13782
13783 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
13784 PPC_FEATURE2_HAS_IEEE128.
13785 * sysdeps/powerpc/dl-procinfo.c:
13786 (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
13787
13788 2016-01-08 John David Anglin <danglin@gcc.gnu.org>
13789
13790 [BZ #19415]
13791 * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
13792 (elf_machine_resolve): New. Return address of _dl_runtime_resolve.
13793 (_dl_lookup_address): Rewrite using function resolver trampoline.
13794 * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
13795 two bits in address.
13796
13797 2016-01-07 Mike Frysinger <vapier@gentoo.org>
13798
13799 * longlong.h: Change !__SHMEDIA__ to
13800 (!defined (__SHMEDIA__) || !__SHMEDIA__).
13801 Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
13802
13803 2016-01-07 Daniel Jacobowitz <dan@codesourcery.com>
13804 Joseph Myers <joseph@codesourcery.com>
13805 Mark Shinwell <shinwell@codesourcery.com>
13806 Andrew Stubbs <ams@codesourcery.com>
13807 Rich Felker <dalias@libc.org>
13808
13809 * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
13810
13811 2016-01-07 Richard Henderson <rth@redhat.com>
13812
13813 * longlong.h [__alpha] (umul_ppmm): Disable for c++.
13814
13815 2016-01-07 Mike Frysinger <vapier@gentoo.org>
13816
13817 * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
13818 __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
13819 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13820 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
13821 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
13822
13823 2016-01-07 Paul Eggert <eggert@cs.ucla.edu>
13824 Joseph Myers <joseph@codesourcery.com>
13825
13826 * timezone/private.h: Update from tzcode 2015g.
13827 * timezone/tzfile.h: Likewise.
13828 * timezone/tzselect.ksh: Likewise.
13829 * timezone/zdump.c: Likewise.
13830 * timezone/zic.c: Likewise.
13831 * timezone/ialloc.c: Remove file.
13832 * timezone/scheck.c: Likewise.
13833 * timezone/Makefile (extra-objs): Remove variable.
13834 ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
13835 (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
13836 -Wno-maybe-uninitialized.
13837 (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
13838 (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
13839 (CFLAGS-ialloc.c): Remove variable.
13840 (CFLAGS-scheck.c): Likewise.
13841 * timezone/README: Update list of files from tzcode.
13842
13843 2016-01-07 Khem Raj <raj.khem@gmail.com>
13844
13845 * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
13846 instead of __fxprintf when _LIBC is undefined.
13847
13848 2016-01-07 Marko Myllynen <myllynen@redhat.com>
13849
13850 * catgets/test-gencat.sh: Remove space after shebang.
13851 * conform/GlibcConform.pm: Likewise.
13852 * conform/check-header-lists.sh: Likewise.
13853 * conform/conformtest.pl: Likewise.
13854 * conform/linknamespace.pl: Likewise.
13855 * conform/list-header-symbols.pl: Likewise.
13856 * debug/catchsegv.sh: Likewise.
13857 * elf/genrtldtbl.awk: Likewise.
13858 * elf/tst-pathopt.sh: Likewise.
13859 * elf/tst-rtld-load-self.sh: Likewise.
13860 * grp/tst_fgetgrent.sh: Likewise.
13861 * iconvdata/gen-8bit-gap-1.sh: Likewise.
13862 * iconvdata/gen-8bit-gap.sh: Likewise.
13863 * iconvdata/gen-8bit.sh: Likewise.
13864 * iconvdata/run-iconv-test.sh: Likewise.
13865 * intl/tst-gettext.sh: Likewise.
13866 * intl/tst-gettext2.sh: Likewise.
13867 * intl/tst-gettext4.sh: Likewise.
13868 * intl/tst-gettext6.sh: Likewise.
13869 * intl/tst-translit.sh: Likewise.
13870 * io/ftwtest-sh: Likewise.
13871 * libio/test-freopen.sh: Likewise.
13872 * locale/gen-translit.pl: Likewise.
13873 * malloc/tst-mtrace.sh: Likewise.
13874 * manual/check-safety.sh: Likewise.
13875 * manual/libc-texinfo.sh: Likewise.
13876 * manual/tsort.awk: Likewise.
13877 * manual/xtract-typefun.awk: Likewise.
13878 * nptl/tst-cancel-wrappers.sh: Likewise.
13879 * nptl/tst-tls6.sh: Likewise.
13880 * posix/globtest.sh: Likewise.
13881 * posix/tst-getconf.sh: Likewise.
13882 * posix/wordexp-tst.sh: Likewise.
13883 * scripts/check-c++-types.sh: Likewise.
13884 * scripts/check-local-headers.sh: Likewise.
13885 * scripts/config.guess: Likewise.
13886 * scripts/config.sub: Likewise.
13887 * scripts/cpp: Likewise.
13888 * scripts/cross-test-ssh.sh: Likewise.
13889 * scripts/documented.sh: Likewise.
13890 * scripts/evaluate-test.sh: Likewise.
13891 * scripts/gen-libc-abis: Likewise.
13892 * scripts/gen-sorted.awk: Likewise.
13893 * scripts/list-fixed-bugs.py: Likewise.
13894 * scripts/merge-test-results.sh: Likewise.
13895 * scripts/mkinstalldirs: Likewise.
13896 * scripts/rellns-sh: Likewise.
13897 * scripts/test-installation.pl: Likewise.
13898 * scripts/update-copyrights: Likewise.
13899 * stdio-common/tst-printf.sh: Likewise.
13900 * stdio-common/tst-unbputc.sh: Likewise.
13901 * stdlib/tst-fmtmsg.sh: Likewise.
13902 * stdlib/tst-setcontext3.sh: Likewise.
13903 * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
13904 * sysdeps/unix/make-syscalls.sh: Likewise.
13905
13906 2016-01-06 John David Anglin <dave.anglin@bell.net>
13907
13908 * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
13909 asm stw with atomic_exchange_rel. Add explanatory comment.
13910 * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
13911 Likewise.
13912
13913 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
13914
13915 [BZ #19122]
13916 * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
13917 * sysdeps/generic/dl-unistd.h: New file.
13918 * sysdeps/mach/hurd/dl-unistd.h: Likewise.
13919
13920 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
13921
13922 [BZ #19122]
13923 * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
13924 * sysdeps/generic/dl-mman.h: New file.
13925 * sysdeps/mach/hurd/dl-mman.h: Likewise.
13926
13927 2016-01-05 Joseph Myers <joseph@codesourcery.com>
13928
13929 * manual/texinfo.tex: Update to version 2016-01-04.21 with
13930 trailing whitespace removed.
13931 * scripts/config.guess: Update to version 2016-01-01.
13932 * scripts/config.sub: Update to version 2016-01-01.
13933 * scripts/move-if-change: Update from gnulib.
13934
13935 2016-01-04 Anton Blanchard <anton@samba.org>
13936
13937 * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
13938 for array indices.
13939 * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
13940
13941 2016-01-04 Joseph Myers <joseph@codesourcery.com>
13942
13943 * NEWS: Update copyright dates.
13944 * catgets/gencat.c (print_version): Likewise.
13945 * csu/version.c (banner): Likewise.
13946 * debug/catchsegv.sh: Likewise.
13947 * debug/pcprofiledump.c (print_version): Likewise.
13948 * debug/xtrace.sh (do_version): Likewise.
13949 * elf/ldconfig.c (print_version): Likewise.
13950 * elf/ldd.bash.in: Likewise.
13951 * elf/pldd.c (print_version): Likewise.
13952 * elf/sotruss.sh: Likewise.
13953 * elf/sprof.c (print_version): Likewise.
13954 * iconv/iconv_prog.c (print_version): Likewise.
13955 * iconv/iconvconfig.c (print_version): Likewise.
13956 * locale/programs/locale.c (print_version): Likewise.
13957 * locale/programs/localedef.c (print_version): Likewise.
13958 * login/programs/pt_chown.c (print_version): Likewise.
13959 * malloc/memusage.sh (do_version): Likewise.
13960 * malloc/memusagestat.c (print_version): Likewise.
13961 * malloc/mtrace.pl: Likewise.
13962 * manual/libc.texinfo: Likewise.
13963 * nptl/version.c (banner): Likewise.
13964 * nscd/nscd.c (print_version): Likewise.
13965 * nss/getent.c (print_version): Likewise.
13966 * nss/makedb.c (print_version): Likewise.
13967 * posix/getconf.c (main): Likewise.
13968 * scripts/test-installation.pl: Likewise.
13969 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
13970
13971 * All files with FSF copyright notices: Update copyright dates
13972 using scripts/update-copyrights.
13973 * intl/plural.c: Regenerated.
13974 * locale/programs/charmap-kw.h: Likewise.
13975 * locale/programs/locfile-kw.h: Likewise.
13976
13977 2016-01-02 Helge Deller <deller@gmx.de>
13978
13979 [BZ #19285]
13980 * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
13981 (MAP_HUGETLB, MCL_ONFAULT): Likewise.
13982 (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
13983 (MADV_xxK_PAGES): Remove.
13984
13985 2016-01-01 Mike Frysinger <vapier@gentoo.org>
13986
13987 [BZ #15421]
13988 * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
13989 [BUILD_LGAMMA]: Wrap all code by define. Re-indent sub-preprocessor.
13990 * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
13991 * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
13992
13993 2015-12-30 Dmitry V. Levin <ldv@altlinux.org>
13994
13995 [BZ #19408]
13996 * sysdeps/unix/sysv/linux/personality.c: New file.
13997 * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
13998 * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
13999 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
14000 (sysdep_routines): Add personality.
14001 (tests): Add tst-personality.
14002 * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
14003 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
14004 * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
14005 * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
14006 * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
14007 * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
14008 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
14009 Likewise.
14010 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
14011 Likewise.
14012 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
14013 Likewise.
14014 * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
14015 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
14016 Likewise.
14017
14018 2015-12-30 Aurelien Jarno <aurelien@aurel32.net>
14019
14020 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
14021 (PATH_ARM_SYSTYPE): Remove.
14022 (PATH_CPUINFO): Likewise.
14023 (IO_BASE_FOOTBRIDGE): Likewise.
14024 (IO_SHIFT_FOOTBRIDGE): Likewise.
14025 (struct platform): Likewise.
14026 (init_iosys): Remove compatibility code for 2.4 kernels.
14027 * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
14028
14029 2015-12-29 Florian Weimer <fweimer@redhat.com>
14030
14031 * malloc/tst-malloc-thread-fail.c: New file.
14032 * malloc/Makefile (tests): Add tst-malloc-thread-fail.
14033 (tst-malloc-thread-fail): Link against libpthread.
14034
14035 2015-12-29 Mike Frysinger <vapier@gentoo.org>
14036
14037 * scripts/list-fixed-bugs.py: Import argparse. Call main instead.
14038 (get_parser): New function.
14039 (main): New function.
14040
14041 2015-12-29 Rob Wu <rob@robwu.nl>
14042
14043 [BZ #19369]
14044 * resolv/res_init.c (__res_vinit): Reset defdname before use.
14045
14046 2015-12-29 John David Anglin <danglin@gcc.gnu.org>
14047
14048 [BZ #19270]
14049 * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
14050
14051 2015-12-28 Mike Frysinger <vapier@gentoo.org>
14052
14053 [BZ #15421]
14054 * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
14055
14056 2015-12-23 Torvald Riegel <triegel@redhat.com>
14057
14058 [BZ #13690]
14059 * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
14060 after releasing it.
14061 (__lll_robust_unlock): Likewise.
14062 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
14063 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
14064 (lll_robust_unlock): Likewise.
14065 * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
14066 Prevent warnings in callers.
14067
14068 2015-12-23 Florian Weimer <fweimer@redhat.com>
14069
14070 * malloc/arena.c (list_lock): Update comment.
14071
14072 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
14073
14074 * sysdeps/powerpc/hwcapinfo.c: Export symbol
14075 __parse_hwcap_and_convert_at_platform to libc.a.
14076
14077 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
14078
14079 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
14080 platform and feature support for POWER9.
14081 * sysdeps/powerpc/dl-procinfo.h: Likewise.
14082 * sysdeps/powerpc/powerpc32/power9/Implies: New file.
14083 * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
14084 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
14085 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
14086 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
14087 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
14088 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
14089
14090 2015-12-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
14091
14092 Harmonize generic stdio-lock support with nptl
14093
14094 This fixes build when _IO_funlockfile is a macro, fixes build where
14095 _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
14096 stack unwind.
14097
14098 * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
14099 _IO_release_lock ): Use cleanup attribute on new
14100 _IO_acquire_lock_file variable instead of assuming that
14101 _IO_release_lock will be called.
14102 [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
14103 _IO_acquire_lock_needs_exceptions_enabled.
14104 (_IO_acquire_lock_clear_flags2): New macro.
14105
14106 2015-12-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14107
14108 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
14109
14110 2015-12-21 Florian Weimer <fweimer@redhat.com>
14111
14112 [BZ #19182]
14113 * malloc/arena.c (list_lock): Document lock ordering requirements.
14114 (free_list_lock): New lock.
14115 (ptmalloc_lock_all): Comment on free_list_lock.
14116 (ptmalloc_unlock_all2): Reinitialize free_list_lock.
14117 (detach_arena): Update comment. free_list_lock is now needed.
14118 (_int_new_arena): Use free_list_lock around detach_arena call.
14119 Acquire arena lock after list_lock. Add comment, including FIXME
14120 about incorrect synchronization.
14121 (get_free_list): Switch to free_list_lock.
14122 (reused_arena): Acquire free_list_lock around detach_arena call
14123 and attached threads counter update. Add two FIXMEs about
14124 incorrect synchronization.
14125 (arena_thread_freeres): Switch to free_list_lock.
14126 * malloc/malloc.c (struct malloc_state): Update comments to
14127 mention free_list_lock.
14128
14129 2015-12-21 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
14130
14131 * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
14132 Remove functions.
14133 (sloww, sloww1): Accept argument to offset quadrant.
14134 (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
14135 quadrant.
14136 (__sin, __cos): Consolidate common code into new functions.
14137 (reduce_sincos_1, do_sincos_1): New functions.
14138 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
14139
14140 * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
14141 code to new functions.
14142 (reduce_sincos_2, do_sincos_2): New functions.
14143 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
14144
14145 * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
14146 common code for sincos.
14147 (__cos) [!IN_SINCOS]: Likewise.
14148 * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
14149 New function.
14150 (__sincos): Use it.
14151
14152 2015-12-20 Aurelien Jarno <aurelien@aurel32.net>
14153
14154 * sysdeps/i386/fpu/libm-test-ulps: Move to ....
14155 * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
14156 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
14157
14158 2015-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
14159
14160 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
14161 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
14162 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
14163 * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
14164 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14165 * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
14166 index_Prefer_No_VZEROUPPER): New feature.
14167 * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
14168 Prefer_No_VZEROUPPER for Knights Landing.
14169
14170 015-12-18 Torvald Riegel <triegel@redhat.com>
14171
14172 * math/atest-exp2.c (mp_exp_m1): Remove.
14173
14174 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14175
14176 * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
14177 syscalls.
14178 (__SYSCALL0): New macro.
14179 (__SYSCALL1): Likewise.
14180 (__SYSCALL2): Likewise.
14181 (__SYSCALL3): Likewise.
14182 (__SYSCALL4): Likewise.
14183 (__SYSCALL5): Likewise.
14184 (__SYSCALL6): Likewise.
14185 (__SYSCALL_CONCAT_X): Likewise.
14186 (__SYSCALL_CONCAT): Likewise.
14187 (__SYSCALL_DIST): Likewise.
14188 (__SYSCALL_CALL): Likewise.
14189
14190 2015-12-17 H.J. Lu <hongjiu.lu@intel.com>
14191
14192 [BZ #19363]
14193 * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
14194
14195 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14196
14197 [BZ #19375]
14198 * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
14199 negative subnormals.
14200
14201 2015-12-16 H.J. Lu <hongjiu.lu@intel.com>
14202
14203 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
14204 (REGISTERS_CLOBBERED_BY_SYSCALL): New.
14205 (INTERNAL_SYSCALL_NCS): Use it.
14206 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
14207
14208 2015-12-16 Florian Weimer <fweimer@redhat.com>
14209
14210 [BZ #19243]
14211 * malloc/arena.c (get_free_list): Remove assert and adjust
14212 reference count handling. Add comment about reused_arena
14213 interaction.
14214 (reused_arena): Add comments abount get_free_list interaction.
14215 * malloc/tst-malloc-thread-exit.c: New file.
14216 * malloc/Makefile (tests): Add tst-malloc-thread-exit.
14217 (tst-malloc-thread-exit): Link against libpthread.
14218
14219 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
14220
14221 [BZ #19367]
14222 * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
14223 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
14224 * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
14225 * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
14226 (index_Prefer_MAP_32BIT_EXEC): Likewise.
14227
14228 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
14229
14230 * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
14231 Silvermont optimizations for Knights Landing.
14232
14233 2015-12-15 Andreas Schwab <schwab@suse.de>
14234
14235 [BZ #17197]
14236 * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
14237 immediately after emitting SI.
14238 * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
14239 * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
14240 * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
14241 * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
14242 * iconvdata/bug-iconv10.c: New file.
14243 * iconvdata/Makefile (tests): Add bug-iconv10.
14244 ($(objpfx)bug-iconv10.out): New rule.
14245
14246 2015-12-15 Florian Weimer <fweimer@redhat.com>
14247
14248 * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
14249 aliasing violation.
14250
14251 2015-12-14 Joseph Myers <joseph@codesourcery.com>
14252
14253 [BZ #18472]
14254 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
14255 for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
14256 conditionals for them.
14257 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
14258 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
14259 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
14260 sys/kdaemon.h.
14261 * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
14262 compat-only syscall, obsoleted in glibc 2.23.
14263 (create_module): Likewise.
14264 (get_kernel_syms): Likewise.
14265 (query_module): Likewise.
14266 (uselib): Likewise.
14267 * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
14268
14269 2015-12-11 Aurelien Jarno <aurelien@aurel32.net>
14270
14271 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
14272 <linux/version.h>.
14273 [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
14274 conditional code.
14275 (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
14276 and ioshift_name initialization.
14277
14278 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
14279
14280 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
14281 Fix indentation.
14282
14283 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
14284
14285 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
14286
14287 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
14288
14289 * stdlib/strtol_l.c (__strtol_l): Fix indentation.
14290
14291 2015-12-10 Aurelien Jarno <aurelien@aurel32.net>
14292 Jakub Wilk <jwilk@debian.org>
14293
14294 [BZ #19347]
14295 * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
14296 to change the group of the device to the tty group.
14297
14298 2015-12-10 Paul Eggert <eggert@cs.ucla.edu>
14299
14300 Split large string section; add truncation advice
14301 * manual/examples/strncat.c: Remove.
14302 This example was misleading, as the code would have undefined
14303 behavior if "hello" was longer than SIZE. Anyway, the manual
14304 shouldn't encourage strncpy+strncat for this sort of thing.
14305 * manual/string.texi (Copying Strings and Arrays): Split into
14306 three sections Copying Strings and Arrays, Concatenating Strings,
14307 and Truncating Strings, as this section was way too long. All
14308 cross-referenced changed. Add advice about string-truncation
14309 functions. Remove misleading strncat example.
14310
14311 2015-12-10 Carlos O'Donell <carlos@redhat.com>
14312
14313 * manual/nss.texi (NSS Modules Interface): Document
14314 NSS_STATUS_NOTFOUND and SUCCESS.
14315
14316 2015-12-09 Mike FABIAN <mfabian@redhat.com>
14317
14318 [BZ 18568]
14319 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
14320 201505L, for Unicode 8.
14321
14322 2015-12-09 Carlos O'Donell <carlos@redhat.com>
14323
14324 * locale/C-translit.h: Regenerate.
14325
14326 2015-12-09 Mike FABIAN <mfabian@redhat.com>
14327
14328 * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
14329 and U+0153.
14330
14331 2015-12-09 Joseph Myers <joseph@codesourcery.com>
14332
14333 [BZ #19351]
14334 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
14335 expanding log(1+z), compare z rather than its square with epsilon
14336 to determine when to avoid evaluating the expansion.
14337
14338 [BZ #19350]
14339 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
14340 Increase overflow threshold.
14341
14342 [BZ #19349]
14343 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
14344 when small.
14345
14346 * sysdeps/unix/sysv/linux/i386/kernel-features.h
14347 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
14348 New macro.
14349 [__LINUX_KERNEL_VERSION >= 0x040300]
14350 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
14351 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
14352 Likewise.
14353 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
14354 Likewise.
14355 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
14356 Likewise.
14357 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
14358 Likewise.
14359 [__LINUX_KERNEL_VERSION >= 0x040300]
14360 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
14361 [__LINUX_KERNEL_VERSION >= 0x040300]
14362 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
14363 [__LINUX_KERNEL_VERSION >= 0x040300]
14364 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
14365 [__LINUX_KERNEL_VERSION >= 0x040300]
14366 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
14367 [__LINUX_KERNEL_VERSION >= 0x040300]
14368 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
14369 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
14370 Likewise.
14371 [__LINUX_KERNEL_VERSION >= 0x040300]
14372 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
14373 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14374 Likewise.
14375 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
14376 Likewise.
14377 [__LINUX_KERNEL_VERSION >= 0x040300]
14378 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
14379 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14380 Likewise.
14381 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
14382 Likewise.
14383 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14384 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
14385 Likewise.
14386 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
14387 Likewise.
14388 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
14389 Likewise.
14390 [__LINUX_KERNEL_VERSION >= 0x040300]
14391 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
14392 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
14393 Likewise.
14394 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
14395 Likewise.
14396 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
14397 Likewise.
14398 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
14399 Likewise.
14400 [__LINUX_KERNEL_VERSION >= 0x040300]
14401 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
14402 [__LINUX_KERNEL_VERSION >= 0x040300]
14403 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
14404 [__LINUX_KERNEL_VERSION >= 0x040300]
14405 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
14406 [__LINUX_KERNEL_VERSION >= 0x040300]
14407 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
14408 [__LINUX_KERNEL_VERSION >= 0x040300]
14409 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
14410 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
14411 Likewise.
14412 [__LINUX_KERNEL_VERSION >= 0x040300]
14413 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
14414 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14415 Likewise.
14416 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
14417 Likewise.
14418 [__LINUX_KERNEL_VERSION >= 0x040300]
14419 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
14420 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14421 Likewise.
14422 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
14423 Likewise.
14424 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14425 (__ASSUME_SOCKET_SYSCALL): Likewise.
14426 (__ASSUME_BIND_SYSCALL): Likewise.
14427 (__ASSUME_CONNECT_SYSCALL): Likewise.
14428 (__ASSUME_LISTEN_SYSCALL): Likewise.
14429 (__ASSUME_ACCEPT_SYSCALL): Likewise.
14430 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
14431 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
14432 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
14433 (__ASSUME_SEND_SYSCALL): Likewise.
14434 (__ASSUME_SENDTO_SYSCALL): Likewise.
14435 (__ASSUME_RECV_SYSCALL): Likewise.
14436 (__ASSUME_RECVFROM_SYSCALL): Likewise.
14437 (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
14438 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
14439 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
14440 (__ASSUME_SENDMSG_SYSCALL): Likewise.
14441 (__ASSUME_RECVMSG_SYSCALL): Likewise.
14442 * sysdeps/unix/sysv/linux/sh/kernel-features.h
14443 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
14444 Likewise.
14445 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
14446 Likewise.
14447 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
14448 Likewise.
14449 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
14450 Likewise.
14451 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
14452 Likewise.
14453 [__LINUX_KERNEL_VERSION >= 0x020625]
14454 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
14455 [__LINUX_KERNEL_VERSION >= 0x020625]
14456 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
14457 [__LINUX_KERNEL_VERSION >= 0x020625]
14458 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
14459 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
14460 Likewise.
14461 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
14462 Likewise.
14463 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
14464 Likewise.
14465 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
14466 Likewise.
14467 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
14468 Likewise.
14469 [__LINUX_KERNEL_VERSION >= 0x020625]
14470 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
14471 [__LINUX_KERNEL_VERSION >= 0x020625]
14472 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
14473 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
14474 Likewise.
14475 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
14476 Likewise.
14477
14478 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
14479
14480 * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
14481 record the current if the current ABI and CPU support the FP64
14482 extension.
14483 (has-modd-spreg): Define to record the current if the current ABI and
14484 CPU support 32-bit floating point values in odd FPU registers.
14485 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
14486 * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
14487 $(has-modd-spreg) equals yes.
14488 (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
14489 (tst-abi-fp64mod): Only build when both $(has-mpf64) and
14490 $(has-modd-spreg) equal yes.
14491
14492 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
14493
14494 * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
14495 basename.
14496
14497 2015-12-08 Siddhesh Poyarekar <sid@reserved-bit.com>
14498
14499 * benchtests/Makefile (bench-math): Move ffs and ffsll...
14500 (bench-string): ... here.
14501 (bench): Add bench-string.
14502 (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
14503 to *-benchset to reflect what they are.
14504 (benchset): Adjust.
14505
14506 * benchtests/sincos-inputs: Add inputs from sin-inputs and
14507 cos-inputs.
14508
14509 2015-12-07 Andrew Senkevich <andrew.senkevich@intel.com>
14510
14511 * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
14512 __attribute__ ((__simd__)) for vector math function declarations.
14513
14514 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
14515
14516 Fix typo in strncat, wcsncat manual entries
14517 * manual/string.texi (Copying and Concatenation): Fix typos in
14518 sample implementations of strncat and wcsncat, by having them use
14519 the old value of the destination length, not the new one.
14520
14521 2015-12-04 Joseph Myers <joseph@codesourcery.com>
14522
14523 [BZ #16961]
14524 [BZ #16962]
14525 * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
14526 string on the stack for strtod.
14527 * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
14528 a string on the stack for strtof.
14529 * math/s_nanl.c (__nanl): Use __strtold_nan instead of
14530 constructing a string on the stack for strtold.
14531 * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
14532 __strtold_nan to GLIBC_PRIVATE.
14533 * math/test-nan-overflow.c: New file.
14534 * math/test-nan-payload.c: Likewise.
14535 * math/Makefile (tests): Add test-nan-overflow and
14536 test-nan-payload.
14537
14538 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
14539
14540 Consistency about byte vs character in string.texi
14541 * manual/string.texi (String and Array Utilities):
14542 Distinguish more carefully among bytes, multibyte characters,
14543 and wide characters. Use "byte" when talking about C 'char',
14544 to distinguish it more clearly from multibyte characters.
14545 Say "wide character" or "multibyte character" instead of
14546 "character", when a wide or multibyte character is intended.
14547 Similarly for "multibyte string" versus "string".
14548 Define these terms more carefully.
14549
14550 2015-12-03 Chris Metcalf <cmetcalf@ezchip.com>
14551
14552 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
14553 * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
14554 Likewise.
14555 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
14556 * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
14557 * sysdeps/sh/math_private.h: New file.
14558 * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
14559 * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
14560 defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
14561 long double function name.
14562 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14563 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14564 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14565 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
14566 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14567 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
14568 Remove __finitel, __isinfl, and __isnanl.
14569 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
14570 Likewise.
14571 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
14572 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14573 Remove __finitel.
14574 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14575 Likewise.
14576 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14577
14578 2015-12-03 Andrew Senkevich <andrew.senkevich@intel.com>
14579
14580 * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
14581 installed libmvec_nonshared.a.
14582
14583 2015-12-03 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
14584
14585 * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
14586 (sysdep_routines): Likewise.
14587 (sysdep-rtld-routines): Likewise.
14588 [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
14589 [$(subdir) = nptl](tests-static): test-get_hwcap-static
14590 * sysdeps/powerpc/Versions: Added new
14591 __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
14592 * sysdeps/powerpc/hwcapinfo.c: New file.
14593 (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
14594 and parse hwcap, hwcap2 and platform number information.
14595 * sysdeps/powerpc/hwcapinfo.h: New file. Creates global variables
14596 to store HWCAP+HWCAP2 and platform number.
14597 * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
14598 for HWCAP+HWCAP2 and platform number in the TCB.
14599 * sysdeps/powerpc/nptl/tls.h: New functionality. Stores
14600 the HWCAP, HWCAP2 and platform number in the TCB.
14601 (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
14602 (TLS_INIT_TP): Included calls to add the hwcap and
14603 at_platform values in the TCB in TP initialization.
14604 (TLS_DEFINE_INIT_TP): Likewise.
14605 (THREAD_GET_HWCAP): New macro.
14606 (THREAD_SET_HWCAP): Likewise.
14607 (THREAD_GET_AT_PLATFORM): Likewise.
14608 (THREAD_SET_AT_PLATFORM): Likewise.
14609 * sysdeps/powerpc/powerpc32/dl-machine.h:
14610 (dl_platform_init): New function that calls
14611 __parse_hwcap_and_convert_at_platform for the dymanic linking case for
14612 powerpc32.
14613 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
14614 * sysdeps/powerpc/test-get_hwcap-static.c: New file. Testcase for
14615 this functionality, static linking case.
14616 * sysdeps/powerpc/test-get_hwcap.c: New file. Likewise, dynamic
14617 linking case.
14618 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
14619 __parse_hwcap_and_convert_at_platform for the static linking case.
14620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
14621 Included the new __parse_hwcap_and_convert_at_platform symbol in the
14622 ABI list for GLIBC 2.23.
14623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
14624 Likewise.
14625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
14626 Likewise.
14627
14628 2015-12-02 Ludovic Courtès <ludo@gnu.org>
14629
14630 * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
14631 * configure: Regenerate.
14632 * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
14633 * scripts/rellns-sh: Likewise. Remove 'pwd' variable.
14634
14635 2015-12-02 Carlos O'Donell <carlos@redhat.com>
14636
14637 * iconvdata/ibm930.c: Add comment explaining encoding uses.
14638 * iconvdata/ibm933.c: Likewise.
14639 * iconvdata/ibm935.c: Likewise.
14640 * iconvdata/ibm937.c: Likewise.
14641 * iconvdata/ibm939.c: Likewise.
14642
14643 2015-12-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14644
14645 * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
14646 pthread_join.
14647 * nptl/tst-cancel21.c (tf): Likewise.
14648
14649 2015-12-01 H.J. Lu <hongjiu.lu@intel.com>
14650
14651 [BZ #19313]
14652 * bits/typesizes.h (__CPU_MASK_TYPE): New.
14653 * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
14654 * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
14655 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
14656 Likewise.
14657 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
14658 Likewise.
14659 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
14660 Likewise.
14661 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
14662 Likewise.
14663 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
14664 * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
14665 unsigned long int with __CPU_MASK_TYPE.
14666
14667 2015-12-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
14668
14669 * sysdeps/aarch64/libm-test-ulps: Regenerated.
14670
14671 2015-12-01 Joseph Myers <joseph@codesourcery.com>
14672
14673 * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
14674 (__ieee754_sqrt): Use hex float constants instead of tm256.x and
14675 t512.x.
14676 * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
14677
14678 2015-11-30 Amit Pawar <amit.pawar@amd.com>
14679
14680 [BZ #19214]
14681 * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
14682 argument to return extended model. Update family and model
14683 with extended family and model when family == 0x0f.
14684 (init_cpu_features): Updated.
14685
14686 2015-11-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
14687
14688 The RPC interface used by mmap uses the unsigned vm_offset_t, not the
14689 signed off_t, so 32bit bigger than 2GiB values are fine actually.
14690
14691 * sysdeps/mach/hurd/mmap64.c: New file.
14692
14693 2015-11-29 Thomas Schwinge <thomas@codesourcery.com>
14694
14695 * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
14696 rights for its main user thread in NEWTASK.
14697
14698 2015-11-28 Maciej W. Rozycki <macro@imgtec.com>
14699
14700 * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
14701 (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
14702
14703 2015-11-27 Carlos O'Donell <carlos@redhat.com>
14704
14705 [BZ #14259]
14706 * Makeconfig: Rename localedir to complocaledir.
14707 Rename inst_localedir to inst_complocaledir.
14708 * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
14709 * config.make.in: Use complocaledir and libc_cv_complocaledir.
14710 * configure.ac: Use libc_cv_complocaledir.
14711 * configure: Regenerate.
14712 * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
14713 -DCOMPLOCALEDIR.
14714 * locale/findlocale.c: Use COMPLOCALEDIR.
14715 * locale/loadarchive.c: Likewise.
14716 * locale/programs/locale.c: Likewise.
14717 * locale/programs/localedef.c: Likewise.
14718 * locale/programs/locarchive.c: Likewise.
14719 * localedata/Makefile: Use inst_complocaledir.
14720 * sysdeps/gnu/configure: Regenerate.
14721 * sysdeps/hppa/configure: Regenerate.
14722 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
14723 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
14724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
14725 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
14726 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
14727 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
14728 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
14729
14730 2015-11-27 Andrew Senkevich <andrew.senkevich@intel.com>
14731
14732 [BZ #19058]
14733 * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
14734 AS_NEEDED.
14735 * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
14736 workaround.
14737 * sysdeps/x86_64/fpu/Makefile (libmvec-support,
14738 libmvec-static-only-routines): Added new file.
14739 * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
14740
14741 2015-11-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
14742
14743 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
14744 of interrupted RPC instead of restoring it.
14745
14746 * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
14747 * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
14748 libc_hidden_def.
14749 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
14750 into initialized data instead of common. Define rtld_hidden_data_def.
14751 * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
14752 * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
14753 libc_hidden_def.
14754 (if_freenameindex): Add libc_hidden_weak.
14755 (if_nameindex): Add libc_hidden_weak.
14756 * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
14757 __open64.
14758 * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
14759 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
14760 * sysdeps/mach/nanosleep.c: Include <time.h>
14761 (__nanosleep): Rename to __libc_nanosleep.
14762 (__nanosleep): Add weak_alias.
14763 (nanosleep): Update alias.
14764
14765 2015-11-24 Joseph Myers <joseph@codesourcery.com>
14766
14767 * stdlib/strtod_nan.c: New file.
14768 * stdlib/strtod_nan_double.h: Likewise.
14769 * stdlib/strtod_nan_float.h: Likewise.
14770 * stdlib/strtod_nan_main.c: Likewise.
14771 * stdlib/strtod_nan_narrow.h: Likewise.
14772 * stdlib/strtod_nan_wide.h: Likewise.
14773 * stdlib/strtof_nan.c: Likewise.
14774 * stdlib/strtold_nan.c: Likewise.
14775 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
14776 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
14777 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
14778 * wcsmbs/wcstod_nan.c: Likewise.
14779 * wcsmbs/wcstof_nan.c: Likewise.
14780 * wcsmbs/wcstold_nan.c: Likewise.
14781 * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
14782 strtold_nan.
14783 * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
14784 wcstof_nan.
14785 * include/stdlib.h (__strtof_nan): Declare and use
14786 libc_hidden_proto.
14787 (__strtod_nan): Likewise.
14788 (__strtold_nan): Likewise.
14789 (__wcstof_nan): Likewise.
14790 (__wcstod_nan): Likewise.
14791 (__wcstold_nan): Likewise.
14792 * include/wchar.h (____wcstoull_l_internal): Declare.
14793 * stdlib/strtod_l.c: Do not include <ieee754.h>.
14794 (____strtoull_l_internal): Remove declaration.
14795 (STRTOF_NAN): Define macro.
14796 (SET_MANTISSA): Remove macro.
14797 (STRTOULL): Likewise.
14798 (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
14799 * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
14800 (STRTOF_NAN): Define macro.
14801 (SET_MANTISSA): Remove macro.
14802 * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
14803 (SET_MANTISSA): Remove macro.
14804 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
14805 macro.
14806 (SET_MANTISSA): Remove macro.
14807 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
14808 macro.
14809 (SET_MANTISSA): Remove macro.
14810 * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
14811 (SET_MANTISSA): Remove macro.
14812 * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
14813 * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
14814 * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
14815
14816 [BZ #19266]
14817 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
14818 upper case and lower case letters inside NAN(), not using TOLOWER.
14819 * stdlib/tst-strtod-nan-locale-main.c: New file.
14820 * stdlib/tst-strtod-nan-locale.c: Likewise.
14821 * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
14822 [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
14823 Depend on $(gen-locales).
14824 ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
14825 * wcsmbs/tst-wcstod-nan-locale.c: New file.
14826 * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
14827 [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
14828 Depend on $(gen-locales).
14829 ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
14830
14831 2015-11-24 Chris Metcalf <cmetcalf@ezchip.com>
14832
14833 * misc/tst-tsearch.c (TIMEOUT): Set to 10.
14834
14835 * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
14836 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
14837 __finitel, __isinfl, and __isnanl.
14838 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
14839 Likewise.
14840 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
14841 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
14842 __finitel.
14843 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14844 Likewise.
14845 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14846
14847 2015-11-24 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
14848
14849 * malloc/memusage.c (me): Remove redundant getenv call.
14850
14851 2015-10-24 Florian Weimer <fweimer@redhat.com>
14852
14853 [BZ #19143]
14854 [BZ #19164]
14855 * nptl/check-cpuset.h: Remove.
14856 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
14857 Remove CPU set size check.
14858 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
14859 Likewise.
14860 * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
14861 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
14862 (__kernel_cpumask_size, __determine_cpumask_size): Remove.
14863 (__pthread_setaffinity_new): Remove CPU set size check.
14864 * sysdeps/unix/sysv/linux/sched_setaffinity.c
14865 (__kernel_cpumask_size): Remove.
14866 (__sched_setaffinity_new): Remove CPU set size check.
14867 * manual/threads.texi (Default Thread Attributes): Remove stale
14868 reference to check_cpuset_attr, determine_cpumask_size in comment.
14869 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
14870 Remove tst-getcpu. Add tst-affinity, tst-affinity-pid.
14871 [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
14872 tst-thread-affinity-pthread2, tst-thread-affinity-sched.
14873 * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
14874 * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
14875 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
14876 * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
14877 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
14878 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
14879 * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
14880 skeleton test file.
14881 * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove. Superseded by
14882 tst-affinity-pid.
14883
14884 2015-11-24 Florian Weimer <fweimer@redhat.com>
14885
14886 * scripts/update-abilist.sh: New file.
14887 * Makefile (+subdir_targets): Add subdir_update-all-abi.
14888 * Makerules (update-all-abi-%, update-all-abi)
14889 (subdir_update-all-abi): New targets.
14890 * elf/Makefile (update-all-abi): New target.
14891
14892 2015-11-24 Florian Weimer <fweimer@redhat.com>
14893
14894 Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
14895 * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
14896 (__libc_lock_define_initialized): Use it.
14897 * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
14898 * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
14899 * malloc/malloc.c (main_arena): Likewise.
14900 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
14901 * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
14902
14903 2015-11-23 Joseph Myers <joseph@codesourcery.com>
14904
14905 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
14906 (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
14907 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
14908 (PTRACE_O_MASK): Update value.
14909 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
14910 New value in enum __ptrace_setoptions.
14911 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
14912 (PTRACE_O_MASK): Update value.
14913 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
14914 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
14915 (PTRACE_O_MASK): Update value.
14916 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
14917 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
14918 (PTRACE_O_MASK): Update value.
14919 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
14920 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
14921 (PTRACE_O_MASK): Update value.
14922 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
14923 New value in enum __ptrace_setoptions.
14924 (PTRACE_O_MASK): Update value.
14925 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
14926 New value in enum __ptrace_setoptions.
14927 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
14928 (PTRACE_O_MASK): Update value.
14929
14930 * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
14931 New macro.
14932 (PACKET_AUXDATA): Likewise.
14933 (PACKET_ORIGDEV): Likewise.
14934 (PACKET_VERSION): Likewise.
14935 (PACKET_HDRLEN): Likewise.
14936 (PACKET_RESERVE): Likewise.
14937 (PACKET_TX_RING): Likewise.
14938 (PACKET_LOSS): Likewise.
14939 (PACKET_VNET_HDR): Likewise.
14940 (PACKET_TX_TIMESTAMP): Likewise.
14941 (PACKET_TIMESTAMP): Likewise.
14942 (PACKET_FANOUT): Likewise.
14943 (PACKET_TX_HAS_OFF): Likewise.
14944 (PACKET_QDISC_BYPASS): Likewise.
14945 (PACKET_ROLLOVER_STATS): Likewise.
14946 (PACKET_FANOUT_DATA): Likewise.
14947 (PACKET_MR_UNICAST): Likewise.
14948
14949 [BZ #19242]
14950 * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
14951 (TOUPPER): Likewise.
14952 * stdlib/tst-strtol-locale-main.c: New file.
14953 * stdlib/tst-strtol-locale.c: Likewise.
14954 * stdlib/Makefile (tests): Add tst-strtol-locale.
14955 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
14956 [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
14957 Depend on $(gen-locales).
14958 * wcsmbs/tst-wcstol-locale.c: New file.
14959 * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
14960 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
14961 tr_TR.ISO-8859-9.
14962 [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
14963 Depend on $(gen-locales).
14964
14965 2015-11-20 Roland McGrath <roland@hack.frob.com>
14966
14967 * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
14968 __glibc_likely instead of __builtin_expect. After falling back to
14969 dyncode_create in a non-ET_DYN case, use the allocate_code_data
14970 system interface to register the code pages as occupied.
14971
14972 2015-11-20 Joseph Myers <joseph@codesourcery.com>
14973
14974 * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
14975 [!ARM_MATH_PRIVATE_H].
14976 [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
14977 * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
14978 [!HPPA_MATH_PRIVATE_H].
14979 [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
14980 * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
14981 to [!I386_MATH_PRIVATE_H].
14982 [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
14983 * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
14984 Change guard to [!M68K_MATH_PRIVATE_H].
14985 [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
14986 * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
14987 guard to [!MICROBLAZE_MATH_PRIVATE_H].
14988 [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
14989 macro.
14990 * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
14991 [!MIPS_MATH_PRIVATE_H].
14992 [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
14993 * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
14994 [!NIO2_MATH_PRIVATE_H].
14995 [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
14996 * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
14997 [!TILE_MATH_PRIVATE_H].
14998 [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
14999
15000 [BZ #15421]
15001 * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
15002 initialize with 0 and define as weak alias of __signgam.
15003 * include/math.h [!_ISOMAC] (__signgam): Declare.
15004 * math/Makefile (libm-calls): Add w_lgamma_compat.
15005 (tests): Add test-signgam-uchar, test-signgam-uchar-init,
15006 test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
15007 test-signgam-ullong-init.
15008 (tests-static): Add test-signgam-uchar-static,
15009 test-signgam-uchar-init-static, test-signgam-uint-static,
15010 test-signgam-uint-init-static, test-signgam-ullong-static and
15011 test-signgam-ullong-init-static.
15012 (CFLAGS-test-signgam-uchar.c): New variable.
15013 (CFLAGS-test-signgam-uchar-init.c): Likewise.
15014 (CFLAGS-test-signgam-uchar-static.c): Likewise.
15015 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
15016 (CFLAGS-test-signgam-uint.c): Likewise.
15017 (CFLAGS-test-signgam-uint-init.c): Likewise.
15018 (CFLAGS-test-signgam-uint-static.c): Likewise.
15019 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
15020 (CFLAGS-test-signgam-ullong.c): Likewise.
15021 (CFLAGS-test-signgam-ullong-init.c): Likewise.
15022 (CFLAGS-test-signgam-ullong-static.c): Likewise.
15023 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
15024 * math/Versions (libm): Add GLIBC_2.23.
15025 * math/lgamma-compat.h: New file.
15026 * math/test-signgam-main.c: Likewise.
15027 * math/test-signgam-uchar-init-static.c: Likewise.
15028 * math/test-signgam-uchar-init.c: Likewise.
15029 * math/test-signgam-uchar-static.c: Likewise.
15030 * math/test-signgam-uchar.c: Likewise.
15031 * math/test-signgam-uint-init-static.c: Likewise.
15032 * math/test-signgam-uint-init.c: Likewise.
15033 * math/test-signgam-uint-static.c: Likewise.
15034 * math/test-signgam-uint.c: Likewise.
15035 * math/test-signgam-ullong-init-static.c: Likewise.
15036 * math/test-signgam-ullong-init.c: Likewise.
15037 * math/test-signgam-ullong-static.c: Likewise.
15038 * math/test-signgam-ullong.c: Likewise.
15039 * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
15040 wrapper of w_lgamma_main.c.
15041 * math/w_lgamma_compat.c: New file.
15042 * math/w_lgamma_compatf.c: Likewise.
15043 * math/w_lgamma_compatl.c: Likewise.
15044 * math/w_lgamma_main.c: New file. Based on w_lgamma.c. Include
15045 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
15046 defining compatibility symbols.
15047 (__lgamma): Change to LGFUNC (__lgamma). Use CALL_LGAMMA.
15048 * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
15049 wrapper of w_lgammaf_main.c.
15050 * math/w_lgammaf_main.c: New file. Based on w_lgammaf.c. Include
15051 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
15052 defining compatibility symbols.
15053 (__lgammaf): Change to LGFUNC (__lgammaf). Use CALL_LGAMMA.
15054 * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
15055 wrapper of w_lgammal_main.c.
15056 * math/w_lgammal_main.c: New file. Based on w_lgammal.c. Include
15057 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
15058 defining compatibility symbols.
15059 (__lgammal): Change to LGFUNC (__lgammal). Use CALL_LGAMMA.
15060 * sysdeps/ia64/fpu/lgamma-compat.h: New file.
15061 * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
15062 * sysdeps/ia64/fpu/w_lgamma_main.c: ...here. Include
15063 <lgamma-compat.h>.
15064 (__ieee754_lgamma): Change to LGFUNC (lgamma). Use CALL_LGAMMA.
15065 (__ieee754_gamma): Define as alias.
15066 * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
15067 * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here. Include
15068 <lgamma-compat.h>.
15069 (__ieee754_lgammaf): Change to LGFUNC (lgammaf). Use CALL_LGAMMA.
15070 (__ieee754_gammaf): Define as alias.
15071 * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
15072 * sysdeps/ia64/fpu/w_lgammal_main.c: ...here. Include
15073 <lgamma-compat.h>.
15074 (__ieee754_lgammal): Change to LGFUNC (lgammal). Use CALL_LGAMMA.
15075 (__ieee754_gammal): Define as alias.
15076 * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
15077 * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here. Include
15078 <math/w_lgamma_compat.c>.
15079 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
15080 Define as alias of __lgamma_compat and use in defining lgammal.
15081 * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
15082 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here. Include
15083 <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
15084 (USE_AS_COMPAT): New macro.
15085 (LGAMMA_OLD_VER): Undefine and redefine.
15086 (lgammal): Do not define here.
15087 (gammal): Only define here if [GAMMA_ALIAS].
15088 * conform/linknamespace.pl (@whitelist): Remove signgam.
15089 * sysdeps/nacl/libm.abilist: Update.
15090 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15091 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15092 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15093 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15094 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15095 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15096 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15097 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15098 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15099 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15100 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15101 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15103 Likewise.
15104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15105 Likewise.
15106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15107 Likewise.
15108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15109 Likewise.
15110 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15111 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15112 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15113 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15114 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15115 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15116 Likewise.
15117 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15118 Likewise.
15119 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15120 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15121 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15122
15123 2015-11-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15124
15125 [BZ #16364]
15126 * sysdeps/unix/sysv/linux/sleep.c: Remove file.
15127 * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
15128
15129 2015-11-20 Stefan Liebler <stli@linux.vnet.ibm.com>
15130
15131 * sysdeps/s390/fpu/bits/mathinline.h:
15132 Use __asm__ [__volatile__] instead of asm [volatile].
15133 * sysdeps/s390/abort-instr.h: Likewise.
15134 * sysdeps/s390/atomic-machine.h: Likewise.
15135 * sysdeps/s390/bits/string.h: Likewise.
15136 * sysdeps/s390/dl-tls.h: Likewise.
15137 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
15138 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
15139 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
15140 * sysdeps/s390/fpu/fesetround.c: Likewise.
15141 * sysdeps/s390/fpu/fpu_control.h: Likewise.
15142 * sysdeps/s390/fpu/s_fma.c: Likewise.
15143 * sysdeps/s390/fpu/s_fmaf.c: Likewise.
15144 * sysdeps/s390/memusage.h: Likewise.
15145 * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
15146 * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
15147 * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
15148 * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
15149 * sysdeps/s390/nptl/tls.h: Likewise.
15150 * sysdeps/s390/s390-32/__longjmp.c: Likewise.
15151 * sysdeps/s390/s390-32/backtrace.c: Likewise.
15152 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15153 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
15154 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15155 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
15156 * sysdeps/s390/s390-64/__longjmp.c: Likewise.
15157 * sysdeps/s390/s390-64/backtrace.c: Likewise.
15158 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15159 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
15160 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
15161 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15162 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
15163 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
15164 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
15165 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
15166 * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
15167 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
15168 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
15169 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15170 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
15171 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15172 * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
15173
15174 2015-11-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15175 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15176
15177 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
15178 Add lwarx hint, and use macro for acquire instruction.
15179 * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
15180 Likewise.
15181 * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
15182 * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
15183 update to use new atomic macros.
15184
15185 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15186
15187 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
15188 (__lll_trylock_elision): Fix setting of adapt_count.
15189 * sysdeps/unix/sysv/linux/powerpc/htm.h
15190 (_ABORT_PERSISTENT): Define to clarify persistent aborts.
15191 (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
15192 (_ABORT_SYSCALL): Renumber, and clarify definition.
15193 (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
15194
15195 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15196
15197 * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
15198 after system headers to prevent MIN/MAX redefinition. Define
15199 HAVE_ALLOCA to preserve builtin alloca usage.
15200
15201 2015-11-17 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
15202
15203 * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
15204 static and don't set or restore rounding.
15205 (__cos)[IN_SINCOS]: Likewise.
15206 * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
15207 (__sincos): Set and restore rounding mode. Remove check for infinite
15208 or NaN input.
15209
15210 * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
15211
15212 * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
15213 as used.
15214
15215 2015-11-16 Florian Weimer <fweimer@redhat.com>
15216
15217 * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
15218
15219 2015-11-14 H.J. Lu <hongjiu.lu@intel.com>
15220
15221 * config.make.in (have-glob-dat-reloc): New.
15222 * configure.ac (libc_cv_has_glob_dat): New. Set to yes if
15223 target supports GLOB_DAT relocaton. AC_SUBST.
15224 * configure: Regenerated.
15225 * elf/Makefile (tests): Add tst-prelink.
15226 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
15227 (tst-prelink-ENV): New.
15228 ($(objpfx)tst-prelink-conflict.out): Likewise.
15229 ($(objpfx)tst-prelink-cmp.out): Likewise.
15230 * sysdeps/x86/tst-prelink.c: Moved to ...
15231 * elf/tst-prelink.c: Here.
15232 * sysdeps/x86/tst-prelink.exp: Moved to ...
15233 * elf/tst-prelink.exp: Here.
15234 * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
15235 (tst-prelink-ENV): Removed.
15236 ($(objpfx)tst-prelink-conflict.out): Likewise.
15237 ($(objpfx)tst-prelink-cmp.out): Likewise.
15238 (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
15239
15240 2015-11-13 Joseph Myers <joseph@codesourcery.com>
15241
15242 [BZ #14551]
15243 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
15244 (__mpn_construct_long_double): If high part overflows to infinity,
15245 set errno and recompute overflowed result of the correct sign.
15246 * sysdeps/ieee754/ldbl-128ibm/Makefile
15247 [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
15248 [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
15249 $(libm).
15250 * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
15251
15252 2015-11-12 Joseph Myers <joseph@codesourcery.com>
15253
15254 [BZ #15479]
15255 [BZ #19238]
15256 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
15257 floating-point state after first operation on input. Restore full
15258 state rather than just rounding mode.
15259 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
15260 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
15261 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
15262
15263 [BZ #19235]
15264 * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
15265 add 0.5 to integer arguments.
15266 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
15267 Likewise.
15268 (.LC2): New object.
15269
15270 2015-11-11 Mike Frysinger <vapier@gentoo.org>
15271
15272 * scripts/pylintrc (reports): Set to no.
15273
15274 2015-11-10 Roland McGrath <roland@hack.frob.com>
15275
15276 * elf/dl-load.c (open_verify): Take new argument FD.
15277 Skip __open call if passed FD is not -1.
15278 (_dl_map_object, open_path): Update callers.
15279 * elf/dl-sysdep-open.h: New file.
15280 * elf/dl-load.c: Include it.
15281 (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
15282 * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
15283 * sysdeps/nacl/dl-sysdep-open.h: New file.
15284 * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
15285 from libc to rtld.
15286
15287 2015-11-10 Joseph Myers <joseph@codesourcery.com>
15288
15289 [BZ #19228]
15290 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
15291 and restore full floating-point state.
15292 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
15293 Likewise.
15294 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
15295 Likewise.
15296 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
15297 Likewise.
15298 * math/test-nearbyint-except-2.c: New file.
15299 * math/Makefile (tests): Add test-nearbyint-except-2.
15300
15301 2015-11-10 H.J. Lu <hongjiu.lu@intel.com>
15302
15303 [BZ #19178]
15304 * sysdeps/x86/Makefile (tests): Add tst-prelink.
15305 (tst-prelink-ENV): New.
15306 ($(objpfx)tst-prelink-conflict.out): Likewise.
15307 ($(objpfx)tst-prelink-cmp.out): Likewise.
15308 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
15309 * sysdeps/x86/tst-prelink.c: New file.
15310 * sysdeps/x86/tst-prelink.exp: Likewise.
15311
15312 2015-11-10 Joseph Myers <joseph@codesourcery.com>
15313
15314 * math/auto-libm-test-in: Add another test of pow.
15315 * math/auto-libm-test-out: Regenerated.
15316 * math/libm-test.inc (pow_test_data): Add another test.
15317
15318 2015-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15319
15320 [BZ #19219]
15321 * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
15322 weak_alias to nearbyintl.
15323
15324 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
15325
15326 * sysdeps/aarch64/bits/string.h: New file.
15327 (_STRING_ARCH_unaligned): Define.
15328
15329 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
15330
15331 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
15332 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
15333 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
15334 * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
15335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
15336
15337 2015-11-09 Ulrich Drepper <drepper@gmail.com>
15338
15339 * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
15340 for original name of the DSO. Add it to the name list of the DSO
15341 if it is actually given.
15342 (_dl_map_object): Keep track of whether an audit module rewrote
15343 the file name. If yes, pass the original name to
15344 _dl_map_object_from_fd in a new parameter, otherwise NULL. When
15345 debugging is enabled, log the change of the file name.
15346 * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
15347 _dl_map_object_from_fd.
15348 * elf/Makefile: Build and run tst-audit11 and tst-audit12.
15349 * elf/tst-audit11.c: New file
15350 * elf/tst-auditmod11.c: New file.
15351 * elf/tst-audit11mod1.c: New file.
15352 * elf/tst-audit11mod2.c: New file.
15353 * elf/tst-audit11mod2.map: New file.
15354 * elf/tst-audit12.c: New file
15355 * elf/tst-auditmod12.c: New file.
15356 * elf/tst-audit12mod1.c: New file.
15357 * elf/tst-audit12mod2.c: New file.
15358 * elf/tst-audit12mod2.map: New file.
15359 * elf/tst-audit12mod3.c: New file.
15360
15361 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
15362
15363 * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
15364 Don't create weak aliases,
15365 because versioned symbols are created later.
15366 * sysdeps/s390/s390-32/setjmp.S
15367 (setjmp, _setjmp): Remove weak and rename to an unique name
15368 in SHARED case due to existing versioned symbols.
15369 * sysdeps/s390/s390-64/setjmp.S: Likewise.
15370 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
15371 (getcontext): Create weak alias only in non SHARED case.
15372 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
15373
15374 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
15375
15376 * sysdeps/unix/sysv/linux/s390/kernel-features.h:
15377 (__ASSUME_*_SYSCALL) Define new macros.
15378 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
15379 Remove socketcall syscalls.
15380 * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
15381 Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
15382 * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
15383 Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
15384 * sysdeps/unix/sysv/linux/send.c (__libc_send):
15385 Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
15386
15387 2015-11-09 Florian Weimer <fweimer@redhat.com>
15388
15389 [BZ #12926]
15390 Terminate process on invalid netlink response.
15391 * sysdeps/unix/sysv/linux/netlinkaccess.h
15392 (__netlink_assert_response): Declare.
15393 * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
15394 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
15395 (sysdep_routines): Add netlink_assert_response.
15396 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
15397 __netlink_assert_response.
15398 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
15399 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
15400 * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
15401 __netlink_assert_response.
15402
15403 2015-11-07 H.J. Lu <hongjiu.lu@intel.com>
15404
15405 [BZ #19178]
15406 * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
15407 (RTYPE_CLASS_PLT): Likewise.
15408 (RTYPE_CLASS_COPY): Likewise.
15409 (RTYPE_CLASS_TLS): Likewise.
15410 (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
15411 to set relocation type class for DL_DEBUG_PRELINK. Keep only
15412 ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
15413 DL_DEBUG_PRELINK.
15414
15415 2015-11-06 Joseph Myers <joseph@codesourcery.com>
15416
15417 * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
15418 calls with argument -0.5.
15419 * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
15420
15421 * configure.ac (libc_cv_z_nodelete): Remove configure test.
15422 (libc_cv_z_nodlopen): Likewise.
15423 (libc_cv_z_initfirst): Likewise.
15424 * configure: Regenerated.
15425
15426 2015-11-06 Florian Weimer <fweimer@redhat.com>
15427
15428 Simplify abilist format to be line-based.
15429 * scripts/abilist.awk: Collect descriptors in the descs variable.
15430 (emit): Write descs variable and sort it
15431 externally, with sort.
15432 * sysdeps/**/*.abilist: Convert to new format.
15433
15434 2015-11-06 Mark Wielaard <mjw@redhat.com>
15435
15436 [BZ #11460]
15437 * io/Makefile (routines): Add fts64.
15438 (tests): Add tst-fts and tst-fts-lfs.
15439 (CFLAGS-fts64.c): New.
15440 * io/Versions (GLIBC_2.23): New.
15441 * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
15442 function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
15443 FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
15444 FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
15445 * io/fts.h (FTS64): New if _USE_LARGEFILE64.
15446 (FTSENT64): Likewise.
15447 (fts64_children): Likewise.
15448 (fts64_close): Likewise.
15449 (fts64_open): Likewise.
15450 (fts64_read): Likewise.
15451 (fts64_set): Likewise.
15452 * io/fts64.c: New file.
15453 * io/tst-fts.c: New test.
15454 * io/tst-fts-lfs.c: Likewise.
15455 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
15456 GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
15457 fts64_set.
15458 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15459 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
15460 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15461 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
15462 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15463 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15464 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15465 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15466 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15467 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15468 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15469 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15470 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
15472 Likewise.
15473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15474 Likewise.
15475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15477 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15478 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15479 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15480 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15481 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15482 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
15483 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
15484 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15485 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15486 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15487 * sysdeps/wordsize-64/fts.c: New file.
15488 * sysdeps/wordsize-64/fts64.c: Likewise.
15489 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
15490 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
15491 * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
15492 * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
15493
15494 2015-11-05 Joseph Myers <joseph@codesourcery.com>
15495
15496 * math/libm-test.inc (NON_FINITE): New macro.
15497 (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
15498 * math/gen-libm-test.pl (show_exceptions): Add argument
15499 $non_finite.
15500 (parse_args): Update call to show_exceptions.
15501 * math/test-math-finite.h: New file.
15502 * math/test-math-no-finite.h: Likewise.
15503 * math/test-double-finite.c: Likewise.
15504 * math/test-float-finite.c: Likewise.
15505 * math/test-ldouble-finite.c: Likewise.
15506 * math/test-double.c: Include "test-math-no-finite.h".
15507 * math/test-float.c: Include "test-math-no-finite.h".
15508 * math/test-ldouble.c: Include "test-math-no-finite.h".
15509 * math/test-math-inline.h (TEST_FINITE): New macro.
15510 * math/test-math-vector.h (TEST_FINITE): Likewise.
15511 * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
15512 (libm-tests): Add test-float-finite and test-double-finite.
15513 ($(objpfx)test-float-finite.o): New dependency on
15514 $(objpfx)libm-test.stmp.
15515 ($(objpfx)test-double-finite.o): Likewise.
15516 ($(objpfx)test-ldouble-finite.o): Likewise.
15517 (libm-test-no-inline-cflags): New variable.
15518 (libm-test-finite-cflags): Likewise.
15519 (CFLAGS-test-float-finite.c): Likewise.
15520 (CFLAGS-test-double-finite.c): Likewise.
15521 (CFLAGS-test-ldouble-finite.c): Likewise.
15522 (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
15523 (CFLAGS-test-double.c): Likewise.
15524 (CFLAGS-test-ldouble.c): Likewise.
15525
15526 2015-11-05 Roland McGrath <roland@hack.frob.com>
15527
15528 * io/fcntl.c (__fcntl): Add ... to prototype.
15529 * misc/ioctl.c (__ioctl): Likewise.
15530 * misc/syscall.c (syscall): Likewise.
15531
15532 2015-11-05 Joseph Myers <joseph@codesourcery.com>
15533
15534 * scripts/list-fixed-bugs.py: New file.
15535
15536 [BZ #19213]
15537 * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
15538 returned for argument 1.
15539 * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
15540 * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
15541 * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
15542 * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
15543 * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
15544 * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
15545
15546 [BZ #19211]
15547 * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
15548 __USE_XOPEN], not if [!__USE_ISOC99].
15549 (lgammaf): Likewise.
15550 (lgammal): Likewise.
15551 (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
15552 (gammaf): Likewise.
15553 (gammal): Likewise.
15554 * math/test-signgam-finite-c11.c: New file.
15555 * math/test-signgam-finite-c99.c: Likewise.
15556 * math/test-signgam-finite.c: Likewise.
15557 * math/Makefile (tests): Add test-signgam-finite,
15558 test-signgam-finite-c99 and test-signgam-finite-c11.
15559 (CFLAGS-test-signgam-finite.c): New variable.
15560 (CFLAGS-test-signgam-finite-c99.c): Likewise.
15561 (CFLAGS-test-signgam-finite-c11.c): Likewise.
15562
15563 [BZ #19212]
15564 * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
15565 conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
15566 500].
15567 [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
15568 _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
15569 [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
15570 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
15571 [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
15572 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
15573 [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
15574 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
15575 [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
15576 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
15577
15578 [BZ #19209]
15579 * math/bits/math-finite.h (ldexp): Remove declaration.
15580 (ldexpf): Likewise.
15581 (ldexpl): Likewise.
15582
15583 [BZ #19205]
15584 * math/bits/math-finite.h (acosf): Condition declaration on
15585 [__USE_ISOC99].
15586 (acosl): Likewise.
15587 (acoshf): Likewise.
15588 (acoshl): Likewise.
15589 (asinf): Likewise.
15590 (asinl): Likewise.
15591 (atan2f): Likewise.
15592 (atan2l): Likewise.
15593 (atanhf): Likewise.
15594 (atanhl): Likewise.
15595 (coshf): Likewise.
15596 (coshl): Likewise.
15597 (expf): Likewise.
15598 (expl): Likewise.
15599 (fmodf): Likewise.
15600 (fmodl): Likewise.
15601 (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
15602 (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
15603 (j0l): Likewise.
15604 (y0f): Likewise.
15605 (y0l): Likewise.
15606 (j1f): Likewise.
15607 (j1l): Likewise.
15608 (y1f): Likewise.
15609 (y1l): Likewise.
15610 (jnf): Likewise.
15611 (jnl): Likewise.
15612 (ynf): Likewise.
15613 (ynl): Likewise.
15614 (lgammaf_r): Condition declaration on [__USE_ISOC99].
15615 (lgammal_r): Likewise.
15616 (__lgamma_r_finite): New declaration.
15617 (__lgammaf_r_finite): Likewise.
15618 (__lgammal_r_finite): Likewise.
15619 (lgamma): Use __lgamma_r_finite.
15620 (lgammaf): Condition definition on [__USE_ISOC99]. Use
15621 __lgammaf_r_finite.
15622 (lgammal): Condition definition on [__USE_ISOC99]. Use
15623 __lgammal_r_finite.
15624 (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K]. Use
15625 __lgamma_r_finite.
15626 (gammaf): Condition definition on [__USE_ISOC99]. Use
15627 __lgammaf_r_finite.
15628 (gammal): Condition definition on [__USE_ISOC99]. Use
15629 __lgammal_r_finite.
15630 (logf): Condition declaration on [__USE_ISOC99].
15631 (logl): Likewise.
15632 (log10f): Likewise.
15633 (log10l): Likewise.
15634 (ldexpf): Likewise.
15635 (ldexpl): Likewise.
15636 (powf): Likewise.
15637 (powl): Likewise.
15638 (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
15639 __USE_ISOC99].
15640 (remainderf): Condition declaration on [__USE_ISOC99].
15641 (remainderl): Likewise.
15642 (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
15643 (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
15644 (scalbl): Likewise.
15645 (sinhf): Condition declaration on [__USE_ISOC99].
15646 (sinhl): Likewise.
15647 (sqrtf): Likewise.
15648 (sqrtl): Likewise.
15649
15650 2015-11-04 Joseph Myers <joseph@codesourcery.com>
15651
15652 * sysdeps/arm/atomic-machine.h
15653 [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
15654 Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
15655 [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
15656 Remove conditional code.
15657 [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
15658 Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
15659 * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
15660 Change conditional to [__ASSEMBLER__].
15661 [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
15662 [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
15663 [!__ASSEMBLER__].
15664 [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
15665 code.
15666 * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
15667 conditional macro definitions.
15668 (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
15669 (__arch_compare_and_exchange_val_16_acq): Likewise.
15670 (__arch_compare_and_exchange_val_32_acq): Likewise.
15671 (atomic_exchange_and_add): Likewise.
15672 (atomic_add): Likewise.
15673 (atomic_add_negative): Likewise.
15674 (atomic_add_zero): Likewise.
15675 (atomic_bit_set): Likewise.
15676 (atomic_bit_test_set): Likewise.
15677 * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
15678 code unconditional.
15679 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15680
15681 * math/test-math-errno.h: New file.
15682 * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
15683 empty.
15684 (TEST_ERRNO): New macro.
15685 (TEST_EXCEPTIONS): Likewise.
15686 * math/test-math-no-inline.h (TEST_INLINE): Likewise.
15687 (TEST_EXCEPTIONS): Likewise.
15688 * math/test-math-vector.h (TEST_ERRNO): Likewise.
15689 * math/test-double.c: Include "test-math-errno.h".
15690 * math/test-float.c: Likewise.
15691 * math/test-ldouble.c: Likewise.
15692 * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
15693 code unconditional.
15694 (test_exceptions): Only run code if TEST_EXCEPTIONS.
15695 (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
15696 unconditional.
15697 (test_errno): Only run code if TEST_ERRNO.
15698 (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
15699
15700 2015-11-04 Florian Weimer <fweimer@redhat.com>
15701
15702 * nptl/tst-once5.cc: Remove attribution.
15703
15704 2015-11-04 Joseph Myers <joseph@codesourcery.com>
15705
15706 * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
15707 sqrt, tan, tanh, y0, y1 and yn.
15708 * math/auto-libm-test-out: Regenerated.
15709 * math/libm-test.inc (scalb_test_data): Add more tests.
15710 (scalbn_test_data): Likewise.
15711 (scalbln_test_data): Likewise.
15712 (signbit_test_data): Likewise.
15713 (sin_test_data): Likewise.
15714 (sincos_test_data): Likewise.
15715 (sinh_test_data): Likewise.
15716 (sqrt_test_data): Likewise.
15717 (tan_test_data): Likewise.
15718 (tanh_test_data): Likewise.
15719 (tgamma_test_data): Likewise.
15720 (y0_test_data): Likewise.
15721 (y1_test_data): Likewise.
15722 (yn_test_data): Likewise.
15723 (significand_test_data): Likewise.
15724 * sysdeps/i386/fpu/libm-test-ulps: Update.
15725
15726 2015-11-03 David Kastrup <dak@gnu.org>
15727
15728 [BZ #18604]
15729 * assert/assert.h (assert): Don't macro-expand failed assertion
15730 expression in error message.
15731 * malloc/malloc.c (assert): Likewise.
15732
15733 2015-11-03 Joseph Myers <joseph@codesourcery.com>
15734
15735 * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
15736 test.
15737 * configure: Regenerated.
15738
15739 2015-11-02 Joseph Myers <joseph@codesourcery.com>
15740
15741 * math/libm-test.inc (modf_test_data): Add more tests.
15742 (nearbyint_test_data): Likewise.
15743 (nextafter_test_data): Likewise.
15744 (nexttoward_test_data): Likewise.
15745 (pow_test_data): Likewise.
15746 (remainder_test_data): Likewise.
15747 (remquo_test_data): Likewise.
15748 (rint_test_data): Likewise.
15749
15750 [BZ #19201]
15751 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15752 Check for zero remainder in case of large exponents and ensure
15753 correct sign of result in that case.
15754 * math/libm-test.inc (remainder_test_data): Add more tests.
15755
15756 [BZ #6799]
15757 * math/s_nextafter.c: Include <errno.h>.
15758 (__nextafter): Set errno on overflow and underflow.
15759 * math/s_nexttowardf.c: Include <errno.h>.
15760 (__nexttowardf): Set errno on overflow and underflow.
15761 * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
15762 (__nextafterl): Set errno on overflow and underflow.
15763 * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
15764 (__nexttoward): Set errno on overflow and underflow.
15765 * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
15766 (__nexttowardf): Set errno on overflow and underflow.
15767 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
15768 (__nextafterf): Set errno on overflow and underflow.
15769 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
15770 (__nextafterl): Set errno on overflow and underflow.
15771 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
15772 (__nexttoward): Set errno on overflow and underflow.
15773 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
15774 (__nexttowardf): Set errno on overflow and underflow.
15775 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
15776 (__nextafterl): Set errno on overflow and underflow.
15777 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
15778 (__nexttoward): Set errno on overflow and underflow.
15779 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
15780 (__nexttowardf): Set errno on overflow and underflow.
15781 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
15782 (__nexttoward): Set errno on overflow and underflow.
15783 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
15784 (__nexttowardf): Set errno on overflow and underflow.
15785 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
15786 (__nldbl_nexttowardf): Set errno on overflow and underflow.
15787 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
15788 (__nextafterl): Set errno on overflow and underflow.
15789 * math/libm-test.inc (nextafter_test_data): Do not allow errno
15790 setting to be missing on overflow. Add more tests.
15791 (nexttoward_test_data): Likewise.
15792
15793 * configure.ac (libc_cv_initfini_array): Remove configure test.
15794 * configure: Regenerated.
15795
15796 2015-10-29 Joseph Myers <joseph@codesourcery.com>
15797
15798 [BZ #19189]
15799 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
15800 non-finite argument handle arguments with negative sign.
15801
15802 * math/libm-test.inc (j0_test_data): Do not test sign of zero
15803 result from infinite argument.
15804 (j1_test_data): Likewise.
15805 (jn_test_data): Likewise.
15806 (y0_test_data): Likewise.
15807 (y1_test_data): Likewise.
15808 (yn_test_data): Likewise.
15809
15810 [BZ #16171]
15811 * math/w_remainder.c (drem): Define as weak alias of __remainder.
15812 [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
15813 * math/w_remainderf.c (dremf): Define as weak alias of
15814 __remainderf.
15815 * math/w_remainderl.c (dreml): Define as weak alias of
15816 __remainderl.
15817 * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
15818 __remainder.
15819 * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
15820 __remainderf.
15821 * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
15822 __remainderl.
15823 * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
15824 weak alias of remainderl.
15825 * sysdeps/ieee754/ldbl-opt/w_remainder.c
15826 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
15827 alias of __remainder.
15828 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
15829 * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
15830 strong alias of __remainderl.
15831 (dreml): Use long_double_symbol.
15832 * math/Makefile (libm-calls): Remove w_drem.
15833 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
15834 (CFLAGS-nldbl-drem.c): Remove variable.
15835 (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
15836 * math/w_drem.c: Remove file.
15837 * math/w_dremf.c: Likewise.
15838 * math/w_dreml.c: Likewise.
15839 * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
15840 * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
15841 * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
15842
15843 * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
15844 * sysdeps/i386/configure: Regenerated.
15845 * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
15846 * sysdeps/x86_64/configure: Regenerated.
15847
15848 * configure.ac (libc_cv_asm_protected_directive): Remove configure
15849 test.
15850 (libc_cv_visibility_attribute): Likewise.
15851 (libc_cv_protected_data): Test unconditionally.
15852 (libc_cv_broken_visibility_attribute): Remove configure test.
15853 (libc_cv_have_sdata_section): Test unconditionally.
15854 * configure: Regenerated.
15855
15856 * include/libc-internal.h (libc_max_align_t): Remove typedef.
15857 * include/scratch_buffer.h: Include <stddef.h> instead of
15858 <libc-internal.h>.
15859 (struct scratch_buffer): Use max_align_t instead of
15860 libc_max_align_t.
15861
15862 2015-10-29 Florian Weimer <fweimer@redhat.com>
15863
15864 * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
15865 instead of extend_alloca. Change control flow to avoid a goto.
15866 Remove assert which is trivially always true.
15867
15868 2015-10-28 Joseph Myers <joseph@codesourcery.com>
15869
15870 [BZ #16068]
15871 * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
15872 (FE_ALL_EXCEPT_X86): New macro.
15873 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
15874 FE_ALL_EXCEPT. Ensure precision control is included in
15875 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
15876 handle "denormal operand exception" and clear FZ and DAZ bits.
15877 * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
15878 (FE_ALL_EXCEPT_X86): New macro.
15879 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
15880 FE_ALL_EXCEPT. Ensure precision control is included in
15881 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
15882 handle "denormal operand exception" and clear FZ and DAZ bits.
15883 * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
15884 * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
15885 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
15886 test-fenv-x87 and test-fenv-sse-2.
15887 [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
15888
15889 * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
15890 * math/test-double.h (BUILD_COMPLEX): New macro.
15891 * math/test-float.h (BUILD_COMPLEX): Likewise.
15892 * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
15893
15894 * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
15895 DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
15896 __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
15897 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
15898 instead of DBL_DENORM_MIN in comment.
15899 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
15900 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
15901 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
15902 (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
15903 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
15904 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
15905
15906 2015-10-28 Florian Weimer <fweimer@redhat.com>
15907
15908 [BZ# 19048]
15909 * malloc/malloc.c (struct malloc_state): Update comment. Add
15910 attached_threads member.
15911 (main_arena): Initialize attached_threads.
15912 * malloc/arena.c (list_lock): Update comment.
15913 (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
15914 (ptmalloc_unlock_all2): Reinitialize arena reference counts.
15915 (deattach_arena): New function.
15916 (_int_new_arena): Initialize arena reference count and deattach
15917 replaced arena.
15918 (get_free_list, reused_arena): Update reference count and deattach
15919 replaced arena.
15920 (arena_thread_freeres): Update arena reference count and only put
15921 unreferenced arenas on the free list.
15922
15923 2015-10-28 Joseph Myers <joseph@codesourcery.com>
15924
15925 [BZ #19181]
15926 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
15927 SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
15928 * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
15929 * math/test-fenv-clear-main.c: New file.
15930 * math/test-fenv-clear.c: Likewise.
15931 * math/Makefile (tests): Add test-fenv-clear.
15932 * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
15933 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
15934 test-fenv-clear-sse.
15935 [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
15936
15937 * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
15938 DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
15939 __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
15940
15941 2015-10-28 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
15942
15943 * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
15944 static libc.
15945
15946 2015-10-28 Joseph Myers <joseph@codesourcery.com>
15947
15948 * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
15949 test.
15950 * sysdeps/i386/configure: Regenerated.
15951 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
15952 test.
15953 * sysdeps/x86_64/configure: Regenerated.
15954 * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
15955 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15956 memset-avx2 unconditionally instead of conditionally on
15957 [$(config-cflags-avx2) = yes].
15958 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15959 (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
15960 unconditional.
15961 * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
15962 * sysdeps/x86_64/multiarch/memset_chk.S
15963 [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
15964 to [IS_IN (libc) && SHARED].
15965
15966 2015-10-27 Joseph Myers <joseph@codesourcery.com>
15967
15968 * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
15969 configure test.
15970 * sysdeps/arm/configure: Regenerated.
15971 * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
15972 Define variable if not already defined.
15973
15974 [BZ #17404]
15975 * sysdeps/mips/atomic-machine.h
15976 [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
15977 Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
15978 [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
15979
15980 * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
15981 unconditional.
15982 * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
15983 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15984 * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
15985 unconditional.
15986 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15987 * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
15988 unconditional.
15989 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15990 * stdlib/setenv.c
15991 [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
15992 code unconditional.
15993 [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
15994 Remove conditional code.
15995 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
15996 (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
15997 unconditional.
15998 (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
15999 code.
16000 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
16001 (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
16002 unconditional.
16003 (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
16004 code.
16005 * sysdeps/ieee754/ldbl-128/k_tanl.c
16006 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
16007 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16008 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
16009 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
16010 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16011 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
16012 (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
16013 unconditional.
16014 (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
16015 code.
16016 * sysdeps/ieee754/ldbl-96/k_tanl.c
16017 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
16018 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16019
16020 * nptl/tst-initializers1-c11.c: New file.
16021 * nptl/tst-initializers1-gnu11.c: Likewise.
16022 * nptl/Makefile (tests): Add these new tests.
16023 (CFLAGS-tst-initializers1-c11.c): New variable.
16024 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
16025
16026 * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
16027 * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
16028 instead of -std=gnu99.
16029 * configure.ac (systemtap): Test with -std=gnu11 instead of
16030 -std=gnu99.
16031 * configure: Regenerated.
16032 * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
16033 in compilation command in comment.
16034
16035 * sysdeps/nptl/configure.ac: Remove file.
16036 * sysdeps/nptl/configure: Remove generated file.
16037 * configure.ac (libc_cv_forced_unwind): Do not substitute.
16038 * configure: Regenerated.
16039 * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
16040 * config.make.in (have-forced-unwind): Remove variable.
16041 * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
16042 unconditional.
16043 * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
16044 * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
16045 (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
16046 * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
16047 * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
16048 unconditional.
16049
16050 2015-10-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16051
16052 [BZ #19174]
16053 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
16054 .skip_lock_out_of_tbegin_retries.
16055 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
16056 (__lll_lock_elision): Likewise, and respect a value of
16057 try_tbegin <= 0.
16058
16059 2015-10-27 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
16060
16061 * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
16062 statement.
16063
16064 2015-10-27 Joseph Myers <joseph@codesourcery.com>
16065
16066 * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
16067 variable.
16068 (test-xfail-ISO11/stdalign.h/conform): Likewise.
16069 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
16070
16071 * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
16072 of -std=c1x -D_ISOC11_SOURCE.
16073
16074 * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
16075 * configure: Regenerated.
16076 * manual/install.texi (Tools for Compilation): Document
16077 requirement for GCC 4.7 or later.
16078 * INSTALL: Regenerated.
16079
16080 2015-10-27 Ludovic Courtès <ludo@gnu.org>
16081
16082 * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
16083 on CNT to a conditional jump to 'puntdata'.
16084
16085 2015-10-27 Joseph Myers <joseph@codesourcery.com>
16086
16087 * configure.ac (libc_cv_gcc___thread): Remove configure test.
16088 (libc_cv_gcc_tls_model_attr): Likewise.
16089 * configure: Regenerated.
16090
16091 * configure.ac (libc_cv_need_minus_P): Remove configure test.
16092 * configure: Regenerated.
16093 * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
16094
16095 2015-10-26 Joseph Myers <joseph@codesourcery.com>
16096
16097 * configure.ac (old_glibc_headers): Remove configure test.
16098 * configure: Regenerated.
16099 * config.make.in (old-glibc-headers): Remove variable.
16100 * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
16101 (install): Remove dependency on remove-old-headers.
16102 (headers2_0): Remove variable.
16103 (remove-old-headers): Remove rule.
16104
16105 * configure.ac (libc_cv_dot_text): Remove configure test.
16106 (libc_cv_asm_set_directive): Use .text instead of
16107 ${libc_cv_dot_text} in configure test.
16108 * configure: Regenerated.
16109
16110 2015-10-26 Florian Weimer <fweimer@redhat.com>
16111
16112 [BZ #19168]
16113 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16114
16115 2015-10-26 Florian Weimer <fweimer@redhat.com>
16116
16117 * configure.ac (CXX): Clear the variable if the C++ toolchain does
16118 not support static linking.
16119 * configure: Regenerate.
16120
16121 2015-10-23 Joseph Myers <joseph@codesourcery.com>
16122
16123 * math/libm-test.inc (check_float_internal): Do not special-case
16124 errors up to 0.5 ulp.
16125
16126 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
16127 log2.
16128 * math/auto-libm-test-out: Regenerated.
16129 * math/libm-test.inc (MAX_EXP): New macro.
16130 (ilogb_test_data): Add more tests.
16131 (isfinite_test_data): Likewise.
16132 (isgreater_test_data): Likewise.
16133 (isgreaterequal_test_data): Likewise.
16134 (isinf_test_data): Likewise.
16135 (isless_test_data): Likewise.
16136 (islessequal_test_data): Likewise.
16137 (islessgreater_test_data): Likewise.
16138 (isnan_test_data): Likewise.
16139 (isnormal_test_data): Likewise.
16140 (issignaling_test_data): Likewise.
16141 (isunordered_test_data): Likewise.
16142 (j0_test_data): Likewise.
16143 (j1_test_data): Likewise.
16144 (jn_test_data): Likewise.
16145 (lgamma_test_data): Likewise.
16146 (log_test_data): Likewise.
16147 (log10_test_data): Likewise.
16148 (log1p_test_data): Likewise.
16149 (log2_test_data): Likewise.
16150 (logb_test_data): Likewise.
16151 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16152
16153 [BZ #18611]
16154 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
16155 avoid excess range and precision on underflow.
16156 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
16157 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
16158 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
16159 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
16160 underflow.
16161 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16162 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16163 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16164 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16165 * math/auto-libm-test-in: Do not allow missing errno setting for
16166 tests of j1 and jn.
16167 * math/auto-libm-test-out: Regenerated.
16168
16169 2015-10-22 Joseph Myers <joseph@codesourcery.com>
16170
16171 [BZ #15491]
16172 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
16173 floating-point environment instead of clearing all exceptions.
16174 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
16175 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
16176 merging in "invalid" exceptions from frndint.
16177 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
16178 * math/test-nearbyint-except.c: New file.
16179 * math/Makefile (tests): Add test-nearbyint-except.
16180
16181 2015-10-22 Chris Metcalf <cmetcalf@ezchip.com>
16182
16183 * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
16184
16185 * sysdeps/tile/libm-test-ulps: Regenerated.
16186
16187 2015-10-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16188
16189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
16190 (__NR_sync_file_range2): Assume it is always defined.
16191 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
16192 (__NR_sync_file_range): Assume it is always defined.
16193
16194 2015-10-22 Andreas Schwab <schwab@suse.de>
16195
16196 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
16197 INTERNAL_SYSCALL_ERRNO.
16198 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
16199 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
16200 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
16201 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
16202 Likewise.
16203 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
16204
16205 2015-10-21 Joseph Myers <joseph@codesourcery.com>
16206
16207 * io/tst-fcntl.c (fd): New static variable.
16208 (do_prepare): Open temporary file here....
16209 (do_test): ...not here.
16210
16211 * io/ftwtest-sh: Also trap on exit to remove temporary files.
16212
16213 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
16214
16215 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
16216 __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
16217 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
16218 Moved before "#ifdef __ASSEMBLER__".
16219
16220 2015-10-21 Joseph Myers <joseph@codesourcery.com>
16221
16222 [BZ #19156]
16223 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
16224 arguments very close to 0.
16225
16226 2015-10-21 Chris Metcalf <cmetcalf@ezchip.com>
16227
16228 * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
16229 (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
16230
16231 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
16232
16233 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
16234 New. Defined for GCC 5 and above when not compiling for
16235 profiling.
16236 Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
16237
16238 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
16239 Renamed to ...
16240 (CFLAGS-epoll_pwait.o): This.
16241 (CFLAGS-mmap.c): Renamed to ...
16242 (CFLAGS-mmap.o): This.
16243 (CFLAGS-mmap64.c): Renamed to ...
16244 (CFLAGS-mmap64.o): This.
16245 (CFLAGS-epoll_pwait.os): New.
16246 (CFLAGS-mmap.os): Likewise.
16247 (CFLAGS-mmap64.os): Likewise.
16248 (CFLAGS-semtimedop.os): Likewise.
16249 (CFLAGS-semtimedop.c): Renamed to ...
16250 (CFLAGS-semtimedop.o): This.
16251
16252 2015-10-21 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16253
16254 * debug/tst-backtrace4.c (handle_signal): Fix a comment and
16255 warning message.
16256
16257 2015-10-21 Joseph Myers <joseph@codesourcery.com>
16258
16259 * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
16260 * Makefile ($(objpfx)c++-types-check.out): Filter out
16261 $(+gccwarn-c) instead of -Wstrict-prototypes.
16262
16263 * io/fts.c (fts_open): Convert to prototype-style function
16264 definition.
16265 * malloc/mcheck.c (mcheck): Likewise.
16266 (mcheck_pedantic): Likewise.
16267 * posix/regexec.c (re_search_2_stub): Likewise. Use
16268 internal_function.
16269 (re_search_internal): Likewise.
16270 * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
16271 prototype-style function definition.
16272 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
16273 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
16274 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
16275 (xdr_utmpptr): Likewise.
16276 (xdr_utmparr): Likewise.
16277 (xdr_utmpidle): Likewise.
16278 (xdr_utmpidleptr): Likewise.
16279 (xdr_utmpidlearr): Likewise.
16280
16281 * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
16282 log, log10 and log2.
16283 * math/auto-libm-test-out: Regenerated.
16284 * math/libm-test.inc (fmod_test_data): Add more tests.
16285 (fpclassify_test_data): Likewise.
16286 (frexp_test_data): Likewise.
16287 (hypot_test_data): Likewise.
16288 (ilogb_test_data): Likewise.
16289
16290 2015-10-20 Joseph Myers <joseph@codesourcery.com>
16291
16292 * debug/fortify_fail.c (__fortify_fail): Convert to
16293 prototype-style function definition. Use internal_function.
16294 * libio/genops.c (save_for_backup): Convert to prototype-style
16295 function definition.
16296 * libio/wgenops.c (save_for_wbackup): Likewise.
16297 * login/grantpt.c (grantpt): Likewise.
16298 * login/ptsname.c (ptsname): Likewise.
16299 (__ptsname_r): Likewise.
16300 * login/unlockpt.c (unlockpt): Likewise.
16301 * mach/msgserver.c (__mach_msg_server): Likewise.
16302 * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
16303 (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
16304 (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
16305 * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
16306 (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
16307 * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
16308 * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
16309 Likewise.
16310 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise. Use
16311 internal_function.
16312 * nptl/pthread_atfork.c (__pthread_atfork): Convert to
16313 prototype-style function definition.
16314 * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
16315 [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
16316 (__pthread_create_2_0): Likewise.
16317 * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
16318 * nptl/register-atfork.c (__register_atfork): Likewise.
16319 * posix/glob.c (glob): Likewise.
16320 * posix/regcomp.c (re_comp): Likewise.
16321 * posix/regexec.c (re_exec): Likewise.
16322 * stdlib/add_n.c [__STDC__]: Make code unconditional.
16323 [!__STDC__]: Remove conditional code.
16324 * stdlib/cmp.c [__STDC__]: Make code unconditional.
16325 [!__STDC__]: Remove conditional code.
16326 * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
16327 [!__STDC__]: Remove conditional code.
16328 * stdlib/divrem.c [__STDC__]: Make code unconditional.
16329 [!__STDC__]: Remove conditional code.
16330 * stdlib/lshift.c [__STDC__]: Make code unconditional.
16331 [!__STDC__]: Remove conditional code.
16332 * stdlib/mod_1.c [__STDC__]: Make code unconditional.
16333 [!__STDC__]: Remove conditional code.
16334 * stdlib/mul.c [__STDC__]: Make code unconditional.
16335 [!__STDC__]: Remove conditional code.
16336 * stdlib/mul_n.c [__STDC__]: Make code unconditional.
16337 [!__STDC__]: Remove conditional code.
16338 * stdlib/rshift.c [__STDC__]: Make code unconditional.
16339 [!__STDC__]: Remove conditional code.
16340 * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
16341 function definition.
16342 (STRTOF): Likewise.
16343 * stdlib/strtod_l.c (__STRTOF): Likewise.
16344 * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
16345 * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
16346 (__strtol_l): Likewise.
16347 * stdlib/sub_n.c [__STDC__]: Make code unconditional.
16348 [!__STDC__]: Remove conditional code.
16349 * string/memrchr.c (MEMRCHR): Convert to prototype-style function
16350 definition.
16351 * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
16352 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
16353 type.
16354 (__strcasecmp): Convert to prototype-style function definition.
16355 * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
16356 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
16357 type.
16358 (__strncasecmp): Convert to prototype-style function definition.
16359 * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
16360 * sunrpc/xdr.c (xdr_union): Likewise.
16361 * sunrpc/xdr_array.c (xdr_array): Likewise.
16362 * sunrpc/xdr_ref.c (xdr_reference): Likewise.
16363 * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
16364 * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
16365 Likewise.
16366 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
16367 Likewise.
16368 * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
16369 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
16370 Likewise.
16371 * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
16372 (LOCALE_PARAM_PROTO): Likewise.
16373 [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
16374 argument type.
16375 (ut_argument_spec): Remove macro.
16376 (ut_argument_spec_iso): Rename to ut_argument_spec.
16377 (memcpy_lowcase): Use LOCALE_PARAM in declaration. Convert to
16378 prototype-style function definition.
16379 (memcpy_uppcase): Likewise.
16380 (__strftime_internal): Likewise.
16381 (my_strftime): Likewise.
16382 * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
16383 (LOCALE_PARAM_DECL): Likewise.
16384 [_LIBC] (LOCALE_PARAM): Include argument type.
16385 (__strptime_internal): Convert to prototype-style function
16386 definition.
16387 (strptime): Likewise.
16388 * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
16389 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
16390 type.
16391 (__wcscasecmp): Convert to prototype-style function definition.
16392 * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
16393 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
16394 type.
16395 (__wcsncasecmp): Convert to prototype-style function definition.
16396
16397 * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
16398 function definition.
16399 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
16400 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
16401 * debug/backtracesyms.c (__backtrace_symbols): Likewise.
16402 * elf/dl-minimal.c (_itoa): Likewise.
16403 * hurd/hurdmalloc.c (malloc): Likewise.
16404 (free): Likewise.
16405 (realloc): Likewise.
16406 * inet/inet6_option.c (inet6_option_space): Likewise.
16407 (inet6_option_init): Likewise.
16408 (inet6_option_append): Likewise.
16409 (inet6_option_alloc): Likewise.
16410 (inet6_option_next): Likewise.
16411 (inet6_option_find): Likewise.
16412 * io/ftw.c (FTW_NAME): Likewise.
16413 (NFTW_NAME): Likewise.
16414 (NFTW_NEW_NAME): Likewise.
16415 (NFTW_OLD_NAME): Likewise.
16416 * libio/iofwide.c (_IO_fwide): Likewise.
16417 * libio/strops.c (_IO_str_init_static_internal): Likewise.
16418 (_IO_str_init_static): Likewise.
16419 (_IO_str_init_readonly): Likewise.
16420 (_IO_str_overflow): Likewise.
16421 (_IO_str_underflow): Likewise.
16422 (_IO_str_count): Likewise.
16423 (_IO_str_seekoff): Likewise.
16424 (_IO_str_pbackfail): Likewise.
16425 (_IO_str_finish): Likewise.
16426 * libio/wstrops.c (_IO_wstr_init_static): Likewise.
16427 (_IO_wstr_overflow): Likewise.
16428 (_IO_wstr_underflow): Likewise.
16429 (_IO_wstr_count): Likewise.
16430 (_IO_wstr_seekoff): Likewise.
16431 (_IO_wstr_pbackfail): Likewise.
16432 (_IO_wstr_finish): Likewise.
16433 * locale/programs/localedef.c (normalize_codeset): Likewise.
16434 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
16435 (add_locales_to_archive): Likewise.
16436 (delete_locales_from_archive): Likewise.
16437 * malloc/malloc.c (__libc_mallinfo): Likewise.
16438 * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
16439 * misc/tsearch.c (__tfind): Likewise.
16440 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
16441 * nptl/pthread_attr_getdetachstate.c
16442 (__pthread_attr_getdetachstate): Likewise.
16443 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
16444 Likewise.
16445 * nptl/pthread_attr_getinheritsched.c
16446 (__pthread_attr_getinheritsched): Likewise.
16447 * nptl/pthread_attr_getschedparam.c
16448 (__pthread_attr_getschedparam): Likewise.
16449 * nptl/pthread_attr_getschedpolicy.c
16450 (__pthread_attr_getschedpolicy): Likewise.
16451 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
16452 Likewise.
16453 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
16454 Likewise.
16455 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
16456 Likewise.
16457 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
16458 Likewise.
16459 * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
16460 (__pthread_attr_init_2_0): Likewise.
16461 * nptl/pthread_attr_setdetachstate.c
16462 (__pthread_attr_setdetachstate): Likewise.
16463 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
16464 Likewise.
16465 * nptl/pthread_attr_setinheritsched.c
16466 (__pthread_attr_setinheritsched): Likewise.
16467 * nptl/pthread_attr_setschedparam.c
16468 (__pthread_attr_setschedparam): Likewise.
16469 * nptl/pthread_attr_setschedpolicy.c
16470 (__pthread_attr_setschedpolicy): Likewise.
16471 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
16472 Likewise.
16473 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
16474 Likewise.
16475 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
16476 Likewise.
16477 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
16478 Likewise.
16479 * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
16480 Likewise.
16481 * nptl/pthread_create.c (__find_in_stack_list): Likewise.
16482 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
16483 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
16484 use internal_function.
16485 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
16486 prototype-style function definition.
16487 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
16488 (__pthread_mutex_cond_lock_adjust): Likewise. Use
16489 internal_function.
16490 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
16491 Convert to prototype-style function definition.
16492 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
16493 Likewise.
16494 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
16495 Likewise.
16496 (__pthread_mutex_unlock): Likewise.
16497 * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
16498 * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
16499 * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
16500 * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
16501 * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
16502 * nss/makedb.c (process_input): Likewise.
16503 * posix/fnmatch.c (__strchrnul): Likewise.
16504 (__wcschrnul): Likewise.
16505 (fnmatch): Likewise.
16506 * posix/fnmatch_loop.c (FCT): Likewise.
16507 * posix/glob.c (globfree): Likewise.
16508 (__glob_pattern_type): Likewise.
16509 (__glob_pattern_p): Likewise.
16510 * posix/regcomp.c (re_compile_pattern): Likewise.
16511 (re_set_syntax): Likewise.
16512 (re_compile_fastmap): Likewise.
16513 (regcomp): Likewise.
16514 (regerror): Likewise.
16515 (regfree): Likewise.
16516 * posix/regexec.c (regexec): Likewise.
16517 (re_match): Likewise.
16518 (re_search): Likewise.
16519 (re_match_2): Likewise.
16520 (re_search_2): Likewise.
16521 (re_search_stub): Likewise. Use internal_function
16522 (re_copy_regs): Likewise.
16523 (re_set_registers): Convert to prototype-style function
16524 definition.
16525 (prune_impossible_nodes): Likewise. Use internal_function.
16526 * resolv/inet_net_pton.c (inet_net_pton): Convert to
16527 prototype-style function definition.
16528 (inet_net_pton_ipv4): Likewise.
16529 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16530 * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
16531 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
16532 * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
16533 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
16534 Make variadic.
16535 * time/strptime_l.c (localtime_r): Convert to prototype-style
16536 function definition.
16537 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
16538 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
16539 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
16540 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
16541
16542 * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
16543 definition.
16544 (_ufc_doit_r): Likewise.
16545 * crypt/crypt_util.c (_ufc_copymem): Likewise.
16546 (_ufc_output_conversion_r): Likewise.
16547 * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
16548 * inet/rcmd.c (rcmd_af): Likewise.
16549 (rcmd): Likewise.
16550 (ruserok_af): Likewise.
16551 (ruserok): Likewise.
16552 (ruserok2_sa): Likewise.
16553 (ruserok_sa): Likewise.
16554 (iruserok_af): Likewise.
16555 (iruserok): Likewise.
16556 (__ivaliduser): Likewise.
16557 (__validuser2_sa): Likewise.
16558 * inet/rexec.c (rexec_af): Likewise.
16559 (rexec): Likewise.
16560 * inet/ruserpass.c (ruserpass): Likewise.
16561 * locale/programs/xmalloc.c (xcalloc): Likewise.
16562 * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
16563 * math/w_drem.c (__drem): Likewise.
16564 * math/w_dremf.c (__dremf): Likewise.
16565 * math/w_dreml.c (__dreml): Likewise.
16566 * misc/daemon.c (daemon): Likewise.
16567 * resolv/res_debug.c (p_fqnname): Likewise.
16568 * stdlib/div.c (div): Likewise.
16569 * string/memcmp.c (memcmp_bytes): Likewise.
16570 * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
16571 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
16572
16573 * crypt/cert.c (main): Convert to prototype-style function
16574 definition.
16575 * io/pipe.c (__pipe): Likewise.
16576 * io/pipe2.c (__pipe2): Likewise.
16577 * misc/futimesat.c (futimesat): Likewise.
16578 * misc/utimes.c (__utimes): Likewise.
16579 * posix/execve.c (__execve): Likewise.
16580 * posix/execvp.c (execvp): Likewise.
16581 * posix/execvpe.c (__execvpe): Likewise.
16582 * posix/fexecve.c (fexecve): Likewise.
16583 * socket/socketpair.c (socketpair): Likewise.
16584 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
16585 * stdlib/erand48.c (erand48): Likewise.
16586 * stdlib/erand48_r.c (__erand48_r): Likewise.
16587 * stdlib/jrand48.c (jrand48): Likewise.
16588 * stdlib/jrand48_r.c (__jrand48_r): Likewise.
16589 * stdlib/lcong48.c (lcong48): Likewise.
16590 * stdlib/lcong48_r.c (__lcong48_r): Likewise.
16591 * stdlib/nrand48.c (nrand48): Likewise.
16592 * stdlib/nrand48_r.c (__nrand48_r): Likewise.
16593 * stdlib/seed48.c (seed48): Likewise.
16594 * stdlib/seed48_r.c (__seed48_r): Likewise.
16595 * sysdeps/mach/hurd/execve.c (__execve): Likewise.
16596 * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
16597 * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
16598
16599 2015-10-19 Joseph Myers <joseph@codesourcery.com>
16600
16601 * configure.ac (libc_cv_asm_unique_object): Remove configure test.
16602 * configure: Regenerated.
16603 * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
16604 * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
16605 unconditional.
16606 * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
16607 * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
16608 * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
16609 (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
16610 * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
16611 unconditional.
16612 * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
16613
16614 * posix/Makefile (CFLAGS-regex.c): Remove variable.
16615 * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
16616
16617 * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
16618 function definition.
16619 * crypt/crypt_util.c (__encrypt_r): Likewise.
16620 * libio/genops.c (_IO_no_init): Likewise.
16621 * libio/iofopncook.c (_IO_fopencookie): Likewise.
16622 (_IO_old_fopencookie): Likewise.
16623 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
16624 * libio/iogetline.c (_IO_getline): Likewise.
16625 (_IO_getline_info): Likewise.
16626 * libio/iogetwline.c (_IO_getwline): Likewise.
16627 (_IO_getwline_info): Likewise.
16628 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
16629 * libio/vswprintf.c (_IO_vswprintf): Likewise.
16630 * locale/programs/simple-hash.c (insert_entry_2): Likewise.
16631 (find_entry): Likewise.
16632 (iterate_table): Likewise.
16633 (lookup): Likewise.
16634 * login/forkpty.c (forkpty): Likewise.
16635 * misc/hsearch_r.c (__hsearch_r): Likewise.
16636 * misc/select.c (__select): Likewise.
16637 * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
16638 Likewise.
16639 * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
16640 Likewise.
16641 * nptl/old_pthread_cond_timedwait.c
16642 (__pthread_cond_timedwait_2_0): Likewise.
16643 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
16644 * nptl/pthread_barrierattr_getpshared.c
16645 (pthread_barrierattr_getpshared): Likewise.
16646 * nptl/pthread_getschedparam.c (__pthread_getschedparam):
16647 Likewise.
16648 * nptl/pthread_mutex_setprioceiling.c
16649 (pthread_mutex_setprioceiling): Likewise.
16650 * nptl/pthread_mutexattr_getprioceiling.c
16651 (pthread_mutexattr_getprioceiling): Likewise.
16652 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
16653 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
16654 Likewise.
16655 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
16656 Likewise.
16657 * nptl/pthread_setschedparam.c (__pthread_setschedparam):
16658 Likewise.
16659 * socket/recvfrom.c (__recvfrom): Likewise.
16660 * socket/sendto.c (__sendto): Likewise.
16661 * socket/setsockopt.c (__setsockopt): Likewise.
16662 * stdio-common/_itoa.c (_itoa): Likewise.
16663 * stdio-common/_itowa.c (_itowa): Likewise.
16664 * stdio-common/reg-printf.c (__register_printf_specifier):
16665 Likewise.
16666 (__register_printf_function): Likewise.
16667 * stdio-common/tempname.c (__path_search): Likewise.
16668 * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
16669 * stdlib/mul_1.c (mpn_mul_1): Likewise.
16670 * stdlib/random_r.c (__initstate_r): Likewise.
16671 * stdlib/setenv.c (__add_to_environ): Likewise.
16672 * stdlib/submul_1.c (mpn_submul_1): Likewise.
16673 * streams/getpmsg.c (getpmsg): Likewise.
16674 * streams/putmsg.c (putmsg): Likewise.
16675 * streams/putpmsg.c (putpmsg): Likewise.
16676 * sunrpc/clnt_raw.c (clntraw_call): Likewise.
16677 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
16678 * sunrpc/clnt_udp.c (clntudp_create): Likewise.
16679 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
16680 * sunrpc/pm_getport.c (pmap_getport): Likewise.
16681 * sunrpc/svc_udp.c (cache_get): Likewise.
16682 * sunrpc/xdr_array.c (xdr_vector): Likewise.
16683 * sysdeps/mach/hurd/getcwd.c
16684 (__canonicalize_directory_name_internal): Likewise.
16685 * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
16686 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
16687 * sysdeps/mach/hurd/select.c (__select): Likewise.
16688 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
16689 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
16690 * sysdeps/sparc/nptl/pthread_barrier_init.c
16691 (__pthread_barrier_init): Likewise.
16692 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
16693 (__pthread_cond_timedwait): Likewise.
16694 * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
16695 * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
16696 Likewise.
16697 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
16698 * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
16699 Likewise.
16700 * sysvipc/semtimedop.c (semtimedop): Likewise.
16701 * time/setitimer.c (__setitimer): Likewise.
16702 * time/strftime_l.c (emacs_strftime): Likewise.
16703
16704 2015-10-19 Mike Frysinger <vapier@gentoo.org>
16705
16706 * config.make.in (have-ssp): Delete.
16707 (stack-protector): New variable.
16708 * configure.ac: Delete libc_cv_ssp export. Add libc_cv_ssp_strong
16709 cache test for -fstack-protector-strong. Export stack_protector to
16710 the best ssp flag.
16711 * configure: Regenerated.
16712 * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
16713 * nscd/Makefile (CFLAGS-nscd): Likewise.
16714 * resolv/Makefile (CFLAGS-libresolv): Likewise.
16715
16716 2015-10-16 H.J. Lu <hongjiu.lu@intel.com>
16717
16718 [BZ #19122]
16719 * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
16720 attribute_hidden.
16721
16722 2015-10-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16723
16724 [BZ #18743]
16725 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
16726 code to...
16727 (ELIDE_LOCK): ...here.
16728 (__get_new_count): New function with part of the code from
16729 __elide_lock that updates the value of adapt_count after a
16730 transaction abort.
16731 (__elided_trylock): Moved this code to...
16732 (ELIDE_TRYLOCK): ...here.
16733
16734 2015-10-19 Mike Frysinger <vapier@gentoo.org>
16735
16736 * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
16737 * configure: Regenerate.
16738 * INSTALL: Regenerate.
16739 * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
16740 and tweak grammar.
16741
16742 2015-10-19 Geoffrey Thomas <geofft@ldpreload.com>
16743
16744 * login/programs/pt_chown.c: Include signal.h
16745 (main): Clear any signal mask from the parent process.
16746
16747 2015-10-19 Joseph Myers <joseph@codesourcery.com>
16748
16749 * configure.ac (libc_cv_gnu89_inline): Remove configure test.
16750 * configure: Regenerated.
16751 * config.make.in (gnu89-inline-CFLAGS): Remove variable.
16752 * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
16753 $(gnu89-inline-CFLAGS).
16754
16755 * configure.ac (libc_cv_asm_weak_directive): Remove configure
16756 test.
16757 (libc_cv_asm_weakext_directive): Likewise.
16758 * configure: Regenerated.
16759 * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
16760 (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
16761 * include/libc-symbols.h
16762 [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
16763 #error.
16764 [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
16765 [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
16766
16767 * sysdeps/arm/backtrace.c (__backtrace): Convert to
16768 prototype-style function definition.
16769 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
16770 * sysdeps/i386/ffs.c (__ffs): Likewise.
16771 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
16772 * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
16773 Likewise.
16774 * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
16775 Likewise.
16776 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
16777 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
16778 Likewise.
16779 * sysdeps/m68k/ffs.c (__ffs): Likewise.
16780 * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
16781 * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
16782 * sysdeps/mach/adjtime.c (__adjtime): Likewise.
16783 * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
16784 * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
16785 * sysdeps/mach/hurd/access.c (__access): Likewise.
16786 * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
16787 * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
16788 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
16789 * sysdeps/mach/hurd/chown.c (__chown): Likewise.
16790 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
16791 (cthread_getspecific): Likewise.
16792 (cthread_setspecific): Likewise.
16793 (__libc_getspecific): Likewise.
16794 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
16795 * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
16796 * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
16797 * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
16798 * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
16799 * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
16800 * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
16801 * sysdeps/mach/hurd/flock.c (__flock): Likewise.
16802 * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
16803 * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
16804 * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
16805 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
16806 * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
16807 * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
16808 * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
16809 * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
16810 * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
16811 * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
16812 * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
16813 * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
16814 * sysdeps/mach/hurd/link.c (__link): Likewise.
16815 * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
16816 * sysdeps/mach/hurd/listen.c (__listen): Likewise.
16817 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
16818 * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
16819 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
16820 * sysdeps/mach/hurd/poll.c (__poll): Likewise.
16821 * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
16822 * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
16823 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
16824 * sysdeps/mach/hurd/rename.c (rename): Likewise.
16825 * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
16826 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
16827 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
16828 * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
16829 * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
16830 * sysdeps/mach/hurd/send.c (__send): Likewise.
16831 * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
16832 * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
16833 * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
16834 * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
16835 * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
16836 * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
16837 * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
16838 * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
16839 * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
16840 * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
16841 * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
16842 * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
16843 * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
16844 * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
16845 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
16846 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
16847 * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
16848 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
16849 * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
16850 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
16851 * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
16852 * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
16853 * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
16854 * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
16855 * sysdeps/mach/hurd/umask.c (__umask): Likewise.
16856 * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
16857 * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
16858 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
16859 * sysdeps/posix/alarm.c (alarm): Likewise.
16860 * sysdeps/posix/cuserid.c (cuserid): Likewise.
16861 * sysdeps/posix/dirfd.c (dirfd): Likewise.
16862 * sysdeps/posix/dup.c (__dup): Likewise.
16863 * sysdeps/posix/dup2.c (__dup2): Likewise.
16864 * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
16865 (main): Likewise.
16866 * sysdeps/posix/flock.c (__flock): Likewise.
16867 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
16868 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
16869 * sysdeps/posix/gethostname.c (__gethostname): Likewise.
16870 * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
16871 * sysdeps/posix/isatty.c (__isatty): Likewise.
16872 * sysdeps/posix/killpg.c (killpg): Likewise.
16873 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
16874 * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
16875 * sysdeps/posix/raise.c (raise): Likewise.
16876 * sysdeps/posix/remove.c (remove): Likewise.
16877 * sysdeps/posix/rename.c (rename): Likewise.
16878 * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
16879 * sysdeps/posix/seekdir.c (seekdir): Likewise.
16880 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
16881 * sysdeps/posix/sigignore.c (sigignore): Likewise.
16882 * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
16883 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
16884 * sysdeps/posix/sigset.c (sigset): Likewise.
16885 * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
16886 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
16887 * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
16888 * sysdeps/posix/time.c (time): Likewise.
16889 * sysdeps/posix/ttyname.c (getttyname): Likewise.
16890 (ttyname): Likewise.
16891 * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
16892 * sysdeps/posix/utime.c (utime): Likewise.
16893 * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
16894 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
16895 Likewise.
16896 * sysdeps/powerpc/nptl/pthread_spin_trylock.c
16897 (pthread_spin_trylock): Likewise.
16898 * sysdeps/pthread/aio_error.c (aio_error): Likewise.
16899 * sysdeps/pthread/aio_read.c (aio_read): Likewise.
16900 * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
16901 * sysdeps/pthread/aio_write.c (aio_write): Likewise.
16902 * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
16903 * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
16904 * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
16905 * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
16906 * sysdeps/pthread/timer_create.c (timer_create): Likewise.
16907 * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
16908 * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
16909 * sysdeps/s390/ffs.c (__ffs): Likewise.
16910 * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
16911 Likewise.
16912 * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
16913 Likewise.
16914 * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
16915 Likewise.
16916 * sysdeps/sparc/nptl/pthread_barrier_destroy.c
16917 (pthread_barrier_destroy): Likewise.
16918 * sysdeps/sparc/nptl/pthread_barrier_wait.c
16919 (__pthread_barrier_wait): Likewise.
16920 * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
16921 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
16922 (__pthread_barrier_wait): Likewise.
16923 * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
16924 * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
16925 (memcmp_not_common_alignment): Likewise.
16926 (MEMCMP): Likewise.
16927 * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
16928 (_wordcopy_fwd_dest_aligned): Likewise.
16929 (_wordcopy_bwd_aligned): Likewise.
16930 (_wordcopy_bwd_dest_aligned): Likewise.
16931 * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
16932 * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
16933 * sysdeps/unix/bsd/stty.c (stty): Likewise.
16934 * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
16935 * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
16936 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
16937 * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
16938 * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
16939 * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
16940 * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
16941 * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
16942 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
16943 * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
16944 * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
16945 * sysdeps/unix/stime.c (stime): Likewise.
16946 * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
16947 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
16948 Likewise. Use internal_function.
16949 * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
16950 Convert to prototype-style function definition.
16951 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
16952 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
16953 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
16954 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
16955 Likewise. Use internal_function.
16956 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
16957 prototype-style function definition
16958 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16959 Likewise.
16960 (__getlogin_r): Likewise.
16961 * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
16962 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
16963 (__pthread_cond_broadcast): Likewise.
16964 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
16965 (__pthread_cond_destroy): Likewise.
16966 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
16967 (__pthread_cond_init): Likewise.
16968 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
16969 (__pthread_cond_signal): Likewise.
16970 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
16971 (__pthread_cond_wait): Likewise.
16972 * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
16973 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
16974 * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
16975 Likewise.
16976 * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
16977 Likewise.
16978 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
16979 Likewise.
16980 * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
16981 Likewise.
16982 * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
16983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
16984 (__ftruncate64): Likewise.
16985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
16986 (truncate64): Likewise.
16987 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
16988 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
16989 (pthread_getcpuclockid): Likewise.
16990 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
16991 Likewise.
16992 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
16993 Likewise.
16994 * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
16995 Likewise.
16996 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
16997 Likewise.
16998 * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
16999 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
17000 (__libc_sigaction): Likewise.
17001 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
17002 Likewise.
17003 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
17004 (__sigprocmask): Likewise.
17005 * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
17006 * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
17007 * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
17008 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
17009 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
17010 * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
17011 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
17012 Likewise.
17013 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
17014 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
17015 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
17016 * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
17017 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
17018 Likewise.
17019 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
17020 (__sigprocmask): Likewise.
17021 * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
17022 (cfgetispeed): Likewise.
17023 (cfsetospeed): Likewise.
17024 (cfsetispeed): Likewise.
17025 * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
17026 * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
17027 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
17028 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
17029 * sysdeps/unix/sysv/linux/time.c (time): Likewise.
17030 * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
17031 * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
17032 * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
17033 Likewise.
17034 * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
17035 Likewise.
17036 * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
17037 Likewise.
17038 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
17039 Likewise.
17040 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
17041
17042 2015-10-17 Florian Weimer <fweimer@redhat.com>
17043
17044 sunrpc: Rewrite with explicit TLS access using __thread.
17045 * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
17046 (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
17047 directly.
17048 (__rpc_thread_variables): Access thread_rpc_vars directly.
17049 Eliminate redundant assignment of the tvp variable.
17050
17051 2015-10-17 Florian Weimer <fweimer@redhat.com>
17052
17053 malloc: Rewrite with explicit TLS access using __thread.
17054 * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
17055 (tsd_setspecific, tsd_getspecific): Remove.
17056 * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
17057 (tsd_setspecific, tsd_getspecific): Likewise.
17058 * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
17059 (tsd_setspecific, tsd_getspecific): Likewise.
17060 * malloc/arena.c (thread_arena): New TLS variable.
17061 (arena_key): Remove variable.
17062 (arena_get): Use thread_arena.
17063 (arena_lookup): Remove macro.
17064 (malloc_atfork, free_atfork, ptmalloc_lock_all)
17065 (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
17066 (_int_new_arena, get_free_list, reused_arena)
17067 (arena_thread_freeres): Use thread_arena.
17068 * manual/memory.texi (Basic Allocation): Remove arena_lookup,
17069 tsd_getspecific, tsd_setspecific from safety annotations.
17070 (Allocating Cleared Space): Remove arena_lookup from safety
17071 annotations.
17072
17073 2015-10-17 Florian Weimer <fweimer@redhat.com>
17074
17075 * stdio-common/vfprintf.c (printf_positional): Rewrite to use
17076 struct scratch_buffer instead of extend_alloca.
17077
17078 2015-10-17 Florian Weimer <fweimer@redhat.com>
17079
17080 * sysdeps/unix/sysv/linux/kernel-features.h
17081 (__ASSUME_SOCK_CLOEXEC): Remove.
17082 * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
17083 (__have_paccept): Remove unused macro.
17084 * include/unistd.h (__have_sock_cloexec): Remove declaration.
17085 * misc/syslog.c (openlog_internal): Remove fallback code for
17086 !__ASSUME_SOCK_CLOEXEC.
17087 * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
17088 missing SOCK_CLOEXEC.
17089 * nscd/connections.c (have_sock_cloexec): Remove definition.
17090 (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
17091 * nscd/nscd_helper.c (open_socket): Remove fallback code for
17092 !__ASSUME_SOCK_CLOEXEC.
17093 * resolv/res_send.c (__have_o_nonblock): Remove definition.
17094 (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
17095 * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
17096 definition.
17097 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
17098 code for !__ASSUME_SOCK_CLOEXEC.
17099
17100 2015-10-17 Florian Weimer <fweimer@redhat.com>
17101
17102 [BZ #18982]
17103 * manual/stdio.texi (Variable Arguments Output): Add portability
17104 note, explaining that vfprintf clobbers the va_list pointer.
17105
17106 2015-10-16 Joseph Myers <joseph@codesourcery.com>
17107
17108 * math/libm-test.inc (fabs_test_data): Add more tests.
17109 (fdim_test_data): Likewise.
17110 (fma_test_data): Likewise.
17111 (fmax_test_data): Likewise.
17112 (fmin_test_data): Likewise.
17113 (fmod_test_data): Likewise.
17114
17115 2015-10-16 Steve Ellcey <sellcey@imgtec.com>
17116
17117 * sysdeps/mips/memcpy.S (memcpy): Add word copies for small aligned
17118 data.
17119
17120 2015-10-16 Joseph Myers <joseph@codesourcery.com>
17121
17122 * math/libm-test.inc (ceil_test_data): Add more tests and more
17123 expectations for "inexact".
17124 (floor_test_data): Add more tests.
17125 (round_test_data): Likewise.
17126 (trunc_test_data): Likewise.
17127
17128 * crypt/cert.c (good_bye): Convert to prototype-style function
17129 definition.
17130 (get8): Likewise.
17131 (put8): Likewise.
17132 * crypt/crypt-entry.c (crypt): Likewise.
17133 (__fcrypt): Likewise.
17134 * crypt/crypt_util.c (_ufc_prbits): Likewise.
17135 (_ufc_set_bits): Likewise.
17136 (_ufc_clearmem): Likewise.
17137 (__init_des_r): Likewise.
17138 (shuffle_sb): Likewise.
17139 (shuffle_sb): Likewise.
17140 (_ufc_setup_salt_r): Likewise.
17141 (_ufc_mk_keytab_r): Likewise.
17142 (_ufc_dofinalperm_r): Likewise.
17143 (encrypt): Likewise.
17144 (__setkey_r): Likewise.
17145 (setkey): Likewise.
17146 * crypt/md5.c (md5_init_ctx): Likewise.
17147 (md5_read_ctx): Likewise.
17148 (md5_finish_ctx): Likewise.
17149 (md5_stream): Likewise.
17150 (md5_buffer): Likewise.
17151 (md5_process_bytes): Likewise.
17152 * crypt/sha256.c (__sha256_init_ctx): Likewise.
17153 (__sha256_finish_ctx): Likewise.
17154 (__sha256_process_bytes): Likewise.
17155 * crypt/sha512.c (__sha512_init_ctx): Likewise.
17156 (__sha512_finish_ctx): Likewise.
17157 (__sha512_process_bytes): Likewise.
17158 * ctype/isctype.c (__isctype): Likewise.
17159 * debug/backtrace.c (__backtrace): Likewise.
17160 * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
17161 * debug/fgets_chk.c (__fgets_chk): Likewise.
17162 * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
17163 * debug/memcpy_chk.c (__memcpy_chk): Likewise.
17164 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
17165 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
17166 * debug/memset_chk.c (__memset_chk): Likewise.
17167 * debug/strcat_chk.c (__strcat_chk): Likewise.
17168 * debug/strncat_chk.c (__strncat_chk): Likewise.
17169 * debug/strncpy_chk.c (__strncpy_chk): Likewise.
17170 * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
17171 * dirent/dirfd.c (dirfd): Likewise.
17172 * dirent/getdents.c (__getdirentries): Likewise.
17173 * dirent/getdents64.c (getdirentries64): Likewise.
17174 * dirent/rewinddir.c (__rewinddir): Likewise.
17175 * dirent/seekdir.c (seekdir): Likewise.
17176 * dirent/telldir.c (telldir): Likewise.
17177 * elf/sln.c (makesymlinks): Likewise.
17178 (makesymlink): Likewise.
17179 * gmon/gmon.c (__moncontrol): Likewise.
17180 (__monstartup): Likewise.
17181 (write_hist): Likewise.
17182 (write_call_graph): Likewise.
17183 (write_bb_counts): Likewise.
17184 * grp/setgroups.c (setgroups): Likewise.
17185 * inet/inet_lnaof.c (inet_lnaof): Likewise.
17186 * inet/inet_net.c (inet_network): Likewise.
17187 * inet/inet_netof.c (inet_netof): Likewise.
17188 * inet/rcmd.c (rresvport_af): Likewise.
17189 (rresvport): Likewise.
17190 * io/access.c (__access): Likewise.
17191 * io/chdir.c (__chdir): Likewise.
17192 * io/chmod.c (__chmod): Likewise.
17193 * io/chown.c (__chown): Likewise.
17194 * io/close.c (__close): Likewise.
17195 * io/creat.c (creat): Likewise.
17196 * io/creat64.c (creat64): Likewise.
17197 * io/dup.c (__dup): Likewise.
17198 * io/dup2.c (__dup2): Likewise.
17199 * io/dup3.c (__dup3): Likewise.
17200 * io/euidaccess.c (__euidaccess): Likewise.
17201 * io/faccessat.c (faccessat): Likewise.
17202 * io/fchmod.c (__fchmod): Likewise.
17203 * io/fchmodat.c (fchmodat): Likewise.
17204 * io/fchown.c (__fchown): Likewise.
17205 * io/fchownat.c (fchownat): Likewise.
17206 * io/fcntl.c (__fcntl): Likewise.
17207 * io/flock.c (__flock): Likewise.
17208 * io/fts.c (fts_load): Likewise.
17209 (fts_close): Likewise.
17210 (fts_read): Likewise.
17211 (fts_set): Likewise.
17212 (fts_children): Likewise.
17213 (fts_build): Likewise.
17214 (fts_stat): Likewise.
17215 (fts_sort): Likewise.
17216 (fts_alloc): Likewise.
17217 (fts_lfree): Likewise.
17218 (fts_palloc): Likewise.
17219 (fts_padjust): Likewise.
17220 (fts_maxarglen): Likewise.
17221 (fts_safe_changedir): Likewise.
17222 * io/getwd.c (getwd): Likewise.
17223 * io/isatty.c (__isatty): Likewise.
17224 * io/lchown.c (__lchown): Likewise.
17225 * io/link.c (__link): Likewise.
17226 * io/linkat.c (linkat): Likewise.
17227 * io/lseek.c (__libc_lseek): Likewise.
17228 * io/mkdir.c (__mkdir): Likewise.
17229 * io/mkdirat.c (mkdirat): Likewise.
17230 * io/mkfifo.c (mkfifo): Likewise.
17231 * io/mkfifoat.c (mkfifoat): Likewise.
17232 * io/open.c (__libc_open): Likewise.
17233 * io/open64.c (__libc_open64): Likewise.
17234 * io/readlink.c (__readlink): Likewise.
17235 * io/readlinkat.c (readlinkat): Likewise.
17236 * io/rmdir.c (__rmdir): Likewise.
17237 * io/symlink.c (__symlink): Likewise.
17238 * io/symlinkat.c (symlinkat): Likewise.
17239 * io/ttyname.c (ttyname): Likewise.
17240 * io/ttyname_r.c (__ttyname_r): Likewise.
17241 * io/umask.c (__umask): Likewise.
17242 * io/unlink.c (__unlink): Likewise.
17243 * io/unlinkat.c (unlinkat): Likewise.
17244 * io/utime.c (utime): Likewise.
17245 * libio/clearerr.c (clearerr): Likewise.
17246 * libio/clearerr_u.c (clearerr_unlocked): Likewise.
17247 * libio/feof.c (_IO_feof): Likewise.
17248 * libio/feof_u.c (feof_unlocked): Likewise.
17249 * libio/ferror.c (_IO_ferror): Likewise.
17250 * libio/ferror_u.c (ferror_unlocked): Likewise.
17251 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
17252 * libio/fileno.c (__fileno): Likewise.
17253 * libio/fputc.c (fputc): Likewise.
17254 * libio/fputc_u.c (fputc_unlocked): Likewise.
17255 * libio/fputwc.c (fputwc): Likewise.
17256 * libio/fputwc_u.c (fputwc_unlocked): Likewise.
17257 * libio/freopen.c (freopen): Likewise.
17258 * libio/freopen64.c (freopen64): Likewise.
17259 * libio/fseek.c (fseek): Likewise.
17260 * libio/fseeko.c (fseeko): Likewise.
17261 * libio/fseeko64.c (fseeko64): Likewise.
17262 * libio/ftello.c (__ftello): Likewise.
17263 * libio/ftello64.c (ftello64): Likewise.
17264 * libio/fwide.c (fwide): Likewise.
17265 * libio/genops.c (_IO_un_link): Likewise.
17266 (_IO_link_in): Likewise.
17267 (_IO_least_marker): Likewise.
17268 (_IO_switch_to_main_get_area): Likewise.
17269 (_IO_switch_to_backup_area): Likewise.
17270 (_IO_switch_to_get_mode): Likewise.
17271 (_IO_free_backup_area): Likewise.
17272 (_IO_switch_to_put_mode): Likewise.
17273 (__overflow): Likewise.
17274 (__underflow): Likewise.
17275 (__uflow): Likewise.
17276 (_IO_setb): Likewise.
17277 (_IO_doallocbuf): Likewise.
17278 (_IO_default_underflow): Likewise.
17279 (_IO_default_uflow): Likewise.
17280 (_IO_default_xsputn): Likewise.
17281 (_IO_sgetn): Likewise.
17282 (_IO_default_xsgetn): Likewise.
17283 (_IO_sync): Likewise.
17284 (_IO_default_setbuf): Likewise.
17285 (_IO_default_seekpos): Likewise.
17286 (_IO_default_doallocate): Likewise.
17287 (_IO_init): Likewise.
17288 (_IO_old_init): Likewise.
17289 (_IO_default_sync): Likewise.
17290 (_IO_default_finish): Likewise.
17291 (_IO_default_seekoff): Likewise.
17292 (_IO_sputbackc): Likewise.
17293 (_IO_sungetc): Likewise.
17294 (_IO_set_column): Likewise.
17295 (_IO_set_column): Likewise.
17296 (_IO_adjust_column): Likewise.
17297 (_IO_get_column): Likewise.
17298 (_IO_init_marker): Likewise.
17299 (_IO_remove_marker): Likewise.
17300 (_IO_marker_difference): Likewise.
17301 (_IO_marker_delta): Likewise.
17302 (_IO_seekmark): Likewise.
17303 (_IO_unsave_markers): Likewise.
17304 (_IO_nobackup_pbackfail): Likewise.
17305 (_IO_default_pbackfail): Likewise.
17306 (_IO_default_seek): Likewise.
17307 (_IO_default_stat): Likewise.
17308 (_IO_default_read): Likewise.
17309 (_IO_default_write): Likewise.
17310 (_IO_default_showmanyc): Likewise.
17311 (_IO_default_imbue): Likewise.
17312 (_IO_iter_next): Likewise.
17313 (_IO_iter_file): Likewise.
17314 * libio/getc.c (_IO_getc): Likewise.
17315 * libio/getwc.c (_IO_getwc): Likewise.
17316 * libio/iofclose.c (_IO_new_fclose): Likewise.
17317 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
17318 * libio/iofflush.c (_IO_fflush): Likewise.
17319 * libio/iofflush_u.c (__fflush_unlocked): Likewise.
17320 * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
17321 * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
17322 * libio/iofgets.c (_IO_fgets): Likewise.
17323 * libio/iofgets_u.c (__fgets_unlocked): Likewise.
17324 * libio/iofgetws.c (fgetws): Likewise.
17325 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
17326 * libio/iofopen64.c (_IO_fopen64): Likewise.
17327 * libio/iofopncook.c (_IO_cookie_read): Likewise.
17328 (_IO_cookie_write): Likewise.
17329 (_IO_cookie_seek): Likewise.
17330 (_IO_cookie_close): Likewise.
17331 (_IO_cookie_seekoff): Likewise.
17332 (_IO_old_cookie_seek): Likewise.
17333 * libio/iofputs.c (_IO_fputs): Likewise.
17334 * libio/iofputs_u.c (__fputs_unlocked): Likewise.
17335 * libio/iofputws.c (fputws): Likewise.
17336 * libio/iofputws_u.c (fputws_unlocked): Likewise.
17337 * libio/iofread.c (_IO_fread): Likewise.
17338 * libio/iofread_u.c (__fread_unlocked): Likewise.
17339 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
17340 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
17341 * libio/ioftell.c (_IO_ftell): Likewise.
17342 * libio/iofwrite.c (_IO_fwrite): Likewise.
17343 * libio/iogetdelim.c (_IO_getdelim): Likewise.
17344 * libio/iogets.c (_IO_gets): Likewise.
17345 * libio/iopadn.c (_IO_padn): Likewise.
17346 * libio/iopopen.c (_IO_new_proc_open): Likewise.
17347 (_IO_new_popen): Likewise.
17348 (_IO_new_proc_close): Likewise.
17349 * libio/ioputs.c (_IO_puts): Likewise.
17350 * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
17351 (_IO_seekoff): Likewise.
17352 * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
17353 (_IO_seekpos): Likewise.
17354 * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
17355 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
17356 * libio/ioungetc.c (_IO_ungetc): Likewise.
17357 * libio/ioungetwc.c (ungetwc): Likewise.
17358 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
17359 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
17360 * libio/iowpadn.c (_IO_wpadn): Likewise.
17361 * libio/libc_fatal.c (__libc_fatal): Likewise.
17362 * libio/memstream.c (__open_memstream): Likewise.
17363 (_IO_mem_sync): Likewise.
17364 (_IO_mem_finish): Likewise.
17365 * libio/oldfileops.c (_IO_old_file_init): Likewise.
17366 (_IO_old_file_close_it): Likewise.
17367 (_IO_old_file_finish): Likewise.
17368 (_IO_old_file_fopen): Likewise.
17369 (_IO_old_file_attach): Likewise.
17370 (_IO_old_file_setbuf): Likewise.
17371 (_IO_old_do_write): Likewise.
17372 (old_do_write): Likewise.
17373 (_IO_old_file_underflow): Likewise.
17374 (_IO_old_file_overflow): Likewise.
17375 (_IO_old_file_sync): Likewise.
17376 (_IO_old_file_seekoff): Likewise.
17377 (_IO_old_file_write): Likewise.
17378 (_IO_old_file_xsputn): Likewise.
17379 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
17380 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
17381 * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
17382 * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
17383 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
17384 * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
17385 * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
17386 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
17387 (_IO_old_popen): Likewise.
17388 (_IO_old_proc_close): Likewise.
17389 * libio/oldpclose.c (__old_pclose): Likewise.
17390 * libio/pclose.c (__new_pclose): Likewise.
17391 * libio/peekc.c (_IO_peekc_locked): Likewise.
17392 * libio/putc.c (_IO_putc): Likewise.
17393 * libio/putc_u.c (putc_unlocked): Likewise.
17394 * libio/putchar.c (putchar): Likewise.
17395 * libio/putchar_u.c (putchar_unlocked): Likewise.
17396 * libio/putwc.c (putwc): Likewise.
17397 * libio/putwc_u.c (putwc_unlocked): Likewise.
17398 * libio/putwchar.c (putwchar): Likewise.
17399 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
17400 * libio/rewind.c (rewind): Likewise.
17401 * libio/setbuf.c (setbuf): Likewise.
17402 * libio/setlinebuf.c (setlinebuf): Likewise.
17403 * libio/vasprintf.c (_IO_vasprintf): Likewise.
17404 * libio/vscanf.c (_IO_vscanf): Likewise.
17405 * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
17406 * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
17407 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
17408 * libio/wgenops.c (_IO_least_wmarker): Likewise.
17409 (_IO_switch_to_main_wget_area): Likewise.
17410 (_IO_switch_to_wbackup_area): Likewise.
17411 (_IO_wsetb): Likewise.
17412 (_IO_wdefault_pbackfail): Likewise.
17413 (_IO_wdefault_finish): Likewise.
17414 (_IO_wdefault_uflow): Likewise.
17415 (__woverflow): Likewise.
17416 (__wuflow): Likewise.
17417 (__wunderflow): Likewise.
17418 (_IO_wdefault_xsputn): Likewise.
17419 (_IO_wdefault_xsgetn): Likewise.
17420 (_IO_wdoallocbuf): Likewise.
17421 (_IO_wdefault_doallocate): Likewise.
17422 (_IO_switch_to_wget_mode): Likewise.
17423 (_IO_free_wbackup_area): Likewise.
17424 (_IO_switch_to_wput_mode): Likewise.
17425 (_IO_sputbackwc): Likewise.
17426 (_IO_sungetwc): Likewise.
17427 (_IO_adjust_wcolumn): Likewise.
17428 (_IO_init_wmarker): Likewise.
17429 (_IO_wmarker_delta): Likewise.
17430 (_IO_seekwmark): Likewise.
17431 (_IO_unsave_wmarkers): Likewise.
17432 * libio/wmemstream.c (open_wmemstream): Likewise.
17433 (_IO_wmem_sync): Likewise.
17434 (_IO_wmem_finish): Likewise.
17435 * locale/nl_langinfo.c (nl_langinfo): Likewise.
17436 * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
17437 * locale/programs/simple-hash.c (init_hash): Likewise.
17438 (delete_hash): Likewise.
17439 (insert_entry): Likewise.
17440 (set_entry): Likewise.
17441 (next_prime): Likewise.
17442 (is_prime): Likewise.
17443 * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
17444 (xmalloc): Likewise.
17445 (xrealloc): Likewise.
17446 * locale/programs/xstrdup.c (xstrdup): Likewise.
17447 * localedata/collate-test.c (xstrcoll): Likewise.
17448 * localedata/xfrm-test.c (xstrcmp): Likewise.
17449 * login/getlogin_r.c (__getlogin_r): Likewise.
17450 * login/getpt.c (__posix_openpt): Likewise.
17451 * login/login_tty.c (login_tty): Likewise.
17452 * login/setlogin.c (setlogin): Likewise.
17453 * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
17454 (mach_msg_destroy_port): Likewise.
17455 (mach_msg_destroy_memory): Likewise.
17456 * malloc/mcheck.c (flood): Likewise.
17457 * misc/acct.c (acct): Likewise.
17458 * misc/brk.c (__brk): Likewise.
17459 * misc/chflags.c (chflags): Likewise.
17460 * misc/chroot.c (chroot): Likewise.
17461 * misc/fchflags.c (fchflags): Likewise.
17462 * misc/fstab.c (getfsspec): Likewise.
17463 (getfsfile): Likewise.
17464 * misc/fsync.c (fsync): Likewise.
17465 * misc/ftruncate.c (__ftruncate): Likewise.
17466 * misc/ftruncate64.c (__ftruncate64): Likewise.
17467 * misc/getdomain.c (getdomainname): Likewise.
17468 (getdomainname): Likewise.
17469 * misc/gethostname.c (__gethostname): Likewise.
17470 * misc/getpass.c (getpass): Likewise.
17471 * misc/getttyent.c (skip): Likewise.
17472 (value): Likewise.
17473 * misc/gtty.c (gtty): Likewise.
17474 * misc/hsearch.c (hsearch): Likewise.
17475 (hcreate): Likewise.
17476 * misc/hsearch_r.c (__hcreate_r): Likewise.
17477 (__hdestroy_r): Likewise.
17478 * misc/ioctl.c (__ioctl): Likewise.
17479 * misc/mkdtemp.c (mkdtemp): Likewise.
17480 * misc/mkostemp.c (mkostemp): Likewise.
17481 * misc/mkostemp64.c (mkostemp64): Likewise.
17482 * misc/mkostemps.c (mkostemps): Likewise.
17483 * misc/mkostemps64.c (mkostemps64): Likewise.
17484 * misc/mkstemp.c (mkstemp): Likewise.
17485 * misc/mkstemp64.c (mkstemp64): Likewise.
17486 * misc/mkstemps.c (mkstemps): Likewise.
17487 * misc/mkstemps64.c (mkstemps64): Likewise.
17488 * misc/mktemp.c (__mktemp): Likewise.
17489 * misc/preadv.c (preadv): Likewise.
17490 * misc/preadv64.c (preadv64): Likewise.
17491 * misc/pwritev.c (pwritev): Likewise.
17492 * misc/pwritev64.c (pwritev64): Likewise.
17493 * misc/readv.c (__readv): Likewise.
17494 * misc/revoke.c (revoke): Likewise.
17495 * misc/setdomain.c (setdomainname): Likewise.
17496 * misc/setegid.c (setegid): Likewise.
17497 * misc/seteuid.c (seteuid): Likewise.
17498 * misc/sethostid.c (sethostid): Likewise.
17499 * misc/sethostname.c (sethostname): Likewise.
17500 * misc/setregid.c (__setregid): Likewise.
17501 * misc/setreuid.c (__setreuid): Likewise.
17502 * misc/sstk.c (sstk): Likewise.
17503 * misc/stty.c (stty): Likewise.
17504 * misc/syscall.c (syscall): Likewise.
17505 * misc/syslog.c (setlogmask): Likewise.
17506 * misc/truncate.c (__truncate): Likewise.
17507 * misc/truncate64.c (truncate64): Likewise.
17508 * misc/ualarm.c (ualarm): Likewise.
17509 * misc/usleep.c (usleep): Likewise.
17510 * misc/ustat.c (ustat): Likewise.
17511 * misc/writev.c (__writev): Likewise.
17512 * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
17513 * nptl/old_pthread_cond_broadcast.c
17514 (__pthread_cond_broadcast_2_0): Likewise.
17515 * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
17516 Likewise.
17517 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
17518 Likewise.
17519 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
17520 Likewise.
17521 * nptl/pt-raise.c (raise): Likewise.
17522 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
17523 Likewise.
17524 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
17525 * nptl/pthread_barrierattr_destroy.c
17526 (pthread_barrierattr_destroy): Likewise.
17527 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
17528 Likewise.
17529 * nptl/pthread_barrierattr_setpshared.c
17530 (pthread_barrierattr_setpshared): Likewise.
17531 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
17532 Likewise.
17533 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
17534 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
17535 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
17536 * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
17537 Likewise.
17538 * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
17539 Likewise.
17540 * nptl/pthread_condattr_getpshared.c
17541 (pthread_condattr_getpshared): Likewise.
17542 * nptl/pthread_condattr_init.c (__pthread_condattr_init):
17543 Likewise.
17544 * nptl/pthread_condattr_setpshared.c
17545 (pthread_condattr_setpshared): Likewise.
17546 * nptl/pthread_detach.c (pthread_detach): Likewise.
17547 * nptl/pthread_equal.c (__pthread_equal): Likewise.
17548 * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
17549 * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
17550 * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
17551 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
17552 Likewise.
17553 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
17554 Likewise.
17555 * nptl/pthread_mutex_getprioceiling.c
17556 (pthread_mutex_getprioceiling): Likewise.
17557 * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
17558 Likewise.
17559 * nptl/pthread_mutexattr_getprotocol.c
17560 (pthread_mutexattr_getprotocol): Likewise.
17561 * nptl/pthread_mutexattr_getpshared.c
17562 (pthread_mutexattr_getpshared): Likewise.
17563 * nptl/pthread_mutexattr_getrobust.c
17564 (pthread_mutexattr_getrobust): Likewise.
17565 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
17566 Likewise.
17567 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
17568 Likewise.
17569 * nptl/pthread_mutexattr_setprioceiling.c
17570 (pthread_mutexattr_setprioceiling): Likewise.
17571 * nptl/pthread_mutexattr_setprotocol.c
17572 (pthread_mutexattr_setprotocol): Likewise.
17573 * nptl/pthread_mutexattr_setpshared.c
17574 (pthread_mutexattr_setpshared): Likewise.
17575 * nptl/pthread_mutexattr_setrobust.c
17576 (pthread_mutexattr_setrobust): Likewise.
17577 * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
17578 Likewise.
17579 * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
17580 Likewise.
17581 * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
17582 Likewise.
17583 * nptl/pthread_rwlockattr_getkind_np.c
17584 (pthread_rwlockattr_getkind_np): Likewise.
17585 * nptl/pthread_rwlockattr_getpshared.c
17586 (pthread_rwlockattr_getpshared): Likewise.
17587 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
17588 Likewise.
17589 * nptl/pthread_rwlockattr_setkind_np.c
17590 (pthread_rwlockattr_setkind_np): Likewise.
17591 * nptl/pthread_rwlockattr_setpshared.c
17592 (pthread_rwlockattr_setpshared): Likewise.
17593 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
17594 Likewise.
17595 * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
17596 Likewise.
17597 * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
17598 Likewise.
17599 * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
17600 * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
17601 * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
17602 * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
17603 * nptl/sem_close.c (sem_close): Likewise.
17604 * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
17605 * nptl/sem_init.c (__old_sem_init): Likewise.
17606 * nptl/sigaction.c (__sigaction): Likewise.
17607 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
17608 * posix/_exit.c (_exit): Likewise.
17609 * posix/alarm.c (alarm): Likewise.
17610 * posix/confstr.c (confstr): Likewise.
17611 * posix/fpathconf.c (__fpathconf): Likewise.
17612 * posix/getgroups.c (__getgroups): Likewise.
17613 * posix/getpgid.c (__getpgid): Likewise.
17614 * posix/group_member.c (__group_member): Likewise.
17615 * posix/pathconf.c (__pathconf): Likewise.
17616 * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
17617 * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
17618 * posix/setgid.c (__setgid): Likewise.
17619 * posix/setpgid.c (__setpgid): Likewise.
17620 * posix/setuid.c (__setuid): Likewise.
17621 * posix/sleep.c (__sleep): Likewise.
17622 * posix/sysconf.c (__sysconf): Likewise.
17623 * posix/times.c (__times): Likewise.
17624 * posix/uname.c (__uname): Likewise.
17625 * posix/waitid.c (__waitid): Likewise.
17626 * pwd/getpw.c (__getpw): Likewise.
17627 * resolv/base64.c (b64_pton): Likewise.
17628 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
17629 * resolv/gethnamaddr.c (Dprintf): Likewise.
17630 (gethostbyname): Likewise.
17631 (gethostbyname2): Likewise.
17632 (gethostbyaddr): Likewise.
17633 (_sethtent): Likewise.
17634 (_gethtbyname): Likewise.
17635 (_gethtbyname2): Likewise.
17636 (_gethtbyaddr): Likewise.
17637 (map_v4v6_address): Likewise.
17638 (map_v4v6_hostent): Likewise.
17639 (addrsort): Likewise.
17640 (ht_sethostent): Likewise.
17641 (ht_gethostbyname): Likewise.
17642 (ht_gethostbyaddr): Likewise.
17643 * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
17644 (inet_net_ntop_ipv4): Likewise.
17645 * resolv/inet_neta.c (inet_neta): Likewise.
17646 * resolv/inet_ntop.c (inet_ntop): Likewise.
17647 (inet_ntop4): Likewise.
17648 (inet_ntop6): Likewise.
17649 * resolv/inet_pton.c (__inet_pton): Likewise.
17650 (inet_pton4): Likewise.
17651 (inet_pton6): Likewise.
17652 * resolv/res_debug.c (loc_aton): Likewise.
17653 (loc_ntoa): Likewise.
17654 * resource/getpriority.c (__getpriority): Likewise.
17655 * resource/getrusage.c (__getrusage): Likewise.
17656 * resource/nice.c (nice): Likewise.
17657 * resource/setpriority.c (__setpriority): Likewise.
17658 * resource/setrlimit64.c (setrlimit64): Likewise.
17659 * resource/vlimit.c (vlimit): Likewise.
17660 * resource/vtimes.c (vtimes): Likewise.
17661 * rt/aio_error.c (aio_error): Likewise.
17662 * rt/aio_return.c (aio_return): Likewise.
17663 * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
17664 * signal/kill.c (__kill): Likewise.
17665 * signal/killpg.c (killpg): Likewise.
17666 * signal/raise.c (raise): Likewise.
17667 * signal/sigaction.c (__sigaction): Likewise.
17668 * signal/sigaddset.c (sigaddset): Likewise.
17669 * signal/sigaltstack.c (sigaltstack): Likewise.
17670 * signal/sigandset.c (sigandset): Likewise.
17671 * signal/sigblock.c (__sigblock): Likewise.
17672 * signal/sigdelset.c (sigdelset): Likewise.
17673 * signal/sigempty.c (sigemptyset): Likewise.
17674 * signal/sigfillset.c (sigfillset): Likewise.
17675 * signal/sighold.c (sighold): Likewise.
17676 * signal/sigignore.c (sigignore): Likewise.
17677 * signal/sigintr.c (siginterrupt): Likewise.
17678 * signal/sigisempty.c (sigisemptyset): Likewise.
17679 * signal/sigismem.c (sigismember): Likewise.
17680 * signal/signal.c (signal): Likewise.
17681 * signal/sigorset.c (sigorset): Likewise.
17682 * signal/sigpause.c (__sigpause): Likewise.
17683 * signal/sigpending.c (sigpending): Likewise.
17684 * signal/sigprocmask.c (__sigprocmask): Likewise.
17685 * signal/sigrelse.c (sigrelse): Likewise.
17686 * signal/sigreturn.c (__sigreturn): Likewise.
17687 * signal/sigset.c (sigset): Likewise.
17688 * signal/sigsetmask.c (__sigsetmask): Likewise.
17689 * signal/sigstack.c (sigstack): Likewise.
17690 * signal/sigsuspend.c (__sigsuspend): Likewise.
17691 * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
17692 * signal/sysv_signal.c (__sysv_signal): Likewise.
17693 * socket/accept.c (accept): Likewise.
17694 * socket/accept4.c (__libc_accept4): Likewise.
17695 * socket/bind.c (__bind): Likewise.
17696 * socket/connect.c (__connect): Likewise.
17697 * socket/getpeername.c (getpeername): Likewise.
17698 * socket/getsockname.c (__getsockname): Likewise.
17699 * socket/getsockopt.c (getsockopt): Likewise.
17700 * socket/listen.c (__listen): Likewise.
17701 * socket/recv.c (__recv): Likewise.
17702 * socket/recvmsg.c (__recvmsg): Likewise.
17703 * socket/send.c (__send): Likewise.
17704 * socket/sendmsg.c (__sendmsg): Likewise.
17705 * socket/shutdown.c (shutdown): Likewise.
17706 * socket/sockatmark.c (sockatmark): Likewise.
17707 * socket/socket.c (__socket): Likewise.
17708 * stdio-common/ctermid.c (ctermid): Likewise.
17709 * stdio-common/cuserid.c (cuserid): Likewise.
17710 * stdio-common/printf-prs.c (parse_printf_format): Likewise.
17711 * stdio-common/remove.c (remove): Likewise.
17712 * stdio-common/rename.c (rename): Likewise.
17713 * stdio-common/renameat.c (renameat): Likewise.
17714 * stdio-common/tempname.c (__gen_tempname): Likewise.
17715 * stdio-common/xbug.c (InitBuffer): Likewise.
17716 (AppendToBuffer): Likewise.
17717 (ReadFile): Likewise.
17718 * stdlib/a64l.c (a64l): Likewise.
17719 * stdlib/drand48_r.c (drand48_r): Likewise.
17720 * stdlib/getcontext.c (getcontext): Likewise.
17721 * stdlib/getenv.c (getenv): Likewise.
17722 * stdlib/l64a.c (l64a): Likewise.
17723 * stdlib/llabs.c (llabs): Likewise.
17724 * stdlib/lldiv.c (lldiv): Likewise.
17725 * stdlib/lrand48_r.c (lrand48_r): Likewise.
17726 * stdlib/mrand48_r.c (mrand48_r): Likewise.
17727 * stdlib/putenv.c (putenv): Likewise.
17728 * stdlib/random.c (__srandom): Likewise.
17729 (__initstate): Likewise.
17730 (__setstate): Likewise.
17731 * stdlib/random_r.c (__srandom_r): Likewise.
17732 (__setstate_r): Likewise.
17733 (__random_r): Likewise.
17734 * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
17735 * stdlib/setcontext.c (setcontext): Likewise.
17736 * stdlib/setenv.c (setenv): Likewise.
17737 (unsetenv): Likewise.
17738 * stdlib/srand48.c (srand48): Likewise.
17739 * stdlib/srand48_r.c (__srand48_r): Likewise.
17740 * stdlib/swapcontext.c (swapcontext): Likewise.
17741 * stdlib/system.c (__libc_system): Likewise.
17742 * stdlib/tst-strtod.c (expand): Likewise.
17743 * stdlib/tst-strtol.c (expand): Likewise.
17744 * stdlib/tst-strtoll.c (expand): Likewise.
17745 * streams/fattach.c (fattach): Likewise.
17746 * streams/fdetach.c (fdetach): Likewise.
17747 * streams/getmsg.c (getmsg): Likewise.
17748 * streams/isastream.c (isastream): Likewise.
17749 * string/ffs.c (__ffs): Likewise.
17750 * string/ffsll.c (ffsll): Likewise.
17751 * string/memcmp.c (memcmp_common_alignment): Likewise.
17752 (memcmp_not_common_alignment): Likewise.
17753 (MEMCMP): Likewise.
17754 * string/memcpy.c (memcpy): Likewise.
17755 * string/memmove.c (MEMMOVE): Likewise.
17756 * string/memset.c (memset): Likewise.
17757 * string/rawmemchr.c (RAWMEMCHR): Likewise.
17758 * string/strchrnul.c (STRCHRNUL): Likewise.
17759 * string/strerror.c (strerror): Likewise.
17760 * string/strndup.c (__strndup): Likewise.
17761 * string/strverscmp.c (__strverscmp): Likewise.
17762 * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
17763 * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
17764 (clnttcp_freeres): Likewise.
17765 * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
17766 * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
17767 * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
17768 * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
17769 * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
17770 (xdr_callhdr): Likewise.
17771 * sunrpc/rpcinfo.c (udpping): Likewise.
17772 (tcpping): Likewise.
17773 (pstatus): Likewise.
17774 (pmapdump): Likewise.
17775 (brdcst): Likewise.
17776 (deletereg): Likewise.
17777 (getprognum): Likewise.
17778 (getvers): Likewise.
17779 (get_inet_address): Likewise.
17780 * sunrpc/svc_raw.c (svcraw_recv): Likewise.
17781 * sunrpc/svc_udp.c (svcudp_create): Likewise.
17782 (svcudp_stat): Likewise.
17783 (svcudp_recv): Likewise.
17784 (svcudp_reply): Likewise.
17785 (svcudp_getargs): Likewise.
17786 (svcudp_freeargs): Likewise.
17787 (svcudp_destroy): Likewise.
17788 * sunrpc/xdr.c (xdr_bytes): Likewise.
17789 (xdr_netobj): Likewise.
17790 (xdr_string): Likewise.
17791 (xdr_wrapstring): Likewise.
17792 * sunrpc/xdr_float.c (xdr_float): Likewise.
17793 (xdr_double): Likewise.
17794 * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
17795 * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
17796 * sysvipc/ftok.c (ftok): Likewise.
17797 * sysvipc/msgctl.c (msgctl): Likewise.
17798 * sysvipc/msgget.c (msgget): Likewise.
17799 * sysvipc/msgrcv.c (msgrcv): Likewise.
17800 * sysvipc/msgsnd.c (msgsnd): Likewise.
17801 * sysvipc/semget.c (semget): Likewise.
17802 * sysvipc/semop.c (semop): Likewise.
17803 * sysvipc/shmat.c (shmat): Likewise.
17804 * sysvipc/shmctl.c (shmctl): Likewise.
17805 * sysvipc/shmdt.c (shmdt): Likewise.
17806 * sysvipc/shmget.c (shmget): Likewise.
17807 * termios/cfmakeraw.c (cfmakeraw): Likewise.
17808 * termios/speed.c (cfgetospeed): Likewise.
17809 (cfgetispeed): Likewise.
17810 (cfsetospeed): Likewise.
17811 (cfsetispeed): Likewise.
17812 * termios/tcflow.c (tcflow): Likewise.
17813 * termios/tcflush.c (tcflush): Likewise.
17814 * termios/tcgetattr.c (__tcgetattr): Likewise.
17815 * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
17816 * termios/tcgetsid.c (tcgetsid): Likewise.
17817 * termios/tcsendbrk.c (tcsendbreak): Likewise.
17818 * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
17819 * time/adjtime.c (__adjtime): Likewise.
17820 * time/dysize.c (dysize): Likewise.
17821 * time/ftime.c (ftime): Likewise.
17822 * time/getitimer.c (__getitimer): Likewise.
17823 * time/gettimeofday.c (__gettimeofday): Likewise.
17824 * time/gmtime.c (__gmtime_r): Likewise.
17825 (gmtime): Likewise.
17826 * time/localtime.c (__localtime_r): Likewise.
17827 (localtime): Likewise.
17828 * time/offtime.c (__offtime): Likewise.
17829 * time/settimeofday.c (__settimeofday): Likewise.
17830 * time/stime.c (stime): Likewise.
17831 * time/strftime_l.c (tm_diff): Likewise.
17832 (iso_week_days): Likewise.
17833 * time/strptime.c (strptime): Likewise.
17834 * time/time.c (time): Likewise.
17835 * time/timespec_get.c (timespec_get): Likewise.
17836 * time/tzset.c (tzset_internal): Likewise.
17837 (compute_change): Likewise.
17838 (__tz_compute): Likewise.
17839 * wcsmbs/btowc.c (__btowc): Likewise.
17840 * wcsmbs/mbrlen.c (__mbrlen): Likewise.
17841 * wcsmbs/mbsinit.c (__mbsinit): Likewise.
17842 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
17843 * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
17844 * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
17845 * wcsmbs/wcscat.c (__wcscat): Likewise.
17846 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
17847 * wcsmbs/wcscmp.c (WCSCMP): Likewise.
17848 * wcsmbs/wcscpy.c (WCSCPY): Likewise.
17849 * wcsmbs/wcscspn.c (wcscspn): Likewise.
17850 * wcsmbs/wcsdup.c (wcsdup): Likewise.
17851 * wcsmbs/wcslen.c (__wcslen): Likewise.
17852 * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
17853 * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
17854 * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
17855 * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
17856 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
17857 * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
17858 * wcsmbs/wcsspn.c (wcsspn): Likewise.
17859 * wcsmbs/wcsstr.c (wcsstr): Likewise.
17860 * wcsmbs/wcstok.c (wcstok): Likewise.
17861 * wcsmbs/wctob.c (wctob): Likewise.
17862 * wcsmbs/wmemchr.c (__wmemchr): Likewise.
17863 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17864 * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
17865 * wcsmbs/wmemmove.c (__wmemmove): Likewise.
17866 * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
17867 * wcsmbs/wmemset.c (__wmemset): Likewise.
17868 * wctype/wcfuncs.c (__towlower): Likewise.
17869 (__towupper): Likewise.
17870
17871 * sysdeps/unix/sysv/linux/i386/lowlevellock.h
17872 (lll_unlock_elision): Add adapt_count parameter.
17873
17874 2015-10-15 Joseph Myers <joseph@codesourcery.com>
17875
17876 * sysdeps/nptl/configure.ac: Do not give errors based on the
17877 results of top-level configure tests.
17878 * sysdeps/nptl/configure: Regenerated.
17879
17880 * configure.ac (libc_cv_Bgroup): Remove configure test.
17881 * configure: Regenerated.
17882 * config.make.in (have-Bgroup): Remove variable.
17883
17884 * configure.ac (sizeof_long_double): Remove configure test.
17885 * configure: Regenerated.
17886 * config.make.in (sizeof-long-double): Remove variable.
17887
17888 * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
17889 * configure: Regenerated.
17890 * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
17891 variable.
17892 (exceptions): Likewise.
17893 * sysdeps/arm/configure: Regenerated.
17894 * config.make.in (exceptions): Remove variable.
17895 * Makeconfig (uses-callbacks): Use -fexceptions instead of
17896 $(exceptions).
17897 * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
17898 (CFLAGS-vdprintf_chk.c): Likewise.
17899 (CFLAGS-printf_chk.c): Likewise.
17900 (CFLAGS-fprintf_chk.c): Likewise.
17901 (CFLAGS-vprintf_chk.c): Likewise.
17902 (CFLAGS-vfprintf_chk.c): Likewise.
17903 (CFLAGS-gets_chk.c): Likewise.
17904 (CFLAGS-fgets_chk.c): Likewise.
17905 (CFLAGS-fgets_u_chk.c): Likewise.
17906 (CFLAGS-fread_chk.c): Likewise.
17907 (CFLAGS-fread_u_chk.c): Likewise.
17908 (CFLAGS-wprintf_chk.c): Likewise.
17909 (CFLAGS-fwprintf_chk.c): Likewise.
17910 (CFLAGS-vwprintf_chk.c): Likewise.
17911 (CFLAGS-vfwprintf_chk.c): Likewise.
17912 (CFLAGS-fgetws_chk.c): Likewise.
17913 (CFLAGS-fgetws_u_chk.c): Likewise.
17914 * libio/Makefile (CFLAGS-fileops.c): Likewise.
17915 (CFLAGS-fputc.c): Likewise.
17916 (CFLAGS-fputwc.c): Likewise.
17917 (CFLAGS-freopen64.c): Likewise.
17918 (CFLAGS-freopen.c): Likewise.
17919 (CFLAGS-fseek.c): Likewise.
17920 (CFLAGS-fseeko64.c): Likewise.
17921 (CFLAGS-fseeko.c): Likewise.
17922 (CFLAGS-ftello64.c): Likewise.
17923 (CFLAGS-ftello.c): Likewise.
17924 (CFLAGS-fwide.c): Likewise.
17925 (CFLAGS-genops.c): Likewise.
17926 (CFLAGS-getc.c): Likewise.
17927 (CFLAGS-getchar.c): Likewise.
17928 (CFLAGS-getwc.c): Likewise.
17929 (CFLAGS-getwchar.c): Likewise.
17930 (CFLAGS-iofclose.c): Likewise.
17931 (CFLAGS-iofflush.c): Likewise.
17932 (CFLAGS-iofgetpos64.c): Likewise.
17933 (CFLAGS-iofgetpos.c): Likewise.
17934 (CFLAGS-iofgets.c): Likewise.
17935 (CFLAGS-iofgetws.c): Likewise.
17936 (CFLAGS-iofputs.c): Likewise.
17937 (CFLAGS-iofputws.c): Likewise.
17938 (CFLAGS-iofread.c): Likewise.
17939 (CFLAGS-iofsetpos64.c): Likewise.
17940 (CFLAGS-iofsetpos.c): Likewise.
17941 (CFLAGS-ioftell.c): Likewise.
17942 (CFLAGS-iofwrite.c): Likewise.
17943 (CFLAGS-iogetdelim.c): Likewise.
17944 (CFLAGS-iogetline.c): Likewise.
17945 (CFLAGS-iogets.c): Likewise.
17946 (CFLAGS-iogetwline.c): Likewise.
17947 (CFLAGS-ioputs.c): Likewise.
17948 (CFLAGS-ioseekoff.c): Likewise.
17949 (CFLAGS-ioseekpos.c): Likewise.
17950 (CFLAGS-iosetbuffer.c): Likewise.
17951 (CFLAGS-iosetvbuf.c): Likewise.
17952 (CFLAGS-ioungetc.c): Likewise.
17953 (CFLAGS-ioungetwc.c): Likewise.
17954 (CFLAGS-oldfileops.c): Likewise.
17955 (CFLAGS-oldiofclose.c): Likewise.
17956 (CFLAGS-oldiofgetpos64.c): Likewise.
17957 (CFLAGS-oldiofgetpos.c): Likewise.
17958 (CFLAGS-oldiofsetpos64.c): Likewise.
17959 (CFLAGS-oldiofsetpos.c): Likewise.
17960 (CFLAGS-peekc.c): Likewise.
17961 (CFLAGS-putc.c): Likewise.
17962 (CFLAGS-putchar.c): Likewise.
17963 (CFLAGS-putwc.c): Likewise.
17964 (CFLAGS-putwchar.c): Likewise.
17965 (CFLAGS-rewind.c): Likewise.
17966 (CFLAGS-wfileops.c): Likewise.
17967 (CFLAGS-wgenops.c): Likewise.
17968 (CFLAGS-oldiofopen.c): Likewise.
17969 (CFLAGS-iofopen.c): Likewise.
17970 (CFLAGS-iofopen64.c): Likewise.
17971 (CFLAGS-oldtmpfile.c): Likewise.
17972 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
17973 (CFLAGS-fprintf.c): Likewise.
17974 (CFLAGS-printf.c): Likewise.
17975 (CFLAGS-vfwprintf.c): Likewise.
17976 (CFLAGS-vfscanf.c): Likewise.
17977 (CFLAGS-vfwscanf.c): Likewise.
17978 (CFLAGS-fscanf.c): Likewise.
17979 (CFLAGS-scanf.c): Likewise.
17980 (CFLAGS-isoc99_vfscanf.c): Likewise.
17981 (CFLAGS-isoc99_vscanf.c): Likewise.
17982 (CFLAGS-isoc99_fscanf.c): Likewise.
17983 (CFLAGS-isoc99_scanf.c): Likewise.
17984 * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
17985 (CFLAGS-isoc99_fwscanf.c): Likewise.
17986 (CFLAGS-isoc99_vwscanf.c): Likewise.
17987 (CFLAGS-isoc99_vfwscanf.c): Likewise.
17988
17989 * io/test-lfs.c (do_prepare): Do not call add_temp_file until
17990 after mkstemp64.
17991 * login/tst-utmp.c (do_prepare): Likewise.
17992 * rt/tst-aio.c (do_prepare): Likewise.
17993 * rt/tst-aio64.c (do_prepare): Likewise.
17994
17995 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17996
17997 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
17998 (__lll_lock_elision): Remove adapt_count decrement...
17999 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
18000 (__lll_trylock_elision): Likewise.
18001 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
18002 (__lll_unlock_elision): ... to here. And utilize
18003 new adapt_count parameter.
18004 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
18005 (__lll_unlock_elision): Update to include adapt_count
18006 parameter.
18007 (lll_unlock_elision): Pass pointer to adapt_count
18008 variable.
18009
18010 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18011
18012 * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
18013 Add elision adapt_count parameter to list of arguments.
18014 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
18015 (lll_unlock_elision): Update with new parameter list
18016 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
18017 (lll_unlock_elision): Likewise.
18018 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
18019 (lll_unlock_elision): Likewise.
18020
18021 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
18022
18023 [BZ #19122]
18024 * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
18025 attribute_hidden.
18026
18027 * include/string.h [IS_IN (rtld)] (__stpcpy): Add
18028 attribute_hidden.
18029 [IS_IN (rtld)] (__strdup): Likewise.
18030 [IS_IN (rtld)] (__strerror_r): Likewise.
18031 [IS_IN (rtld)] (__strsep_g): Likewise.
18032 [IS_IN (rtld)] (memchr): Likewise.
18033 [IS_IN (rtld)] (memcmp): Likewise.
18034 [IS_IN (rtld)] (memcpy): Likewise.
18035 [IS_IN (rtld)] (memmove): Likewise.
18036 [IS_IN (rtld)] (memset): Likewise.
18037 [IS_IN (rtld)] (rawmemchr): Likewise.
18038 [IS_IN (rtld)] (stpcpy): Likewise.
18039 [IS_IN (rtld)] (strchr): Likewise.
18040 [IS_IN (rtld)] (strcmp): Likewise.
18041 [IS_IN (rtld)] (strlen): Likewise.
18042 [IS_IN (rtld)] (strnlen): Likewise.
18043 [IS_IN (rtld)] (strsep): Likewise.
18044
18045 * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
18046 attribute_hidden.
18047 [IS_IN (rtld)] (__strtoul_internal): Likewise.
18048
18049 * include/signal.h [IS_IN (rtld)] (__sigaction): Add
18050 attribute_hidden.
18051 [IS_IN (rtld)] (__libc_sigaction): Likewise.
18052
18053 * include/setjmp.h (__longjmp): Add attribute_hidden.
18054 [IS_IN (rtld)] (__sigsetjmp): Likewise.
18055
18056 * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
18057 Add attribute_hidden.
18058
18059 * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
18060 [IS_IN (rtld)] (__open): Likewise.
18061 [IS_IN (rtld)] (__fcntl): Likewise.
18062
18063 * include/dirent.h (__opendirat): Add attribute_hidden.
18064 (__getdents): Likewise.
18065 (__getdents64): Likewise.
18066 (__alloc_dir): Likewise.
18067 [IS_IN (rtld)] (__closedir): Likewise.
18068 [IS_IN (rtld)] (__fdopendir): Likewise.
18069 [IS_IN (rtld)] (__readdir): Likewise.
18070 [IS_IN (rtld)] (__readdir64): Likewise.
18071 [IS_IN (rtld)] (__rewinddir): Likewise.
18072
18073 * include/dlfcn.h (_dl_catch_error): Moved to ...
18074 * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
18075 attribute_hidden.
18076
18077 * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
18078 (_itoa_word): Likewise.
18079
18080 * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
18081 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
18082 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
18083 * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
18084 (_dl_higher_prime_number): Likewise.
18085 (_dl_debug_printf_c): Likewise.
18086 (_dl_signal_cerror): Likewise.
18087 (_dl_receive_error): Likewise.
18088 (_dl_reloc_bad_type): Likewise.
18089 (_dl_resolve_conflicts): Likewise.
18090 (_dl_check_all_versions): Likewise.
18091 (_dl_check_map_versions): Likewise.
18092 (_dl_sort_fini): Likewise.
18093 (_dl_debug_initialize): Likewise.
18094 (_dl_init_paths): Likewise.
18095 (_dl_show_auxv): Likewise.
18096 (_dl_next_ld_env_entry): Likewise.
18097 (_dl_important_hwcaps): Likewise.
18098 (_dl_load_cache_lookup): Likewise.
18099 (_dl_update_slotinfo): Likewise.
18100 (_dl_show_scope): Likewise.
18101
18102 * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
18103 attribute_hidden.
18104 (_wordcopy_fwd_dest_aligned): Likewise.
18105 (_wordcopy_bwd_aligned): Likewise.
18106 (_wordcopy_bwd_dest_aligned): Likewise.
18107
18108 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
18109 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
18110 Likewise.
18111 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
18112 Likewise.
18113 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
18114
18115 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
18116
18117 * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
18118 GCC 5 requirement.
18119
18120 2015-10-15 Joseph Myers <joseph@codesourcery.com>
18121
18122 * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
18123 test.
18124 * sysdeps/i386/configure: Regenerated.
18125 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
18126 code unconditional.
18127
18128 * configure.ac (libc_cv_asm_previous_directive): Remove configure
18129 test.
18130 (libc_cv_asm_popsection_directive): Likewise.
18131 * configure: Regenerated.
18132 * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
18133 (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
18134 * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
18135 (__make_section_unallocated): Make definition unconditional.
18136 [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
18137 Remove conditional definition.
18138 [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
18139 (__make_section_unallocated): Likewise.
18140
18141 * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
18142 * configure: Regenerated.
18143 * config.make.in (static-libgcc): Remove variable.
18144 * Makerules (build-shlib-helper): Use -static-libgcc instead of
18145 $(static-libgcc).
18146 (build-module-helper): Likewise.
18147
18148 * configure.ac (libc_cv_friendly_stddef): Remove configure test.
18149 * configure: Regenerated.
18150
18151 2015-10-15 Florian Weimer <fweimer@redhat.com>
18152
18153 * stdio-common/vfscanf.c (MEMCPY): Remove macro.
18154 (struct char_buffer): New type.
18155 (char_buffer_start, char_buffer_size, char_buffer_error)
18156 (char_buffer_rewind, char_buffer_add): New functions.
18157 (ADDW): Remove macro, replaced by the char_buffer_add function.
18158 (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
18159 of extend_alloca. Make control flow more explicit.
18160
18161 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
18162
18163 [BZ #19137]
18164 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
18165 Add -fomit-frame-pointer.
18166 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
18167
18168 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
18169
18170 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
18171 (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
18172 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
18173 only if !__GNUC_PREREQ (5,0).
18174 (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
18175 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
18176 (INTERNAL_SYSCALL_NCS): Likewise.
18177 (LOADREGS_0): New macro for GCC 5.
18178 (ASMARGS_0): Likewise.
18179 (LOADREGS_1): Likewise.
18180 (ASMARGS_1): Likewise.
18181 (LOADREGS_2): Likewise.
18182 (ASMARGS_2): Likewise.
18183 (LOADREGS_3): Likewise.
18184 (ASMARGS_3): Likewise.
18185 (LOADREGS_4): Likewise.
18186 (ASMARGS_4): Likewise.
18187 (LOADREGS_5): Likewise.
18188 (ASMARGS_5): Likewise.
18189 (LOADREGS_6): Likewise.
18190 (ASMARGS_6): Likewise.
18191
18192 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
18193
18194 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
18195 -fomit-frame-pointer.
18196 (CFLAGS-mmap64.c): Likewise.
18197 (CFLAGS-semtimedop.c): Likewise.
18198 * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
18199 * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
18200 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
18201 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
18202
18203 2015-10-15 Florian Weimer <fweimer@redhat.com>
18204
18205 [BZ #18928]
18206 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
18207 _dl_pointer_guard member.
18208 * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
18209 initializer.
18210 (security_init): Always set up pointer guard.
18211 (process_envvars): Do not process LD_POINTER_GUARD.
18212
18213 2015-10-14 Joseph Myers <joseph@codesourcery.com>
18214
18215 [BZ #19134]
18216 * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
18217 (.LC2): Likewise.
18218 (.LC3): Likewise.
18219 (__lround): Do not add 0.5 to integer or out-of-range arguments.
18220
18221 2015-10-14 Szabolcs Nagy <szabolcs.nagy@arm.com>
18222
18223 [BZ #19129]
18224 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
18225 r0 and r1.
18226
18227 2015-10-14 Namhyung Kim <namhyung@gmail.com>
18228
18229 * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
18230
18231 2015-10-14 Carlos O'Donell <carlos@redhat.com>
18232
18233 * include/stap-probe.h: Fix macro definition formatting.
18234
18235 2015-10-14 Florian Weimer <fweimer@redhat.com>
18236
18237 [BZ #19074]
18238 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
18239 load and store num_ifs.
18240
18241 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
18242
18243 [BZ #18822]
18244 * sysdeps/unix/sysv/linux/sched_getaffinity.c
18245 (__sched_getaffinity_new): Add libc_hidden_proto and
18246 libc_hidden_def.
18247
18248 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
18249
18250 [BZ #19007]
18251 * scripts/localplt.awk: Also allow GOT references.
18252 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
18253 _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
18254 with "+ REL R_386_GLOB_DAT".
18255 * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
18256 and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
18257
18258 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
18259
18260 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
18261 INLINE_SYSCALL_ERROR_RETURN_VALUE.
18262 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
18263 Likewise.
18264 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
18265 * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
18266 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
18267 INTERNAL_SYSCALLINTERNAL_SYSCALL and
18268 INLINE_SYSCALL_ERROR_RETURN_VALUE.
18269 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
18270 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18271 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
18272 Likewise.
18273 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18274
18275 2015-10-13 Joseph Myers <joseph@codesourcery.com>
18276
18277 [BZ #19125]
18278 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
18279 <math_private.h> and <stdint.h>.
18280 (__llround): Avoid conversions to and from long long int, and
18281 subtractions, where those might raise spurious exceptions.
18282 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
18283 <math_private.h> and <stdint.h>.
18284 (__llroundf): Avoid conversions to and from long long int, and
18285 subtractions, where those might raise spurious exceptions.
18286
18287 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
18288
18289 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
18290 INLINE_SYSCALL_ERROR_RETURN_VALUE.
18291 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
18292 * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
18293 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
18294 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
18295 * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
18296 * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
18297 * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
18298 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
18299 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18300 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18301 * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
18302 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18303 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18304 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
18305 * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
18306 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
18307 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
18308 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
18309 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
18310 * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
18311 * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
18312 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
18313 * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
18314 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
18315 * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
18316 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
18317 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18318 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
18319 (__xstat64_conv): Likewise.
18320 (__xstat32_conv): Likewise.
18321
18322 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
18323
18324 * sysdeps/unix/sysv/linux/sysdep.h: New file.
18325 * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
18326 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
18327 <sysdeps/unix/sysv/linux/sysdep.h>.
18328 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
18329 * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
18330 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
18331 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
18332 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
18333 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
18334 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
18335 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
18336 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
18337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
18338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18339 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18340 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18341 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18342 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
18343 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18344 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
18345 (sysdep-dl-routines): Add sysdep.
18346 [$(subdir) == nptl] (libpthread-routines): Likewise.
18347 [$(subdir) == rt] (librt-routines): Likewise.
18348 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
18349 PIC when branching to SYSCALL_ERROR_LABEL.
18350 * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
18351 * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
18352 <sysdeps/unix/sysv/linux/sysdep.h>.
18353 (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
18354 (SYSCALL_ERROR_ERRNO): Removed.
18355 (SYSCALL_ERROR_HANDLER): Changed to empty.
18356 (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
18357 (__syscall_error): New prototype.
18358 [IS_IN (libc)] (INLINE_SYSCALL): New macro.
18359 (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
18360
18361 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
18362
18363 [BZ #19124]
18364 * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
18365 (_dl_runtime_resolve_avx512): Make it a hidden alias of
18366 _dl_runtime_resolve_avx.
18367 (_dl_runtime_profile_avx512): Make it a hidden alias of
18368 _dl_runtime_profile_avx.
18369
18370 2015-10-13 Joseph Myers <joseph@codesourcery.com>
18371
18372 * sysdeps/powerpc/fpu/s_llround.c: Move to ....
18373 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
18374 * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
18375 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
18376
18377 [BZ #16422]
18378 * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
18379 New configure test.
18380 * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
18381 * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
18382 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
18383 <math_private.h> and <stdint.h>.
18384 (__llrint): Avoid conversions to long long int where those might
18385 raise spurious exceptions.
18386 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
18387 <math_private.h> and <stdint.h>.
18388 (__llrintf): Avoid conversions to long long int where those might
18389 raise spurious exceptions.
18390
18391 2015-10-12 Andreas Schwab <schwab@suse.de>
18392
18393 [BZ #18969]
18394 * debug/Makefile (LOCALES): Define. Include gen-locales.mk.
18395 ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
18396 * iconvdata/Makefile (LOCALES): Define. Include gen-locales.mk.
18397 ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
18398 $(gen-locales).
18399 * intl/Makefile (LOCALES): Define. Include gen-locales.mk.
18400 ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
18401 ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
18402 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
18403 ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
18404 $(gen-locales).
18405 * libio/Makefile (LOCALES): Define. Include gen-locales.mk.
18406 ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
18407 ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
18408 ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
18409 ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
18410 ($(objpfx)tst-ftell-active-handler.out)
18411 ($(objpfx)tst-ftell-append.out)
18412 ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
18413 ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
18414 ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
18415 ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
18416 * posix/Makefile (LOCALES): Define. Include gen-locales.mk.
18417 ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
18418 ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
18419 ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
18420 ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
18421 ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
18422 ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
18423 ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
18424 ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
18425 ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
18426 ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
18427 ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
18428 ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
18429 ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
18430 * stdio-common/Makefile (LOCALES): Define. Include gen-locales.mk.
18431 ($(objpfx)bug14.out, $(objpfx)scanf13.out)
18432 ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
18433 ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
18434 ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
18435 * stdlib/Makefile (LOCALES): Define. Include gen-locales.mk.
18436 ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
18437 ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
18438 ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
18439 $(gen-locales).
18440 * time/Makefile (LOCALES): Define. Include gen-locales.mk.
18441 ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
18442 $(gen-locales).
18443 * wcsmbs/Makefile (LOCALES): Define. Include gen-locales.mk.
18444 ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
18445 ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
18446 ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
18447 $(gen-locales).
18448 * libio/tst_wprintf2.c (main): Use explicit locale.
18449 * wcsmbs/wcsmbs-tst1.c (main): Likewise.
18450
18451 2015-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18452
18453 * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
18454 __msg_sig_post.
18455 * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
18456
18457 2015-10-09 Joseph Myers <joseph@codesourcery.com>
18458
18459 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
18460 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18461
18462 * sysdeps/arm/libm-test-ulps: Regenerated.
18463
18464 [BZ #15470]
18465 * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
18466
18467 [BZ #16399]
18468 * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
18469 * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
18470 and <fix-fp-int-convert-overflow.h>.
18471 (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
18472 FIX_DBL_LLONG_CONVERT_OVERFLOW.
18473 * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
18474 and <fix-fp-int-convert-overflow.h>.
18475 (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
18476 FIX_DBL_LLONG_CONVERT_OVERFLOW.
18477 * sysdeps/ieee754/dbl-64/s_lrint.c: Include
18478 <fix-fp-int-convert-overflow.h>.
18479 (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
18480 FIX_DBL_LLONG_CONVERT_OVERFLOW.
18481 * sysdeps/ieee754/dbl-64/s_lround.c: Include
18482 <fix-fp-int-convert-overflow.h>.
18483 (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
18484 FIX_DBL_LLONG_CONVERT_OVERFLOW.
18485 * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
18486 and <fix-fp-int-convert-overflow.h>.
18487 (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
18488 FIX_DBL_LLONG_CONVERT_OVERFLOW.
18489 * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
18490 <limits.h> and <fix-fp-int-convert-overflow.h>.
18491 (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
18492 FIX_DBL_LLONG_CONVERT_OVERFLOW.
18493 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
18494 and <fix-fp-int-convert-overflow.h>.
18495 (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
18496 FIX_DBL_LLONG_CONVERT_OVERFLOW.
18497 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
18498 and <fix-fp-int-convert-overflow.h>.
18499 (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
18500 FIX_DBL_LLONG_CONVERT_OVERFLOW.
18501 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
18502
18503 2015-10-09 Carlos O'Donell <carlos@redhat.com>
18504
18505 [BZ #18589]
18506 * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
18507 * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
18508 $(gen-locales).
18509
18510 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18511 Phil Blundell <pb@pbcl.net>
18512
18513 * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
18514 * nptl/tst-cancel26.c: New file.
18515 * nptl/tst-cancel27.c: Likewise.
18516
18517 2015-10-09 H.J. Lu <hongjiu.lu@intel.com>
18518
18519 * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
18520 __ILP32__ isn't defined.
18521 (lrint): Likewise.
18522 * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
18523 (lrintf): Likewise.
18524 * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
18525 (lrintl): Likewise.
18526 * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
18527 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
18528 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
18529
18530 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18531
18532 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
18533 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
18534
18535 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
18536 file.
18537 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
18538 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
18539
18540 2015-10-09 Joseph Myers <joseph@codesourcery.com>
18541
18542 * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
18543 configure test.
18544 * sysdeps/i386/configure: Regenerated.
18545 * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
18546 configure test.
18547 * sysdeps/x86_64/configure: Regenerated.
18548 * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
18549 Make code unconditional.
18550
18551 * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
18552 test.
18553 * sysdeps/i386/configure: Regenerated.
18554 * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
18555 test.
18556 * sysdeps/x86_64/configure: Regenerated.
18557 * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
18558 Make code unconditional.
18559 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
18560 Likewise.
18561 * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
18562 Likewise.
18563 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18564 * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
18565 code unconditional.
18566 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18567 * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
18568 code unconditional.
18569 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18570 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
18571 code unconditional.
18572 * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
18573 code unconditional.
18574 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18575 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
18576 code unconditional.
18577 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18578 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
18579 code unconditional.
18580 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18581 * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
18582 code unconditional.
18583 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18584 * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
18585 code unconditional.
18586 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18587 * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
18588
18589 [BZ #19095]
18590 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
18591 mantissa to long int before shifting left.
18592
18593 2015-10-08 Joseph Myers <joseph@codesourcery.com>
18594
18595 [BZ #19094]
18596 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
18597 <limits.h>.
18598 (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
18599 when result overflows but exception would not result from cast.
18600 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
18601 <limits.h>.
18602 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
18603 when result overflows but exception would not result from cast.
18604 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
18605 <limits.h>.
18606 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
18607 when result overflows but exception would not result from cast.
18608 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
18609 <limits.h>.
18610 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
18611 when result overflows but exception would not result from cast.
18612 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
18613 <limits.h>.
18614 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
18615 when result overflows but exception would not result from cast.
18616 * math/libm-test.inc (lrint_test_data): Add more tests.
18617 (llrint_test_data): Likewise.
18618
18619 2015-10-08 Roland McGrath <roland@hack.frob.com>
18620
18621 [BZ #18872]
18622 * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
18623 Move out from under [$(run-built-tests) = yes] conditional.
18624 ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
18625 ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
18626
18627 2015-10-08 Carlos O'Donell <carlos@redhat.com>
18628
18629 [BZ #18589]
18630 * string/Makefile (tests): Add bug-strcoll2.
18631 (LOCALES): Add cs_CZ.UTF-8.
18632 * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
18633
18634 [BZ #18589]
18635 * string/bug-strcoll2.c: New file.
18636 * locale/categories.def: Revert commit
18637 f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
18638 * locale/langinfo.h: Likewise.
18639 * locale/localeinfo.h: Likewise.
18640 * locale/C-collate.c: Likewise.
18641 * locale/programs/ld-collate.c (collate_output): Likewise.
18642 * string/strcoll_l.c (STRDIFF): Likewise.
18643 (STRCOLL): Likewise.
18644 * wcsmbs/wcscoll_l.c: Likewise.
18645
18646 2015-10-08 Joseph Myers <joseph@codesourcery.com>
18647
18648 * math/libm-test.inc (lround_test_data): Do not expect the absence
18649 of "inexact" for some tests with non-integer arguments.
18650 (llround_test_data): Likewise.
18651
18652 * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
18653 test.
18654 (libc_cv_cc_sse2avx): Likewise.
18655 * sysdeps/i386/configure: Regenerated.
18656 * sysdeps/i386/i686/multiarch/Makefile
18657 [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
18658 [$(subdir) = math].
18659 * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
18660 code unconditional.
18661 * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
18662 Likewise.
18663 * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
18664 Likewise.
18665 * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
18666 Likewise.
18667 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
18668 test.
18669 (libc_cv_cc_sse2avx): Likewise.
18670 * sysdeps/x86_64/configure: Regenerated.
18671 * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
18672 unconditional.
18673 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
18674 [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
18675 unconditional.
18676 (_dl_runtime_profile)
18677 [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
18678 conditional code.
18679 * sysdeps/x86_64/fpu/multiarch/Makefile
18680 [$(config-cflags-sse2avx) = yes]: Make code unconditional.
18681 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
18682 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18683 * sysdeps/x86_64/fpu/multiarch/e_exp.c
18684 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18685 * sysdeps/x86_64/fpu/multiarch/e_log.c
18686 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18687 * sysdeps/x86_64/fpu/multiarch/s_atan.c
18688 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18689 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
18690 Likewise.
18691 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
18692 Likewise.
18693 * sysdeps/x86_64/fpu/multiarch/s_sin.c
18694 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18695 * sysdeps/x86_64/fpu/multiarch/s_tan.c
18696 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18697 * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
18698 * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
18699 (HAVE_SSE2AVX_SUPPORT): Likewise.
18700
18701 2015-10-07 Paul Pluzhnikov <ppluzhnikov@google.com>
18702
18703 * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
18704 instead of #pragma optimize.
18705
18706 2015-10-07 Carlos O'Donell <carlos@redhat.com>
18707
18708 [BZ #17195]
18709 * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
18710 as is similarly done in systrim and _int_free already.
18711
18712 2015-10-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
18713
18714 * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
18715
18716 2015-10-07 Joseph Myers <joseph@codesourcery.com>
18717
18718 [BZ #19088]
18719 * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
18720 <limits.h>.
18721 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
18722 overflows but exception would not result from cast.
18723 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
18724 and <limits.h>.
18725 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
18726 overflows but exception would not result from cast.
18727 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
18728 <limits.h>.
18729 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
18730 overflows but exception would not result from cast.
18731 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
18732 <limits.h>.
18733 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
18734 overflows but exception would not result from cast.
18735 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
18736 <limits.h>.
18737 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
18738 overflows but exception would not result from cast.
18739 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
18740 <limits.h>.
18741 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
18742 overflows but exception would not result from cast.
18743 * math/libm-test.inc (lround_test_data): Add more tests.
18744 (llround_test_data): Likewise.
18745
18746 2015-10-07 Steve Ellcey <sellcey@imgtec.com>
18747
18748 * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
18749 (CFLAGS-ialloc.c): Ditto.
18750 (CFLAGS-scheck.c): Ditto.
18751
18752 2015-10-07 Carlos O'Donell <carlos@redhat.com>
18753
18754 [BZ #19086]
18755 * manual/filesys.texi (Storage Allocation): Fix argument order for
18756 posix_fallocate64.
18757
18758 2015-10-07 Joseph Myers <joseph@codesourcery.com>
18759
18760 [BZ #19085]
18761 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
18762 exponent below 48 inside case for non-overflowing exponent.
18763 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
18764
18765 2015-10-07 Florian Weimer <fweimer@redhat.com>
18766
18767 * iconvdata/cp737.h (from_idx): Add const.
18768 * iconvdata/cp775.h (from_idx): Likewise.
18769
18770 2015-10-07 Joseph Myers <joseph@codesourcery.com>
18771
18772 * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
18773 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
18774 (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
18775
18776 [BZ #19079]
18777 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
18778 file, conditioned on [!_LP64].
18779 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
18780 [!_LP64] (__lround): Do not define as function or alias.
18781 [!_LP64] (lround): Likewise.
18782 [!_LP64] (__lroundl): Likewise.
18783 [!_LP64] (lroundl): Likewise.
18784 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
18785 macro.
18786 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
18787 Likewise.
18788
18789 2015-10-06 Joseph Myers <joseph@codesourcery.com>
18790
18791 * math/libm-test.inc (lrint_test_data): Add more tests.
18792 (llrint_test_data): Likewise.
18793 (lround_test_data): Likewise.
18794 (llround_test_data): Likewise.
18795
18796 * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
18797 (llrint_test_data): Add tests used for lrint.
18798
18799 * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
18800 test.
18801 * sysdeps/i386/configure: Regenerated.
18802 * sysdeps/i386/i686/multiarch/Makefile
18803 [$(config-cflags-sse4) = yes]: Make code unconditional.
18804 * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
18805 Likewise.
18806 * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
18807 Likewise.
18808 * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
18809 test.
18810 * sysdeps/x86_64/configure: Regenerated.
18811 * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
18812 Make code unconditional.
18813 * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
18814 Likewise.
18815 * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
18816 * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
18817
18818 * scripts/rpm2dynsym.sh: Remove file.
18819
18820 2015-10-06 Florian Weimer <fweimer@redhat.com>
18821
18822 * configure.ac (libc_cv_cxx_thread_local): Define.
18823 * configure: Regenerate.
18824 * config.make.in (have-cxx-thread_local): Define.
18825 * nptl/Makefile (CFLAGS-tst-thread_local1.o):
18826 (LDLIBS-tst-thread_local1): Define.
18827 (tests): Add tst-thread_local1.
18828 [have-cxx-thread_local != yes] (tests-unsupported): Add
18829 tst-thread_local1.
18830 * nptl/tst-thread_local1.cc: New file.
18831
18832 2015-10-06 Joseph Myers <joseph@codesourcery.com>
18833
18834 [BZ #19078]
18835 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
18836 (u_thres): Likewise.
18837 (__expl): Determine whether to call __kernel_standard_l based on
18838 value of result, not argument.
18839
18840 * math/libm-test.inc (scalb_test_data): Add more expectations for
18841 the "inexact" exception.
18842
18843 [BZ #19077]
18844 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
18845 0.0L for argument 1.0L.
18846
18847 [BZ #19076]
18848 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
18849 constant 0.0L when computing infinite result.
18850
18851 2015-10-06 Florian Weimer <fweimer@redhat.com>
18852
18853 [BZ #10432]
18854 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
18855 malloc_usable_size.
18856
18857 2015-10-06 Florian Weimer <fweimer@redhat.com>
18858
18859 [BZ #19018]
18860 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
18861 Mangle function pointer before storing it.
18862 (__call_tls_dtors): Demangle function pointer before calling it.
18863
18864 2015-10-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18865
18866 [BZ #19012]
18867 * iconv/gconv_db.c (gen_steps): Check for additional errors.
18868 Clean up on failure.
18869
18870 2015-10-05 Joseph Myers <joseph@codesourcery.com>
18871
18872 [BZ #19071]
18873 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
18874 long int variable to store possibly incremented high part of
18875 mantissa.
18876 * math/libm-test.inc (lround_test_data): Add tests used for
18877 llround. Use [LONG_MAX > 0x7fffffff] consistently as condition
18878 for tests requiring 64-bit long. Do not condition tests on
18879 [TEST_FLOAT] unnecessarily.
18880 (llround_test_data): Add tests used for lround. Add another
18881 expectation for the "inexact" exception. Do not condition tests
18882 on [TEST_FLOAT] unnecessarily.
18883
18884 [BZ #887]
18885 [BZ #19049]
18886 [BZ #19050]
18887 * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
18888 * sysdeps/ieee754/dbl-64/e_log10.c: Include
18889 <fix-int-fp-convert-zero.h>.
18890 (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18891 * sysdeps/ieee754/dbl-64/e_log2.c: Include
18892 <fix-int-fp-convert-zero.h>.
18893 (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18894 * sysdeps/ieee754/dbl-64/s_erf.c: Include
18895 <fix-int-fp-convert-zero.h>.
18896 (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18897 * sysdeps/ieee754/dbl-64/s_logb.c: Include
18898 <fix-int-fp-convert-zero.h>.
18899 (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18900 * sysdeps/ieee754/flt-32/e_log10f.c: Include
18901 <fix-int-fp-convert-zero.h>.
18902 (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18903 * sysdeps/ieee754/flt-32/e_log2f.c: Include
18904 <fix-int-fp-convert-zero.h>.
18905 (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18906 * sysdeps/ieee754/flt-32/s_erff.c: Include
18907 <fix-int-fp-convert-zero.h>.
18908 (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18909 * sysdeps/ieee754/flt-32/s_logbf.c: Include
18910 <fix-int-fp-convert-zero.h>.
18911 (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18912 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
18913 <fix-int-fp-convert-zero.h>.
18914 (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18915 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
18916 <fix-int-fp-convert-zero.h>.
18917 (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18918 * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
18919 * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
18920 * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
18921 file.
18922 * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
18923
18924 2015-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
18925
18926 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18927
18928 2015-10-02 Joseph Myers <joseph@codesourcery.com>
18929
18930 [BZ #19059]
18931 * math/s_nexttowardf.c (__nexttowardf): Do not return value from
18932 overflowing computation.
18933 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
18934 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
18935 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
18936 Likewise.
18937 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
18938 Likewise.
18939 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
18940 Likewise.
18941 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18942 Likewise.
18943 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
18944 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
18945 Likewise.
18946 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
18947 Likewise.
18948 * math/libm-test.inc (nexttoward_test_data): Add more tests.
18949
18950 * nss/rewrite_field.c (__nss_rewrite_field): Use
18951 internal_function.
18952 * nss/valid_field.c (__nss_valid_field): Likewise.
18953 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
18954
18955 2015-10-02 Florian Weimer <fweimer@redhat.com>
18956
18957 [BZ #18724]
18958 * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
18959 (__nss_invalid_field_characters, __nss_valid_field)
18960 (__nss_valid_list_field, __nss_rewrite_field): Declare.
18961 * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
18962 tst-field.c: New file.
18963 * nss/Makefile (routines): Add valid_field, rewrite_field.
18964 (tests-static): Define unconditionally.
18965 (tests): Include tests-static.
18966 [build-static-nss] (tests-static): Use append.
18967 [build-static-nss] (tests): Remove modification.
18968 * nss/getent.c (print_group): Call putgrent. Report error.
18969 (print_gshadow): Call putsgent. Report error.
18970 (print_passwd): Call putpwent. Report error.
18971 (print_shadow): Call putspent. Report error.
18972 * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
18973 * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
18974 * pwd/putpwent.c (putpwent): Use ISO function definition. Check
18975 name, password, directory, shell fields for valid syntax. Rewrite
18976 GECOS field to match syntax.
18977 * pwd/Makefile (tests): Add tst-putpwent.
18978 * pwd/tst-putpwent.c: New file.
18979 * grp/putgrent.c (putgrent): Convert to ISO function definition.
18980 Check grName, grpasswd, gr_mem fields for valid syntax.
18981 Change loop variable i to size_t.
18982 * grp/Makefile (tests): Add tst-putgrent.
18983 * grp/tst-putgrent.c: New file.
18984 * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
18985 valid syntax.
18986 * shadow/Makefile (tests): Add tst-putspent.
18987 * shadow/tst-putspent.c: New file.
18988 * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
18989 sg_mem fields for valid syntax.
18990 * gshadow/Makefile (tests): Add tst-putsgent.
18991 * gshadow/tst-putsgent.c: New file.
18992
18993 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
18994
18995 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
18996 assembly instructions.
18997
18998 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
18999
19000 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
19001 prefix from operands.
19002
19003 2015-10-01 Joseph Myers <joseph@codesourcery.com>
19004
19005 [BZ #16347]
19006 [BZ #19046]
19007 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
19008 <libc-internal.h>.
19009 (MAXLGM): Do not use diagnostic control macros.
19010 [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
19011 threshold for ldbl-128ibm.
19012 (__ieee754_lgammal_r): For large arguments, multiply by log - 1
19013 instead of multiplying by log then subtracting.
19014 * math/auto-libm-test-in: Add more tests of lgamma.
19015 * math/auto-libm-test-out: Regenerated.
19016
19017 * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
19018 (TYPE_HEX_DIG): Likewise.
19019 (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
19020 precisions when printing floating-point numbers.
19021 (check_float_internal): Likewise.
19022
19023 2015-09-30 Joseph Myers <joseph@codesourcery.com>
19024
19025 [BZ #16620]
19026 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
19027 of log (10) rounded downward to 48 bits.
19028 (log10_low): Use corresponding low part of log (10).
19029
19030 [BZ #19032]
19031 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
19032 compute result as (x - x) / (x - x) not as 0 / 0.
19033 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
19034 * math/libm-test.inc (acosh_test_data): Add another test of acosh.
19035
19036 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
19037 atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
19038 and expm1.
19039 * math/auto-libm-test-out: Regenerated.
19040 * math/libm-test.inc (acos_test_data): Add more tests.
19041 (asin_test_data): Likewise.
19042 (asinh_test_data): Likewise.
19043 (atan_test_data): Likewise.
19044 (atanh_test_data): Likewise.
19045 (atan2_test_data): Likewise.
19046 (cbrt_test_data): Likewise.
19047 (ceil_test_data): Likewise.
19048 (copysign_test_data): Likewise.
19049 (cos_test_data): Likewise.
19050 (cosh_test_data): Likewise.
19051 (erf_test_data): Likewise.
19052 (erfc_test_data): Likewise.
19053 (exp_test_data): Likewise.
19054 (exp10_test_data): Likewise.
19055 (exp2_test_data): Likewise.
19056 (expm1_test_data): Likewise.
19057 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19058
19059 2015-09-30 H.J. Lu <hongjiu.lu@intel.com>
19060
19061 [BZ #19006]
19062 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
19063 to ...
19064 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
19065 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
19066 to ...
19067 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
19068 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
19069 to ...
19070 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
19071 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
19072 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
19073 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
19074 to ...
19075 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
19076 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
19077 Moved to ...
19078 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
19079 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
19080 Moved to ...
19081 * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
19082 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
19083 to ...
19084 * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
19085 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
19086 Moved to ...
19087 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
19088 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
19089 to ...
19090 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
19091 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
19092 Removed.
19093 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
19094 Likewise.
19095 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
19096 Likewise.
19097 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
19098 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
19099 Likewise.
19100 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
19101 Likewise.
19102 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
19103 Likewise.
19104 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
19105 Likewise.
19106 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
19107 Likewise.
19108 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
19109 Likewise.
19110 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
19111 Likewise.
19112 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
19113 Likewise.
19114 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
19115 Likewise.
19116 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
19117 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
19118 Likewise.
19119 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
19120 Likewise.
19121 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
19122 Likewise.
19123 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
19124 Likewise.
19125 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
19126 Likewise.
19127 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
19128 Replace ../i486/pthread_cond_timedwait.S with
19129 ../pthread_cond_timedwait.S.
19130
19131 2015-09-30 Joseph Myers <joseph@codesourcery.com>
19132
19133 * math/libm-test.inc (acos_test_data): Refine expectations for
19134 errno and "inexact" exceptions.
19135 (acosh_test_data): Likewise.
19136 (asin_test_data): Likewise.
19137 (asinh_test_data): Likewise.
19138 (atan_test_data): Likewise.
19139 (atanh_test_data): Likewise.
19140 (atan2_test_data): Likewise.
19141 (cbrt_test_data): Likewise.
19142 (ceil_test_data): Likewise.
19143 (copysign_test_data): Likewise.
19144 (cosh_test_data): Likewise.
19145 (erf_test_data): Likewise.
19146 (erfc_test_data): Likewise.
19147 (exp_test_data): Likewise.
19148 (exp10_test_data): Likewise.
19149 (exp2_test_data): Likewise.
19150 (expm1_test_data): Likewise.
19151 (fabs_test_data): Likewise.
19152 (floor_test_data): Likewise.
19153 (fma_test_data): Likewise.
19154 (fmax_test_data): Likewise.
19155 (fmin_test_data): Likewise.
19156 (fmod_test_data): Likewise.
19157 (fpclassify_test_data): Likewise.
19158 (frexp_test_data): Likewise.
19159 (hypot_test_data): Likewise.
19160 (ilogb_test_data): Likewise.
19161 (isgreater_test_data): Likewise.
19162 (isgreaterequal_test_data): Likewise.
19163 (isinf_test_data): Likewise.
19164 (isless_test_data): Likewise.
19165 (islessequal_test_data): Likewise.
19166 (islessgreater_test_data): Likewise.
19167 (isnan_test_data): Likewise.
19168 (isnormal_test_data): Likewise.
19169 (issignaling_test_data): Likewise.
19170 (isunordered_test_data): Likewise.
19171 (j0_test_data): Likewise.
19172 (j1_test_data): Likewise.
19173 (jn_test_data): Likewise.
19174 (lgamma_test_data): Likewise.
19175 (lrint_test_data): Likewise.
19176 (llrint_test_data): Likewise.
19177 (log_test_data): Likewise.
19178 (log10_test_data): Likewise.
19179 (log1p_test_data): Likewise.
19180 (log2_test_data): Likewise.
19181 (logb_test_data): Likewise.
19182 (lround_test_data): Likewise.
19183 (llround_test_data): Likewise.
19184 (modf_test_data): Likewise.
19185 (nearbyint_test_data): Likewise.
19186 (nextafter_test_data): Likewise.
19187 (nexttoward_test_data): Likewise.
19188 (pow_test_data): Likewise.
19189 (remainder_test_data): Likewise.
19190 (remquo_test_data): Likewise.
19191 (rint_test_data): Likewise.
19192 (round_test_data): Likewise.
19193 (signbit_test_data): Likewise.
19194 (sinh_test_data): Likewise.
19195 (sqrt_test_data): Likewise.
19196 (tanh_test_data): Likewise.
19197 (tgamma_test_data): Likewise.
19198 (trunc_test_data): Likewise.
19199 (y0_test_data): Likewise.
19200 (y1_test_data): Likewise.
19201 (yn_test_data): Likewise.
19202 (significand_test_data): Likewise.
19203
19204 2015-09-29 Carlos O'Donell <carlos@redhat.com>
19205
19206 * manual/filesys.texi (Storage Allocation): Document that
19207 posix_fallocate emulation fails when fd is open with O_WRONLY.
19208
19209 2015-09-28 Joseph Myers <joseph@codesourcery.com>
19210
19211 [BZ #19016]
19212 * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
19213 allow more cases with X^2 + Y^2 >= 0.5.
19214 * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise. Add -1 as
19215 normal element in sum instead of special-casing based on values of
19216 arguments.
19217 * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
19218 * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise. Add
19219 -1 as normal element in sum instead of special-casing based on
19220 values of arguments.
19221 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
19222 * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
19223 (__x2y2m1): Update comment.
19224 * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise. Add -1
19225 as normal element in sum instead of special-casing based on values
19226 of arguments.
19227 * math/s_clog.c (__clog): Handle more cases using log1p without
19228 hypot.
19229 * math/s_clog10.c (__clog10): Likewise.
19230 * math/s_clog10f.c (__clog10f): Likewise.
19231 * math/s_clog10l.c (__clog10l): Likewise.
19232 * math/s_clogf.c (__clogf): Likewise.
19233 * math/s_clogl.c (__clogl): Likewise.
19234 * math/auto-libm-test-in: Add more tests of clog and clog10.
19235 * math/auto-libm-test-out: Regenerated.
19236 * sysdeps/i386/fpu/libm-test-ulps: Update.
19237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19238
19239 2015-09-28 Martin Sebor <msebor@redhat.com>
19240
19241 [BZ #18969]
19242 * string/Makefile (LOCALES): Define.
19243 (gen-locales.mk): Include.
19244 (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
19245 (tst-strxfrm2.out): Add deppendency on $(gen-locales).
19246 * string/tst-strxfrm2.c (do_test): Print the name of the locale
19247 on setlocale failure.
19248
19249 2015-09-26 Paul Pluzhnikov <ppluzhnikov@google.com>
19250
19251 [BZ #18985]
19252 * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
19253 (__strftime_internal): Likewise.
19254 * time/tst-strftime.c (do_bz18985): New test.
19255 (do_test): Call it.
19256
19257 2015-09-26 Joseph Myers <joseph@codesourcery.com>
19258
19259 [BZ #18956]
19260 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
19261 not 0x0040000 for high bit of mantissa. Mask with 0xfffff000 when
19262 extracting high part.
19263 * math/auto-libm-test-in: Add another test of pow.
19264 * math/auto-libm-test-out: Regenerated.
19265 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19266
19267 2015-09-25 Joseph Myers <joseph@codesourcery.com>
19268
19269 [BZ #18825]
19270 * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
19271 New macro.
19272 (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
19273 (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
19274 * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
19275 (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
19276 DBL_NARROW_EVAL, reloading the PIC register as needed.
19277 * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
19278 (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
19279 FLT_NARROW_EVAL. Use separate return path for case when first
19280 argument is NaN.
19281 * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>. Use
19282 DEFINE_LDBL_MIN.
19283 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
19284 PIC register.
19285 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
19286 math_check_force_underflow_nonneg.
19287 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
19288 underflow for subnormal result.
19289 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
19290 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
19291 math_check_force_underflow_nonneg.
19292 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
19293 math_check_force_underflow.
19294 * sysdeps/x86_64/fpu/x86_64-math-asm.h
19295 (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
19296 * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>. Use
19297 DEFINE_LDBL_MIN.
19298 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
19299 * math/auto-libm-test-in: Add more tests of pow.
19300 * math/auto-libm-test-out: Regenerated.
19301
19302 2015-09-25 Florian Weimer <fweimer@redhat.com>
19303
19304 * nss/bug17079.c (init_test_items): Add diagnostic for
19305 inconsistent entries.
19306 (test_buffer_size): Skip inconsistent entries.
19307
19308 2015-09-25 Joseph Myers <joseph@codesourcery.com>
19309
19310 [BZ #13304]
19311 * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
19312 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
19313 * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
19314
19315 [BZ #13304]
19316 * sysdeps/microblaze/s_fma.c: New file.
19317 * sysdeps/microblaze/s_fmaf.c: Likewise.
19318 * sysdeps/microblaze/sfp-machine.h: Likewise.
19319
19320 2015-09-25 Maciej W. Rozycki <macro@imgtec.com>
19321
19322 [BZ #17250]
19323 * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
19324 member.
19325
19326 2015-09-24 Joseph Myers <joseph@codesourcery.com>
19327
19328 [BZ #18803]
19329 * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
19330 (MO): New macro.
19331 (__ieee754_hypot) [PIC]: Load PIC register.
19332 (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
19333 DBL_NARROW_EVAL.
19334 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
19335 math_check_force_underflow_nonneg in case where result might be
19336 tiny.
19337 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
19338 Likewise.
19339 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
19340 Likewise.
19341 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
19342 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
19343 * math/auto-libm-test-in: Add more tests of hypot.
19344 * math/auto-libm-test-out: Regenerated.
19345
19346 2015-09-24 Steve Ellcey <sellcey@imgtec.com>
19347
19348 * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
19349
19350 2015-09-24 Joseph Myers <joseph@codesourcery.com>
19351
19352 * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
19353 * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
19354 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
19355 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
19356 * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
19357 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
19358 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
19359
19360 * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
19361 LOAD_PIC_REG.
19362
19363 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
19364 (FLT_CHECK_FORCE_UFLOW): Likewise.
19365 (DBL_CHECK_FORCE_UFLOW): Likewise.
19366 (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
19367 (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
19368 (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
19369 (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
19370 (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
19371 (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
19372 (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
19373 (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
19374 * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
19375 (dbl_min): Replace with use of DEFINE_DBL_MIN.
19376 (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
19377 * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
19378 (flt_min): Replace with use of DEFINE_FLT_MIN.
19379 (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
19380 * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
19381 (dbl_min): Replace with use of DEFINE_DBL_MIN.
19382 (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
19383 * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
19384 (flt_min): Replace with use of DEFINE_FLT_MIN.
19385 (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
19386 * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
19387 (dbl_min): Replace with use of DEFINE_DBL_MIN.
19388 (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
19389 * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
19390 (flt_min): Replace with use of DEFINE_FLT_MIN.
19391 (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
19392 * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
19393 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
19394 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
19395 * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
19396 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
19397 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
19398 * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
19399 (dbl_min): Replace with use of DEFINE_DBL_MIN.
19400 (__atan): Use DBL_CHECK_FORCE_UFLOW.
19401 * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
19402 (flt_min): Replace with use of DEFINE_FLT_MIN.
19403 (__atanf): Use FLT_CHECK_FORCE_UFLOW.
19404 * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
19405 (dbl_min): Replace with use of DEFINE_DBL_MIN.
19406 (__expm1): Use DBL_CHECK_FORCE_UFLOW. Move underflow check after
19407 main computation.
19408 * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
19409 (flt_min): Replace with use of DEFINE_FLT_MIN.
19410 (__expm1f): Use FLT_CHECK_FORCE_UFLOW. Move underflow check after
19411 main computation.
19412 * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
19413 (dbl_min): Replace with use of DEFINE_DBL_MIN.
19414 (MO): New macro.
19415 (__log1p): Use MO. Use DBL_CHECK_FORCE_UFLOW_NONNAN.
19416 * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
19417 (flt_min): Replace with use of DEFINE_FLT_MIN.
19418 (MO): New macro.
19419 (__log1pf): Use MO. Use FLT_CHECK_FORCE_UFLOW_NONNAN.
19420 * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
19421 (__log1pl): Use MO.
19422
19423 [BZ #19003]
19424 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
19425 $(config-cflags-nofma).
19426
19427 2015-09-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
19428
19429 * sysdeps/aarch64/libm-test-ulps: Regenerated.
19430
19431 2015-09-23 Joseph Myers <joseph@codesourcery.com>
19432
19433 * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
19434 (TWO127): Likewise.
19435
19436 * sysdeps/generic/math_private.h (fabs_tg): New macro.
19437 (min_of_type): Likewise.
19438 (math_check_force_underflow): Likewise.
19439 (math_check_force_underflow_nonneg): Likewise.
19440 (math_check_force_underflow_complex): Likewise.
19441 * math/e_exp2l.c (__ieee754_exp2l): Use
19442 math_check_force_underflow_nonneg.
19443 * math/k_casinh.c (__kernel_casinh): Likewise.
19444 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19445 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19446 * math/s_catan.c (__catan): Use
19447 math_check_force_underflow_complex.
19448 * math/s_catanf.c (__catanf): Likewise.
19449 * math/s_catanh.c (__catanh): Likewise.
19450 * math/s_catanhf.c (__catanhf): Likewise.
19451 * math/s_catanhl.c (__catanhl): Likewise.
19452 * math/s_catanl.c (__catanl): Likewise.
19453 * math/s_ccosh.c (__ccosh): Likewise.
19454 * math/s_ccoshf.c (__ccoshf): Likewise.
19455 * math/s_ccoshl.c (__ccoshl): Likewise.
19456 * math/s_cexp.c (__cexp): Likewise.
19457 * math/s_cexpf.c (__cexpf): Likewise.
19458 * math/s_cexpl.c (__cexpl): Likewise.
19459 * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
19460 * math/s_clog10.c (__clog10): Likewise.
19461 * math/s_clog10f.c (__clog10f): Likewise.
19462 * math/s_clog10l.c (__clog10l): Likewise.
19463 * math/s_clogf.c (__clogf): Likewise.
19464 * math/s_clogl.c (__clogl): Likewise.
19465 * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
19466 * math/s_csinf.c (__csinf): Likewise.
19467 * math/s_csinh.c (__csinh): Likewise.
19468 * math/s_csinhf.c (__csinhf): Likewise.
19469 * math/s_csinhl.c (__csinhl): Likewise.
19470 * math/s_csinl.c (__csinl): Likewise.
19471 * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
19472 * math/s_csqrtf.c (__csqrtf): Likewise.
19473 * math/s_csqrtl.c (__csqrtl): Likewise.
19474 * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
19475 * math/s_ctanf.c (__ctanf): Likewise.
19476 * math/s_ctanh.c (__ctanh): Likewise.
19477 * math/s_ctanhf.c (__ctanhf): Likewise.
19478 * math/s_ctanhl.c (__ctanhl): Likewise.
19479 * math/s_ctanl.c (__ctanl): Likewise.
19480 * stdlib/strtod_l.c (round_and_return): Use math_force_eval
19481 instead of volatile.
19482 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
19483 math_check_force_underflow.
19484 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
19485 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
19486 volatile when forcing underflow.
19487 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
19488 math_check_force_underflow_nonneg.
19489 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
19490 Likewise.
19491 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
19492 math_check_force_underflow.
19493 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
19494 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
19495 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
19496 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
19497 math_check_force_underflow_nonneg.
19498 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
19499 math_check_force_underflow.
19500 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
19501 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
19502 instead of volatile.
19503 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
19504 math_check_force_underflow.
19505 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
19506 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
19507 math_check_force_underflow_nonneg.
19508 * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
19509 math_check_force_underflow.
19510 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
19511 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
19512 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
19513 math_check_force_underflow_nonneg.
19514 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
19515 Likewise.
19516 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
19517 math_check_force_underflow.
19518 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
19519 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
19520 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
19521 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
19522 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
19523 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
19524 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
19525 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
19526 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
19527 * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
19528 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
19529 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
19530 Likewise.
19531 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
19532 math_check_force_underflow_nonneg.
19533 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
19534 Likewise.
19535 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
19536 math_check_force_underflow.
19537 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
19538 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
19539 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
19540 Likewise.
19541 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
19542 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
19543 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
19544 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
19545 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
19546 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
19547 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
19548 instead of volatile.
19549 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
19550 math_check_force_underflow.
19551 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
19552 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
19553 math_check_force_underflow.
19554 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
19555 Likewise.
19556 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
19557 Use math_check_force_underflow_nonneg.
19558 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
19559 math_check_force_underflow.
19560 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
19561 Likewise.
19562 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
19563 Likewise.
19564 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
19565 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
19566 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
19567 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
19568 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
19569 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
19570 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
19571 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
19572 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
19573 math_check_force_underflow_nonneg.
19574 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
19575 math_check_force_underflow.
19576 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
19577 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
19578 * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
19579 * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
19580 math_check_force_underflow_nonneg.
19581 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
19582 math_check_force_underflow.
19583 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
19584 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
19585 instead of volatile.
19586 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
19587 math_check_force_underflow.
19588
19589 * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
19590 * stdlib/strtod_l.c: Include <math_private.h>.
19591 (overflow_value): Use math_narrow_eval.
19592 (underflow_value): Likewise.
19593 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19594 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
19595 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
19596 (__ieee754_gamma_r): Likewise.
19597 * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
19598 Likewise.
19599 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
19600 Likewise.
19601 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
19602 * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
19603 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
19604 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
19605 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
19606 (__ieee754_gammaf_r): Likewise.
19607 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
19608 Likewise.
19609 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
19610 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
19611 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
19612 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
19613 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
19614 volatile.
19615 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
19616 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
19617 math_narrow_eval.
19618 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
19619 Likewise.
19620 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19621 Likewise.
19622 * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
19623 Likewise.
19624 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
19625 volatile.
19626 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
19627 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
19628 math_narrow_eval.
19629 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19630 Likewise.
19631 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19632 Likewise.
19633
19634 2015-09-22 H.J. Lu <hongjiu.lu@intel.com>
19635
19636 * nptl/Versions: Remove ignored symbols.
19637
19638 2015-09-22 Florian Weimer <fweimer@redhat.com>
19639
19640 * nss/bug17079.c: Renamed from nss/bug18287.c. Add description.
19641 * nss/Makefile (tests): Update.
19642
19643 2015-09-22 Florian Weimer <fweimer@redhat.com>
19644
19645 * nss/bug18287.c: New file.
19646 * nss/Makefile (tests): Add bug18287.
19647
19648 2015-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
19649
19650 * mach/Versions (__mach_host_self_): Add symbol.
19651
19652 2015-09-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
19653
19654 * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
19655 vm_page_size.
19656
19657 2015-09-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
19658
19659 Really fix sysdeps/i386/fpu/s_scalbn.S build
19660
19661 * math/Versions (libc: GLIBC_2_20): New (empty) version set.
19662 (libc: GLIBC_2_22): Remove unused version set.
19663
19664 2015-09-18 Mike Frysinger <vapier@gentoo.org>
19665
19666 * config.make.in (enable-timezone-tools): New variable.
19667 * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
19668 (enable_timezone_tools): Export to generated files.
19669 * configure: Regenerate.
19670 * INSTALL: Regenerate.
19671 * manual/install.texi (--disable-timezone-tools): Document new flag.
19672 * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
19673 ifeq ($(enable-timezone-tools),yes) check.
19674
19675 2015-09-18 Joseph Myers <joseph@codesourcery.com>
19676
19677 * timezone/Makefile: Revert previous change.
19678
19679 [BZ #18980]
19680 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
19681 (DEFINE_DBL_MIN): Likewise.
19682 (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
19683 (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
19684 (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
19685 (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
19686 * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
19687 (dbl_min): Replace with use of DEFINE_DBL_MIN.
19688 (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
19689 (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
19690 * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
19691 (dbl_min): Replace with use of DEFINE_DBL_MIN.
19692 (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
19693 * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
19694 (flt_min): Replace with use of DEFINE_FLT_MIN.
19695 (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
19696 * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
19697 (dbl_min): Replace with use of DEFINE_DBL_MIN.
19698 (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
19699 * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
19700 (flt_min): Replace with use of DEFINE_FLT_MIN.
19701 (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
19702 * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
19703 (flt_min): Replace with use of DEFINE_FLT_MIN.
19704 (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
19705 (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
19706 * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
19707 (__ieee754_hypot): Use DBL_NARROW_EVAL.
19708 * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
19709 (__ieee754_hypotf): Use FLT_NARROW_EVAL.
19710 * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
19711 (__ieee754_pow): Use DBL_NARROW_EVAL.
19712 * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
19713 (__ieee754_powf): Use FLT_NARROW_EVAL.
19714 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
19715 (__ieee754_expf_sse2): Convert double-precision result to single
19716 precision.
19717 * sysdeps/i386/fpu/libm-test-ulps: Update.
19718
19719 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
19720
19721 * timezone/Makefile: Ignore unused variable errors due to private.h
19722 (time_t_min) and (time_t_max).
19723 * timezone/private.h (time_t_min): Revert removal. (time_t_max):
19724 Likewise.
19725
19726 2015-09-18 Joseph Myers <joseph@codesourcery.com>
19727
19728 [BZ #18981]
19729 * sysdeps/i386/fpu/i386-math-asm.h: New file.
19730 * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
19731 (__ieee754_scalb): Use DBL_NARROW_EVAL.
19732 * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
19733 (__ieee754_scalbf): Use FLT_NARROW_EVAL.
19734 * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
19735 (__scalbn): Use DBL_NARROW_EVAL.
19736 * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
19737 (__scalbnf): Use FLT_NARROW_EVAL.
19738
19739 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
19740
19741 * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
19742 * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
19743 * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
19744 * stdio-common/printf_fp.c (___printf_fp):
19745 Use signbit to get the sign. Use isinf macro to allow inlining.
19746 * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
19747 * stdio-common/printf_size.c (__printf_size): Likewise.
19748
19749 2015-09-18 Mike Frysinger <vapier@gentoo.org>
19750
19751 * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
19752
19753 2015-09-18 Joseph Myers <joseph@codesourcery.com>
19754
19755 [BZ #18980]
19756 * sysdeps/generic/math_private.h: Include <float.h>.
19757 (math_narrow_eval): New macro.
19758 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
19759 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
19760 math_narrow_eval on overflowing return value.
19761 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
19762 Likewise.
19763 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
19764 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
19765 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
19766 Likewise.
19767 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
19768
19769 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
19770
19771 * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
19772 * math/Makefile: Remove isinf_ns.c.
19773 * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
19774 * math/multc3.c (__multc3): Likewise.
19775 * math/s_casin.c (__casin): Likewise.
19776 * math/s_casinf.c (__casinf): Likewise.
19777 * math/s_casinl.c (__casinl): Likewise.
19778 * math/s_cproj.c (__cproj): Likewise.
19779 * math/s_cprojf.c (__cprojf): Likewise.
19780 * math/s_cprojl.c (__cprofl): Likewise.
19781 * math/s_ctan.c (__ctan): Likewise.
19782 * math/s_ctanf.c (__ctanf): Likewise.
19783 * math/s_ctanh.c (__ctanh): Likewise.
19784 * math/s_ctanhf.c (__ctanhf): Likewise.
19785 * math/s_ctanhl.c (__ctanhl): Likewise.
19786 * math/s_ctanl.c (__ctanl): Likewise.
19787 * math/w_fmod.c (__fmod): Likewise.
19788 * math/w_fmodf.c (__fmodf): Likewise.
19789 * math/w_fmodl.c (_fmodl): Likewise.
19790 * math/w_remainder.c (__remainder): Likewise.
19791 * math/w_remainderf.c (__remainderf): Likewise.
19792 * math/w_remainderl.c (__remainderl): Likewise.
19793 * math/w_scalb.c (__scalb): Likewise.
19794 * math/w_scalbf.c (__scalbf): Likewise.
19795 * math/w_scalbl.c (__scalbl): Likewise.
19796 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
19797 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
19798 with isinf.
19799 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
19800 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
19801 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
19802 __isinf_nsf with isinf.
19803 * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
19804 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
19805 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
19806 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
19807 with isinf.
19808 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
19809 __isinf_nsl with isinf.
19810 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
19811 with isinf.
19812 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
19813 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
19814 __isinf_nsl with isinf.
19815 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
19816 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
19817 with isinf.
19818
19819 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
19820
19821 * resolv/base64.c (rcsid): Remove unused static.
19822 * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
19823 static. (tqpi1): Likewise.
19824 * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
19825 * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
19826 * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
19827 * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
19828 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
19829 * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
19830 * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
19831 * timezone/private.h (time_t_min): Likewise. (time_t_max):
19832 Likewise.
19833
19834 2015-09-18 H.J. Lu <hongjiu.lu@intel.com>
19835
19836 * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
19837 <nptl/pthreadP.h>.
19838 (_longjmp_unwind): Use __libc_ptf_call.
19839 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
19840
19841 2015-09-18 David Lamparter <equinox-gentoo@diac24.net>
19842
19843 * sysdeps/arm/setjmp.S: Change PIC to SHARED.
19844 * sysdeps/arm/__longjmp.S: Likewise.
19845
19846 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
19847
19848 * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
19849 Use __builtin_signbit.
19850 * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
19851 Use __builtin_signbitf.
19852 * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
19853 Use __builtin_signbitl.
19854 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
19855 * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
19856
19857 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
19858
19859 [BZ #15367]
19860 [BZ #17441]
19861
19862 * math/Makefile: Build test-snan.c with -fsignaling-nans.
19863 * math/math.h (fpclassify): Use __builtin_fpclassify when
19864 available. (signbit): Use __builtin_signbit(f/l).
19865 (isfinite): Use__builtin_isfinite. (isnormal): Use
19866 __builtin_isnormal. (isnan): Use __builtin_isnan.
19867 (isinf): Use __builtin_isinf_sign.
19868
19869 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
19870
19871 * benchtests/Makefile: Add bench-math-inlines, link with libm.
19872 * benchtests/bench-math-inlines.c: New benchmark.
19873 * benchtests/bench-util.h: New file.
19874 * benchtests/bench-util.c: New file.
19875 * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
19876
19877 2015-09-18 Carlos O'Donell <carlos@redhat.com>
19878
19879 * elf/tst-dlmopen1.c: Define TEST_SO.
19880 (do_test): Use TEST_SO.
19881
19882 * elf/dl-load.c: Include libc-internal.h.
19883 (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
19884
19885 2015-09-18 Vincent Bernat <vincent@bernat.im>
19886
19887 [BZ #17887]
19888 * time/strptime_l.c (__strptime_internal): Make %z accept
19889 [+-]HH:MM time zones.
19890
19891 2015-09-18 Vincent Bernat <vincent@bernat.im>
19892
19893 [BZ #17886]
19894 * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
19895 valid time zone.
19896
19897 2015-09-17 Mike Frysinger <vapier@gentoo.org>
19898
19899 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
19900 * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
19901 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19902 (__ASSUME_FDATASYNC): Delete.
19903
19904 2015-09-17 Joseph Myers <joseph@codesourcery.com>
19905
19906 * conform/linknamespace.pl: Require weak undefined symbols to be
19907 in the standard namespace.
19908 (%strong_syms): Rename to %seen_syms.
19909 (%strong_seen): Rename to %seen_where.
19910
19911 2015-09-17 H.J. Lu <hongjiu.lu@intel.com>
19912
19913 [BZ #18970]
19914 * misc/error.c (error): Replace pthread_setcancelstate with
19915 __pthread_setcancelstate.
19916 (error_at_line): Likewise.
19917 * posix/wordexp.c (parse_comm): Likewise.
19918 * stdlib/fmtmsg.c (fmtmsg): Likewise.
19919 * nptl/forward.c (pthread_setcancelstate): Renamed to ...
19920 (__pthread_setcancelstate): This.
19921 (pthread_setcancelstate): Add an alias.
19922 * nptl/nptl-init.c (pthread_functions): Replace
19923 ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
19924 * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
19925 * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
19926 hidden_proto.
19927 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
19928 it with hidden_def.
19929 * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
19930 (pthread_setcancelstate): Renamed to ...
19931 (__pthread_setcancelstate): This.
19932 * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
19933 __libc_ptf_call with __pthread_setcancelstate.
19934
19935 2015-09-17 Joseph Myers <joseph@codesourcery.com>
19936 Andreas Schwab <schwab@suse.de>
19937
19938 [BZ #17118]
19939 * math/s_ctan.c (__ctan): Determine sign of zero real part of
19940 result when imaginary part of argument is infinite using sine and
19941 cosine.
19942 * math/s_ctanf.c (__ctanf): Likewise.
19943 * math/s_ctanl.c (__ctanl): Likewise.
19944 * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
19945 of result when real part of argument is infinite using sine and
19946 cosine.
19947 * math/s_ctanhf.c (__ctanhf): Likewise.
19948 * math/s_ctanhl.c (__ctanhl): Likewise.
19949 * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
19950 (ctanh_test_data): Add more tests of ctanh.
19951
19952 2015-09-17 Joseph Myers <joseph@codesourcery.com>
19953
19954 [BZ #15384]
19955 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
19956 bit-mask as in subtraction.
19957 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
19958 Likewise.
19959 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
19960 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
19961 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
19962
19963 [BZ #18951]
19964 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
19965 underflow exception for small results.
19966 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
19967 Likewise.
19968 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
19969 Likewise.
19970 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
19971 Likewise.
19972 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
19973 Likewise.
19974 * math/auto-libm-test-in: Add more tests of tgamma.
19975 * math/auto-libm-test-out: Regenerated.
19976
19977 2015-09-17 Andreas Schwab <schwab@suse.de>
19978
19979 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
19980
19981 2015-09-16 Joseph Myers <joseph@codesourcery.com>
19982
19983 [BZ #18977]
19984 * math/bits/mathcalls.h
19985 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
19986 not declare.
19987 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
19988 Likewise.
19989 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
19990 Likewise.
19991 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
19992 Likewise.
19993 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
19994 Likewise.
19995 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
19996 Likewise.
19997 * conform/data/math.h-data
19998 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
19999 function.
20000 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
20001 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
20002 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
20003 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
20004 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
20005 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
20006 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
20007 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
20008 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
20009 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
20010 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
20011
20012 [BZ #6803]
20013 * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
20014 [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
20015 * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
20016 * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
20017 * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
20018 * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
20019 * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
20020 * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
20021 [NO_LONG_DOUBLE] (scalbnl): Likewise.
20022 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
20023 Likewise.
20024 [NO_LONG_DOUBLE] (scalbnl): Likewise.
20025 * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
20026 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
20027 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
20028 long_double_symbol calls.
20029 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
20030 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
20031 strong alias of __ldexpl.
20032 (scalbnl): Define using long_double_symbol.
20033 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
20034 Remove alias.
20035 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
20036 * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
20037 * math/libm-test.inc (scalbn_test_data): Add errno expectations.
20038 (scalbln_test_data): Add more errno expectations.
20039
20040 2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de>
20041
20042 Cache the host port like we cache the task port. This way we do not
20043 need to call the kernel just to get the port. Furthermore, we no
20044 longer increase the reference count on every invocation of
20045 `mach_host_self'.
20046
20047 * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
20048 Protect declarations against the macro expansion.
20049 * mach/mach_init.c (__mach_host_self_): New variable.
20050 (mach_init): Initialize `__mach_host_self_'.
20051 * mach/mach_init.h (__mach_host_self_): New declaration.
20052 (__mach_host_self, mach_host_self): New macros.
20053 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
20054 Release reference.
20055
20056 2015-09-16 Joseph Myers <joseph@codesourcery.com>
20057
20058 [BZ #4404]
20059 * po/de.po: Update from Translation Project.
20060
20061 [BZ #16415]
20062 * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
20063 (__expm1l): Remove code to handle positive infinity and overflow.
20064 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
20065 variable.
20066 (__expm1l): Remove code to handle positive infinity and overflow.
20067
20068 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
20069 Paul Pluzhnikov <ppluzhnikov@google.com>
20070
20071 [BZ #18872]
20072 * stdio-common/Makefile (tst-printf-bz18872): New test.
20073 (tst-printf-bz18872-mem.out): Likewise.
20074 * stdio-common/tst-printf-bz18872.sh: Generate new test.
20075 * stdio-common/vfprintf.c: Fix memory leaks.
20076
20077 2015-09-16 Andreas Schwab <schwab@suse.de>
20078
20079 [BZ #17244]
20080 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
20081 Remove extra va_start/va_end calls.
20082
20083 [BZ #17243]
20084 * posix/execl.c (execl): Add missing va_end.
20085 * posix/execle.c (execle): Likewise.
20086 * posix/execlp.c (execlp): Likewise.
20087
20088 2015-09-15 Roland McGrath <roland@hack.frob.com>
20089
20090 * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
20091 (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
20092
20093 2015-09-15 Joseph Myers <joseph@codesourcery.com>
20094
20095 [BZ #18967]
20096 * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
20097 undefine around includes of <bits/mathcalls.h>.
20098 * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
20099 not declare function.
20100 [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
20101 [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
20102 (scalb): Likewise.
20103 * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
20104 not define macro.
20105 * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
20106 variable.
20107 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
20108 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
20109 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
20110
20111 [BZ #18857]
20112 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
20113 return non-finite argument without doing ordered comparisons on
20114 it.
20115
20116 [BZ #16296]
20117 * math/fenv.h (fegetround): Use __attribute_pure__.
20118 * include/fenv.h (__fegetround): Likewise.
20119
20120 [BZ #18595]
20121 * math/s_ctan.c (__ctan): Force underflow exception for results
20122 whose real or imaginary part has small absolute value.
20123 * math/s_ctanf.c (__ctanf): Likewise.
20124 * math/s_ctanh.c (__ctanh): Likewise.
20125 * math/s_ctanhf.c (__ctanhf): Likewise.
20126 * math/s_ctanhl.c (__ctanhl): Likewise.
20127 * math/s_ctanl.c (__ctanl): Likewise.
20128 * math/auto-libm-test-in: Do not allow missing underflow for ctan
20129 and ctanh. Add more tests of ctan and ctanh.
20130
20131 [BZ #15918]
20132 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
20133 handling of cases where one argument is an infinity.
20134
20135 [BZ #18875]
20136 [BZ #18966]
20137 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
20138 (MO): New macro.
20139 (__ieee754_exp10): For small results, force underflow exception
20140 and remove excess range and precision from return value.
20141 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
20142 (MO): New macro.
20143 (__ieee754_exp10f): For small results, force underflow exception
20144 and remove excess range and precision from return value.
20145 * math/auto-libm-test-in: Add more tests of exp10.
20146 * math/auto-libm-test-out: Regenerated.
20147
20148 2015-09-14 Joseph Myers <joseph@codesourcery.com>
20149
20150 [BZ #18875]
20151 [BZ #18961]
20152 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
20153 (MO): New macro.
20154 (__ieee754_exp): For small results, force underflow exception and
20155 remove excess range and precision from return value.
20156 (__exp_finite): Likewise.
20157 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
20158 (MO): New macro.
20159 (__ieee754_expf): For small results, force underflow exception and
20160 remove excess range and precision from return value.
20161 (__expf_finite): Likewise.
20162 * math/auto-libm-test-in: Add more tests of exp.
20163 * math/auto-libm-test-out: Regenerated.
20164
20165 [BZ #16521]
20166 [BZ #18875]
20167 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
20168 small results.
20169 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
20170 (MO): New macro.
20171 (__ieee754_exp2): For small results, force underflow exception and
20172 remove excess range and precision from return value.
20173 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
20174 (MO): New macro.
20175 (__ieee754_exp2f): For small results, force underflow exception
20176 and remove excess range and precision from return value.
20177 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
20178 (MO): New macro.
20179 (__ieee754_exp2l): Force underflow exception for small results.
20180 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
20181 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
20182 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
20183 (MO): New macro.
20184 (__ieee754_exp2l): Force underflow exception for small results.
20185 * math/auto-libm-test-in: Add more tests or exp2.
20186 * math/auto-libm-test-out: Regenerated.
20187
20188 2015-09-14 Carlos O'Donell <carlos@redhat.com>
20189
20190 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
20191
20192 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
20193 /dev/null.
20194
20195 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
20196
20197 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
20198 io fs process)): Drop spurious backslash.
20199
20200 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
20201
20202 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
20203 Use sysinfo system call instead of parsing /proc/meminfo.
20204 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
20205 Likewise.
20206
20207 2015-09-11 Mike Frysinger <vapier@gentoo.org>
20208
20209 [BZ #16985]
20210 * programs/localedef.c (main): Display argv[remaining] when
20211 output_path is NULL.
20212
20213 2015-09-11 Joseph Myers <joseph@codesourcery.com>
20214
20215 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
20216 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
20217 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
20218 tanh.
20219 * math/auto-libm-test-out: Regenerated.
20220 * sysdeps/i386/fpu/libm-test-ulps: Update.
20221 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
20222 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20224
20225 2015-09-11 Roland McGrath <roland@hack.frob.com>
20226
20227 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
20228 Use 'override' keyword to freeze the value here, preventing
20229 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
20230
20231 2015-09-11 Joseph Myers <joseph@codesourcery.com>
20232
20233 [BZ #14912]
20234 * sysdeps/aarch64/bits/atomic.h: Move to ...
20235 * sysdeps/aarch64/atomic-machine.h: ...here.
20236 (_AARCH64_BITS_ATOMIC_H): Rename macro to
20237 _AARCH64_ATOMIC_MACHINE_H.
20238 * sysdeps/alpha/bits/atomic.h: Move to ...
20239 * sysdeps/alpha/atomic-machine.h: ...here.
20240 * sysdeps/arm/bits/atomic.h: Move to ...
20241 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
20242 * bits/atomic.h: Move to ...
20243 * sysdeps/generic/atomic-machine.h: ...here.
20244 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20245 * sysdeps/i386/bits/atomic.h: Move to ...
20246 * sysdeps/i386/atomic-machine.h: ...here.
20247 * sysdeps/ia64/bits/atomic.h: Move to ...
20248 * sysdeps/ia64/atomic-machine.h: ...here.
20249 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
20250 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
20251 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20252 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
20253 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
20254 * sysdeps/microblaze/bits/atomic.h: Move to ...
20255 * sysdeps/microblaze/atomic-machine.h: ...here.
20256 * sysdeps/mips/bits/atomic.h: Move to ...
20257 * sysdeps/mips/atomic-machine.h: ...here.
20258 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
20259 * sysdeps/powerpc/bits/atomic.h: Move to ...
20260 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
20261 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
20262 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
20263 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
20264 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
20265 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
20266 <atomic-machine.h> instead of <bits/atomic.h>.
20267 * sysdeps/s390/bits/atomic.h: Move to ...
20268 * sysdeps/s390/atomic-machine.h: ...here.
20269 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
20270 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
20271 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20272 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
20273 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
20274 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
20275 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
20276 * sysdeps/tile/bits/atomic.h: Move to ...
20277 * sysdeps/tile/atomic-machine.h: ...here.
20278 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
20279 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
20280 <sysdeps/tile/atomic-machine.h> instead of
20281 <sysdeps/tile/bits/atomic.h>.
20282 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20283 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
20284 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
20285 <sysdeps/tile/atomic-machine.h> instead of
20286 <sysdeps/tile/bits/atomic.h>.
20287 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20288 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
20289 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
20290 <sysdeps/arm/atomic-machine.h> instead of
20291 <sysdeps/arm/bits/atomic.h>.
20292 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
20293 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
20294 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20295 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
20296 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
20297 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20298 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
20299 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
20300 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
20301 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
20302 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
20303 * sysdeps/x86_64/bits/atomic.h: Move to ...
20304 * sysdeps/x86_64/atomic-machine.h: ...here.
20305 * include/atomic.h: Include <atomic-machine.h> instead of
20306 <bits/atomic.h>.
20307
20308 * sysdeps/mips/mips32/libm-test-ulps: Update.
20309 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20310
20311 [BZ #18952]
20312 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
20313 not convert non-integer negative arguments to int to determine the
20314 value of signgam.
20315 * math/auto-libm-test-in: Add more tests of lgamma.
20316 * math/auto-libm-test-out: Regenerated.
20317
20318 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
20319 cosh, csqrt, erfc, expm1 and lgamma.
20320 * math/auto-libm-test-out: Regenerated.
20321 * sysdeps/i386/fpu/libm-test-ulps: Update.
20322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20323
20324 2015-09-10 Joseph Myers <joseph@codesourcery.com>
20325
20326 [BZ #2542]
20327 [BZ #2543]
20328 [BZ #2558]
20329 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
20330 __lgamma_neg for arguments from -28.0 to -2.0.
20331 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
20332 __lgamma_negf for arguments from -15.0 to -2.0.
20333 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
20334 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
20335 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
20336 Call __lgamma_negl for arguments from -33.0 to -2.0.
20337 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
20338 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
20339 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
20340 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
20341 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
20342 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
20343 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
20344 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
20345 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
20346 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
20347 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
20348 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
20349 (__lgamma_neg): Likewise.
20350 (__lgamma_negl): Likewise.
20351 (__lgamma_product): Likewise.
20352 (__lgamma_productl): Likewise.
20353 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
20354 * math/auto-libm-test-in: Add more tests of lgamma.
20355 * math/auto-libm-test-out: Regenerated.
20356 * sysdeps/i386/fpu/libm-test-ulps: Update.
20357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20358
20359 2015-09-09 Justin Maggard <jmaggard@netgear.com>
20360
20361 [BZ #18675]
20362 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
20363
20364 2015-09-08 Joseph Myers <joseph@codesourcery.com>
20365
20366 [BZ #14912]
20367 * bits/libc-lock.h: Move to ...
20368 * sysdeps/generic/libc-lock.h: ...here.
20369 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
20370 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
20371 * sysdeps/mach/hurd/libc-lock.h: ...here.
20372 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
20373 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
20374 * sysdeps/mach/bits/libc-lock.h: Move to ...
20375 * sysdeps/mach/libc-lock.h: ...here.
20376 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
20377 * sysdeps/nptl/bits/libc-lock.h: Move to ...
20378 * sysdeps/nptl/libc-lock.h: ...here.
20379 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
20380 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
20381 * sysdeps/nptl/libc-lockP.h: ...here.
20382 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
20383 * crypt/crypt_util.c: Include <libc-lock.h> instead of
20384 <bits/libc-lock.h>.
20385 * dirent/scandir-tail.c: Likewise.
20386 * dlfcn/dlerror.c: Likewise.
20387 * elf/dl-close.c: Likewise.
20388 * elf/dl-iteratephdr.c: Likewise.
20389 * elf/dl-lookup.c: Likewise.
20390 * elf/dl-open.c: Likewise.
20391 * elf/dl-support.c: Likewise.
20392 * elf/dl-writev.h: Likewise.
20393 * elf/rtld.c: Likewise.
20394 * grp/fgetgrent.c: Likewise.
20395 * gshadow/fgetsgent.c: Likewise.
20396 * gshadow/sgetsgent.c: Likewise.
20397 * iconv/gconv_conf.c: Likewise.
20398 * iconv/gconv_db.c: Likewise.
20399 * iconv/gconv_dl.c: Likewise.
20400 * iconv/gconv_int.h: Likewise.
20401 * iconv/gconv_trans.c: Likewise.
20402 * include/link.h: Likewise.
20403 * inet/getnameinfo.c: Likewise.
20404 * inet/getnetgrent.c: Likewise.
20405 * inet/getnetgrent_r.c: Likewise.
20406 * intl/bindtextdom.c: Likewise.
20407 * intl/dcigettext.c: Likewise.
20408 * intl/finddomain.c: Likewise.
20409 * intl/gettextP.h: Likewise.
20410 * intl/loadmsgcat.c: Likewise.
20411 * intl/localealias.c: Likewise.
20412 * intl/textdomain.c: Likewise.
20413 * libidn/idn-stub.c: Likewise.
20414 * libio/libioP.h: Likewise.
20415 * locale/duplocale.c: Likewise.
20416 * locale/freelocale.c: Likewise.
20417 * locale/newlocale.c: Likewise.
20418 * locale/setlocale.c: Likewise.
20419 * login/getutent_r.c: Likewise.
20420 * login/getutid_r.c: Likewise.
20421 * login/getutline_r.c: Likewise.
20422 * login/utmp-private.h: Likewise.
20423 * login/utmpname.c: Likewise.
20424 * malloc/mtrace.c: Likewise.
20425 * misc/efgcvt.c: Likewise.
20426 * misc/error.c: Likewise.
20427 * misc/fstab.c: Likewise.
20428 * misc/getpass.c: Likewise.
20429 * misc/mntent.c: Likewise.
20430 * misc/syslog.c: Likewise.
20431 * nis/nis_call.c: Likewise.
20432 * nis/nis_callback.c: Likewise.
20433 * nis/nss-default.c: Likewise.
20434 * nis/nss_compat/compat-grp.c: Likewise.
20435 * nis/nss_compat/compat-initgroups.c: Likewise.
20436 * nis/nss_compat/compat-pwd.c: Likewise.
20437 * nis/nss_compat/compat-spwd.c: Likewise.
20438 * nis/nss_nis/nis-alias.c: Likewise.
20439 * nis/nss_nis/nis-ethers.c: Likewise.
20440 * nis/nss_nis/nis-grp.c: Likewise.
20441 * nis/nss_nis/nis-hosts.c: Likewise.
20442 * nis/nss_nis/nis-network.c: Likewise.
20443 * nis/nss_nis/nis-proto.c: Likewise.
20444 * nis/nss_nis/nis-pwd.c: Likewise.
20445 * nis/nss_nis/nis-rpc.c: Likewise.
20446 * nis/nss_nis/nis-service.c: Likewise.
20447 * nis/nss_nis/nis-spwd.c: Likewise.
20448 * nis/nss_nisplus/nisplus-alias.c: Likewise.
20449 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
20450 * nis/nss_nisplus/nisplus-grp.c: Likewise.
20451 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
20452 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
20453 * nis/nss_nisplus/nisplus-network.c: Likewise.
20454 * nis/nss_nisplus/nisplus-proto.c: Likewise.
20455 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
20456 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
20457 * nis/nss_nisplus/nisplus-service.c: Likewise.
20458 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
20459 * nis/ypclnt.c: Likewise.
20460 * nptl/libc_pthread_init.c: Likewise.
20461 * nss/getXXbyYY.c: Likewise.
20462 * nss/getXXent.c: Likewise.
20463 * nss/getXXent_r.c: Likewise.
20464 * nss/nss_db/db-XXX.c: Likewise.
20465 * nss/nss_db/db-netgrp.c: Likewise.
20466 * nss/nss_db/nss_db.h: Likewise.
20467 * nss/nss_files/files-XXX.c: Likewise.
20468 * nss/nss_files/files-alias.c: Likewise.
20469 * nss/nsswitch.c: Likewise.
20470 * posix/regex_internal.h: Likewise.
20471 * posix/wordexp.c: Likewise.
20472 * pwd/fgetpwent.c: Likewise.
20473 * resolv/res_hconf.c: Likewise.
20474 * resolv/res_libc.c: Likewise.
20475 * shadow/fgetspent.c: Likewise.
20476 * shadow/lckpwdf.c: Likewise.
20477 * shadow/sgetspent.c: Likewise.
20478 * socket/opensock.c: Likewise.
20479 * stdio-common/reg-modifier.c: Likewise.
20480 * stdio-common/reg-printf.c: Likewise.
20481 * stdio-common/reg-type.c: Likewise.
20482 * stdio-common/vfprintf.c: Likewise.
20483 * stdio-common/vfscanf.c: Likewise.
20484 * stdlib/abort.c: Likewise.
20485 * stdlib/cxa_atexit.c: Likewise.
20486 * stdlib/fmtmsg.c: Likewise.
20487 * stdlib/random.c: Likewise.
20488 * stdlib/setenv.c: Likewise.
20489 * string/strsignal.c: Likewise.
20490 * sunrpc/auth_none.c: Likewise.
20491 * sunrpc/bindrsvprt.c: Likewise.
20492 * sunrpc/create_xid.c: Likewise.
20493 * sunrpc/key_call.c: Likewise.
20494 * sunrpc/rpc_thread.c: Likewise.
20495 * sysdeps/arm/backtrace.c: Likewise.
20496 * sysdeps/generic/ldsodefs.h: Likewise.
20497 * sysdeps/generic/stdio-lock.h: Likewise.
20498 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
20499 * sysdeps/i386/backtrace.c: Likewise.
20500 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
20501 * sysdeps/m68k/backtrace.c: Likewise.
20502 * sysdeps/mach/hurd/cthreads.c: Likewise.
20503 * sysdeps/mach/hurd/dirstream.h: Likewise.
20504 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
20505 * sysdeps/nptl/malloc-machine.h: Likewise.
20506 * sysdeps/nptl/stdio-lock.h: Likewise.
20507 * sysdeps/posix/dirstream.h: Likewise.
20508 * sysdeps/posix/getaddrinfo.c: Likewise.
20509 * sysdeps/posix/system.c: Likewise.
20510 * sysdeps/pthread/aio_suspend.c: Likewise.
20511 * sysdeps/s390/s390-32/backtrace.c: Likewise.
20512 * sysdeps/s390/s390-64/backtrace.c: Likewise.
20513 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20514 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
20515 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
20516 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
20517 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
20518 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
20519 * sysdeps/unix/sysv/linux/system.c: Likewise.
20520 * sysdeps/x86_64/backtrace.c: Likewise.
20521 * time/alt_digit.c: Likewise.
20522 * time/era.c: Likewise.
20523 * time/tzset.c: Likewise.
20524 * wcsmbs/wcsmbsload.c: Likewise.
20525 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
20526 instead of <bits/libc-lock.h> in comment.
20527
20528 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
20529
20530 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
20531 Only use .set mips2 if the current ISA is below mips2.
20532 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
20533 Likewise.
20534 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
20535 mips32r2 if the current ISA is below mips32r2.
20536 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
20537 (TLS_IE): Updated to use the TLD_RDHWR macro.
20538 (TLS_LE): Likewise.
20539 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
20540 __ASSEMBLER__ condition.
20541
20542 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
20543
20544 Fix parallel build of before-compile targets.
20545
20546 * sysdeps/mach/Makefile ($(patsubst
20547 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
20548 mach-before-compile target.
20549 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
20550 io fs process)): Move rule to dedicated hurd-before-compile target.
20551
20552 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20553
20554 Fix rules generating headers in hurd/ and mach/ when initial make call
20555 has subdir= explicitly set.
20556
20557 * sysdeps/mach/Makefile ($(patsubst
20558 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
20559 calling $(MAKE).
20560 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
20561 io fs process)): Force subdir to hurd when calling $(MAKE).
20562 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
20563 subdir to mach when calling $(MAKE).
20564
20565 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
20566
20567 Check sysheaders when looking for Mach and Hurd headers
20568
20569 * sysdeps/mach/configure.ac: Add sysheaders check.
20570 * sysdeps/mach/configure: Regenerate.
20571 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
20572 * sysdeps/mach/hurd/configure: Regenerate.
20573
20574 2015-09-04 Roland McGrath <roland@hack.frob.com>
20575
20576 [BZ #18921]
20577 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
20578 Fix inverted sense of test of 'o_directory_works' value.
20579 Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
20580 Bernhard Voelker <mail@bernhard-voelker.de>.
20581
20582 2015-09-04 Joseph Myers <joseph@codesourcery.com>
20583
20584 [BZ #14912]
20585 * bits/linkmap.h: Move to ...
20586 * sysdeps/generic/linkmap.h: ...here.
20587 * sysdeps/aarch64/bits/linkmap.h: Move to ...
20588 * sysdeps/aarch64/linkmap.h: ...here.
20589 * sysdeps/arm/bits/linkmap.h: Move to ...
20590 * sysdeps/arm/linkmap.h: ...here.
20591 * sysdeps/hppa/bits/linkmap.h: Move to ...
20592 * sysdeps/hppa/linkmap.h: ...here.
20593 * sysdeps/ia64/bits/linkmap.h: Move to ...
20594 * sysdeps/ia64/linkmap.h: ...here.
20595 * sysdeps/mips/bits/linkmap.h: Move to ...
20596 * sysdeps/mips/linkmap.h: ...here.
20597 * sysdeps/s390/bits/linkmap.h: Move to ...
20598 * sysdeps/s390/linkmap.h: ...here.
20599 * sysdeps/sh/bits/linkmap.h: Move to ...
20600 * sysdeps/sh/linkmap.h: ...here.
20601 * sysdeps/x86/bits/linkmap.h: Move to ...
20602 * sysdeps/x86/linkmap.h: ...here.
20603 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
20604
20605 2015-09-04 Andreas Schwab <schwab@suse.de>
20606
20607 [BZ #18635]
20608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
20609 (__makecontext): Terminate FDE before return label.
20610 (__novec_makecontext): Likewise.
20611
20612 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
20613
20614 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
20615 first member of struct sv in syscall macro.
20616
20617 2015-09-04 Joseph Myers <joseph@codesourcery.com>
20618
20619 [BZ #14912]
20620 * bits/stdio-lock.h: Move to ...
20621 * sysdeps/generic/stdio-lock.h: ...here.
20622 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
20623 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
20624 * sysdeps/nptl/stdio-lock.h: ...here.
20625 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
20626 * include/libio.h: Include <stdio-lock.h> instead of
20627 <bits/stdio-lock.h>.
20628 * sysdeps/nptl/fork.c: Likewise.
20629 * sysdeps/pthread/flockfile.c: Likewise.
20630 * sysdeps/pthread/ftrylockfile.c: Likewise.
20631 * sysdeps/pthread/funlockfile.c: Likewise.
20632
20633 [BZ #14912]
20634 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
20635 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
20636 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
20637 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
20638 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
20639 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
20640 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
20641
20642 2015-09-03 Roland McGrath <roland@hack.frob.com>
20643
20644 * elf/Makefile (test-xfail-tst-protected1a): New variable.
20645 (test-xfail-tst-protected1b): New variable.
20646
20647 2015-09-03 Joseph Myers <joseph@codesourcery.com>
20648
20649 [BZ #14912]
20650 * bits/libc-tsd.h: Move to ...
20651 * sysdeps/generic/libc-tsd.h: ...here.
20652 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
20653 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
20654 * sysdeps/mach/hurd/libc-tsd.h: ...here.
20655 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
20656 * include/ctype.h: Include <libc-tsd.h> instead of
20657 <bits/libc-tsd.h>.
20658 * include/rpc/rpc.h: Likewise.
20659 * locale/localeinfo.h: Likewise.
20660 * sunrpc/rpc_thread.c: Likewise.
20661 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
20662 * sysdeps/nptl/malloc-machine.h: Likewise.
20663
20664 * Makefile (headers): Remove bits/libc-lock.h.
20665 * libio/Makefile (headers): Remove bits/stdio-lock.h.
20666
20667 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
20668 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
20669 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
20670 <bits/stdio-lock.h>.
20671 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
20672 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
20673
20674 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
20675
20676 [BZ #18757]
20677 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
20678 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
20679 BZ #18757.
20680
20681 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
20682
20683 * malloc/mtrace.pl: Filter out NULL entries.
20684
20685 2015-09-01 Joseph Myers <joseph@codesourcery.com>
20686
20687 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
20688 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
20689 macro.
20690
20691 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
20692 (TCP_CC_INFO): Likewise.
20693 (TCP_SAVE_SYN): Likewise.
20694 (TCP_SAVED_SYN): Likewise.
20695
20696 2015-08-31 Brett Neumeier <brett@neumeier.us>
20697
20698 [BZ #18870]
20699 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
20700
20701 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
20702
20703 [BZ #18873]
20704 Fix broken overflow check in posix_fallocate
20705 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
20706 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
20707 Fix parenthesization typo.
20708
20709 2015-08-28 Mike Frysinger <vapier@gentoo.org>
20710
20711 [BZ #18887]
20712 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
20713 tst-mntent-blank-passno.
20714 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
20715 * misc/tst-mntent-blank-corrupt.c: New test.
20716 * misc/tst-mntent-blank-passno.c: New test ripped from ...
20717 * misc/tst-mntent.c (do_test): ... here.
20718
20719 2015-08-29 Mike Frysinger <vapier@gentoo.org>
20720
20721 [BZ #4404]
20722 * po/de.po: Fix SIGALRM typo.
20723
20724 2015-08-28 James Perkins <james@loowit.net>
20725
20726 * time/tst-strptime2.c (tests): Replace short list of test
20727 strings for strptime %z specifier with code which exhaustively
20728 tests every combination of sign and 0 to 5 digits. Tests for
20729 rejection of invalid strings.
20730
20731 2015-08-28 James Perkins <james@loowit.net>
20732
20733 [BZ #16141]
20734 * time/strptime_l.c (__strptime_internal): Fix %z minutes
20735 calculation, removing incorrect decimal time rounding, so that
20736 all minute values result in a valid seconds value.
20737 * time/strptime_l.c (__strptime_internal): Extend %z time zone
20738 offset range limits to UTC-99:59 through UTC+99:59 to parse
20739 current and historical use cases.
20740 * time/tst-strptime2.c (tests): Modify and add tests for the
20741 strptime %z input field descriptor, specifically conversion of
20742 minutes to seconds and validating an offset range of -9959 to
20743 +9959.
20744
20745 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20746 Dmitry V. Levin <ldv@altlinux.org>
20747
20748 [BZ #18877]
20749 * posix/Makefile (tests): Add tst-mmap-offset.
20750 * posix/tst-mmap.c: New file.
20751 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
20752 offset calculation for negative values.
20753
20754 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
20755
20756 * sysdeps/i386/init-arch.h: New file.
20757 * sysdeps/i386/i586/init-arch.h: Likewise.
20758 * sysdeps/i386/i686/init-arch.h: Likewise.
20759 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
20760 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
20761 * sysdeps/x86/cpu-features.h (bit_I586): New.
20762 (bit_I686): Likewise.
20763 (bit_CX8): Likewise.
20764 (bit_CMOV): Likewise.
20765 (index_CX8): Likewise.
20766 (index_CMOV): Likewise.
20767 (index_I586): Likewise.
20768 (index_I686): Likewise.
20769 (reg_CX8): Likewise.
20770 (reg_CMOV): Likewise.
20771 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
20772 available at compile-time.
20773 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
20774 available at compile-time.
20775 * sysdeps/x86/init-arch.h (USE_I586): New macro.
20776 (USE_I686): Likewise.
20777
20778 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
20779
20780 * sysdeps/i386/bcopy.S: New file.
20781 * sysdeps/i386/bzero.S: Likewise.
20782 * sysdeps/i386/memcpy.S: Likewise.
20783 * sysdeps/i386/memmove.S: Likewise.
20784 * sysdeps/i386/mempcpy.S: Likewise.
20785 * sysdeps/i386/memset.S: Likewise.
20786 * sysdeps/i386/bzero.c: Removed.
20787 * sysdeps/i386/memset.c: Likewise.
20788 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
20789 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
20790 * sysdeps/i386/i586/memset_chk.S: Likewise.
20791 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
20792 * sysdeps/i386/memcpy_chk.S: Here.
20793 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
20794 * sysdeps/i386/memmove_chk.S: Here.
20795 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
20796 * sysdeps/i386/mempcpy_chk.S: Likewise.
20797 * sysdeps/i386/i686/memset_chk.S: Moved to ...
20798 * sysdeps/i386/memset_chk.S: Likewise.
20799
20800 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
20801
20802 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
20803 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
20804 file, move DIAG_POP_NEEDS_COMMENT to end of file.
20805 * soft-fp/fmadf4.c: Ditto.
20806 * soft-fp/fmatf4.c: Ditto.
20807
20808 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
20809
20810 * sysdeps/i386/i586/Implies: Removed.
20811 * sysdeps/i386/i686/Implies: Likewise.
20812
20813 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
20814
20815 * sysdeps/i386/i486/strlen.S: Moved to ...
20816 * sysdeps/i386/strlen.S: Here.
20817
20818 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
20819
20820 * sysdeps/i386/i486/strcat.S: Moved to ...
20821 * sysdeps/i386/strcat.S: Here.
20822
20823 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
20824
20825 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
20826 * sysdeps/i386/pthread_spin_trylock.S: Here.
20827 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
20828 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
20829
20830 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
20831
20832 * sysdeps/i386/i486/string-inlines.c: Moved to ...
20833 * sysdeps/i386/string-inlines.c: Here.
20834
20835 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
20836
20837 * sysdeps/i386/i486/htonl.S: Moved ...
20838 * sysdeps/i386/htonl.S: here.
20839
20840 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
20841
20842 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
20843 * sysdeps/i386/bits/atomic.h: Here.
20844
20845 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
20846
20847 * sysdeps/i386/i486/Versions: Removed.
20848
20849 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
20850
20851 [BZ #2898]
20852 * misc/mktemp.c: Add mkdtemp to the link_warning message.
20853 Based on patch by Aurelien Jarno.
20854
20855 2015-08-26 Stan Shebs <stanshebs@google.com>
20856
20857 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
20858 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
20859
20860 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
20861
20862 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
20863 * sysdeps/powerpc/dl-procinfo.c:
20864 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
20865 feature so it shows when LD_SHOW_AUXV=1.
20866
20867 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20868
20869 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
20870 (__arch_compare_and_exchange_val_32_acq): Remove and use common
20871 definition. ISA 2.07B no longer requires full sync.
20872
20873 2015-08-26 Mike Frysinger <vapier@gentoo.org>
20874
20875 [BZ #18863]
20876 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
20877 (si_call_addr): Define.
20878 (si_syscall): Define.
20879 (si_arch): Define.
20880
20881 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
20882
20883 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
20884 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
20885 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
20886 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
20887 (__memset_zero_constant_len_parameter): New.
20888 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
20889 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
20890 (__memset_zero_constant_len_parameter): Don't define if
20891 __memset_chk or USE_AS_BZERO are defined.
20892
20893 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
20894 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
20895 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
20896
20897 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
20898 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
20899 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
20900 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
20901 comments.
20902 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
20903 -mno-mmx for $(all-rtld-routines).
20904 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
20905 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
20906 i386.
20907
20908 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
20909
20910 * sysdeps/generic/unwind.h
20911 (_Unwind_Word): Use __mode__(__unwind_word__)
20912 instead of __mode__(__word__).
20913 (_Unwind_Sword): Likewise.
20914
20915 * sysdeps/s390/s390-64/utf8-utf16-z9.c
20916 (MAX_NEEDED_INPUT): New define.
20917 (MAX_NEEDED_OUTPUT): New define.
20918
20919 * NEWS: New item for IBM z13 string optimizations.
20920
20921 * sysdeps/s390/multiarch/memrchr-c.c: New File.
20922 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
20923 * sysdeps/s390/multiarch/memrchr.c: Likewise.
20924 * sysdeps/s390/multiarch/Makefile
20925 (sysdep_routines): Add memrchr functions.
20926 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
20927 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
20928
20929 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
20930 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
20931 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
20932 * sysdeps/s390/multiarch/Makefile
20933 (sysdep_routines): Add wmemcmp functions.
20934 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
20935 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
20936 * benchtests/bench-wmemcmp.c: New File.
20937 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
20938
20939 * sysdeps/s390/multiarch/wmemset-c.c: New File.
20940 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
20941 * sysdeps/s390/multiarch/wmemset.c: Likewise.
20942 * sysdeps/s390/multiarch/Makefile
20943 (sysdep_routines): Add wmemset functions.
20944 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
20945 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
20946 * wcsmbs/wmemset.c: Use WMEMSET if defined.
20947 * string/test-memset.c: Add wmemset support.
20948 * wcsmbs/test-wmemset.c: New File.
20949 * wcsmbs/Makefile (strop-tests): Add wmemset.
20950 * benchtests/bench-memset.c: Add wmemset support.
20951 * benchtests/bench-wmemset.c: New File.
20952 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
20953
20954 * sysdeps/s390/multiarch/memccpy-c.c: New File.
20955 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
20956 * sysdeps/s390/multiarch/memccpy.c: Likewise.
20957 * sysdeps/s390/multiarch/Makefile
20958 (sysdep_routines): Add memccpy functions.
20959 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
20960 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
20961 * string/memccpy.c: Use MEMCCPY if defined.
20962
20963 * sysdeps/s390/multiarch/memchr-vx.S: New File.
20964 * sysdeps/s390/multiarch/memchr.c: Likewise.
20965 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
20966 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
20967 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
20968 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
20969 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
20970 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
20971 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
20972 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
20973 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
20974 and rawmemchr functions.
20975 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
20976 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
20977 and wmemchr.
20978 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
20979 * string/test-memchr.c: Add wmemchr support.
20980 * wcsmbs/test-wmemchr.c: New File.
20981 * wcsmbs/Makefile (strop-tests): Add wmemchr.
20982 * benchtests/bench-memchr.c: Add wmemchr support.
20983 * benchtests/bench-wmemchr.c: New File.
20984 * benchtests/Makefile (wcsmbs-bench): wmemchr.
20985
20986 * sysdeps/s390/multiarch/strcspn-c.c: New File.
20987 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
20988 * sysdeps/s390/multiarch/strcspn.c: Likewise.
20989 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
20990 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
20991 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
20992 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
20993 wcscspn functions.
20994 * sysdeps/s390/multiarch/ifunc-impl-list.c
20995 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
20996 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
20997 * string/test-strcspn.c: Add wcscspn support.
20998 * wcsmbs/test-wcscspn.c: New File.
20999 * wcsmbs/Makefile (strop-tests): Add wcscspn.
21000 * benchtests/bench-strcspn.c: Add wcscspn support.
21001 * benchtests/bench-wcscspn.c: New File.
21002 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
21003
21004 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
21005 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
21006 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
21007 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
21008 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
21009 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
21010 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
21011 wcspbrk functions.
21012 * sysdeps/s390/multiarch/ifunc-impl-list.c
21013 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
21014 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
21015 * string/test-strpbrk.c: Add wcspbrk support.
21016 * wcsmbs/test-wcspbrk.c: New File.
21017 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
21018 * benchtests/bench-strpbrk.c: Add wcspbrk support.
21019 * benchtests/bench-wcspbrk.c: New File.
21020 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
21021
21022 * sysdeps/s390/multiarch/strspn-c.c: New File.
21023 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
21024 * sysdeps/s390/multiarch/strspn.c: Likewise.
21025 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
21026 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
21027 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
21028 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
21029 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
21030 wcsspn functions.
21031 * sysdeps/s390/multiarch/ifunc-impl-list.c
21032 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
21033 * string/test-strspn.c: Add wcsspn support.
21034 * wcsmbs/test-wcsspn.c: New File.
21035 * wcsmbs/Makefile (strop-tests): Add wcsspn.
21036 * benchtests/bench-strspn.c: Add wcsspn support.
21037 * benchtests/bench-wcsspn.c: New File.
21038 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
21039
21040 * sysdeps/s390/multiarch/strrchr-c.c: New File.
21041 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
21042 * sysdeps/s390/multiarch/strrchr.c: Likewise.
21043 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
21044 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
21045 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
21046 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
21047 wcsrchr functions.
21048 * sysdeps/s390/multiarch/ifunc-impl-list.c
21049 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
21050 * benchtests/bench-wcsrchr.c: New File.
21051 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
21052
21053 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
21054 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
21055 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
21056 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
21057 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
21058 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
21059 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
21060 wcschrnul functions.
21061 * sysdeps/s390/multiarch/ifunc-impl-list.c
21062 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
21063 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
21064 * string/test-strchr.c: Add wcschrnul support.
21065 * wcsmbs/test-wcschrnul.c: New File.
21066 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
21067 * benchtests/bench-strchr.c: Add wcschrnul support.
21068 * benchtests/bench-wcschrnul.c: New File.
21069 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
21070
21071 * sysdeps/s390/multiarch/strchr-c.c: New File.
21072 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
21073 * sysdeps/s390/multiarch/strchr.c: Likewise.
21074 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
21075 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
21076 * sysdeps/s390/multiarch/wcschr.c: Likewise.
21077 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
21078 wcschr functions.
21079 * sysdeps/s390/multiarch/ifunc-impl-list.c
21080 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
21081 * string/strchr.c (STRCHR): Define and use macro.
21082 * benchtests/bench-wcschr.c: New File.
21083 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
21084
21085 * sysdeps/s390/multiarch/strncmp-c.c: New File.
21086 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
21087 * sysdeps/s390/multiarch/strncmp.c: Likewise.
21088 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
21089 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
21090 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
21091 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
21092 wcsncmp functions.
21093 * sysdeps/s390/multiarch/ifunc-impl-list.c
21094 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
21095 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
21096 * benchtests/bench-strncmp.c: Add wcsncmp support.
21097 * benchtests/bench-wcsncmp.c: New File.
21098 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
21099
21100 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
21101 * sysdeps/s390/multiarch/strcmp.c: Likewise.
21102 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
21103 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
21104 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
21105 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
21106 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
21107 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
21108 wcscmp functions.
21109 * sysdeps/s390/multiarch/ifunc-impl-list.c
21110 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
21111 * string/strcmp.c (STRCMP): Define and use macro.
21112 * benchtests/bench-wcscmp.c: New File.
21113 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
21114 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
21115 instead of _HAVE_STRING_ARCH_memchr.
21116
21117 * sysdeps/s390/multiarch/strncat-c.c: New File.
21118 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
21119 * sysdeps/s390/multiarch/strncat.c: Likewise.
21120 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
21121 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
21122 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
21123 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
21124 wcsncat functions.
21125 * sysdeps/s390/multiarch/ifunc-impl-list.c
21126 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
21127 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
21128 * string/test-strncat.c: Add wcsncat support.
21129 * wcsmbs/test-wcsncat.c: New File.
21130 * wcsmbs/Makefile (strop-tests): Add wcsncat.
21131 * benchtests/bench-strncat.c: Add wcsncat support.
21132 * benchtests/bench-wcsncat.c: New File.
21133 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
21134
21135 * sysdeps/s390/multiarch/strcat-c.c: New File.
21136 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
21137 * sysdeps/s390/multiarch/strcat.c: Likewise.
21138 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
21139 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
21140 * sysdeps/s390/multiarch/wcscat.c: Likewise.
21141 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
21142 wcscat functions.
21143 * sysdeps/s390/multiarch/ifunc-impl-list.c
21144 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
21145 * string/strcat.c (STRCAT): Define and use macro.
21146 * wcsmbs/wcscat.c: Use WCSCAT if defined.
21147 * string/test-strcat.c: Add wcscat support.
21148 * wcsmbs/test-wcscat.c: New File.
21149 * wcsmbs/Makefile (strop-tests): Add wcscat.
21150 * benchtests/bench-strcat.c: Add wcscat support.
21151 * benchtests/bench-wcscat.c: New File.
21152 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
21153
21154 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
21155 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
21156 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
21157 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
21158 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
21159 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
21160 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
21161 wcpncpy functions.
21162 * sysdeps/s390/multiarch/ifunc-impl-list.c
21163 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
21164 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
21165 * string/test-stpncpy.c: Add wcpncpy support.
21166 * wcsmbs/test-wcpncpy.c: New File.
21167 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
21168 * benchtests/bench-stpncpy.c: Add wcpncpy support.
21169 * benchtests/bench-wcpncpy.c: New File.
21170 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
21171
21172 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
21173 * sysdeps/s390/multiarch/strncpy.c: Likewise.
21174 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
21175 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
21176 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
21177 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
21178 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
21179 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
21180 wcsncpy functions.
21181 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
21182 * sysdeps/s390/multiarch/ifunc-impl-list.c
21183 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
21184 * string/test-strncpy.c: Add wcsncpy support.
21185 * wcsmbs/test-wcsncpy.c: New File.
21186 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
21187 * benchtests/bench-strncpy.c: Add wcsncpy support.
21188 * benchtests/bench-wcsncpy.c: New File.
21189 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
21190
21191 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
21192 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
21193 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
21194 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
21195 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
21196 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
21197 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
21198 wcpcpy functions.
21199 * string/stpcpy.c: Use STPCPY if defined.
21200 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
21201 * sysdeps/s390/multiarch/ifunc-impl-list.c
21202 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
21203 * string/test-stpcpy.c: Add wcpcpy support.
21204 * wcsmbs/test-wcpcpy.c: New File.
21205 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
21206 * benchtests/bench-stpcpy.c: Add wcpcpy support.
21207 * benchtests/bench-wcpcpy.c: New File.
21208 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
21209
21210 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
21211 * sysdeps/s390/multiarch/strcpy.c: Likewise.
21212 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
21213 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
21214 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
21215 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
21216 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
21217 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
21218 wcscpy functions.
21219 * sysdeps/s390/multiarch/ifunc-impl-list.c
21220 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
21221 * benchtests/bench-wcscpy.c: New File.
21222 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
21223
21224 * sysdeps/s390/multiarch/strnlen-c.c: New File.
21225 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
21226 * sysdeps/s390/multiarch/strnlen.c: Likewise.
21227 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
21228 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
21229 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
21230 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
21231 wcsnlen functions.
21232 * sysdeps/s390/multiarch/ifunc-impl-list.c
21233 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
21234 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
21235 * string/test-strnlen.c: Add wcsnlen support.
21236 * wcsmbs/test-wcsnlen.c: New File.
21237 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
21238 * benchtests/bench-strnlen.c: Add wcsnlen support.
21239 * benchtests/bench-wcsnlen.c: New File.
21240 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
21241
21242 * sysdeps/s390/multiarch/Makefile: New File.
21243 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
21244 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
21245 * sysdeps/s390/multiarch/strlen.c: Likewise.
21246 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
21247 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
21248 * sysdeps/s390/multiarch/wcslen.c: Likewise.
21249 * string/strlen.c (STRLEN): Define and use macro.
21250 * sysdeps/s390/multiarch/ifunc-impl-list.c
21251 (IFUNC_VX_IMPL): New macro function.
21252 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
21253 * benchtests/Makefile (wcsmbs-bench): New variable.
21254 (string-bench-all): Added wcsmbs-bench.
21255 * benchtests/bench-wcslen.c: New File.
21256
21257 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
21258 s390_vx_libc_ifunc2): New macro function.
21259
21260 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
21261 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
21262 assembler support.
21263 * sysdeps/s390/configure: Regenerated.
21264
21265 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
21266 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
21267
21268 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
21269 * sysdeps/s390/dl-procinfo.h: Add vector capability.
21270 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
21271
21272 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
21273 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
21274 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
21275 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
21276 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
21277 (memcmp, bcmp): Use __memcmp_default as alias source.
21278 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
21279 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
21280 Rename to __memcmp_default.
21281 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
21282 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
21283 (memcpy): Use __memcpy_default as alias source.
21284 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
21285 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
21286 Rename to __memcpy_default.
21287 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
21288 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
21289 (memset): Use __memset_default as alias source.
21290 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
21291 * sysdeps/s390/s390-32/memset.S (__memset_g5):
21292 Rename to __memset_default.
21293 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
21294 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
21295 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
21296 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
21297 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
21298 (memcmp, bcmp): Use __memcmp_default as alias source.
21299 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
21300 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
21301 Rename to __memcmp_default.
21302 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
21303 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
21304 (memcpy): Use __memcpy_default as alias source.
21305 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
21306 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
21307 Rename to __memcpy_default.
21308 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
21309 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
21310 (memset): Use __memset_default as alias source.
21311 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
21312 * sysdeps/s390/s390-64/memset.S (__memset_z900):
21313 Rename to __memset_default.
21314 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
21315 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
21316
21317 [BZ #18610]
21318 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
21319 __ieee_instruction_pointer to __unused.
21320 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
21321 __ieee_instruction_pointer.
21322 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
21323 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
21324 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
21325 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
21326 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
21327 Mark dxc-field as reserved.
21328
21329 2015-08-25 Roland McGrath <roland@hack.frob.com>
21330
21331 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
21332 if the weak reference is not null.
21333
21334 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
21335
21336 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
21337
21338 [BZ #11214]
21339 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
21340
21341 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21342
21343 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
21344 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
21345 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
21346 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
21347 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
21348 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
21349 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
21350 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
21351 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
21352 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
21353 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
21354 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
21355 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
21356 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
21357 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
21358 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
21359 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
21360 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
21361
21362 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21363
21364 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
21365 register other than r0 for tabort, it has special meaning.
21366 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
21367 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
21368 transaction before starting syscall.
21369
21370 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21371
21372 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
21373
21374 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
21375
21376 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
21377
21378 * sysdeps/x86_64/rtld-memcmp.c: Removed.
21379 * sysdeps/x86_64/rtld-memset.S: Likewise.
21380 * sysdeps/x86_64/rtld-strchr.S: Likewise.
21381 * sysdeps/x86_64/rtld-strlen.S: Likewise.
21382 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
21383 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
21384
21385 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
21386
21387 2015-08-25 Ondřej Bílka <neleai@seznam.cz>
21388
21389 * debug/strcpy_chk.c: Improve performance.
21390 * debug/stpcpy_chk.c: Likewise.
21391 * sysdeps/x86_64/strcpy_chk.S: Remove.
21392 * sysdeps/x86_64/stpcpy_chk.S: Remove.
21393
21394 [BZ #18240]
21395 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
21396
21397 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
21398
21399 [BZ #15128]
21400 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
21401 ifuncmain8.
21402 (modules-names): Add ifuncmod8.
21403 ($(objpfx)ifuncmain8): New rule.
21404 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
21405 <cpuid.h>.
21406 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
21407 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
21408 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
21409 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
21410 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
21411 * sysdeps/x86_64/dl-trampoline.h: Likewise.
21412 * sysdeps/x86_64/ifuncmain8.c: New file.
21413 * sysdeps/x86_64/ifuncmod8.c: Likewise.
21414 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
21415 Removed.
21416 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
21417 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
21418 Change rtld_savespace_sse to __glibc_unused2.
21419 (RTLD_CHECK_FOREIGN_CALL): Removed.
21420 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
21421 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
21422 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
21423
21424 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
21425
21426 * sysdeps/aarch64/bzero.S (__bzero): Remove.
21427
21428 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
21429
21430 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
21431 Unconditionally set __fpcr to avoid uninialized warning.
21432 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
21433
21434 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21435
21436 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
21437 is corrupt.
21438
21439 * malloc/arena.c (arena_get2): Drop unused argument.
21440 (arena_lock): Adjust.
21441 (arena_get_retry): Likewise.
21442
21443 2015-08-24 Andreas Schwab <schwab@suse.de>
21444
21445 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
21446 Don't define.
21447 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
21448 (__ASSUME_IPC64): Don't undef.
21449 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
21450 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
21451 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
21452 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
21453 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
21454 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
21455 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
21456 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
21457 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
21458 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
21459 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
21460 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
21461 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
21462 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
21463 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
21464 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
21465 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
21466 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
21467 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
21468 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
21469 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
21470
21471 2015-08-21 Mike Frysinger <vapier@gentoo.org>
21472
21473 * manual/Makefile (install): Only build manual when perl is available.
21474
21475 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
21476
21477 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
21478 '#undef memcpy' by '#undef memchr'.
21479
21480 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
21481
21482 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
21483 memchr not point to the internal __GI_memchr implementation.
21484
21485 2015-08-20 Joseph Myers <joseph@codesourcery.com>
21486
21487 * timezone/Makefile (CFLAGS-zdump.c): Remove
21488 -Wno-strict-prototypes.
21489 (CFLAGS-zic.c): Likewise.
21490 (CFLAGS-ialloc.c): Likewise.
21491 (CFLAGS-scheck.c): Likewise.
21492
21493 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
21494 -Wno-error=undef.
21495
21496 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
21497
21498 * i386/i686/multiarch/strcasestr-c.c: Removed.
21499 * x86_64/multiarch/strcasestr.c: Likewise.
21500 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21501 Remove strcasestr.
21502
21503 2015-08-20 Joseph Myers <joseph@codesourcery.com>
21504
21505 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
21506
21507 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
21508 variables for high and low parts before possibly modifying them.
21509
21510 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
21511
21512 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
21513 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
21514 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
21515 of "multiarch/init-arch.h".
21516 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
21517 * sysdeps/x86/init-arch.h: This.
21518
21519 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
21520
21521 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
21522 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
21523
21524 2015-08-20 Ondřej Bílka <neleai@seznam.cz>
21525
21526 [BZ #17787]
21527 * manual/macros.texi: Add twoexp macro.
21528 * manual/filesys.texi: Fix exponents.
21529 * manual/llio.texi: Likewise.
21530 * manual/stdio.texi: Likewise.
21531
21532 2015-08-20 Florian Weimer <fweimer@redhat.com>
21533
21534 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
21535 incorrect use.
21536
21537 2015-08-19 Joseph Myers <joseph@codesourcery.com>
21538
21539 [BZ #18370]
21540 * math/s_csqrt.c (__csqrt): Force underflow exception for results
21541 whose real or imaginary part has small absolute value.
21542 * math/s_csqrtf.c (__csqrtf): Likewise.
21543 * math/s_csqrtl.c (__csqrtl): Likewise.
21544 * math/auto-libm-test-in: Add more tests of csqrt.
21545 * math/auto-libm-test-out: Regenerated.
21546 * sysdeps/i386/fpu/libm-test-ulps: Update.
21547
21548 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
21549
21550 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
21551 __ppc_set_ppr_very_low): New functions.
21552 * manual/platform.texi: Add documentation about
21553 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
21554
21555 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
21556
21557 * string/stpncpy.c (stpncpy): Improve performance using
21558 __strnlen/memcpy/memset.
21559
21560 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
21561
21562 [BZ #18796]
21563 * scripts/test-installation.pl: Don't add -lmvec to build options if
21564 libmvec wasn't built.
21565
21566 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
21567
21568 [BZ #14341]
21569 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
21570 case when there is a gap between DT_REL and DT_JMPREL sections.
21571 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
21572 (LDFLAGS-tst-split-dynreloc): New.
21573 (tst-split-dynreloc-ENV): Likewise.
21574 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
21575 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
21576
21577 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
21578
21579 [BZ #18822]
21580 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
21581 attribute_hidden.
21582 (__xstat64_conv): Likewise.
21583 (__xstat32_conv): Likewise.
21584
21585 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
21586
21587 [BZ #18822]
21588 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
21589 Don't load %ebx when calling __setcontext. Call __setcontext
21590 with HIDDEN_JUMPTARGET.
21591 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
21592 libc_hidden_def.
21593
21594 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
21595
21596 * sysdeps/i386/i686/Makefile
21597 [$(subdir) == string] (sysdep_routines): Moved to ...
21598 * sysdeps/i386/Makefile: Here.
21599 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
21600 * sysdeps/i386/cacheinfo.c: Here.
21601 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
21602 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
21603 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
21604 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
21605
21606 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
21607
21608 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
21609 __i586__ is defined.
21610 (HAS_I686): Defined to 1 if __i686__ is defined.
21611
21612 2015-08-19 Joseph Myers <joseph@codesourcery.com>
21613
21614 * elf/Makefile [$(have-z-execstack) = yes]
21615 (CPPFLAGS-tst-execstack.c): New variable.
21616
21617 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
21618 conditional to [defined UTMPX || _HAVE_UT_TYPE].
21619 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
21620 UTMPX || _HAVE_UT_TV].
21621 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
21622 UTMPX || _HAVE_UT_TV - 0].
21623
21624 2015-08-18 Joseph Myers <joseph@codesourcery.com>
21625
21626 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
21627 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
21628 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
21629
21630 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
21631
21632 * sysdeps/powerpc/dl-procinfo.c:
21633 (_dl_powerpc_cap_flags): Added missing strings for some
21634 hwcap features.
21635 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
21636
21637 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
21638
21639 Port the 0x7efe...feff pattern to GCC 6.
21640 See Steve Ellcey's bug report in:
21641 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
21642 * string/memrchr.c (MEMRCHR):
21643 * string/rawmemchr.c (RAWMEMCHR):
21644 * string/strchr.c (strchr):
21645 * string/strchrnul.c (STRCHRNUL):
21646 Rewrite code to avoid issues with signed shift overflow.
21647
21648 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
21649
21650 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
21651 whether cpuid is available only if HAS_CPUID is 0.
21652 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
21653 (HAS_I586): Likewise.
21654 (HAS_I686): Likewise.
21655
21656 2015-08-18 Zack Weinberg <zackw@panix.com>
21657
21658 * misc/Versions (libc): Add GLIBC_2.23.
21659
21660 2015-08-18 Alan Modra <amodra@gmail.com>
21661
21662 [BZ #18421]
21663 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
21664 .Lp__global.
21665 (_start): Load %dp via .Lp__global.
21666 [!SHARED]: Use .section .rodata.
21667
21668 2015-08-18 Mike Frysinger <vapier@gentoo.org>
21669
21670 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
21671 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
21672
21673 2015-08-18 Mike Frysinger <vapier@gentoo.org>
21674
21675 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
21676 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
21677
21678 2015-08-18 Mike Frysinger <vapier@gentoo.org>
21679
21680 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
21681 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
21682
21683 2015-08-18 Mike Frysinger <vapier@gentoo.org>
21684
21685 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
21686 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
21687
21688 2015-08-18 Mike Frysinger <vapier@gentoo.org>
21689
21690 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
21691 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
21692
21693 2015-08-18 Mike Frysinger <vapier@gentoo.org>
21694
21695 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
21696 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
21697
21698 2015-08-18 Mike Frysinger <vapier@gentoo.org>
21699
21700 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
21701
21702 2015-08-18 Mike Frysinger <vapier@gentoo.org>
21703
21704 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
21705 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
21706 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
21707 (__ASSUME_LWS_CAS): Delete.
21708
21709 2015-08-18 Mike Frysinger <vapier@gentoo.org>
21710
21711 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
21712 * sysdeps/hppa/configure: Regenerated.
21713 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
21714 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
21715 * sysdeps/hppa/nptl/tls.h: Likewise.
21716
21717 2015-08-17 Joseph Myers <joseph@codesourcery.com>
21718
21719 [BZ #18823]
21720 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
21721 for scaling up small arguments.
21722 * math/s_csqrtf.c (__csqrtf): Likewise.
21723 * math/s_csqrtl.c (__csqrtl): Likewise.
21724 * math/auto-libm-test-in: Add more tests of csqrt.
21725 * math/auto-libm-test-out: Regenerated.
21726
21727 2015-08-17 Andreas Schwab <schwab@suse.de>
21728
21729 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
21730 version set GLIBC_2.19.
21731
21732 2015-08-16 Zack Weinberg <zackw@panix.com>
21733
21734 [BZ #18681]
21735 * misc/regexp.h: This interface is no longer supported.
21736 Remove all contents, leaving only an #error directive.
21737 * misc/regexp.c (loc1, loc2, locs, step, advance):
21738 Demote to compatibility symbols.
21739
21740 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
21741
21742 [BZ #18084]
21743 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
21744 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
21745 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
21746 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
21747 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
21748 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
21749 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
21750 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
21751 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
21752
21753 2015-08-15 Zack Weinberg <zackw@panix.com>
21754
21755 [BZ #18795]
21756 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
21757 buffer length is known to be too large, not if it's known to be
21758 small enough.
21759 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
21760 overflow at runtime, involving a length parameter, twice: once
21761 with a compile-time constant length parameter, once without.
21762
21763 2015-08-14 Joseph Myers <joseph@codesourcery.com>
21764
21765 [BZ #18824]
21766 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
21767 scaling x * y up instead of down.
21768 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21769 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21770 * math/auto-libm-test-in: Add more tests of fma.
21771 * math/auto-libm-test-out: Regenerated.
21772
21773 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
21774
21775 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21776
21777 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21778
21779 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
21780 unnecessary movq.
21781 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
21782 Likewise.
21783
21784 2015-08-13 Joseph Myers <joseph@codesourcery.com>
21785
21786 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
21787 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
21788 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
21789 and tgamma.
21790 * math/auto-libm-test-out: Regenerated.
21791 * sysdeps/i386/fpu/libm-test-ulps: Update.
21792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21793
21794 [BZ #16520]
21795 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
21796 (__tanh): Force underflow exception for arguments with small
21797 absolute value.
21798 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
21799 (__tanhf): Force underflow exception for arguments with small
21800 absolute value.
21801 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
21802 (__tanhl): Force underflow exception for arguments with small
21803 absolute value.
21804 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
21805 (__tanhl): Force underflow exception for arguments with small
21806 absolute value.
21807 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
21808 (__tanhl): Force underflow exception for arguments with small
21809 absolute value.
21810 * math/auto-libm-test-in: Add more tests of tanh.
21811 * math/auto-libm-test-out: Regenerated.
21812 * sysdeps/i386/fpu/libm-test-ulps: Update.
21813
21814 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
21815
21816 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
21817 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
21818
21819 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
21820
21821 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
21822 <cpuid.h>.
21823
21824 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
21825
21826 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
21827 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
21828
21829 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
21830
21831 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
21832 Remove $(objpfx)init-arch.o.
21833 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
21834 init-arch.
21835 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
21836 (INIT_ARCH_EXT): Defined as empty.
21837 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
21838 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
21839 __init_cpu_features call. Replace HAS_XXX with
21840 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
21841 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
21842 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
21843 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
21844 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
21845 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
21846 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
21847 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
21848 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
21849 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
21850 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
21851 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
21852 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
21853 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
21854 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
21855 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
21856 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
21857 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
21858 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
21859 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
21860 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
21861 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
21862 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
21863 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
21864 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
21865 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
21866 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
21867 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
21868 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
21869 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
21870 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
21871 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
21872 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
21873 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
21874 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
21875 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
21876
21877 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
21878
21879 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
21880 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
21881 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
21882 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
21883 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
21884 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
21885 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
21886 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
21887 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
21888 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
21889 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
21890 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
21891 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
21892 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
21893 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
21894 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
21895 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
21896 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
21897 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
21898 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
21899 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
21900 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
21901 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
21902 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
21903 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
21904 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
21905 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21906 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
21907 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
21908 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21909 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
21910 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
21911 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
21912 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21913 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
21914 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
21915 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
21916 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
21917 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
21918 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
21919 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
21920 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
21921 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
21922
21923 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
21924
21925 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
21926 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
21927 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
21928 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21929 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21930 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
21931 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21932 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
21933 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
21934 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21935 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21936 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
21937 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
21938 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
21939 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
21940 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
21941 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
21942 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
21943 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
21944 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
21945 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
21946 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
21947 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
21948 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
21949 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
21950 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
21951 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
21952 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
21953 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
21954 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
21955 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
21956 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
21957 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
21958 * sysdeps/x86_64/multiarch/memset.S: Likewise.
21959 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21960 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
21961 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
21962 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
21963 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
21964 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
21965 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
21966 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
21967 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
21968
21969 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
21970
21971 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
21972 (dl_platform_init): Call init_cpu_features.
21973 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
21974 * sysdeps/i386/i686/cacheinfo.c
21975 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
21976 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
21977 * sysdeps/i386/i686/multiarch/Versions: Removed.
21978 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
21979 Removed.
21980 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
21981 * sysdeps/unix/sysv/linux/x86/Makefile
21982 (libpthread-sysdep_routines): Remove init-arch.
21983 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
21984 <sysdeps/x86_64/dl-procinfo.c> instead of
21985 sysdeps/generic/dl-procinfo.c>.
21986 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
21987 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
21988 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
21989 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
21990 [$(subdir) == elf] (tests-static): Add
21991 tst-get-cpu-features-static.
21992 * sysdeps/x86/Versions: New file.
21993 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
21994 * sysdeps/x86/cpu-features.c: Likewise.
21995 * sysdeps/x86/cpu-features.h: Likewise.
21996 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
21997 * sysdeps/x86/libc-start.c: Likewise.
21998 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
21999 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
22000 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
22001 * sysdeps/x86_64/dl-procinfo.c: Likewise.
22002 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
22003 Assume USE_MULTIARCH is defined and don't check it.
22004 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
22005 (is_amd): Likewise.
22006 (max_cpuid): Likewise.
22007 (intel_check_word): Likewise.
22008 (__cache_sysconf): Don't call __init_cpu_features.
22009 (__x86_preferred_memory_instruction): Removed.
22010 (init_cacheinfo): Don't call __init_cpu_features. Replace
22011 __cpu_features with GLRO(dl_x86_cpu_features).
22012 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
22013 (dl_platform_init): Call init_cpu_features.
22014 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
22015 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
22016 * sysdeps/x86_64/multiarch/Versions: Removed.
22017 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
22018 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
22019 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
22020 Removed.
22021 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
22022
22023 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
22024
22025 [BZ #18820]
22026 * libio/Makefile (test-fmemopen-mem): New test.
22027 * libio/test-fmemopen.c (do_bz18820): New test.
22028 * libio/fmemopen.c (__fmemopen): Fix memory leak.
22029 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
22030
22031 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
22032
22033 [BZ #16734]
22034 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
22035 (FREE_BUF): Delete.
22036 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
22037 * libio/genops.c (_IO_setb): Use malloc and free directly.
22038 (_IO_default_doallocate, _IO_default_finish): Likewise.
22039 ( _IO_unbuffer_all): Likewise.
22040 ( libc_freeres_fn): Likewise.
22041 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
22042 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
22043 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
22044 (_IO_wdefault_doallocate): Likewise.
22045
22046 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
22047
22048 [BZ #18086]
22049 * sysdeps/posix/nice.c (nice): Restore old errno.
22050 * posix/tst-nice.c (do_test): Add test for BZ #18086.
22051
22052 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
22053
22054 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
22055
22056 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22057
22058 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
22059 __bcopy and add a weak_alias to bcopy.
22060 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
22061 for static build.
22062
22063 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
22064 cleanup macro usage.
22065 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
22066 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
22067 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
22068 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
22069 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
22070 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
22071 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
22072 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
22073 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
22074 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
22075 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
22076 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
22077 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
22078 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
22079 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
22080 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
22081 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
22082 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
22083 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
22084
22085 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
22086 libc_hidden_def.
22087 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
22088
22089 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
22090 (sysdep_routines): Add strstr-ppc64.
22091 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
22092
22093 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
22094
22095 [BZ #18778]
22096 * elf/Makefile (tests): Add Add tst-nodelete2.
22097 (modules-names): Add tst-nodelete2mod.
22098 (tst-nodelete2mod.so-no-z-defs): New.
22099 ($(objpfx)tst-nodelete2): Likewise.
22100 ($(objpfx)tst-nodelete2.out): Likewise.
22101 (LDFLAGS-tst-nodelete2): Likewise.
22102 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
22103 out of loop through all loaded libraries.
22104 * elf/tst-nodelete2.c: New file.
22105 * elf/tst-nodelete2mod.c: Likewise.
22106 * elf/tst-znodelete-zlib.cc: Delete.
22107
22108 2015-08-11 Andreas Schwab <schwab@suse.de>
22109
22110 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
22111 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
22112 (__openat64_nocancel): Likewise.
22113
22114 2015-08-11 Joseph Myers <joseph@codesourcery.com>
22115
22116 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
22117 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
22118 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
22119 * math/auto-libm-test-out: Regenerated.
22120 * sysdeps/i386/fpu/libm-test-ulps: Update.
22121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22122
22123 2015-08-10 Joseph Myers <joseph@codesourcery.com>
22124
22125 [BZ #18790]
22126 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
22127 threshold for returning +/- 1.
22128 * math/auto-libm-test-in: Add more tests of tanh.
22129 * math/auto-libm-test-out: Regenerated.
22130 * sysdeps/i386/fpu/libm-test-ulps: Update.
22131
22132 2015-08-10 Andreas Schwab <schwab@suse.de>
22133
22134 [BZ #18781]
22135 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
22136 MORE_OFLAGS to oflag.
22137 * io/test-lfs.c (do_test): Test openat64.
22138
22139 2015-08-10 Joseph Myers <joseph@codesourcery.com>
22140
22141 [BZ #18789]
22142 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
22143 smaller threshold for returning the argument.
22144 * math/auto-libm-test-in: Add more tests of sinh.
22145 * math/auto-libm-test-out: Regenerated.
22146 * sysdeps/i386/fpu/libm-test-ulps: Update.
22147
22148 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
22149
22150 [BZ #18674]
22151 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
22152 break.
22153
22154 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
22155
22156 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
22157 (generated): Don't add $(addprefix z.,$(tzfiles)).
22158
22159 2015-08-09 Mike Frysinger <vapier@gentoo.org>
22160
22161 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
22162 * scripts/sysd-rules.awk: Likewise.
22163
22164 2015-08-09 Mike Frysinger <vapier@gentoo.org>
22165
22166 * iconvdata/tst-tables.sh: Change echo -n to printf.
22167 * nss/db-Makefile: Likewise.
22168 * posix/tst-getconf.sh: Likewise.
22169 * stdio-common/tst-unbputc.sh: Likewise.
22170
22171 2015-08-09 Mike Frysinger <vapier@gentoo.org>
22172
22173 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
22174 MADV_*_PAGES defines behind this feature check.
22175
22176 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
22177
22178 [BZ #18480]
22179 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
22180 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
22181 Define.
22182 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
22183 LOAD_REGS_5, LOAD_REGS_6): Update.
22184 (INTERNAL_SYSCALL): Update using new LOAD defines.
22185 (INTERNAL_SYSCALL_NCS): Likewise.
22186 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
22187
22188 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
22189
22190 [BZ #16734]
22191 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
22192
22193 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
22194
22195 [BZ #17905]
22196 * catgets/Makefile (tst-catgets-mem): New test.
22197 * catgets/catgets.c (catopen): Don't use unbounded alloca.
22198 * catgets/open_catalog.c (__open_catalog): Likewise.
22199 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
22200
22201 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
22202
22203 [BZ #18787]
22204 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
22205 clobber registers.
22206 (atomic_compare_and_exchange_val_acq): Use register asms to assign
22207 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
22208 Cast return to __typeof (oldval).
22209
22210 2015-08-08 Mike Frysinger <vapier@gentoo.org>
22211
22212 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
22213 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
22214 and delete sys/syscall.h include.
22215
22216 2015-08-07 Joseph Myers <joseph@codesourcery.com>
22217
22218 [BZ #16517]
22219 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
22220 (tan): Force underflow exception for arguments with small absolute
22221 value.
22222 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
22223 (__kernel_tanf): Force underflow exception for arguments with
22224 small absolute value.
22225 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
22226 (__kernel_tanl): Force underflow exception for arguments with
22227 small absolute value.
22228 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
22229 (__kernel_tanl): Force underflow exception for arguments with
22230 small absolute value.
22231 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
22232 (__kernel_tanl): Force underflow exception for arguments with
22233 small absolute value.
22234 * math/auto-libm-test-in: Add more tests of tan.
22235 * math/auto-libm-test-out: Regenerated.
22236
22237 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
22238
22239 Fix sysdeps/i386/fpu/s_scalbn.S build
22240
22241 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
22242
22243 2015-08-07 Mike Frysinger <vapier@gentoo.org>
22244
22245 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
22246
22247 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
22248
22249 Fix gcrt0.o compilation
22250
22251 When static-start-installed-name is different from
22252 start-installed-name, we must not use the shared objects.
22253
22254 * csu/Makefile
22255 (extra-objs): Add gmon-start.o when building shared library and
22256 $(static-start-installed-name) is different from
22257 $(start-installed-name).
22258 $(objpfx)g$(static-start-installed-name): When building shared
22259 library and $(static-start-installed-name) is different from
22260 $(static-start-installed-name), revert to non-shared rule,
22261 i.e. using $(objpfx)% and gmon-start.o.
22262
22263 2015-08-06 Joseph Myers <joseph@codesourcery.com>
22264
22265 [BZ #16519]
22266 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
22267 (__ieee754_sinh): Force underflow exception for arguments with
22268 small absolute value.
22269 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
22270 (__ieee754_sinhf): Force underflow exception for arguments with
22271 small absolute value.
22272 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
22273 (__ieee754_sinhl): Force underflow exception for arguments with
22274 small absolute value.
22275 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
22276 (__ieee754_sinhl): Force underflow exception for arguments with
22277 small absolute value.
22278 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
22279 (__ieee754_sinhl): Force underflow exception for arguments with
22280 small absolute value.
22281 * math/auto-libm-test-in: Add more tests of sinh.
22282 * math/auto-libm-test-out: Regenerated.
22283 * sysdeps/i386/fpu/libm-test-ulps: Update.
22284
22285 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22286
22287 * libio/oldfileops.c: Include unistd.h.
22288
22289 2015-08-06 Mike Frysinger <vapier@gentoo.org>
22290
22291 * stdlib/isomac.c: Include ctype.h.
22292
22293 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
22294
22295 * dirent/tst-seekdir.c (main): Converted to ...
22296 (do_test): ... this.
22297 (TEST_FUNCTION): New macro.
22298 Include test-skeleton.c.
22299 * elf/tst-dlmodcount.c (main): Converted to ...
22300 (do_test): ... this.
22301 (TEST_FUNCTION): New macro.
22302 Include test-skeleton.c.
22303 * elf/tst-order-main.c (main): Converted to ...
22304 (do_test): ... this.
22305 (TEST_FUNCTION): New macro.
22306 Include test-skeleton.c.
22307 * elf/tst-pie2.c (main): Converted to ...
22308 (do_test): ... this.
22309 (TEST_FUNCTION): New macro.
22310 Include test-skeleton.c.
22311 * inet/tst-ether_aton.c (main): Converted to ...
22312 (do_test): ... this.
22313 (TEST_FUNCTION): New macro.
22314 Include test-skeleton.c.
22315 * misc/tst-mntent.c (main): Converted to ...
22316 (do_test): ... this.
22317 (TEST_FUNCTION): New macro.
22318 Include test-skeleton.c.
22319 * misc/tst-tsearch.c (main): Converted to ...
22320 (do_test): ... this.
22321 (TEST_FUNCTION): New macro.
22322 Include test-skeleton.c.
22323 * posix/tst-regexloc.c (main): Converted to ...
22324 (do_test): ... this.
22325 (TEST_FUNCTION): New macro.
22326 Include test-skeleton.c.
22327 * resolv/tst-aton.c (main): Converted to ...
22328 (do_test): ... this.
22329 (TEST_FUNCTION): New macro.
22330 Include test-skeleton.c.
22331 * stdio-common/test-fwrite.c (main): Converted to ...
22332 (do_test): ... this.
22333 (TEST_FUNCTION): New macro.
22334 Include test-skeleton.c.
22335 * stdio-common/tst-ferror.c (main): Converted to ...
22336 (do_test): ... this.
22337 (TEST_FUNCTION): New macro.
22338 Include test-skeleton.c.
22339 * stdio-common/tst-printf.c (main): Converted to ...
22340 (do_test): ... this.
22341 (TEST_FUNCTION): New macro.
22342 Include test-skeleton.c.
22343 * stdio-common/tst-printfsz.c (main): Converted to ...
22344 (do_test): ... this.
22345 (TEST_FUNCTION): New macro.
22346 Include test-skeleton.c.
22347 * stdlib/tst-strtod.c (main): Converted to ...
22348 (do_test): ... this.
22349 (TEST_FUNCTION): New macro.
22350 Include test-skeleton.c.
22351 * string/tst-strlen.c (main): Converted to ...
22352 (do_test): ... this.
22353 (TEST_FUNCTION): New macro.
22354 Include test-skeleton.c.
22355 * string/tst-svc.c (main): Converted to ...
22356 (do_test): ... this.
22357 (TEST_FUNCTION): New macro.
22358 Include test-skeleton.c.
22359 * time/tst-strptime.c (main): Converted to ...
22360 (do_test): ... this.
22361 (TEST_FUNCTION): New macro.
22362 Include test-skeleton.c.
22363 * timezone/tst-timezone.c (main): Converted to ...
22364 (do_test): ... this.
22365 (TEST_FUNCTION): New macro.
22366 Include test-skeleton.c.
22367
22368 2015-08-05 Zack Weinberg <zackw@panix.com>
22369
22370 * misc/regexp.h: Update comments.
22371
22372 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
22373
22374 [BZ #18635]
22375 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
22376 before return label.
22377
22378 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
22379
22380 [BZ #18661]
22381 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
22382 when calling __errno_location.
22383 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
22384 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
22385
22386 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
22387
22388 [BZ #18661]
22389 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
22390 (__lll_timedwait_tid): Align stack to 16 bytes when calling
22391 __gettimeofday.
22392
22393 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
22394
22395 [BZ #18661]
22396 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
22397 (__start_context): Don't use pop to restore %rdi so that stack
22398 is aligned to 16 bytes when calling __setcontext.
22399
22400 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
22401
22402 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
22403 only for libc.
22404 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
22405
22406 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
22407
22408 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
22409 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
22410 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
22411
22412 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
22413
22414 * string/memccpy.c (memccpy):
22415 Improve performance by using memchr/memcpy/__mempcpy.
22416
22417 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
22418
22419 * string/strncpy.c (strncpy):
22420 Improve performance by using __strnlen/memcpy.
22421
22422 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
22423
22424 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
22425 Optimize to avoid an unnecessary FPCR read.
22426
22427 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
22428
22429 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
22430 Optimize to reduce FPCR/FPSR accesses.
22431
22432 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
22433
22434 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
22435 dead->data[category] != NULL.
22436
22437 2015-08-05 Joseph Myers <joseph@codesourcery.com>
22438
22439 [BZ #18647]
22440 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
22441 and |x| close to 1, use absolute value of x when computing log.
22442 * math/auto-libm-test-in: Add more tests of pow.
22443 * math/auto-libm-test-out: Regenerated.
22444
22445 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22446
22447 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
22448 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
22449 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
22450
22451 2015-08-05 Marko Myllynen <myllynen@redhat.com>
22452
22453 [BZ #18525]
22454 * locales/km_KH: Remove timezone definition.
22455 * locales/lo_LA: Likewise.
22456 * locales/my_MM: Likewise.
22457 * locales/nan_TW@latin: Likewise.
22458 * locales/th_TH: Likewise.
22459 * locales/uk_UA: Likewise.
22460
22461 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
22462
22463 [BZ #18265]
22464 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
22465 (wcsncat): Likewise.
22466 (wcscmp): Likewise.
22467 (wcsncmp): Likewise.
22468
22469 2015-08-05 Mike Frysinger <vapier@gentoo.org>
22470
22471 * test-skeleton.c (usage): New function.
22472 (main): Call usage when opt is '?'.
22473
22474 2015-08-05 Mike Frysinger <vapier@gentoo.org>
22475
22476 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
22477 before first use.
22478
22479 2015-08-05 Mike Frysinger <vapier@gentoo.org>
22480
22481 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
22482 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
22483 in there too.
22484
22485 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
22486
22487 * version.h (RELEASE): Set to "development".
22488 (VERSION): Set to "2.22.90"
22489
22490 * version.h (RELEASE): Set to "stable".
22491 (VERSION): Set to "2.22"
22492 * include/features.h (__GLIBC_MINOR__): Set to 22.
22493
22494 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
22495
22496 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
22497 Restructure macro to avoid "value computed is not used" warning.
22498 (atomic_compare_and_exchange_val_acq): Likewise.
22499
22500 2015-08-04 Andreas Schwab <schwab@suse.de>
22501
22502 [BZ #18635]
22503 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
22504 ret.
22505 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
22506
22507 2015-08-01 Carlos O'Donell <carlos@redhat.com>
22508
22509 * po/pl.po: Updated translation.
22510 * po/uk.po: Likewise.
22511 * po/fi.po: Likewise.
22512 * po/ko.po: Likewise.
22513 * po/ru.po: Likewise.
22514 * po/vi.po: Likewise.
22515
22516 2015-07-31 Zack Weinberg <zackw@panix.com>
22517
22518 [BZ #18681]
22519 * regexp.h: Add unconditional #warning stating that this header
22520 will be removed soon. Revise banner comment to match.
22521 (compile): Consistently use ERROR instead of RETURN to report
22522 errors (partial fix for bz#18681).
22523 * regexp.c: Don't include regexp.h. Remove some unnecessary
22524 declarations.
22525
22526 2015-07-31 Carlos O'Donell <carlos@redhat.com>
22527
22528 * po/libc.pot: Regenerated.
22529
22530 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
22531
22532 [BZ #18740]
22533 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
22534 float-vlen4-arch-ext-cflags): Removed.
22535 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
22536 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
22537
22538 2015-07-30 Mike Frysinger <vapier@gentoo.org>
22539
22540 [BZ #14113]
22541 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
22542 aligned to __aligned__.
22543 (pthread_cond_t, pthread_rwlock_t): Likewise.
22544
22545 2015-07-30 Torvald Riegel <triegel@redhat.com>
22546
22547 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
22548
22549 2015-07-30 Mike Frysinger <vapier@gentoo.org>
22550
22551 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
22552 (struct sigaction): Change sa_flags from a long to an int, and add
22553 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
22554
22555 2015-07-30 Mike Frysinger <vapier@gentoo.org>
22556
22557 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
22558 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
22559 sysdeps/generic/sysdep.h include.
22560 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
22561 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
22562 sysdeps/hppa/sysdep.h.
22563 (ENTRY, PSEUDO): Undefine before defining.
22564
22565 2015-07-30 Mike Frysinger <vapier@gentoo.org>
22566
22567 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
22568 from scratch to use INTERNAL_SYSCALL.
22569
22570 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
22571
22572 [BZ #18078]
22573 * scripts/check-localplt.awk: Support alternate relocations.
22574 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
22575 sections.
22576 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
22577 malloc entries with + REL R_386_GLOB_DAT.
22578 * sysdeps/x86_64/localplt.data: New file.
22579
22580 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
22581
22582 [BZ #18731]
22583 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
22584 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
22585 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
22586
22587 2015-07-27 Mike Frysinger <vapier@gentoo.org>
22588
22589 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
22590
22591 2015-07-27 Mike Frysinger <vapier@gentoo.org>
22592
22593 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
22594 directly in terms of __sync_fetch_and_add and delete (int) cast.
22595
22596 2015-07-27 Mike Frysinger <vapier@gentoo.org>
22597
22598 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
22599 the -D_ASM_IA64_CURRENT_H flag.
22600
22601 2015-07-27 Mike Frysinger <vapier@gentoo.org>
22602
22603 [BZ #18641]
22604 * pwd/pwd.h (putpwent): Delete __nonnull markings.
22605
22606 2015-07-27 Andreas Schwab <schwab@suse.de>
22607
22608 * conform/conformtest.pl (checknamespace): Filter out string
22609 literals while tokenizing.
22610
22611 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
22612
22613 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
22614 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
22615 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
22616
22617 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
22618
22619 * nptl/tst-join7mod.c: Add #include <string.h>.
22620
22621 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
22622
22623 * sysdeps/nios2/libm-test-ulps: Update.
22624
22625 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
22626
22627 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
22628 Fix order of arguments to the rt_sigprocmask syscall.
22629 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
22630 Likewise.
22631
22632 2015-07-24 Roland McGrath <roland@hack.frob.com>
22633
22634 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
22635
22636 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
22637
22638 [BZ #18457]
22639 * nptl/Makefile (tests): New test case tst-join7.
22640 (modules-names): New test case module tst-join7mod.
22641 * nptl/tst-join7.c: New file.
22642 * nptl/tst-join7mod.c: New file.
22643 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
22644 all translation units in libc.so, libpthread.so and rtld.
22645
22646 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22647
22648 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22649
22650 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
22651
22652 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
22653 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
22654 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
22655 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
22656 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
22657 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
22658 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
22659 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
22660 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
22661 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
22662 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
22663 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
22664 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
22665 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
22666 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
22667 implementation.
22668
22669 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
22670
22671 [BZ #17711]
22672 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
22673 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
22674 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
22675 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
22676 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
22677 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
22678
22679 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
22680
22681 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
22682 instead of just saying load lock in the comments.
22683
22684 2015-07-23 Roland McGrath <roland@hack.frob.com>
22685
22686 * sysdeps/unix/Subdirs: Moved ...
22687 * sysdeps/posix/Subdirs: ... here.
22688 * login/pty.h (struct termios, struct winsize): Add forward decls.
22689 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
22690 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
22691 * sysdeps/arm/nacl/libc.abilist: Updated.
22692 * sysdeps/nacl/libutil.abilist: New file.
22693
22694 * bits/signum.h: Update comments to mention 1003.1-2013 too.
22695 (SIGWINCH): New macro.
22696
22697 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
22698 * sysdeps/arm/nacl/libc.abilist: Add it.
22699
22700 2015-07-23 Mike Frysinger <vapier@gentoo.org>
22701
22702 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
22703
22704 2015-07-23 Mike Frysinger <vapier@gentoo.org>
22705
22706 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
22707 Swap __glibc_reserved0 and sa_flags order.
22708
22709 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
22710
22711 [BZ #18657]
22712 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
22713 are pending TLS destructor calls.
22714 * include/link.h (struct link_map): Add concurrency note for
22715 L_TLS_DTOR_COUNT.
22716 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
22717 Don't touch the link map flag. Atomically increment
22718 l_tls_dtor_count.
22719 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
22720 Avoid taking the load lock and don't touch the link map flag.
22721 * stdlib/tst-tls-atexit-nodelete.c: New test case.
22722 * stdlib/Makefile (tests): Use it.
22723 * stdlib/tst-tls-atexit.c (do_test): dlopen
22724 tst-tls-atexit-lib.so again before dlclose. Add conditionals
22725 to allow tst-tls-atexit-nodelete test case to use it.
22726
22727 2015-07-22 Mike Frysinger <vapier@gentoo.org>
22728
22729 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
22730 to bits/types.h.
22731 (msgqnum_t): New typedef.
22732 (msglen_t): Likewise.
22733 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
22734 and msg_qbytes type to msglen_t.
22735
22736 2015-07-22 Mike Frysinger <vapier@gentoo.org>
22737
22738 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
22739 pad0 to __glibc_reserved0.
22740 (struct stat64): Likewise.
22741
22742 2015-07-22 Mike Frysinger <vapier@gentoo.org>
22743
22744 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
22745 Change sa_flags from a long to an int and add __glibc_reserved0 before
22746 it for padding.
22747
22748 2015-07-22 Mike Frysinger <vapier@gentoo.org>
22749
22750 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
22751 anonymous by deleting "siginfo" name.
22752
22753 2015-07-21 Roland McGrath <roland@hack.frob.com>
22754
22755 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
22756 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
22757 rather than __nacl_irt_filename.
22758 * sysdeps/nacl/xstat.c (__xstat): Likewise.
22759
22760 * NEWS: New item for arm-nacl port.
22761 * sysdeps/arm/nacl/libc.abilist: New file.
22762 * sysdeps/nacl/ld.abilist: New file.
22763 * sysdeps/nacl/libBrokenLocale.abilist: New file.
22764 * sysdeps/nacl/libanl.abilist: New file.
22765 * sysdeps/nacl/libcrypt.abilist: New file.
22766 * sysdeps/nacl/libdl.abilist: New file.
22767 * sysdeps/nacl/libm.abilist: New file.
22768 * sysdeps/nacl/libpthread.abilist: New file.
22769 * sysdeps/nacl/libresolv.abilist: New file.
22770 * sysdeps/nacl/librt.abilist: New file.
22771
22772 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
22773
22774 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
22775 __startcontext to initialize the new context.
22776 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
22777 up CFI directive to forbid further backtracing.
22778
22779 2015-07-21 Marko Myllynen <myllynen@redhat.com>
22780
22781 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
22782 reference.
22783 * charmaps/ANSI_X3.4-1968: Likewise.
22784 * charmaps/BS_4730: Likewise.
22785 * charmaps/BS_VIEWDATA: Likewise.
22786 * charmaps/CP1250: Likewise.
22787 * charmaps/CP1251: Likewise.
22788 * charmaps/CP1252: Likewise.
22789 * charmaps/CP1253: Likewise.
22790 * charmaps/CP1254: Likewise.
22791 * charmaps/CP1255: Likewise.
22792 * charmaps/CP1256: Likewise.
22793 * charmaps/CSN_369103: Likewise.
22794 * charmaps/EBCDIC-DK-NO: Likewise.
22795 * charmaps/GB_1988-80: Likewise.
22796 * charmaps/GREEK-CCITT: Likewise.
22797 * charmaps/GREEK7: Likewise.
22798 * charmaps/INIS-8: Likewise.
22799 * charmaps/ISIRI-3342: Likewise.
22800 * charmaps/ISO_2033-1983: Likewise.
22801 * charmaps/ISO_5427-EXT: Likewise.
22802 * locales/POSIX: Likewise.
22803 * locales/ar_SA: Likewise.
22804 * locales/be_BY: Likewise.
22805 * locales/be_BY@latin: Likewise.
22806 * locales/ca_ES: Likewise.
22807 * locales/cs_CZ: Likewise.
22808 * locales/da_DK: Likewise.
22809 * locales/de_BE: Likewise.
22810 * locales/de_CH: Likewise.
22811 * locales/de_LU: Likewise.
22812 * locales/en_AU: Likewise.
22813 * locales/en_BW: Likewise.
22814 * locales/en_CA: Likewise.
22815 * locales/en_DK: Likewise.
22816 * locales/en_GB: Likewise.
22817 * locales/en_IE: Likewise.
22818 * locales/en_NZ: Likewise.
22819 * locales/en_ZA: Likewise.
22820 * locales/en_ZW: Likewise.
22821 * locales/es_AR: Likewise.
22822 * locales/es_BO: Likewise.
22823 * locales/es_CL: Likewise.
22824 * locales/es_CO: Likewise.
22825 * locales/es_DO: Likewise.
22826 * locales/es_EC: Likewise.
22827 * locales/es_ES: Likewise.
22828 * locales/es_HN: Likewise.
22829 * locales/es_MX: Likewise.
22830 * locales/es_PA: Likewise.
22831 * locales/es_PE: Likewise.
22832 * locales/es_PY: Likewise.
22833 * locales/es_SV: Likewise.
22834 * locales/es_US: Likewise.
22835 * locales/es_UY: Likewise.
22836 * locales/es_VE: Likewise.
22837 * locales/et_EE: Likewise.
22838 * locales/fa_IR: Likewise.
22839 * locales/fo_FO: Likewise.
22840 * locales/fr_CA: Likewise.
22841 * locales/fr_CH: Likewise.
22842 * locales/gv_GB: Likewise.
22843 * locales/he_IL: Likewise.
22844 * locales/hr_HR: Likewise.
22845 * locales/id_ID: Likewise.
22846 * locales/is_IS: Likewise.
22847 * locales/it_CH: Likewise.
22848 * locales/iw_IL: Likewise.
22849 * locales/kl_GL: Likewise.
22850 * locales/ko_KR: Likewise.
22851 * locales/kw_GB: Likewise.
22852 * locales/lg_UG: Likewise.
22853 * locales/lt_LT: Likewise.
22854 * locales/lv_LV: Likewise.
22855 * locales/mi_NZ: Likewise.
22856 * locales/nhn_MX: Likewise.
22857 * locales/nl_BE: Likewise.
22858 * locales/pl_PL: Likewise.
22859 * locales/sk_SK: Likewise.
22860 * locales/sl_SI: Likewise.
22861 * locales/sv_FI: Likewise.
22862 * locales/tl_PH: Likewise.
22863 * locales/tr_TR: Likewise.
22864 * locales/vi_VN: Likewise.
22865
22866 2015-07-21 Khem Raj <raj.khem@gmail.com>
22867
22868 [BZ #17475]
22869 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
22870 of tu_IN and bh_IN.
22871
22872 2015-07-21 Mike Frysinger <vapier@gentoo.org>
22873
22874 [BZ #18694]
22875 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
22876 bits/wordsize.h.
22877 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
22878
22879 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22880
22881 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
22882 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
22883 (spawn_thread): New function.
22884 (load): Rename to reg_dtor_and_close. Move dlopen to...
22885 (do_test): ... here. Use IS_LOADED to test for its
22886 availability.
22887
22888 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
22889
22890 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
22891
22892 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
22893
22894 [BZ #18696]
22895 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
22896 si_addr_bnd.
22897 (si_lower): New.
22898 (si_upper): Likewise.
22899
22900 2015-07-16 David S. Miller <davem@davemloft.net>
22901
22902 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
22903
22904 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22905
22906 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
22907 buffer.
22908 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
22909 fail output information.
22910
22911 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22912
22913 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
22914 and strstr-ppc64..
22915 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
22916 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
22917 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
22918 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
22919 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
22920
22921 2015-07-16 Mike Frysinger <vapier@gentoo.org>
22922
22923 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
22924 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
22925 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
22926 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
22927
22928 2015-07-16 Mike Frysinger <vapier@gentoo.org>
22929
22930 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
22931 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
22932 rtld_hidden_proto.
22933 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
22934
22935 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22936
22937 * tst-nodelete-opened.c (do_test): Add comment to clarify how
22938 the test can fail.
22939
22940 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
22941
22942 [BZ #18676]
22943 * elf/tst-nodelete-opened.c: New test case.
22944 * elf/tst-nodelete-opened-lib.c: New test case module.
22945 * elf/Makefile (tests, modules-names): Use them.
22946 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
22947 early.
22948
22949 2015-07-15 David S. Miller <davem@davemloft.net>
22950
22951 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
22952 futex-intenal.h
22953 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
22954 * sysdeps/sparc/sparc64/Makefile: Likewise.
22955 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
22956 Remove space from macro define.
22957 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
22958
22959 2015-07-15 Pravin Satpute <psatpute@redhat.com>
22960
22961 [BZ #17475]
22962 * locale/iso-639.def: Update Bhili and Tulu language codes as
22963 per iso639-3.
22964
22965 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
22966
22967 * elf/tst-leaks1.c (main): Converted to ...
22968 (do_test): ... this.
22969 (TEST_FUNCTION): New macro.
22970 Include test-skeleton.c.
22971 * localedata/tst-langinfo.c (main): Converted to ...
22972 (do_test): ... this.
22973 (TEST_FUNCTION): New macro.
22974 Include test-skeleton.c.
22975 * math/test-fpucw.c (main): Converted to ...
22976 (do_test): ... this.
22977 (TEST_FUNCTION): New macro.
22978 Include test-skeleton.c.
22979 * math/test-tgmath.c (main): Converted to ...
22980 (do_test): ... this.
22981 (TEST_FUNCTION): New macro.
22982 Include test-skeleton.c.
22983 * math/test-tgmath2.c (main): Converted to ...
22984 (do_test): ... this.
22985 (TEST_FUNCTION): New macro.
22986 Include test-skeleton.c.
22987 * setjmp/tst-setjmp.c (main): Converted to ...
22988 (do_test): ... this.
22989 (TEST_FUNCTION): New macro.
22990 Include test-skeleton.c.
22991 * stdio-common/tst-sscanf.c (main): Converted to ...
22992 (do_test): ... this.
22993 (TEST_FUNCTION): New macro.
22994 Include test-skeleton.c.
22995 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
22996 (do_test): ... this.
22997 (TEST_FUNCTION): New macro.
22998 Include test-skeleton.c.
22999
23000 * elf/tst-audit9.c (main): Converted to ...
23001 (do_test): ... this.
23002 (TEST_FUNCTION): New macro.
23003 Include test-skeleton.c.
23004
23005 2015-07-15 Mike Frysinger <vapier@gentoo.org>
23006
23007 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
23008
23009 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
23010
23011 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
23012 New variable.
23013
23014 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
23015
23016 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
23017
23018 2015-07-14 Roland McGrath <roland@hack.frob.com>
23019
23020 * sysdeps/generic/dl-fileid.h: New file.
23021 * sysdeps/posix/dl-fileid.h: New file.
23022 * sysdeps/nacl/dl-fileid.h: New file.
23023 * include/link.h: Include <dl-fileid.h>.
23024 (struct link_map): Replace l_dev and l_ino with l_file_id.
23025 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
23026 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
23027 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
23028
23029 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23030
23031 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
23032
23033 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23034
23035 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
23036 Add iff $CXX is set.
23037 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
23038 Likewise.
23039 (tst-nodelete-zmodiff): Likewise.
23040 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
23041
23042 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23043
23044 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
23045
23046 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
23047
23048 * sysdeps/aarch64/fpu/math_private.h
23049 (define math_opt_barrier): Add AArch64 version.
23050 (math_force_eval): Likewise.
23051
23052 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
23053
23054 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
23055
23056 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
23057
23058 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
23059 %ld with %jd and cast to intmax_t.
23060 (do_test_length_zero): Likewise.
23061
23062 2015-07-10 Roland McGrath <roland@hack.frob.com>
23063
23064 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
23065
23066 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
23067
23068 * sysdeps/tile/libm-test-ulps: Regenerated.
23069
23070 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
23071 Comment out the whole function, not just its body.
23072
23073 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23074
23075 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
23076 locks.
23077
23078 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
23079
23080 2015-07-10 Torvald Riegel <triegel@redhat.com>
23081
23082 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
23083 (sem_assume_only_signals_cause_futex_EINTR): Remove.
23084
23085 2015-07-10 Torvald Riegel <triegel@redhat.com>
23086
23087 * sysdeps/nptl/futex-internal.h: New file.
23088 * sysdeps/nacl/futex-internal.h: New file.
23089 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
23090 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
23091 error checking.
23092 (setxid_unmark_thread): Likewise.
23093 (__nptl_setxid): Likewise.
23094 (__wait_lookup_done): Likewise.
23095 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
23096 * nptl/nptl-init.c (sighandler_setxid): Likewise.
23097 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
23098 * nptl/pthread_once.c (clear_once_control): Likewise.
23099 (__pthread_once_slow): Likewise.
23100 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
23101 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
23102 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
23103 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
23104 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
23105 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
23106 Likewise.
23107 (__pthread_rwlock_rdlock): Likewise.
23108 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
23109 Likewise.
23110 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
23111 Likewise.
23112 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
23113 Likewise.
23114 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
23115 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
23116 Likewise.
23117 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
23118 __ASSUME_PRIVATE_FUTEX check.
23119 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
23120 Check that shared futexes are supported.
23121 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
23122 wrappers with error checking.
23123 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
23124 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
23125 * nptl/pthread_barrierattr_setpshared.c
23126 (pthread_barrierattr_setpshared): Check that shared futexes are
23127 supported.
23128 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
23129 Likewise.
23130 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
23131 Likewise.
23132 * nptl/sem_init.c (futex_private_if_supported): Remove.
23133 (__new_sem_init): Adapt and check that shared futexes are supported.
23134 * nptl/sem_open.c (sem_open): Likewise.
23135 * nptl/sem_post.c (futex_wake): Remove.
23136 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
23137 (do_futex_wait): Use futex wrappers with error checking.
23138 * nptl/sem_wait.c: Include lowlevellock.h.
23139 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
23140 Use futex_supports_pshared.
23141 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
23142 Use futex wrappers with error checking.
23143 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
23144 Likewise.
23145 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
23146 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
23147 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
23148 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
23149 (futex_wake): Likewise.
23150 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
23151 (do_futex_wait): Use futex wrappers with error checking.
23152 (__new_sem_wait_slow): Update EINTR handling.
23153 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
23154
23155 2015-07-09 Martin Sebor <msebor@redhat.com>
23156
23157 [BZ #18435]
23158 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
23159 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
23160 * nptl/Makefile (test-xfail-tst-once5): Define.
23161
23162 2015-07-09 Roland McGrath <roland@hack.frob.com>
23163
23164 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
23165 * elf/dl-minimal.c: For readability, reorder some definitions and
23166 introduce more page breaks. Include <stdio.h>.
23167 (__libc_fatal): New function.
23168
23169 * include/unistd.h: Add rtld_hidden_proto for _exit.
23170 * posix/_exit.c: Add rtld_hidden_def.
23171 * sysdeps/mach/hurd/_exit.c: Likewise.
23172 * sysdeps/nacl/_exit.c: Likewise.
23173 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
23174 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
23175
23176 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
23177
23178 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
23179 bndmov encoding with zero displacement.
23180
23181 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
23182 H.J. Lu <hongjiu.lu@intel.com>
23183
23184 [BZ #18134]
23185 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
23186 * sysdeps/i386/configure: Regenerated.
23187 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
23188 (_dl_runtime_profile): Save and restore Intel MPX return bound
23189 registers when calling _dl_call_pltexit. Add
23190 PRESERVE_BND_REGS_PREFIX before return.
23191 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
23192 (LRV_BND1_OFFSET): Likewise.
23193 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
23194 lrv_bnd1.
23195 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
23196 typo in bndmov encoding.
23197 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
23198 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
23199 branch instructions to preserve bounds.
23200
23201 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23202
23203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
23204 [GLIBC_2.22]: Add fmemopen.
23205
23206 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
23207
23208 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
23209 returns an error, also try to use host port from __mach_host_self for
23210 the __vm_wire call.
23211 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
23212
23213 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
23214
23215 [BZ #18400]
23216 [BZ #18648]
23217 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
23218 Fix pr_uid and pr_gid members.
23219 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
23220 definition to elf_greg_t.
23221
23222 2015-07-08 Roland McGrath <roland@hack.frob.com>
23223
23224 [BZ #18383]
23225 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
23226 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
23227 * sysdeps/arm/configure: Regenerated.
23228 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
23229 (test-xfail-tst-tlsalign-static): Variable removed.
23230
23231 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
23232 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
23233 rather than explicit 'ln -s'.
23234
23235 * resolv/rpc/netdb.h: New file.
23236 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
23237
23238 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23239
23240 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
23241 length buffers.
23242 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
23243 test-skeleton.c.
23244
23245 [BZ #6544]
23246 [BZ #11216]
23247 [BZ #12836]
23248 [BZ #13151]
23249 [BZ #13152]
23250 [BZ #14292]
23251 * include/stdio.h (fmemopen): Remove hidden prototype.
23252 (__fmemopen): Add new hidden prototype.
23253 * libio/Makefile: Add oldfmemopen object.
23254 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
23255 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
23256 compliance.
23257 * libio/oldfmemopen.c: New file: old fmemopen implementation for
23258 symbol compatibility.
23259 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
23260 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
23261 fmemopen.
23262 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
23263 on append and read mode.
23264 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
23265 fmemopen.
23266 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
23267 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
23268 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
23269 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
23270 Likewise.
23271 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
23272 [GLIBC_2.22]: Likewise.
23273 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
23274 Likewise.
23275 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
23276 Likewise.
23277 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
23278 [GLIBC_2.22]: Likewise.
23279 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
23280 [GLIBC_2.22]: Likewise.
23281 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
23282 [GLIBC_2.22]: Likewise.
23283 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
23284 [GLIBC_2.22]: Likewise.
23285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
23286 [GLIBC_2.22]: Likewise.
23287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
23288 [GLIBC_2.22]: Likewise.
23289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
23290 [GLIBC_2.22]: Likewise.
23291 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
23292 Likewise.
23293 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
23294 Likewise.
23295 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
23296 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
23297 [GLIBC_2.22]: Likewise.
23298 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
23299 [GLIBC_2.22]: Likewise.
23300 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
23301 [GLIBC_2.22]: Likewise.
23302 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
23303 [GLIBC_2.22]: Likewise.
23304 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
23305 Likewise.
23306 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
23307 Likewise.
23308 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
23309 Likewise.
23310 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
23311 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
23312
23313 2015-07-08 Carlos O'Donell <carlos@redhat.com>
23314
23315 [BZ #18643]
23316 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
23317 IPV6_PATHMTU, and IPV6_DONTFRAG.
23318
23319 2015-07-08 Feng Gao <gfree.wind@gmail.com>
23320
23321 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
23322 and _IO_UNBUFFERED.
23323 * libio/oldfileops.c: Likewise.
23324 * libio/wfileops.c: Likewise.
23325
23326 2015-07-08 Mike Frysinger <vapier@gentoo.org>
23327
23328 * nscd/selinux.c: Delete selinux/flask.h include.
23329
23330 2015-07-08 Mike Frysinger <vapier@gentoo.org>
23331
23332 [BZ #18641]
23333 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
23334 (putpwent): Likewise.
23335 (getpwnam): Likewise.
23336 (getpwent_r): Likewise.
23337 (getpwuid_r): Likewise.
23338 (getpwnam_r): Likewise.
23339 (fgetpwent_r): Likewise.
23340
23341 2015-07-08 Carlos O'Donell <carlos@redhat.com>
23342
23343 [BZ #18557]
23344 * inet/rcmd.c (__validuser2_sa): Check user first to
23345 short-circuit host check.
23346
23347 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
23348 Mikhail Ilin <m.ilin@samsung.com>
23349
23350 [BZ #17833]
23351 * elf/Makefile (tests): Add tst-nodelete.
23352 (modules-names): Add tst-nodelete-uniquemod.
23353 (tst-nodelete-uniquemod.so-no-z-defs): New.
23354 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
23355 (tst-nodelete-zmod.so-no-z-defs): Likewise.
23356 ($(objpfx)tst-nodelete): Likewise.
23357 ($(objpfx)tst-nodelete.out): Likewise.
23358 (LDFLAGS-tst-nodelete): Likewise.
23359 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
23360 * elf/dl-close.c (_dl_close_worker): Add a parameter to
23361 implement forced object deletion.
23362 (_dl_close): Pass false to _dl_close_worker.
23363 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
23364 * elf/tst-nodelete.cc: New file.
23365 * elf/tst-nodeletelib.cc: Likewise.
23366 * elf/tst-znodeletelib.cc: Likewise.
23367 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
23368
23369 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
23370
23371 [BZ #18508]
23372 * stdlib/Makefile ($(objpfx)tst-makecontext3):
23373 Depend on $(libdl).
23374 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
23375 is not called infinitely times.
23376 (backtrace_helper): New function.
23377 (trace_arg): New struct.
23378 (st1): Enlarge stack size.
23379 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
23380 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
23381 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
23382 Likewise.
23383
23384 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
23385
23386 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
23387
23388 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
23389
23390 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
23391 Include sys/types.h instead of bits/types.h.
23392 Remove inclusion of bits/wordsize.h.
23393
23394 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
23395
23396 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
23397 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
23398 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
23399 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
23400 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
23401 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
23402
23403 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
23404
23405 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
23406 link-defines.sym.
23407 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
23408 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
23409 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
23410 and LR_SIZE.
23411 * sysdeps/i386/link-defines.sym: New file.
23412
23413 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
23414
23415 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
23416 (modules-names): Add tst-auditmod3a tst-auditmod3b.
23417 ($(objpfx)tst-audit3): New rule.
23418 ($(objpfx)tst-audit3.out): Likewise.
23419 * sysdeps/i386/tst-audit3.c: New file.
23420 * sysdeps/i386/tst-audit3.h: Likewise.
23421 * sysdeps/i386/tst-auditmod3a.c: Likewise.
23422 * sysdeps/i386/tst-auditmod3b.c: Likewise.
23423
23424 2015-07-07 Torvald Riegel <triegel@redhat.com>
23425
23426 [BZ #18633]
23427 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
23428 pointer in C code.
23429 (__strcat_c): Likewise.
23430 (__strcat_g): Likewise.
23431
23432 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
23433
23434 [BZ #18592]
23435 * misc/sbrk.c: Set errno to ENOMEM on overflow.
23436
23437 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
23438
23439 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
23440 New function. (__ieee754_sqrtf): New function.
23441 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
23442 New function.
23443 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
23444 New function.
23445
23446 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
23447
23448 * sysdeps/ieee754/support.c: Remove unused file.
23449
23450 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
23451
23452 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
23453 registers instead of d ones so the layout is kernel abi compatible.
23454 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
23455 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
23456 Likewise.
23457
23458 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
23459
23460 * sysdeps/aarch64/libm-test-ulps: Regenerated.
23461
23462 2015-07-01 Joseph Myers <joseph@codesourcery.com>
23463
23464 [BZ #18619]
23465 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
23466 and return argument in case of subnormal argument.
23467
23468 2015-07-01 Martin Sebor <msebor@redhat.com>
23469
23470 [BZ #18435]
23471 * nptl/Makefile: Add tst-once5.cc.
23472 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
23473 Remove macro redefinitions.
23474 * nptl/tst-once5.cc: New test.
23475
23476 2015-07-01 Joseph Myers <joseph@codesourcery.com>
23477
23478 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23479
23480 * sysdeps/arm/libm-test-ulps: Regenerated.
23481
23482 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
23483 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23484
23485 2015-06-30 Torvald Riegel <triegel@redhat.com>
23486
23487 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
23488 lll_lock_wait_private and lll_futex_wake probes.
23489
23490 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
23491 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
23492 Likewise.
23493 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
23494 atomic_spin_nop.
23495 * sysdeps/x86_64/bits/atomic.h: Likewise.
23496 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
23497 to atomic_spin_nop and move ...
23498 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
23499 ... here and ...
23500 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
23501 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
23502 atomic_spin_nop instead of BUSY_WAIT_NOP.
23503 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
23504 Likewise.
23505 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
23506 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
23507 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
23508 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
23509 instead of atomic_delay.
23510
23511 2015-06-29 Joseph Myers <joseph@codesourcery.com>
23512
23513 [BZ #18613]
23514 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
23515 X_ADJ not X when adjusting exponent.
23516 (__ieee754_gamma_r): Do intermediate computations in
23517 round-to-nearest then adjust overflowing and underflowing results
23518 as needed.
23519 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
23520 of X_ADJ not X when adjusting exponent.
23521 (__ieee754_gammaf_r): Do intermediate computations in
23522 round-to-nearest then adjust overflowing and underflowing results
23523 as needed.
23524 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
23525 log of X_ADJ not X when adjusting exponent.
23526 (__ieee754_gammal_r): Do intermediate computations in
23527 round-to-nearest then adjust overflowing and underflowing results
23528 as needed. Use 1.0L not 1.0f as numerator of division.
23529 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
23530 log of X_ADJ not X when adjusting exponent.
23531 (__ieee754_gammal_r): Do intermediate computations in
23532 round-to-nearest then adjust overflowing and underflowing results
23533 as needed. Use 1.0L not 1.0f as numerator of division.
23534 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
23535 of X_ADJ not X when adjusting exponent.
23536 (__ieee754_gammal_r): Do intermediate computations in
23537 round-to-nearest then adjust overflowing and underflowing results
23538 as needed. Use 1.0L not 1.0f as numerator of division.
23539 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
23540 to auto-libm-test-in.
23541 (tgamma_test): Use ALL_RM_TEST.
23542 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
23543 tests of tgamma with spurious-overflow.
23544 * math/auto-libm-test-out: Regenerated.
23545 * math/gen-libm-have-vector-test.sh: Do not check for START.
23546 * sysdeps/i386/fpu/libm-test-ulps: Update.
23547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23548
23549 [BZ #18612]
23550 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
23551 arguments, just return 0.5 times the argument, with underflow
23552 forced as needed.
23553 * math/auto-libm-test-in: Add more tests of j1.
23554 * math/auto-libm-test-out: Regenerated.
23555
23556 [BZ #16559]
23557 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
23558 (__ieee754_j1): Force underflow exception for small results.
23559 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
23560 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
23561 (__ieee754_j1f): Force underflow exception for small results.
23562 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
23563 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
23564 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
23565 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
23566 (__ieee754_j1l): Force underflow exception for small results.
23567 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
23568 * math/auto-libm-test-in: Add more tests of j1 and jn.
23569 * math/auto-libm-test-out: Regenerated.
23570
23571 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
23572 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
23573 (PF_MPLS): Likewise.
23574 (AF_IB): Likewise.
23575 (AF_MPLS): Likewise.
23576 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
23577 value and macro.
23578 (MS_RMT_MASK): Include MS_LAZYTIME.
23579
23580 2015-06-26 Mel Gorman <mgorman@suse.de>
23581
23582 [BZ #18502]
23583 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
23584 already minimal.
23585
23586 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
23587
23588 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
23589 (DT_MIPS_NUM): Update.
23590 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
23591 DT_MIPS_RLD_MAP_REL.
23592
23593 2015-06-25 Joseph Myers <joseph@codesourcery.com>
23594
23595 [BZ #16559]
23596 [BZ #18602]
23597 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
23598 round-to-nearest internally then recompute results that
23599 underflowed to zero in the original rounding mode.
23600 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
23601 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
23602 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
23603 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
23604 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
23605 * sysdeps/i386/fpu/libm-test-ulps: Update.
23606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23607
23608 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
23609
23610 * NEWS: Fixed description of link with vector math library.
23611
23612 2015-06-25 Andreas Schwab <schwab@suse.de>
23613
23614 [BZ #18549]
23615 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
23616 * libio/test-fmemopen.c (do_test): Add test for it.
23617
23618 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
23619
23620 [BZ #17841]
23621 * Makeconfig (no-pie-ldflag): New.
23622 (+link): Set to $(+link-pie) if default to PIE.
23623 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
23624 * config.make.in (build-pie-default): New.
23625 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
23626 is default. AC_SUBST.
23627 * configure: Regenerated.
23628 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
23629
23630 2015-06-24 Roland McGrath <roland@hack.frob.com>
23631
23632 * nptl/descr.h (struct pthread): Change type of field setxid_futex
23633 to 'unsigned int'.
23634
23635 * resolv/gai_misc.h (struct waitlist): Change type of field
23636 counterp to 'volatile unsigned int *'.
23637 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
23638 FUTEXADDR and OLDVAL.
23639 * resolv/getaddrinfo_a.c (getaddrinfo_a):
23640 Give local variable TOTAL type 'volatile unsigned int'.
23641 (struct async_waitlist): Change type of field counter to 'unsigned int'.
23642 * resolv/gai_suspend.c (gai_suspend):
23643 Give local variable CNTR type 'unsigned int'.
23644
23645 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
23646 counterp to 'volatile unsigned int *'.
23647 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
23648 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
23649 (aio_suspend): Give local variable CNTR type 'unsigned int'.
23650 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
23651 Give local variable TOTAL type 'volatile unsigned int'.
23652 (struct async_waitlist): Change type of field counter to 'unsigned int'.
23653
23654 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
23655
23656 [BZ #18383]
23657 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
23658 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
23659 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
23660 comment for i386/x86-64.
23661 (test-xfail-tst-tlsalign-extern-static): Removed.
23662
23663 2015-06-24 Joseph Myers <joseph@codesourcery.com>
23664
23665 * math/test-double.h: New file.
23666 * math/test-float.h: Likewise.
23667 * math/test-ldouble.h: Likewise.
23668 * math/test-math-inline.h: Likewise.
23669 * math/test-math-no-inline.h: Likewise.
23670 * math/test-math-scalar.h: Likewise.
23671 * math/test-math-vector.h: Likewise.
23672 * math/test-vec-loop.h: Remove file. Contents moved into
23673 test-math-vector.h.
23674 * math/libm-test.inc (MATHCONST): Do not document macro.
23675 * math/test-double.c: Include test-double.h, test-math-no-inline.h
23676 and test-math-scalar.h.
23677 (FUNC): Remove macro.
23678 (FUNC_TEST): Likewise.
23679 (FLOAT): Likewise.
23680 (MATHCONST): Likewise.
23681 (PRINTF_EXPR): Likewise.
23682 (PRINTF_XEXPR): Likewise.
23683 (PRINTF_NEXPR): Likewise.
23684 (TEST_DOUBLE): Likewise.
23685 (TEST_MATHVEC): Likewise.
23686 (__NO_MATH_INLINES): Likewise.
23687 * math/test-float.c: Include test-float.h, test-math-no-inline.h
23688 and test-math-scalar.h.
23689 (FUNC): Remove macro.
23690 (FUNC_TEST): Likewise.
23691 (FLOAT): Likewise.
23692 (MATHCONST): Likewise.
23693 (PRINTF_EXPR): Likewise.
23694 (PRINTF_XEXPR): Likewise.
23695 (PRINTF_NEXPR): Likewise.
23696 (TEST_FLOAT): Likewise.
23697 (TEST_MATHVEC): Likewise.
23698 (__NO_MATH_INLINES): Likewise.
23699 * math/test-idouble.c: Include test-double.h, test-math-inline.h
23700 and test-math-scalar.h.
23701 (FUNC): Remove macro.
23702 (FUNC_TEST): Likewise.
23703 (FLOAT): Likewise.
23704 (MATHCONST): Likewise.
23705 (PRINTF_EXPR): Likewise.
23706 (PRINTF_XEXPR): Likewise.
23707 (PRINTF_NEXPR): Likewise.
23708 (TEST_DOUBLE): Likewise.
23709 (TEST_MATHVEC): Likewise.
23710 (TEST_INLINE): Likewise.
23711 (__NO_MATH_INLINES): Likewise.
23712 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
23713 test-math-scalar.h.
23714 (FUNC): Remove macro.
23715 (FUNC_TEST): Likewise.
23716 (FLOAT): Likewise.
23717 (MATHCONST): Likewise.
23718 (PRINTF_EXPR): Likewise.
23719 (PRINTF_XEXPR): Likewise.
23720 (PRINTF_NEXPR): Likewise.
23721 (TEST_FLOAT): Likewise.
23722 (TEST_MATHVEC): Likewise.
23723 (TEST_INLINE): Likewise.
23724 (__NO_MATH_INLINES): Likewise.
23725 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
23726 and test-math-scalar.h.
23727 (FUNC): Remove macro.
23728 (FUNC_TEST): Likewise.
23729 (FLOAT): Likewise.
23730 (MATHCONST): Likewise.
23731 (PRINTF_EXPR): Likewise.
23732 (PRINTF_XEXPR): Likewise.
23733 (PRINTF_NEXPR): Likewise.
23734 (TEST_LDOUBLE): Likewise.
23735 (TEST_MATHVEC): Likewise.
23736 (TEST_INLINE): Likewise.
23737 (__NO_MATH_INLINES): Likewise.
23738 * math/test-ldouble.c: Include test-ldouble.h,
23739 test-math-no-inline.h and test-math-scalar.h.
23740 (FUNC): Remove macro.
23741 (FUNC_TEST): Likewise.
23742 (FLOAT): Likewise.
23743 (MATHCONST): Likewise.
23744 (PRINTF_EXPR): Likewise.
23745 (PRINTF_XEXPR): Likewise.
23746 (PRINTF_NEXPR): Likewise.
23747 (TEST_LDOUBLE): Likewise.
23748 (TEST_MATHVEC): Likewise.
23749 (__NO_MATH_INLINES): Likewise.
23750 * math/test-double-vlen2.h: Include test-double.h,
23751 test-math-no-inline.h and test-math-vector.h.
23752 (FLOAT): Remove macro.
23753 (FUNC): Likewise.
23754 (MATHCONST): Likewise.
23755 (PRINTF_EXPR): Likewise.
23756 (PRINTF_XEXPR): Likewise.
23757 (PRINTF_NEXPR): Likewise.
23758 (TEST_DOUBLE): Likewise.
23759 (TEST_MATHVEC): Likewise.
23760 (__NO_MATH_INLINES): Likewise.
23761 (CNCT): Likewise.
23762 (CONCAT): Likewise.
23763 (WRAPPER_NAME): Likewise.
23764 (WRAPPER_DECL): Likewise.
23765 (WRAPPER_DECL_ff): Likewise.
23766 (WRAPPER_DECL_fFF): Likewise.
23767 (VECTOR_WRAPPER): Likewise.
23768 (VECTOR_WRAPPER_ff): Likewise.
23769 (VECTOR_WRAPPER_fFF): Likewise.
23770 (VEC_LEN): New macro.
23771 * math/test-double-vlen4.h: Include test-double.h,
23772 test-math-no-inline.h and test-math-vector.h.
23773 (FLOAT): Remove macro.
23774 (FUNC): Likewise.
23775 (MATHCONST): Likewise.
23776 (PRINTF_EXPR): Likewise.
23777 (PRINTF_XEXPR): Likewise.
23778 (PRINTF_NEXPR): Likewise.
23779 (TEST_DOUBLE): Likewise.
23780 (TEST_MATHVEC): Likewise.
23781 (__NO_MATH_INLINES): Likewise.
23782 (CNCT): Likewise.
23783 (CONCAT): Likewise.
23784 (WRAPPER_NAME): Likewise.
23785 (WRAPPER_DECL): Likewise.
23786 (WRAPPER_DECL_ff): Likewise.
23787 (WRAPPER_DECL_fFF): Likewise.
23788 (VECTOR_WRAPPER): Likewise.
23789 (VECTOR_WRAPPER_ff): Likewise.
23790 (VECTOR_WRAPPER_fFF): Likewise.
23791 (VEC_LEN): New macro.
23792 * math/test-double-vlen8.h: Include test-double.h,
23793 test-math-no-inline.h and test-math-vector.h.
23794 (FLOAT): Remove macro.
23795 (FUNC): Likewise.
23796 (MATHCONST): Likewise.
23797 (PRINTF_EXPR): Likewise.
23798 (PRINTF_XEXPR): Likewise.
23799 (PRINTF_NEXPR): Likewise.
23800 (TEST_DOUBLE): Likewise.
23801 (TEST_MATHVEC): Likewise.
23802 (__NO_MATH_INLINES): Likewise.
23803 (CNCT): Likewise.
23804 (CONCAT): Likewise.
23805 (WRAPPER_NAME): Likewise.
23806 (WRAPPER_DECL): Likewise.
23807 (WRAPPER_DECL_ff): Likewise.
23808 (WRAPPER_DECL_fFF): Likewise.
23809 (VECTOR_WRAPPER): Likewise.
23810 (VECTOR_WRAPPER_ff): Likewise.
23811 (VECTOR_WRAPPER_fFF): Likewise.
23812 (VEC_LEN): New macro.
23813 * math/test-float-vlen4.h: Include test-float.h,
23814 test-math-no-inline.h and test-math-vector.h.
23815 (FLOAT): Remove macro.
23816 (FUNC): Likewise.
23817 (MATHCONST): Likewise.
23818 (PRINTF_EXPR): Likewise.
23819 (PRINTF_XEXPR): Likewise.
23820 (PRINTF_NEXPR): Likewise.
23821 (TEST_FLOAT): Likewise.
23822 (TEST_MATHVEC): Likewise.
23823 (__NO_MATH_INLINES): Likewise.
23824 (CNCT): Likewise.
23825 (CONCAT): Likewise.
23826 (WRAPPER_NAME): Likewise.
23827 (WRAPPER_DECL): Likewise.
23828 (WRAPPER_DECL_ff): Likewise.
23829 (WRAPPER_DECL_fFF): Likewise.
23830 (VECTOR_WRAPPER): Likewise.
23831 (VECTOR_WRAPPER_ff): Likewise.
23832 (VECTOR_WRAPPER_fFF): Likewise.
23833 (VEC_LEN): New macro.
23834 * math/test-float-vlen8.h: Include test-float.h,
23835 test-math-no-inline.h and test-math-vector.h.
23836 (FLOAT): Remove macro.
23837 (FUNC): Likewise.
23838 (MATHCONST): Likewise.
23839 (PRINTF_EXPR): Likewise.
23840 (PRINTF_XEXPR): Likewise.
23841 (PRINTF_NEXPR): Likewise.
23842 (TEST_FLOAT): Likewise.
23843 (TEST_MATHVEC): Likewise.
23844 (__NO_MATH_INLINES): Likewise.
23845 (CNCT): Likewise.
23846 (CONCAT): Likewise.
23847 (WRAPPER_NAME): Likewise.
23848 (WRAPPER_DECL): Likewise.
23849 (WRAPPER_DECL_ff): Likewise.
23850 (WRAPPER_DECL_fFF): Likewise.
23851 (VECTOR_WRAPPER): Likewise.
23852 (VECTOR_WRAPPER_ff): Likewise.
23853 (VECTOR_WRAPPER_fFF): Likewise.
23854 (VEC_LEN): New macro.
23855 * math/test-float-vlen16.h: Include test-float.h,
23856 test-math-no-inline.h and test-math-vector.h.
23857 (FLOAT): Remove macro.
23858 (FUNC): Likewise.
23859 (MATHCONST): Likewise.
23860 (PRINTF_EXPR): Likewise.
23861 (PRINTF_XEXPR): Likewise.
23862 (PRINTF_NEXPR): Likewise.
23863 (TEST_FLOAT): Likewise.
23864 (TEST_MATHVEC): Likewise.
23865 (__NO_MATH_INLINES): Likewise.
23866 (CNCT): Likewise.
23867 (CONCAT): Likewise.
23868 (WRAPPER_NAME): Likewise.
23869 (WRAPPER_DECL): Likewise.
23870 (WRAPPER_DECL_ff): Likewise.
23871 (WRAPPER_DECL_fFF): Likewise.
23872 (VECTOR_WRAPPER): Likewise.
23873 (VECTOR_WRAPPER_ff): Likewise.
23874 (VECTOR_WRAPPER_fFF): Likewise.
23875 (VEC_LEN): New macro.
23876 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
23877 test-vec-loop.h.
23878 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
23879 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
23880 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
23881 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
23882 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
23883 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
23884 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
23885
23886 2015-06-24 Roland McGrath <roland@hack.frob.com>
23887
23888 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
23889 (__getlogin_r): ... this.
23890
23891 2015-06-24 Joseph Myers <joseph@codesourcery.com>
23892
23893 [BZ #18594]
23894 * math/s_ccosh.c (__ccosh): Compare with least normal value
23895 instead of comparing class with FP_SUBNORMAL.
23896 * math/s_ccoshf.c (__ccoshf): Likewise.
23897 * math/s_ccoshl.c (__ccoshl): Likewise.
23898 * math/s_cexp.c (__cexp): Likewise.
23899 * math/s_cexpf.c (__cexpf): Likewise.
23900 * math/s_cexpl.c (__cexpl): Likewise.
23901 * math/s_csin.c (__csin): Likewise.
23902 * math/s_csinf.c (__csinf): Likewise.
23903 * math/s_csinh.c (__csinh): Likewise.
23904 * math/s_csinhf.c (__csinhf): Likewise.
23905 * math/s_csinhl.c (__csinhl): Likewise.
23906 * math/s_csinl.c (__csinl): Likewise.
23907 * math/s_ctan.c (__ctan): Likewise.
23908 * math/s_ctanf.c (__ctanf): Likewise.
23909 * math/s_ctanh.c (__ctanh): Likewise.
23910 * math/s_ctanhf.c (__ctanhf): Likewise.
23911 * math/s_ctanhl.c (__ctanhl): Likewise.
23912 * math/s_ctanl.c (__ctanl): Likewise.
23913 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
23914 csin, csinh, ctan and ctanh.
23915 * math/auto-libm-test-out: Regenerated.
23916 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
23917 * sysdeps/i386/fpu/libm-test-ulps: Update.
23918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23919
23920 2015-06-24 Roland McGrath <roland@hack.frob.com>
23921
23922 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
23923 return value is wrong, print the expected value too.
23924
23925 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
23926
23927 [BZ #18585]
23928 * elf/readlib.c (is_gdb_python_file): New.
23929 (process_file): Don't issue errors on filenames with -gdb.py
23930 suffix.
23931
23932 2015-06-24 Joseph Myers <joseph@codesourcery.com>
23933
23934 * math/auto-libm-test-in: Add more tests of csin and csinh.
23935 * math/auto-libm-test-out: Regenerated.
23936 * math/libm-test.inc (csin_test_data): Remove tests moved to
23937 auto-libm-test-in.
23938 (csinh_test_data): Likewise.
23939
23940 [BZ #18593]
23941 * math/s_csin.c (__csin): Negate before rather than after possibly
23942 overflowing multiplication.
23943 * math/s_csinf.c (__csinf): Likewise.
23944 * math/s_csinh.c (__csinh): Likewise.
23945 * math/s_csinhf.c (__csinhf): Likewise.
23946 * math/s_csinhl.c (__csinhl): Likewise.
23947 * math/s_csinl.c (__csinl): Likewise.
23948 * math/auto-libm-test-in: Add some tests of csin and csinh.
23949 * math/auto-libm-test-out: Regenerated.
23950 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
23951 (csinh_test_data): Likewise.
23952 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23953
23954 [BZ #18586]
23955 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
23956 underflow exception for small results.
23957
23958 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
23959
23960 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
23961 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
23962 variable and included header.
23963 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
23964 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
23965 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
23966 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
23967 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
23968 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
23969 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
23970 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
23971 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
23972 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
23973 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
23974 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
23975 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
23976 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
23977 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
23978 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
23979
23980 2015-06-23 Joseph Myers <joseph@codesourcery.com>
23981
23982 [BZ #16526]
23983 [BZ #16538]
23984 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
23985 (__sin): Force underflow exception for arguments with small
23986 absolute value.
23987 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
23988 (__kernel_sinf): Force underflow exception for arguments with
23989 small absolute value.
23990 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
23991 (__kernel_sincosl): Force underflow exception for arguments with
23992 small absolute value.
23993 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
23994 (__kernel_sinl): Force underflow exception for arguments with
23995 small absolute value.
23996 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
23997 (__kernel_sincosl): Force underflow exception for arguments with
23998 small absolute value.
23999 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
24000 (__kernel_sinl): Force underflow exception for arguments with
24001 small absolute value.
24002 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
24003 (__kernel_sinl): Force underflow exception for arguments with
24004 small absolute value.
24005 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
24006 (__kernel_sinf): Force underflow exception for arguments with
24007 small absolute value.
24008 * math/auto-libm-test-in: Add more tests of sin and sincos.
24009 * math/auto-libm-test-out: Regenerated.
24010
24011 [BZ #18245]
24012 [BZ #18583]
24013 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
24014 (__kernel_standard_l): Use feholdexcept and fesetenv around
24015 conversion to double instead of special-casing overflow and
24016 underflow.
24017 * math/libm-test.inc (fmod_test_data): Add more tests.
24018 (remainder_test_data): Likewise.
24019 (sqrt_test_data): Likewise.
24020
24021 2015-06-23 Torvald Riegel <triegel@redhat.com>
24022
24023 [BZ #17403]
24024 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
24025 atomic_read_barrier, atomic_write_barrier): Define.
24026 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
24027 atomic_read_barrier, atomic_write_barrier): Define.
24028
24029 2015-06-23 Joseph Myers <joseph@codesourcery.com>
24030
24031 * math/Makefile [$(PERL) != no]
24032 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
24033 dependency on libm-test.stmp below the inclusion of Rules.
24034
24035 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
24036
24037 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
24038 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
24039 and included header.
24040 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
24041 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
24042 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
24043 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
24044 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
24045 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
24046 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
24047 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
24048 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
24049 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
24050 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
24051 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
24052 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
24053 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
24054 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
24055 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
24056 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
24057 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
24058 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
24059
24060 2015-06-23 Joseph Myers <joseph@codesourcery.com>
24061
24062 [BZ #18371]
24063 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
24064 intermediate but not final result might underflow.
24065 * math/s_csqrtf.c (__csqrtf): Likewise.
24066 * math/s_csqrtl.c (__csqrtl): Likewise.
24067 * math/auto-libm-test-in: Add more tests of csqrt.
24068 * math/auto-libm-test-out: Regenerated.
24069 * sysdeps/i386/fpu/libm-test-ulps: Update.
24070
24071 [BZ #18219]
24072 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
24073 threshold on absolute value of exponent for which scaling is used.
24074 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
24075 * math/auto-libm-test-in: Add more tests of exp2.
24076 * math/auto-libm-test-out: Regenerated.
24077
24078 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
24079
24080 [BZ #17977]
24081 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
24082 when initializing interface list, based on the bug analysis
24083 and the patch proposed by Eric Newton.
24084 * resolv/tst-res_hconf_reorder.c: New test.
24085 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
24086 tst-res_hconf_reorder.
24087 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
24088 and $(shared-thread-library).
24089 (tst-res_hconf_reorder-ENV): New variable.
24090
24091 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
24092 in comment.
24093
24094 2015-06-22 Joseph Myers <joseph@codesourcery.com>
24095
24096 [BZ #16353]
24097 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
24098 (__expm1): Force underflow exception for arguments with small
24099 absolute value.
24100 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
24101 (__expm1f): Force underflow exception for arguments with small
24102 absolute value.
24103 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
24104 (__expm1): Force underflow exception for arguments with small
24105 absolute value.
24106 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
24107 (__expm1f): Force underflow exception for arguments with small
24108 absolute value.
24109 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
24110 Check for small arguments before calling __expm1.
24111 * math/auto-libm-test-in: Do not mark underflow exceptions as
24112 possibly missing for bug 16353.
24113 * math/auto-libm-test-out: Regenerated.
24114
24115 2015-06-22 Andreas Schwab <schwab@suse.de>
24116
24117 [BZ #18513]
24118 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
24119 PTR queries.
24120
24121 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
24122
24123 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
24124
24125 * string/strcoll_l.c: Remove unused struct element idxnow.
24126
24127 2015-06-21 Joseph Myers <joseph@codesourcery.com>
24128
24129 [BZ #18569]
24130 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
24131 underflow and return argument in case of subnormal argument.
24132 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
24133 Likewise.
24134 * math/auto-libm-test-in: Add more tests of expm1.
24135 * math/auto-libm-test-out: Regenerated.
24136
24137 [BZ #16361]
24138 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
24139 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
24140 tiny results.
24141 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
24142 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
24143 tiny results.
24144 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
24145 mark underflow exceptions as possibly missing for bug 16361.
24146 * math/auto-libm-test-out: Regenerated.
24147
24148 2015-06-19 Joseph Myers <joseph@codesourcery.com>
24149
24150 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
24151 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
24152 Remove variable.
24153 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
24154 (test-xfail-XOPEN2K8/utmpx.h/conform).
24155
24156 * conform/conformtest.pl ($xerrors): New variable.
24157 (note_error): New function.
24158 (compiletest): New argument $xfail. Use not_error.
24159 (runtest): Likewise.
24160 (top level): Handle xfail- lines. Update calls to compiletest and
24161 runtest. Handle xfail- and optional- in headers listed with
24162 allow-header.
24163 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
24164 (O_EXEC): Likewise.
24165 (O_SEARCH): Likewise.
24166 * conform/data/stropts.h-data (ioctl): Likewise.
24167 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
24168 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
24169 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
24170 (msghdr.msg_controllen): Likewise.
24171 (cmsghdr.cmsg_len): Likewise.
24172 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
24173 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
24174 variable.
24175 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
24176 (test-xfail-XPG4/stropts.h/conform): Likewise.
24177 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
24178 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
24179 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
24180 (test-xfail-UNIX98/stropts.h/conform): Likewise.
24181 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
24182 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
24183 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
24184 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
24185 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
24186 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
24187 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
24188 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
24189 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
24190 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
24191 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
24192 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
24193 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
24194 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
24195 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
24196
24197 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
24198
24199 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
24200 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
24201 definitions for proper unfolding of __MATHDECL_VEC.
24202
24203 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
24204
24205 * benchtests/bench-strcoll.c:
24206 Include string.h.
24207 (main): Remove unused variable res.
24208
24209 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
24210
24211 * timezone/Makefile (%/UTC %/Universal):
24212 Generate test-result files for UTC and Universal.
24213
24214 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
24215
24216 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
24217
24218 2015-06-18 Joseph Myers <joseph@codesourcery.com>
24219
24220 [BZ #16350]
24221 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
24222 for arguments with small absolute value.
24223 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
24224 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
24225 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
24226 (__asinh): Force underflow exception for arguments with small
24227 absolute value.
24228 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
24229 (__asinhf): Force underflow exception for arguments with small
24230 absolute value.
24231 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
24232 (__asinhl): Force underflow exception for arguments with small
24233 absolute value.
24234 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
24235 (__asinhl): Force underflow exception for arguments with small
24236 absolute value.
24237 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
24238 (__asinhl): Force underflow exception for arguments with small
24239 absolute value.
24240 * math/auto-libm-test-in: Do not mark underflow exceptions as
24241 possibly missing for bug 16350.
24242 * math/auto-libm-test-out: Regenerated.
24243
24244 * include/bits/ipc.h: Remove file.
24245 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
24246 variable.
24247 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
24248 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
24249 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
24250 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
24251 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
24252 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
24253 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
24254 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
24255 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
24256
24257 * math/auto-libm-test-in: Remove spurious underflow allowance for
24258 tests of cexp.
24259 * math/auto-libm-test-out: Regenerated.
24260
24261 [BZ #18558]
24262 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
24263 unconditional definition.
24264 (MCAST_BLOCK_SOURCE): Likewise.
24265 (MCAST_UNBLOCK_SOURCE): Likewise.
24266 (MCAST_LEAVE_GROUP): Likewise.
24267 (MCAST_JOIN_SOURCE_GROUP): Likewise.
24268 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
24269 (MCAST_MSFILTER): Likewise.
24270 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
24271 Remove variable.
24272 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
24273 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
24274 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
24275 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
24276 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
24277
24278 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
24279
24280 * NEWS: Mention addition of x86_64 vector sincosf.
24281 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
24282 * math/test-float-vlen4.h: Likewise.
24283 * math/test-float-vlen8.h: Likewise.
24284 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24285 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
24286 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24287 * sysdeps/x86_64/fpu/Versions: New versions added.
24288 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24289 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
24290 Added build of SSE, AVX2 and AVX512 IFUNC versions.
24291 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
24292 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
24293 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
24294 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
24295 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
24296 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
24297 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
24298 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
24299 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
24300 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
24301 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
24302 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
24303 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
24304 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
24305 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
24306 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24307 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
24308 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24309 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
24310 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24311 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
24312
24313 * NEWS: Mention addition of x86_64 vector sincos.
24314 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
24315 * math/math.h (__MATHDECL_VEC): New macro.
24316 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
24317 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
24318 declaration under condition.
24319 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
24320 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
24321 TEST_VEC_LOOP change.
24322 * math/test-double-vlen4.h: Likewise.
24323 * math/test-double-vlen8.h: Likewise.
24324 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
24325 * math/test-float-vlen4.h: Likewise.
24326 * math/test-float-vlen8.h: Likewise.
24327 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24328 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
24329 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24330 * sysdeps/x86_64/fpu/Versions: New versions added.
24331 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24332 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
24333 Added build of SSE, AVX2 and AVX512 IFUNC versions.
24334 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
24335 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
24336 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
24337 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
24338 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
24339 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
24340 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
24341 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
24342 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
24343 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
24344 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
24345 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
24346 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
24347 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
24348 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
24349 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
24350 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
24351 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
24352 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
24353 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
24354 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
24355
24356 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24357 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
24358 redirections for powf.
24359 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24360 * sysdeps/x86_64/fpu/Versions: New versions added.
24361 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24362 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
24363 Added build of SSE, AVX2 and AVX512 IFUNC versions.
24364 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
24365 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
24366 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
24367 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
24368 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
24369 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
24370 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
24371 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
24372 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
24373 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
24374 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
24375 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
24376 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
24377 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
24378 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
24379 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24380 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
24381 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24382 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
24383 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24384 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
24385 * math/test-float-vlen16.h: Fixed 2 argument macro.
24386 * math/test-float-vlen4.h: Likewise.
24387 * math/test-float-vlen8.h: Likewise.
24388 * NEWS: Mention addition of x86_64 vector powf.
24389
24390 2015-06-17 Joseph Myers <joseph@codesourcery.com>
24391
24392 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24393 and redefine.
24394 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24395 and redefine.
24396 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
24397 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
24398 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
24399
24400 [BZ #18553]
24401 * resource/getpriority.c (getpriority): Rename to __getpriority
24402 and define as weak alias of __getpriority.
24403 * resource/setpriority.c (setpriority): Rename to __setpriority
24404 and define as weak alias of __setpriority.
24405 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
24406 __getpriority and define as weak alias of __getpriority.
24407 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
24408 __setpriority and define as weak alias of __setpriority.
24409 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
24410 strong name.
24411 (setpriority): Use __setpriority as strong name.
24412 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
24413 __getpriority and define as weak alias of __getpriority.
24414 * include/sys/resource.h (__getpriority): Declare. Use
24415 libc_hidden_proto.
24416 (__setpriority): Likewise.
24417 (getpriority): Don't use libc_hidden_proto.
24418 (setpriority): Likewise.
24419 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
24420 getpriority. Call __setpriority instead of setpriority.
24421 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
24422 Remove variable.
24423
24424 [BZ #18547]
24425 * misc/getttyent.c (getttynam): Rename to __getttynam and define
24426 as weak alias of __getttynam. Use prototype function definition.
24427 Call __setttyent, __getttyent and __endttyent instead of
24428 setttyent, getttyent and endttyent.
24429 (getttyent): Rename to __getttyent and define as weak alias of
24430 __getttyent. Call __setttyent instead of setttyent. Call
24431 __fgets_unlocked instead of fgets_unlocked.
24432 (setttyent): Rename to __setttyent and define as weak alias of
24433 __setttyent.
24434 (endttyent): Rename to __endttyent and define as weak alias of
24435 __endttyent.
24436 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
24437 (__setttyent): Likewise.
24438 (__endttyent): Likewise.
24439 (getttyent): Don't use libc_hidden_proto.
24440 (setttyent): Likewise.
24441 (endttyent): Likewise.
24442 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
24443 __endttyent instead of setttyent, getttyent and endttyent.
24444 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
24445 Remove variable.
24446
24447 [BZ #18546]
24448 * socket/recv.c (__recv): Use libc_hidden_def.
24449 * socket/socket.c (__socket): Likewise.
24450 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
24451 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
24452 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
24453 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
24454 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
24455 libc_hidden_def.
24456 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
24457 libc_hidden_weak.
24458 * include/sys/socket.h (__socket): Do not use attribute_hidden.
24459 Use libc_hidden_proto.
24460 (__recv): Likewise.
24461 * socket/Versions (libc): Export __recv and __socket at version
24462 GLIBC_PRIVATE.
24463 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
24464 instead of recv.
24465 (init_mq_netlink): Call __socket instead of socket.
24466 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
24467 Remove variable.
24468
24469 [BZ #18545]
24470 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
24471 __mq_timedreceive and define as alias of __mq_timedreceive. Use
24472 hidden_weak.
24473 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
24474 define as alias of __mq_timedsend. Use hidden_weak.
24475 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
24476 __mq_timedsend as strong name.
24477 (mq_timedreceive): Use __mq_timedreceive as strong name.
24478 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
24479 (__mq_timedreceive): Likewise.
24480 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
24481 __mq_timedreceive instead of mq_timedreceive.
24482 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
24483 instead of mq_timedsend.
24484 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
24485 Remove variable.
24486
24487 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
24488 hidden_def and hidden_weak instead of libc_hidden_def and
24489 libc_hidden_weak.
24490 (top level): Refer to hidden_def in comment.
24491 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
24492 macro. Use it instead of libc_hidden_def.
24493 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
24494 specify __GI_* name explicitly.
24495 (mq_timedreceive): Likewise.
24496 (mq_setattr): Likewise.
24497
24498 [BZ #18544]
24499 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
24500 __pthread_barrier_init and define as weak alias of
24501 __pthread_barrier_init.
24502 * sysdeps/sparc/nptl/pthread_barrier_init.c
24503 (pthread_barrier_init): Likewise.
24504 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
24505 __pthread_barrier_wait and define as weak alias of
24506 __pthread_barrier_wait.
24507 * sysdeps/sparc/nptl/pthread_barrier_wait.c
24508 (pthread_barrier_wait): Likewise.
24509 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
24510 (pthread_barrier_wait): Likewise.
24511 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
24512 (pthread_barrier_wait): Likewise.
24513 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
24514 (pthread_barrier_wait): Likewise.
24515 * nptl/Versions (libpthread): Export __pthread_barrier_init and
24516 __pthread_barrier_wait at version GLIBC_PRIVATE.
24517 * include/pthread.h (__pthread_barrier_init): Declare.
24518 (__pthread_barrier_wait): Likewise.
24519 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
24520 Call __pthread_barrier_wait instead of pthread_barrier_wait.
24521 (helper_thread): Likewise.
24522 (init_mq_netlink): Call __pthread_barrier_init instead of
24523 pthread_barrier_init.
24524
24525 [BZ #18542]
24526 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
24527 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
24528 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
24529 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
24530 vswscanf.
24531 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
24532 Remove variable.
24533
24534 [BZ #18540]
24535 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
24536 strong alias of _IO_fflush. Use libc_hidden_def.
24537 * libio/iofflush_u.c (fflush_unlocked): Rename to
24538 __fflush_unlocked and define as weak alias of __fflush_unlocked.
24539 Use libc_hidden_weak.
24540 * include/stdio.h (__fflush_unlocked): Declare. Use
24541 libc_hidden_proto.
24542 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
24543 fflush_unlocked.
24544 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
24545 Remove variable.
24546
24547 [BZ #18539]
24548 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
24549 define as weak alias of __addseverity.
24550 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
24551 Remove variable.
24552 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
24553 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
24554 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
24555
24556 [BZ #18536]
24557 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
24558 (__tfind): Likewise.
24559 (__tdelete): Likewise.
24560 (__twalk): Likewise.
24561 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
24562 __twalk to GLIBC_PRIVATE.
24563 * include/search.h (__tsearch): Use libc_hidden_proto.
24564 (__tfind): Likewise.
24565 (__tdelete): Likewise.
24566 (__twalk): Likewise.
24567 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
24568 Call __tdelete instead of tdelete.
24569 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
24570 tfind. Call __tsearch instead of tsearch.
24571 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
24572 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
24573 Remove variable.
24574 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
24575
24576 [BZ #18534]
24577 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
24578 (dprintf): Define as a weak alias of __dprintf, not a strong
24579 alias.
24580 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
24581 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
24582 dprintf.
24583 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
24584 Remove variable.
24585 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
24586 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
24587
24588 [BZ #18533]
24589 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
24590 not a strong alias.
24591 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
24592 Remove variable.
24593
24594 [BZ #18532]
24595 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
24596 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
24597 (in6addr_loopback): Rename to __in6addr_loopback and define as
24598 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
24599 * include/netinet/in.h (__in6addr_loopback): Declare. Use
24600 libc_hidden_proto.
24601 (__in6addr_any): Likewise.
24602 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
24603 in6addr_any.
24604 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
24605 variable.
24606 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
24607
24608 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
24609
24610 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
24611 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
24612 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
24613 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
24614 redirections for pow.
24615 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24616 * sysdeps/x86_64/fpu/Versions: New versions added.
24617 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24618 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
24619 build of SSE, AVX2 and AVX512 IFUNC versions.
24620 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
24621 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
24622 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
24623 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
24624 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
24625 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
24626 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
24627 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
24628 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
24629 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
24630 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
24631 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
24632 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
24633 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
24634 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
24635 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
24636 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
24637 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
24638 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
24639 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
24640 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
24641 * NEWS: Mention addition of x86_64 vector pow.
24642
24643 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24644 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
24645 redirections for expf.
24646 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24647 * sysdeps/x86_64/fpu/Versions: New versions added.
24648 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24649 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
24650 build of SSE, AVX2 and AVX512 IFUNC versions.
24651 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
24652 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
24653 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
24654 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
24655 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
24656 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
24657 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
24658 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
24659 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
24660 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
24661 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
24662 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
24663 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
24664 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
24665 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24666 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
24667 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24668 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
24669 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24670 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
24671 * NEWS: Mention addition of x86_64 vector expf.
24672
24673 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
24674 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
24675 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
24676 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
24677 redirections for exp.
24678 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24679 * sysdeps/x86_64/fpu/Versions: New versions added.
24680 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24681 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
24682 build of SSE, AVX2 and AVX512 IFUNC versions.
24683 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
24684 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
24685 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
24686 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
24687 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
24688 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
24689 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
24690 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
24691 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
24692 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
24693 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
24694 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
24695 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
24696 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
24697 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
24698 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
24699 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
24700 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
24701 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
24702 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
24703 * NEWS: Mention addition of x86_64 vector exp.
24704
24705 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24706 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
24707 redirections for logf.
24708 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24709 * sysdeps/x86_64/fpu/Versions: New versions added.
24710 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24711 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
24712 build of SSE, AVX2 and AVX512 IFUNC versions.
24713 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
24714 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
24715 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
24716 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
24717 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
24718 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
24719 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
24720 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
24721 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
24722 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
24723 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
24724 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
24725 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
24726 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
24727 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24728 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
24729 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24730 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
24731 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24732 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
24733 * NEWS: Mention addition of x86_64 vector logf.
24734
24735 * bits/libm-simd-decl-stubs.h: Added stubs for log.
24736 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
24737 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
24738 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
24739 redirections for log.
24740 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24741 * sysdeps/x86_64/fpu/Versions: New versions added.
24742 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24743 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
24744 build of SSE, AVX2 and AVX512 IFUNC versions.
24745 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
24746 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
24747 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
24748 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
24749 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
24750 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
24751 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
24752 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
24753 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
24754 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
24755 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
24756 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
24757 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
24758 test.
24759 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
24760 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
24761 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
24762 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
24763 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
24764 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
24765 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
24766 * NEWS: Mention addition of x86_64 vector log.
24767
24768 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
24769
24770 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
24771 cfi_adjust_cfa_offset argument.
24772 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
24773 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
24774
24775 [BZ #18034]
24776 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
24777 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
24778 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
24779 ordering using ldar.
24780 (_dl_tlsdesc_dynamic): Likewise.
24781 (_dl_tlsdesc_return_lazy): Likewise.
24782 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
24783 relaxed atomics instead of volatile and synchronize with release store.
24784 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
24785 volatile.
24786 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
24787
24788 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
24789
24790 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24791 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
24792 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24793 * sysdeps/x86_64/fpu/Versions: New versions added.
24794 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24795 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
24796 build of SSE, AVX2 and AVX512 IFUNC versions.
24797 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
24798 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
24799 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
24800 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
24801 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
24802 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
24803 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
24804 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
24805 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
24806 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
24807 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
24808 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
24809 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
24810 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
24811 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24812 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
24813 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24814 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
24815 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24816 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
24817 * NEWS: Mention addition of x86_64 vector sinf.
24818
24819 2015-06-14 Joseph Myers <joseph@codesourcery.com>
24820
24821 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
24822 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
24823 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
24824 Remove variable.
24825 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
24826 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
24827
24828 2015-06-12 Joseph Myers <joseph@codesourcery.com>
24829
24830 [BZ #18530]
24831 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
24832 strong alias of _IO_fputs. Use libc_hidden_def.
24833 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
24834 and define as weak alias of __fputs_unlocked. Use
24835 libc_hidden_weak.
24836 * include/stdio.h (__fputs_unlocked): Declare. Use
24837 libc_hidden_proto.
24838 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
24839 fputs_unlocked.
24840
24841 [BZ #18529]
24842 * resolv/netdb.h [__USE_POSIX]: Change condition to
24843 [__USE_XOPEN2K].
24844 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
24845 not expect.
24846 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
24847 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
24848 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
24849 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
24850 [XPG4 || UNIX98] (AI_ALL): Likewise.
24851 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
24852 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
24853 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
24854 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
24855 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
24856 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
24857 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
24858 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
24859 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
24860 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
24861 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
24862 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
24863 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
24864 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
24865 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
24866 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
24867 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
24868 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
24869 [XPG4 || UNIX98] (gai_strerror): Likewise.
24870 [XPG4 || UNIX98] (getaddrinfo): Likewise.
24871 [XPG4 || UNIX98] (getnameinfo): Likewise.
24872
24873 [BZ #18528]
24874 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
24875 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
24876 __USE_XOPEN2K8].
24877 (getgrent): Likewise.
24878 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
24879 expect.
24880 [XPG3 || POSIX2008] (endgrent): Likewise.
24881 [XPG3] (setgrent): Likewise.
24882 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
24883 variable.
24884 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
24885
24886 [BZ #18527]
24887 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
24888 define as weak alias of __getlogin_r. Use libc_hidden_weak.
24889 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
24890 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
24891 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
24892 * include/unistd.h (__getlogin_r): Declare. Use
24893 libc_hidden_proto.
24894 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
24895 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
24896 variable.
24897 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
24898 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
24899 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
24900
24901 2015-06-12 Martin Sebor <msebor@redhat.com>
24902
24903 [BZ #18512]
24904 * Makerules (check-install-supported): New target.
24905 (install): Add check-install-supported as a dependency.
24906 * manual/install.texi (Installing the C Library): Document
24907 that overriding prefix and exec_prefix is not supported.
24908 Mention DESTDIR.
24909 * INSTALL: Regenerate from the above.
24910
24911 2015-06-12 Joseph Myers <joseph@codesourcery.com>
24912
24913 [BZ #18519]
24914 * posix/Versions (libc): Export __libc_pread at version
24915 GLIBC_PRIVATE.
24916 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
24917 instead of pread.
24918 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
24919 variable.
24920
24921 [BZ #18522]
24922 * misc/efgcvt_r.c
24923 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
24924 (cvt_symbol): Use weak_alias instead of strong_alias.
24925 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
24926 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
24927 Remove variable.
24928 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
24929 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
24930
24931 [BZ #18520]
24932 * inet/herrno.c (h_errno): Rename to __h_errno.
24933 (__libc_h_errno): Define as alias of __h_errno not h_errno.
24934 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
24935 to __h_errno instead of h_errno.
24936 * nptl/herrno.c (h_errno): Rename to __h_errno.
24937 (__h_errno_location): Refer to __h_errno not h_errno.
24938 * resolv/Versions (h_errno): Rename to __h_errno.
24939 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
24940 Remove variable.
24941 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
24942
24943 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
24944
24945 * configure.ac: More strict check for AVX512 assembler support.
24946 * configure: Regenerated.
24947
24948 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
24949 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
24950 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
24951 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
24952 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24953 * sysdeps/x86_64/fpu/Versions: New versions added.
24954 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24955 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
24956 Added build of SSE, AVX2 and AVX512 IFUNC versions.
24957 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
24958 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
24959 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
24960 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
24961 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
24962 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
24963 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
24964 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
24965 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
24966 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
24967 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
24968 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
24969 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
24970 test.
24971 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
24972 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
24973 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
24974 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
24975 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
24976 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
24977 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
24978 * NEWS: Mention addition of x86_64 vector sin.
24979
24980 2015-06-11 Florian Weimer <fweimer@redhat.com>
24981
24982 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
24983 comment.
24984
24985 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
24986
24987 [BZ #18479]
24988 * nptl/pt-interp.c: New file.
24989 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
24990 Add pt-interp.
24991 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
24992 $(common-objpfx)runtime-linker.h.
24993
24994 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
24995
24996 * Makeconfig (+interp): Remove unused variable.
24997 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
24998 only. Depend on $(common-objpfx)runtime-linker.h instead of
24999 $(elf-objpfx)runtime-linker.h.
25000 ($(elf-objpfx)runtime-linker.h): Rename to
25001 $(common-objpfx)runtime-linker.h and move ...
25002 * Makerules [$(build-shared) = yes]: ... here.
25003 * elf/interp.c: Include <runtime-linker.h> instead of
25004 <elf/runtime-linker.h>.
25005
25006 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25007
25008 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
25009 (__gettimeofday_syscall): Remove vsyscall fallback.
25010 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
25011 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
25012 Add syscall fallback function.
25013 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
25014 if vDSO is not present.
25015 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
25016 fallback function.
25017 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
25018 present.
25019 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
25020 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
25021
25022 2015-06-09 Joseph Myers <joseph@codesourcery.com>
25023
25024 [BZ #18497]
25025 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
25026 of wcscmp.
25027 (wcscmp): Define as weak alias of WCSCMP.
25028 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
25029 wcscoll.
25030 (USE_HIDDEN_DEF): Define.
25031 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
25032 __wcscoll. Don't use libc_hidden_weak.
25033 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
25034 wcscmp.
25035 * sysdeps/i386/i686/multiarch/wcscmp-c.c
25036 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
25037 __GI_wcscmp.
25038 (weak_alias): Undefine and redefine.
25039 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
25040 __wcscmp and define as weak alias of __wcscmp.
25041 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
25042 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
25043 (__wcscoll): Likewise.
25044 (wcscmp): Don't use libc_hidden_proto.
25045 (wcscoll): Likewise.
25046 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
25047 wcscoll.
25048 * posix/regexec.c (check_node_accept_bytes): Likewise.
25049 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
25050 variable.
25051 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
25052 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
25053
25054 [BZ #18507]
25055 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
25056 __fstatvfs and define as weak alias of __fstatvfs. Use
25057 libc_hidden_weak.
25058 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
25059 and define as weak alias of __statvfs. Use libc_hidden_weak.
25060 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
25061 Define as alias of __fstatvfs, not fstatvfs.
25062 (fstatvfs64): Likewise.
25063 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
25064 Define as alias of __statvfs, not statvfs.
25065 (statvfs64): Likewise.
25066 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
25067 Remove variable.
25068
25069 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25070
25071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25072 (HAVE_GETCPU_VSYSCALL): Define.
25073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25074 (HAVE_GETCPU_VSYSCALL): Likewise.
25075 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
25076 * sysdeps/unix/sysv/linux/sched_getcpu.c
25077 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
25078 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
25079 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
25080 prototype.
25081 * sysdeps/unix/sysv/linux/x86_64/init-first.c
25082 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
25083 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
25084 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
25085 Define.
25086 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
25087 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
25088 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
25089 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25090
25091 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
25092
25093 * sysdeps/x86_64/fpu/Makefile: New file.
25094 * sysdeps/x86_64/fpu/Versions: New file.
25095 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
25096 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
25097 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
25098 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
25099 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
25100 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
25101 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
25102 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
25103 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
25104 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
25105 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
25106 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
25107 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
25108 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25109 Added build of SSE, AVX2 and AVX512 IFUNC versions.
25110 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
25111 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
25112 * sysdeps/x86_64/configure.ac: Options for libmvec build.
25113 * sysdeps/x86_64/configure: Regenerated.
25114 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
25115 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
25116 * manual/install.texi (Configuring and compiling): Document
25117 --disable-mathvec.
25118 * INSTALL: Regenerated.
25119 * NEWS: Mention addition of libmvec and x86_64 vector cos.
25120
25121 * math/Makefile: Added rules for vector tests.
25122 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
25123 declaration under condition.
25124 * math/test-double-vlen2.h: New file.
25125 * math/test-double-vlen4.h: New file.
25126 * math/test-double-vlen8.h: New file.
25127 * math/test-vec-loop.h: Added initialization macro.
25128 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
25129 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
25130 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
25131 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
25132 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
25133 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
25134 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
25135 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
25136 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
25137 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
25138 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
25139
25140 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25141 * sysdeps/x86_64/fpu/Versions: New versions added.
25142 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
25143 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
25144 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
25145 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
25146 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
25147 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
25148 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
25149 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
25150 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
25151 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
25152 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
25153 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
25154 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
25155 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25156 Added build of SSE, AVX2 and AVX512 IFUNC versions.
25157 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
25158 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
25159 * NEWS: Mention addition of x86_64 vector cosf.
25160
25161 * math/Makefile: Added CFLAGS for new tests.
25162 * math/test-float-vlen16.h: New file.
25163 * math/test-float-vlen4.h: New file.
25164 * math/test-float-vlen8.h: New file.
25165 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
25166 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
25167 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25168 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
25169 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
25170 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
25171 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
25172 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
25173 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
25174 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
25175 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
25176
25177 2015-06-09 Marko Myllynen <myllynen@redhat.com>
25178
25179 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
25180 * locale/programs/ld-ctype.c: Likewise.
25181
25182 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
25183
25184 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
25185 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
25186 bit_ZMM16_31_state): New macro.
25187 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25188 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
25189
25190 2015-06-08 Joseph Myers <joseph@codesourcery.com>
25191
25192 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
25193
25194 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
25195
25196 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
25197
25198 2015-06-05 Joseph Myers <joseph@codesourcery.com>
25199
25200 [BZ #18498]
25201 * libio/memstream.c (open_memstream): Rename to __open_memstream
25202 and define as weak alias of __open_memstream.
25203 * include/stdio.h (__open_memstream): Declare. Use
25204 libc_hidden_proto.
25205 (open_memstream): Don't use libc_hidden_proto.
25206 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
25207 open_memstream.
25208 * posix/getopt.c (_getopt_internal_r): Likewise.
25209 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
25210 variable.
25211 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
25212 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
25213 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
25214
25215 [BZ #18496]
25216 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
25217 instead of wcrtomb.
25218
25219 [BZ #18483]
25220 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
25221 [__USE_XOPEN2K8]. Remove redundant #endif.
25222 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
25223 Remove redundant #if.
25224 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
25225 Remove variable.
25226 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
25227 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
25228
25229 [BZ #18495]
25230 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
25231 (__iswlower): Likewise.
25232 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
25233 (__iswlower): Likewise.
25234 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
25235 instead of towlower.
25236 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
25237 instead of iswlower. Call __towupper instead of towupper.
25238 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
25239 instead of iswalnum.
25240
25241 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25242
25243 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
25244 errors to stderr.
25245
25246 2015-06-05 Florian Weimer <fweimer@redhat.com>
25247
25248 [BZ #15661]
25249 [BZ #17322]
25250 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
25251 Check for overflow properly. Check for O_APPEND. Ignore large
25252 file system block sizes. Add comments about problems.
25253 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
25254 * manual/filesys.texi (Storage Allocation): New node.
25255
25256 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25257
25258 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
25259 cancellable syscalls.
25260 (SYS_ify): Add guard to no redefine it.
25261 (INLINE_SYSCALL): Likewise.
25262 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
25263 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
25264 SYSCALL_CANCEL instead.
25265 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
25266 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
25267 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
25268 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
25269 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
25270 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
25271 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
25272 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
25273 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
25274 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
25275 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
25276 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
25277 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
25278 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
25279 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
25280 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
25281 Likewise.
25282 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
25283 (__libc_pread64): Likewise.
25284 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
25285 (__libc_preadv): Likewise.
25286 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
25287 (__libc_readv64): Likewise.
25288 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
25289 (__libc_pwrite): Likewise.
25290 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
25291 (__libc_pwrite64): Likewise.
25292 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
25293 (__libc_pwritev): Likewise.
25294 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
25295 (__libc_pwritev64): Likewise.
25296 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
25297 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
25298 (sync_file_range): Likewise.
25299 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
25300 Likewise.
25301 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
25302 Likewise.
25303 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
25304 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
25305 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
25306 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
25307 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
25308 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
25309 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
25310 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
25311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
25312 Likewise.
25313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
25314 (__libc_read64): Likewise.
25315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
25316 Likewise.
25317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
25318 Likewise.
25319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
25320 Likewise.
25321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
25322 Likewise.
25323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
25324 (__libc_pread64): Likewise.
25325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
25326 Likewise.
25327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
25328 (__libc_pwrite64): Likewise.
25329 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
25330 (sync_file_range): Likewise.
25331 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
25332 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
25333 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
25334 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
25335 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
25336 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
25337 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
25338 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
25339 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
25340 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
25341 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
25342 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
25343 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
25344 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
25345 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
25346 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
25347 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
25348 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
25349 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
25350 Likewise.
25351 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
25352 Likewise.
25353 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
25354 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
25355 Likewise.
25356 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
25357 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
25358 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
25359 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
25360 Likewise.
25361 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
25362 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
25363 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
25364 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
25365 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
25366
25367 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
25368
25369 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
25370 Include dl-vdso.
25371 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
25372 Use VDSO routines for gettimeofday, clock_gettime if
25373 available.
25374 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
25375 Declare VDSO symbols.
25376 * sysdeps/unix/sysv/linux/arm/sysdep.h:
25377 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
25378 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
25379 * sysdeps/unix/sysv/linux/arm/Versions: Add
25380 __vdso_clock_gettime.
25381
25382 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25383
25384 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
25385 be an inline implementation regardless of library is built within.
25386 (open_not_cancel_2): Likewise.
25387 (__read_nocancel): Likewise.
25388 (__write_nocancel): Likewise.
25389 (openat_not_cancel): Likewise.
25390 (openat_not_cancel_3): Likewise.
25391 (openat64_not_cancel): Likewise.
25392 (openat64_not_cancel_3): Likewise.
25393 (__close_nocancel): Likewise.
25394 (pause_not_cancel): Likewise.
25395 (nanosleep_not_cancel): Likewise.
25396 (sigsuspend_not_cancel): Likewise.
25397
25398 2015-06-04 Torvald Riegel <triegel@redhat.com>
25399
25400 [BZ #14958]
25401 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
25402 wake-up.
25403 (__pthread_rwlock_rdlock_slow): Likewise.
25404 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
25405 Likewise.
25406 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
25407 Likewise.
25408 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
25409 * nptl/tst-rwlock16.c: New file.
25410 * nptl/Makefile (tests): Add new test.
25411
25412 2015-06-04 Torvald Riegel <triegel@redhat.com>
25413
25414 [BZ #18324]
25415 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
25416 missing wake-up of readers.
25417 * nptl/tst-rwlock15.c: New file.
25418 * nptl/Makefile (tests): Add new test.
25419
25420 2015-06-03 Roland McGrath <roland@hack.frob.com>
25421
25422 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
25423 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
25424 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
25425 and __nacl_supply_interface_rtld.
25426 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
25427 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
25428 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
25429 Add __nacl_supply_interface_rtld.
25430 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
25431
25432 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
25433
25434 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
25435 isfinite.
25436 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25437 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
25438
25439 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
25440
25441 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
25442 __signbit* with standard C99 macros.
25443 * math/e_exp10l.c: Likewise.
25444 * math/e_exp2l.c: Likewise.
25445 * math/e_scalb.c: Likewise.
25446 * math/e_scalbf.c: Likewise.
25447 * math/e_scalbl.c: Likewise.
25448 * math/s_ldexp.c: Likewise.
25449 * math/s_ldexpf.c: Likewise.
25450 * math/s_ldexpl.c: Likewise.
25451 * math/w_atan2.c: Likewise.
25452 * math/w_atan2f.c: Likewise.
25453 * math/w_atan2l.c: Likewise.
25454 * math/w_cosh.c: Likewise.
25455 * math/w_coshf.c: Likewise.
25456 * math/w_coshl.c: Likewise.
25457 * math/w_exp10.c: Likewise.
25458 * math/w_exp10f.c: Likewise.
25459 * math/w_exp10l.c: Likewise.
25460 * math/w_exp2.c: Likewise.
25461 * math/w_exp2f.c: Likewise.
25462 * math/w_exp2l.c: Likewise.
25463 * math/w_fmod.c: Likewise.
25464 * math/w_fmodf.c: Likewise.
25465 * math/w_fmodl.c: Likewise.
25466 * math/w_hypot.c: Likewise.
25467 * math/w_hypotf.c: Likewise.
25468 * math/w_hypotl.c: Likewise.
25469 * math/w_jnl.c: Likewise.
25470 * math/w_lgamma.c: Likewise.
25471 * math/w_lgamma_r.c: Likewise.
25472 * math/w_lgammaf.c: Likewise.
25473 * math/w_lgammaf_r.c: Likewise.
25474 * math/w_lgammal.c: Likewise.
25475 * math/w_lgammal_r.c: Likewise.
25476 * math/w_pow.c: Likewise.
25477 * math/w_powf.c: Likewise.
25478 * math/w_powl.c: Likewise.
25479 * math/w_remainder.c: Likewise.
25480 * math/w_remainderf.c: Likewise.
25481 * math/w_remainderl.c: Likewise.
25482 * math/w_scalb.c: Likewise.
25483 * math/w_scalbf.c: Likewise.
25484 * math/w_scalbl.c: Likewise.
25485 * math/w_scalbln.c: Likewise.
25486 * math/w_scalblnf.c: Likewise.
25487 * math/w_scalblnl.c: Likewise.
25488 * math/w_sinh.c: Likewise.
25489 * math/w_sinhf.c: Likewise.
25490 * math/w_sinhl.c: Likewise.
25491 * math/w_tgamma.c: Likewise.
25492 * math/w_tgammaf.c: Likewise.
25493 * math/w_tgammal.c: Likewise.
25494 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25495 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
25496 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
25497 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25498 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25499 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25500 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
25501 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
25502 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
25503 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25504 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25505 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
25506 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25507 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
25508 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
25509 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25510 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
25511 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
25512 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25513 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25514 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25515 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25516 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25517 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25518 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
25519 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25520 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
25521 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
25522 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25523 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25524 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
25525 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
25526 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
25527 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
25528 * stdio-common/printf_fp.c: Likewise.
25529 * stdio-common/printf_fphex.c: Likewise.
25530 * stdio-common/printf_size.c: Likewise.
25531
25532 2015-06-03 Joseph Myers <joseph@codesourcery.com>
25533
25534 [BZ #18470]
25535 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
25536 strnlen.
25537 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
25538 Remove variable.
25539 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
25540 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
25541 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
25542 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
25543 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
25544 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
25545 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
25546 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
25547 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
25548 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
25549
25550 [BZ #18468]
25551 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
25552 weak alias of __wmemchr. Use libc_hidden_weak.
25553 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
25554 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
25555 instead of wmemchr.
25556
25557 2015-06-02 Roland McGrath <roland@hack.frob.com>
25558
25559 [BZ #18383]
25560 * elf/tst-tlsalign-extern.c: New file.
25561 * elf/tst-tlsalign-extern-static.c: New file.
25562 * elf/tst-tlsalign-vars.c: New file.
25563 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
25564 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
25565 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
25566 ($(objpfx)tst-tlsalign-extern-static): Likewise.
25567 (test-xfail-tst-tlsalign-extern-static): New variable.
25568
25569 2015-06-02 Joseph Myers <joseph@codesourcery.com>
25570
25571 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
25572 Use variable name _sc_err instead of err.
25573 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
25574 instead of ret.
25575 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
25576 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
25577 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
25578 (INLINE_SYSCALL): Likewise.
25579
25580 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
25581 * include/string.h (__strnlen): Use libc_hidden_proto.
25582 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
25583 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
25584 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
25585 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
25586 (libc_hidden_def): Undefine and redefine.
25587 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
25588 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
25589 __GI_strnlen.
25590 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
25591 libc_hidden_def.
25592 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
25593
25594 [BZ #18469]
25595 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
25596 weak alias of __towlower. Use libc_hidden_weak.
25597 (towupper): Rename to __towupper and define as weak alias of
25598 __towupper. Use libc_hidden_weak.
25599 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
25600 (__towupper): Likewise.
25601 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
25602 __towlower instead of towlower.
25603
25604 2015-06-02 Roland McGrath <roland@hack.frob.com>
25605
25606 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
25607 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
25608
25609 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
25610
25611 * sysdeps/aarch64/libm-test-ulps: Update.
25612
25613 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25614
25615 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
25616 Define.
25617 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
25618 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
25619 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
25620 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
25621 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
25622 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
25623 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
25624
25625 2015-06-01 Martin Sebor <msebor@redhat.com>
25626
25627 [BZ #18116]
25628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
25629 (__setcontext): Use extended four-operand version of mtsf whenever
25630 possible.
25631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
25632 (__novec_swapcontext): Likewise.
25633
25634 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
25635
25636 * benchtests/scripts/compare_bench.py: New file.
25637 * benchtests/scripts/import_bench.py (mean): New function.
25638 (split_list): Likewise.
25639 (do_for_all_timings): Likewise.
25640 (compress_timings): Likewise.
25641
25642 * benchtests/scripts/import_bench.py: New file.
25643 * benchtests/scripts/validate_benchout.py: Import import_bench
25644 instead of jsonschema.
25645 (validate_bench): Remove function.
25646 (main): Use import_bench.
25647
25648 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
25649
25650 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
25651 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
25652
25653 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25654
25655 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25656
25657 2015-05-28 Roland McGrath <roland@hack.frob.com>
25658
25659 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
25660 set THREAD_SELF->tid to a magic value and futex-wake it.
25661 Pass its address to the thread_exit system call.
25662 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
25663 bit is clear.
25664 * sysdeps/nacl/lowlevellock.h: New file.
25665 * sysdeps/nacl/lll_timedwait_tid.c: New file.
25666
25667 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
25668 Add TIMEOUT to current time, don't subtract it.
25669
25670 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
25671
25672 [BZ #2981]
25673 [BZ #18422]
25674 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
25675 ($(objpfx)tst-audit2.out): Also depend on
25676 $(objpfx)tst-auditmod9b.so.
25677 * elf/tst-audit2.c: Include <dlfcn.h>.
25678 (calloc_called): New.
25679 (calloc): Allow to be called more than once.
25680 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
25681
25682 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
25683
25684 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
25685 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
25686
25687 2015-05-27 Marko Myllynen <myllynen@redhat.com>
25688
25689 * stdlib/monetary.h: Fix comment.
25690
25691 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
25692
25693 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
25694 Avoid using variables in #defines that might cause shadowing.
25695 (INTERNAL_VSYSCALL_CALL): Likewise.
25696
25697 2015-05-26 Roland McGrath <roland@hack.frob.com>
25698
25699 * sysdeps/nacl/lll_timedlock_wait.c: New file.
25700
25701 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
25702 * nptl/lll_timedlock_wait.c: ... to this new file.
25703 * nptl/Makefile (libpthread-routines): Add it.
25704 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
25705 * nptl/lll_timedwait_tid.c: ... to this new file.
25706 * nptl/Makefile (libpthread-routines): Add it.
25707 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
25708 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
25709 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
25710 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
25711 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
25712 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
25713 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
25714 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
25715 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
25716 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
25717
25718 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25719
25720 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
25721 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
25722 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
25723 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
25724 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
25725 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
25726 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
25727 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25728 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
25729 * sysdeps/unix/sysv/linux/tile/sysdep.h
25730 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
25731 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
25732 using vDSO syscall macro.
25733
25734 2015-05-26 Andriy Rysin <arysin@gmail.com>
25735
25736 [BZ #17293]
25737 * uk_UA: Fix sorting order for Ukrainian locale
25738
25739 2015-05-26 Marko Myllynen <myllynen@redhat.com>
25740
25741 * stdlib/monetary.h: Fix comment.
25742
25743 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
25744
25745 [BZ #18234]
25746 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
25747 st_mtim and st_ctim members.
25748 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
25749 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
25750 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
25751 (struct stat64): Likewise.
25752 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
25753 (struct stat64): Likewise.
25754 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
25755 (struct stat64): Likewise.
25756
25757 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25758
25759 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
25760 Define and include sysdep-vdso.h.
25761 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
25762 Likewise.
25763 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
25764 Likewise.
25765 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
25766 Define with VDSO_SYMBOL and use PTR_MANGLE.
25767 (__vdso_clock_gettime): Likewise.
25768 (__vdso_clock_getres): Likewise.
25769 (_libc_vdso_platform_setup): Likewise.
25770 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
25771 Likewise.
25772 (_libc_vdso_platform_setup): Likewise.
25773 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
25774 Likewise.
25775 (__vdso_clock_gettime): Likewise.
25776 (__vdso_clock_getres): Likewise.
25777 (__vdso_get_tbfreq): Likewise.
25778 (__vdso_getcpu): Likewise.
25779 (__vdso_time): Likewise.
25780 (__vdso_sigtramp_rt64): Likewise.
25781 (__vdso_signtramp32): Likewise.
25782 (__vdso_sigtramp_rt32): Likewise.
25783 (_libc_vdso_platform_setup): Likewise.
25784 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
25785 Likewise.
25786 (__vdso_clock_gettime): Likewise.
25787 (__vdso_clock_getres): Likewise.
25788 (_libc_vdso_platform_setup): Likewise.
25789 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
25790 Likewise.
25791 (__vdso_clock_gettime): Likewise.
25792 (_libc_vdso_platform_setup): Likewise.
25793 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
25794 Likewise.
25795 (__vdso_getcpu): Likewise.
25796 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
25797 Use VDSO_SYMBOL macro to define.
25798 (__vdso_clock_gettime): Likewise.
25799 (__vdso_clock_getres): Likewise.
25800 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
25801 Likewise.
25802 (__vdso_clock_gettime): Likewise.
25803 (__vdso_clock_getres): Likewise.
25804 (__vdso_get_tbfreq): Likewise.
25805 (__vdso_getcpu): Likewise.
25806 (__vdso_time): Likewise.
25807 (__vdso_sigtramp_rt64): Likewise.
25808 (__vdso_signtramp32): Likewise.
25809 (__vdso_sigtramp_rt32): Likewise.
25810 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
25811 Likewise.
25812 (__vdso_clock_gettime): Likewise.
25813 (__vdso_clock_getres): Likewise.
25814 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
25815 Likewise.
25816 (__vdso_clock_gettime): Likewise.
25817 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
25818 Likewise.
25819 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
25820 macro.
25821 (INTERNAL_VSYSCALL): Likewise.
25822 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
25823 Remove macro.
25824 (INTERNAL_VSYSCALL): Likewise.
25825 (INTERNAL_VSYSCALL_NCS): Likewise.
25826 (INTERNAL_VSYSCALL_CALL): New macro.
25827 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
25828 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
25829 Likewise.
25830 (INTERNAL_VSYSCALL): Likewise.
25831 (INTERNAL_VSYSCALL_NCS): Likewise.
25832 (INTERNAL_VSYSCALL_CALL): New macro.
25833 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
25834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25835 (INLINE_VSYSCALL): Remove macro.
25836 (INTERNAL_VSYSCALL): Remove macro.
25837 (INTERNAL_VSYSCALL_NCS): Remove macro.
25838 (INTERNAL_VSYSCALL_CALL): New macro.
25839 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
25840 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
25841 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
25842 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
25843 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
25844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25845 (INLINE_VSYSCALL): Remove macro.
25846 (INTERNAL_VSYSCALL): Likewise.
25847 (INTERNAL_VSYSCALL_NCS): Likewise.
25848 (INTERNAL_VSYSCALL_CALL): New macro.
25849 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
25850 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
25851 PTR_DEMANGLE on vDSO pointer.
25852 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
25853 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
25854 macro.
25855 (INTERNAL_SYSCALL): Likewise.
25856 (INTERNAL_VSYSCALL_NCS): Remove macro.
25857 (INTERNAL_VSYSCALL_CALL): New macro.
25858 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
25859 Remove macro.
25860 (INTERNAL_VSYSCALL): Likewise.
25861 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
25862 sysdep-vdso.h instead of libc-vdso.h.
25863 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
25864 definition.
25865 (INLINE_VSYSCALL): Likewise.
25866 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
25867 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
25868 definition.
25869 (INLINE_VSYSCALL): Likewise.
25870 (INTERNAL_VSYSCALL): Likewise.
25871 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
25872 * sysdeps/unix/sysv/linux/timespec_get.c
25873 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
25874 (timespec_get): Use ANSI prototype.
25875 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
25876 and definition for Linux.
25877
25878 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
25879
25880 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
25881 * include/libc-symbols.h: libmvec_hidden_* macro series added.
25882
25883 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
25884
25885 [BZ #2981]
25886 [BZ #18410]
25887 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
25888 for missing DT_PLTRELSZ.
25889
25890 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
25891
25892 Remove obsolete aliases that broke 'locale -a'
25893 [BZ #18412]
25894 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
25895 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
25896 breaking some applications that use 'locale -a' output.
25897 Change the encoding of this file from Latin-1 to ASCII to avoid
25898 other potential problems with people grepping this file.
25899
25900 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25901
25902 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
25903 -fasynchronous-unwind-tables.
25904 (CFLAGS-sendto.c): Likewise.
25905 (CFLAGS-sendmsg.c): Likewise.
25906 (CFLAGS-connect.c): Likewise.
25907 (CFLAGS-recvmsg.c): Likewise.
25908 (CFLAGS-recvfrom.c): Likewise.
25909 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
25910 (SOCKETCALL): New macro: non-cancellable socketcall.
25911 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
25912 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
25913 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
25914 * sysdeps/unix/sysv/linux/accept.c: New file.
25915 * sysdeps/unix/sysv/linux/bind.c: Likewise.
25916 * sysdeps/unix/sysv/linux/connect.c: Likewise.
25917 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
25918 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
25919 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
25920 * sysdeps/unix/sysv/linux/listen.c: Likewise.
25921 * sysdeps/unix/sysv/linux/recv.c: Likewise.
25922 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
25923 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
25924 * sysdeps/unix/sysv/linux/send.c: Likewise.
25925 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
25926 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
25927 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
25928 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
25929 * sysdeps/unix/sysv/linux/socket.c: Likewise.
25930 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
25931 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
25932 prototype.
25933 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
25934 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
25935 instead of __internal_xxx function.
25936 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
25937 prototype.
25938 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
25939 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
25940 instead of __internal_xxx function.
25941 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
25942 prototype.
25943 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
25944 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
25945 instead of __internal_xxx function.
25946 * sysdeps/unix/sysv/linux/accept.S: Remove file.
25947 * sysdeps/unix/sysv/linux/bind.S: Likewise.
25948 * sysdeps/unix/sysv/linux/connect.S: Likewise.
25949 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
25950 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
25951 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
25952 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
25953 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
25954 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
25955 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
25956 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
25957 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
25958 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
25959 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
25960 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
25961 * sysdeps/unix/sysv/linux/listen.S: Likewise.
25962 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
25963 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
25964 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
25965 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
25966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
25967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
25968 * sysdeps/unix/sysv/linux/recv.S: Likewise.
25969 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
25970 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
25971 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
25972 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
25973 * sysdeps/unix/sysv/linux/send.S: Likewise.
25974 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
25975 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
25976 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
25977 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
25978 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
25979 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
25980 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
25981 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
25982 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
25983 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
25984 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
25985 socketcall is implemented in GLIBC.
25986
25987 2015-05-22 Joseph Myers <joseph@codesourcery.com>
25988
25989 * soft-fp/fmadf4.c: Include <libc-internal.h>.
25990 (__fma): Ignore uninitialized warnings around packing.
25991 * soft-fp/fmasf4.c: Include <libc-internal.h>.
25992 (__fmaf): Ignore uninitialized warnings around packing.
25993 * soft-fp/fmatf4.c: Include <libc-internal.h>.
25994 (__fmal): Ignore uninitialized warnings around packing.
25995
25996 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
25997 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
25998 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
25999 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
26000
26001 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
26002 switch statement into default case.
26003 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
26004
26005 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
26006 a conditional in forcing "inexact".
26007 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
26008 Likewise.
26009
26010 2015-05-22 Roland McGrath <roland@hack.frob.com>
26011
26012 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
26013 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
26014 for each INTERNAL_SYSCALL use.
26015
26016 2015-05-22 Joseph Myers <joseph@codesourcery.com>
26017
26018 [BZ #438]
26019 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
26020 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
26021 variable.
26022
26023 [BZ #18444]
26024 * string/basename.c (basename): Rename to __basename and define as
26025 weak alias of __basename. Use libc_hidden_weak.
26026 * include/string.h (__basename): Declare. Use libc_hidden_proto.
26027 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
26028 __basename instead of basename.
26029 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
26030 Remove variable.
26031 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
26032
26033 2015-05-18 Florian Weimer <fweimer@redhat.com>
26034
26035 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
26036 (_IO_JUMPS_FILE_plus): New.
26037 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
26038 _IO_CAST_FIELD_ACCESS.
26039 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
26040 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
26041 * libio/freopen.c (freopen): Likewise.
26042 * libio/freopen64.c (freopen64): Likewise.
26043 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
26044 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
26045 * libio/iofwide.c (_IO_fwide): Likewise.
26046 * libio/memstream.c (open_memstream): Likewise.
26047 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
26048 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
26049 * libio/oldiopopen.c (_IO_old_popen): Likewise.
26050
26051 2015-05-21 Joseph Myers <joseph@codesourcery.com>
26052
26053 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
26054 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
26055 NADJ.
26056 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
26057 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
26058 NADJ.
26059 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
26060 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
26061 NADJ.
26062
26063 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
26064 (p == 4) case.
26065
26066 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
26067 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
26068 Remove variable.
26069 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
26070 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
26071 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
26072
26073 2015-05-21 Florian Weimer <fweimer@redhat.com>
26074
26075 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
26076 Adjust jump table label generation macros.
26077
26078 2015-05-21 Florian Weimer <fweimer@redhat.com>
26079
26080 * stdio-common/vfprintf.c (vfprintf): Move local variables
26081 args_malloced, specs, specs_malloced, and the code after
26082 do_positional to the printf_positional function.
26083 (printf_positional): New function.
26084
26085 2015-05-21 Florian Weimer <fweimer@redhat.com>
26086
26087 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
26088 function.
26089 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
26090 STEP4_TABLE, process_arg): Move macro definitions
26091 out of the vfprintf function. (Cosmetic change only.)
26092
26093 2015-05-21 Carlos O'Donell <carlos@redhat.com>
26094
26095 * benchtests/Makefile (stdio-common-bench): Define.
26096 (benchset): Add stdio-common-bench.
26097 * sprintf-inputs: New file.
26098 * sprintf-source.c: New file.
26099
26100 2015-05-21 Andreas Schwab <schwab@suse.de>
26101
26102 [BZ #13028]
26103 [BZ #17053]
26104 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
26105 of struct __res_state.
26106 * resolv/res_send.c (__libc_res_nsend): Likewise.
26107 (get_nsaddr): New function.
26108 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
26109 statp directly.
26110
26111 2015-05-20 Joseph Myers <joseph@codesourcery.com>
26112
26113 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
26114 -D_POSIX_C_SOURCE=199506L.
26115
26116 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
26117
26118 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
26119 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
26120 Do not mention otherwise.
26121 [POSIX] (_XOPEN_VERSION): Do not expect.
26122 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
26123 [POSIX] (_POSIX2_C_BIND): Likewise.
26124 [POSIX] (_POSIX2_VERSION): Likewise.
26125 [POSIX] (_XOPEN_XPG2): Likewise.
26126 [POSIX] (_XOPEN_XPG3): Likewise.
26127 [POSIX] (_XOPEN_XPG4): Likewise.
26128 [POSIX] (_XOPEN_UNIX): Likewise.
26129 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
26130 [POSIX] (_POSIX_BARRIERS): Likewise.
26131 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
26132 [POSIX] (_POSIX_CPUTIME): Likewise.
26133 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
26134 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
26135 [POSIX] (_POSIX_SHELL): Likewise.
26136 [POSIX] (_POSIX_SPAWN): Likewise.
26137 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
26138 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
26139 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
26140 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
26141 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
26142 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
26143 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
26144 [POSIX] (_XBS5_LP64_OFF64): Likewise.
26145 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
26146 [POSIX] (_POSIX_TIMEOUTS): Likewise.
26147 [POSIX] (_POSIX2_PBS): Likewise.
26148 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
26149 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
26150 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
26151 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
26152 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
26153 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
26154 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
26155 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
26156 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
26157 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
26158 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
26159 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
26160 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
26161 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
26162 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
26163 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
26164 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
26165 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
26166 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
26167 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
26168 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
26169 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
26170 [POSIX] (_SC_2_C_BIND): Likewise.
26171 [POSIX] (_SC_2_C_VERSION): Likewise.
26172 [POSIX] (_SC_2_PBS): Likewise.
26173 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
26174 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
26175 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
26176 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
26177 [POSIX] (_SC_2_PBS_TRACK): Likewise.
26178 [POSIX] (_SC_ATEXIT_MAX): Likewise.
26179 [POSIX] (_SC_BARRIERS): Likewise.
26180 [POSIX] (_SC_BASE): Likewise.
26181 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
26182 [POSIX] (_SC_DEVICE_IO): Likewise.
26183 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
26184 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
26185 [POSIX] (_SC_FD_MGMT): Likewise.
26186 [POSIX] (_SC_FIFO): Likewise.
26187 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
26188 [POSIX] (_SC_FILE_LOCKING): Likewise.
26189 [POSIX] (_SC_FILE_SYSTEM): Likewise.
26190 [POSIX] (_SC_IOV_MAX): Likewise.
26191 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
26192 [POSIX] (_SC_NETWORKING): Likewise.
26193 [POSIX] (_SC_PAGE_SIZE): Likewise.
26194 [POSIX] (_SC_PASS_MAX): Likewise.
26195 [POSIX] (_SC_PIPE): Likewise.
26196 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
26197 [POSIX] (_SC_REGEXP): Likewise.
26198 [POSIX] (_SC_SHELL): Likewise.
26199 [POSIX] (_SC_SIGNALS): Likewise.
26200 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
26201 [POSIX] (_SC_SPIN_LOCKS): Likewise.
26202 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
26203 [POSIX] (_SC_USER_GROUPS): Likewise.
26204 [POSIX] (_SC_USER_GROUPS_R): Likewise.
26205 [POSIX] (_SC_STREAMS): Likewise.
26206 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
26207 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
26208 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
26209 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
26210 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
26211 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
26212 [POSIX] (_PC_FILESIZEBITS): Likewise.
26213 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
26214 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
26215 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
26216 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
26217 [POSIX] (uid_t): Likewise.
26218 [POSIX] (gid_t): Likewise.
26219 [POSIX] (off_t): Likewise.
26220 [POSIX] (pid_t): Likewise.
26221 [POSIX] (cuserid): Allow.
26222 (_SC_2_CHAR_TERM): Require constant.
26223 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
26224 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
26225 variable.
26226
26227 2015-05-20 Roland McGrath <roland@hack.frob.com>
26228
26229 * sysdeps/nacl/pthread-pids.h: New file.
26230 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
26231 (create_thread): Use __nacl_get_tid to initialize PD->tid.
26232
26233 * nptl/pthread-pids.h: New file.
26234 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
26235 * nptl/nptl-init.c: Include <pthread-pids.h>.
26236 (__pthread_initialize_minimal_internal):
26237 Call __pthread_initialize_pids instead of set_tid_address syscall.
26238
26239 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
26240 * sysdeps/posix/usleep.c: ... here.
26241
26242 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26243
26244 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
26245 call_pselect6 object.
26246 [$(subdir) = io]: Remove call_sync_file_range object.
26247 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
26248 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
26249 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
26250 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
26251
26252 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
26253
26254 * math/s_cproj.c: Add include "math_private.h".
26255 * math/s_cprojf.c: Likewise.
26256 * math/s_cprojl.c: Likewise.
26257
26258 2015-05-19 Joseph Myers <joseph@codesourcery.com>
26259
26260 [BZ #18244]
26261 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
26262 high mantissa bit when testing whether P is a NaN.
26263 * math/libm-test.inc (remainder_test_data): Add more tests.
26264 (remquo_test_data): Likewise.
26265
26266 [BZ #18049]
26267 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
26268 below -32, return the argument, with underflow if subnormal.
26269 * math/auto-libm-test-in: Add more tests of atanh.
26270 * math/auto-libm-test-out: Regenerated.
26271
26272 2015-05-19 Roland McGrath <roland@hack.frob.com>
26273
26274 [BZ #18434]
26275 * nptl/tst-sem15.c: New file.
26276 * nptl/Makefile (tests): Add it.
26277 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
26278 s/<</>>/ to fix typo in EOVERFLOW check.
26279 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
26280
26281 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26282
26283 * manual/strings.texi (envz_remove): Fix typo in safety
26284 annotations.
26285
26286 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
26287 Steve Ellcey <sellcey@imgtec.com>
26288
26289 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
26290 in order to avoid strict alias warnings.
26291 (iruserok_af): Ditto for ra.
26292
26293 2015-05-19 James Lemke <jwlemke@codesourcery.com>
26294
26295 [BZ #17581]
26296 * malloc/hooks.c
26297 (magicbyte): Convert to a function and avoid returning 0x01.
26298 (mem2mem_check): Avoid using a length byte equal to the magic byte.
26299 (mem2chunk_check): Fix unsigned comparisons to zero.
26300 Hoist defs of sz and magic.
26301
26302 2015-05-19 Richard Henderson <rth@redhat.com>
26303
26304 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
26305
26306 * sysdeps/alpha/fpu/libm-test-ulps: Update.
26307
26308 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26309
26310 [BZ #16159]
26311 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
26312 * malloc/arena.c (arena_lock): Check if arena is corrupt.
26313 (reused_arena): Find a non-corrupt arena.
26314 (heap_trim): Pass arena to unlink.
26315 * malloc/hooks.c (malloc_check_get_size): Pass arena to
26316 malloc_printerr.
26317 (top_check): Likewise.
26318 (free_check): Likewise.
26319 (realloc_check): Likewise.
26320 * malloc/malloc.c (malloc_printerr): Add arena argument.
26321 (unlink): Likewise.
26322 (munmap_chunk): Adjust.
26323 (ARENA_CORRUPTION_BIT): New macro.
26324 (arena_is_corrupt): Likewise.
26325 (set_arena_corrupt): Likewise.
26326 (sysmalloc): Use mmap if there are no usable arenas.
26327 (_int_malloc): Likewise.
26328 (__libc_malloc): Don't fail if arena_get returns NULL.
26329 (_mid_memalign): Likewise.
26330 (__libc_calloc): Likewise.
26331 (__libc_realloc): Adjust for additional argument to
26332 malloc_printerr.
26333 (_int_free): Likewise.
26334 (malloc_consolidate): Likewise.
26335 (_int_realloc): Likewise.
26336 (_int_memalign): Don't touch corrupt arenas.
26337 * malloc/tst-malloc-backtrace.c: New test case.
26338
26339 * Makefile (summarize-tests): Fix return value on success.
26340
26341 * manual/string.texi (Envz Functions): Add envz_remove.
26342
26343 2015-05-18 Roland McGrath <roland@hack.frob.com>
26344
26345 * sysdeps/posix/opendir.c: Include <stdbool.h>.
26346 (invalid_name): New function, broken out of ...
26347 (__opendirat): ... here. Call it.
26348 (need_isdir_precheck): New function, broken out of ...
26349 (__opendirat): ... here. Call it.
26350 Use __fxstatat64, not __xstatat64.
26351 (opendir_oflags): New function, broken out of ...
26352 (__opendirat): ... here. Call it.
26353 (opendir_tail): New function, broken out of ...
26354 (__opendirat): ... here. Call it.
26355 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
26356 opendir_tail, rather than punting to __opendirat.
26357 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
26358
26359 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26360
26361 * .gitignore: Ignore generated *.pyc.
26362
26363 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
26364
26365 * include/stdio.h: Define __need_wint_t.
26366 * test-skeleton.c: Avoid `for' loop initial declaration.
26367 * nptl/tst-initializers1.c: Use test-skeleton.c.
26368
26369 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26370
26371 [BZ #18418]
26372 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
26373
26374 2015-05-15 Joseph Myers <joseph@codesourcery.com>
26375
26376 [BZ #16352]
26377 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
26378 (__ieee754_atanh): Force underflow exception for results with
26379 small absolute value.
26380 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
26381 (__ieee754_atanhf): Force underflow exception for results with
26382 small absolute value.
26383 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
26384 (__ieee754_atanh): Force underflow exception for results with
26385 small absolute value.
26386 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
26387 (__ieee754_atanhf): Force underflow exception for results with
26388 small absolute value.
26389 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
26390 (__ieee754_atanhl): Force underflow exception for results with
26391 small absolute value.
26392 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
26393 (__ieee754_atanhl): Force underflow exception for results with
26394 small absolute value.
26395 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
26396 (__ieee754_atanhl): Force underflow exception for results with
26397 small absolute value.
26398 * math/auto-libm-test-in: Do not allow missing underflow
26399 exceptions from atanh.
26400 * math/auto-libm-test-out: Regenerated.
26401
26402 [BZ #18221]
26403 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
26404 2**-28 as threshold for returning x or +/- 1/x.
26405 * math/auto-libm-test-in: Add more tests of tan.
26406 * math/auto-libm-test-out: Regenerated.
26407
26408 [BZ #18220]
26409 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
26410 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
26411 * math/auto-libm-test-in: Add another test of lgamma.
26412 * math/auto-libm-test-out: Regenerated.
26413
26414 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
26415
26416 * stdio-common/printf_fp.c (___printf_fp): Use abs.
26417 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
26418 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
26419 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
26420 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
26421 (ADD2A): Use fabs. (SUB2A): Use fabs.
26422 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
26423 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
26424 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
26425 (log1): Use fabs. (my_log2): Use fabs.
26426 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
26427 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
26428 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
26429 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
26430 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
26431 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
26432 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
26433 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
26434 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
26435 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
26436 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
26437
26438 2015-05-15 Joseph Myers <joseph@codesourcery.com>
26439
26440 [BZ #18217]
26441 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
26442 as threshold for returning 1 - x.
26443 * math/auto-libm-test-in: Add more tests of erfc.
26444 * math/auto-libm-test-out: Regenerated.
26445
26446 2015-05-14 Joseph Myers <joseph@codesourcery.com>
26447
26448 [BZ #18196]
26449 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
26450 threshold for large arguments.
26451 * math/auto-libm-test-in: Add another test of atan.
26452 * math/auto-libm-test-out: Regenerated.
26453
26454 [BZ #16339]
26455 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
26456 (__log1p): Force underflow exception for results with small
26457 absolute value.
26458 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
26459 (__log1pf): Force underflow exception for results with small
26460 absolute value.
26461 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
26462 (__log1p): Force underflow exception for results with small
26463 absolute value.
26464 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
26465 (__log1pf): Force underflow exception for results with small
26466 absolute value.
26467 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
26468 (__log1pl): Force underflow exception for results with small
26469 absolute value.
26470 * math/auto-libm-test-in: Do not allow missing underflow
26471 exceptions from log1p.
26472 * math/auto-libm-test-out: Regenerated.
26473
26474 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
26475 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26476
26477 [BZ #16704]
26478 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
26479
26480 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
26481
26482 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
26483 (libmvec): New variable.
26484 * configure.ac: Added option for mathvec build.
26485 * configure: Regenerated.
26486 * mathvec/Depend: New file.
26487 * mathvec/Makefile: New file.
26488 * shlib-versions: Added libmvec.
26489 * math/Makefile: Added rule for libm.so installation.
26490
26491 * bits/math-vector.h: New file.
26492 * bits/libm-simd-decl-stubs.h: New header.
26493 * math/Makefile (headers): Added new header
26494 libm-simd-decl-stubs.h.
26495 * math/math.h (__MATHCALL_VEC): New macro.
26496
26497 * math/gen-libm-have-vector-test.sh: Script generates series of macros
26498 for conditions in testing functions.
26499 * math/Makefile: Added call of libm-have-vector-test.sh.
26500 * math/libm-test.inc (HAVE_VECTOR): New macros.
26501
26502 * math/libm-test.inc: START refactored.
26503 * math/test-double.c (TEST_MATHVEC): Add define.
26504 * math/test-float.c: Likewise.
26505 * math/test-idouble.c: Likewise.
26506 * math/test-ifloat.c: Likewise.
26507 * math/test-ildoubl.c: Likewise.
26508 * math/test-ldouble.c: Likewise.
26509 * sysdeps/generic/math-tests-arch.h
26510 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
26511 architecture check.
26512
26513 * math/test-double.c (FUNC_TEST): New macro.
26514 * math/test-float.c: Likewise.
26515 * math/test-idouble.c: Likewise.
26516 * math/test-ifloat.c: Likewise.
26517 * math/test-ildoubl.c: Likewise.
26518 * math/test-ldouble.c: Likewise.
26519 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
26520
26521 2015-05-13 Roland McGrath <roland@hack.frob.com>
26522
26523 * sysdeps/nacl/fdopendir.c: New file.
26524
26525 * dirent/scandir-tail.c: New file.
26526 * dirent/scandir64-tail.c: New file.
26527 * dirent/Makefile (routines): Add them.
26528 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
26529 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
26530 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
26531 [!SCANDIR] (SCANDIR_TAIL): New macro.
26532 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
26533 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
26534 (SCANDIRAT): Macro removed.
26535 (SCANDIR_TAIL): New macro.
26536 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
26537 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
26538 (SCANDIRAT): Just call __opendirat and __scandir_tail.
26539 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
26540 (READDIR): Macro removed.
26541 (SCANDIR_TAIL): New macro.
26542 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
26543 (SCANDIR_TAIL): New macro.
26544
26545 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
26546 * dirent/scandir-cancel.c: ... to this new file.
26547 * dirent/Makefile (routines): Add it.
26548 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
26549 * sysdeps/unix/sysv/linux/i386/scandir64.c
26550 (SKIP_SCANDIR_CANCEL): Macro removed.
26551 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
26552
26553 * dirent/tst-scandir.c: New file.
26554 * dirent/tst-scandir64.c: New file.
26555 * dirent/Makefile (tests): Add them.
26556
26557 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
26558
26559 [BZ #18409]
26560 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
26561
26562 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
26563
26564 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
26565 list.
26566
26567 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
26568
26569 * benchtests/bench-strcoll.c: New benchmark.
26570 * benchtests/Makefile: Generate locales and run benchmark.
26571 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
26572 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
26573 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
26574 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
26575 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
26576 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
26577 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
26578 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
26579 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
26580 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
26581 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
26582 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
26583 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
26584 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
26585 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
26586 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
26587 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
26588 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
26589 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
26590 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
26591 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
26592 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
26593 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
26594 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
26595
26596 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
26597
26598 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
26599 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
26600
26601 2015-05-12 Roland McGrath <roland@hack.frob.com>
26602
26603 * posix/uname-values.h: New file.
26604 * posix/uname.c: Include that instead of <config-name.h>.
26605 * sysdeps/nacl/uname-values.h: New file.
26606 * sysdeps/arm/nacl/uname-values.h: New file.
26607
26608 2015-05-12 Joseph Myers <joseph@codesourcery.com>
26609
26610 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
26611 splitting into fields.
26612
26613 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
26614
26615 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
26616 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
26617 * locale/localeinfo.h: Add enum collation_encoding_type.
26618 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
26619 * programs/ld-collate.c (collate_output): Add encoding type info.
26620 * string/strcoll_l.c (STRDIFF): New function.
26621 * (STRCOLL): Use STRDIFF to skip over equal prefix.
26622 * wcsmbs/wcscoll_l.c: Define STRDIFF.
26623
26624 2015-05-11 Joseph Myers <joseph@codesourcery.com>
26625
26626 [BZ #18397]
26627 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
26628 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
26629 <fpu_control.h> instead of <math/fpu_control.c>.
26630 * sysdeps/mips/mips32/fpu/Makefile: New file.
26631
26632 2015-05-11 Andreas Schwab <schwab@suse.de>
26633
26634 [BZ #18007]
26635 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
26636 nss_endgrent.
26637 (_nss_compat_endgrent): Call nss_endgrent.
26638 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
26639 nss_endpwent.
26640 (_nss_compat_endpwent): Call nss_endpwent.
26641 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
26642 needent, call nss_setspent only if non-zero.
26643 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
26644 (internal_endspent): Don't call nss_endspent.
26645 (_nss_compat_endspent): Call nss_endspent.
26646 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
26647 Remove. All uses removed.
26648 (internal_setent): Remove parameter stayopen, add parameter
26649 stream. Use it instead of global variable.
26650 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
26651 (internal_endent, internal_getent): Add parameter stream. Use it
26652 instead of global variable.
26653 (CONCAT(_nss_files_end,ENTNAME))
26654 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
26655 (_nss_files_get##name##_r): Pass local stream. Remove locking.
26656 * nss/nss_files/files-alias.c (position, last_use): Remove. All
26657 uses removed.
26658 (internal_setent, internal_endent): Add parameter stream. Use it
26659 instead of global variable.
26660 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
26661 stream.
26662 (get_next_alias): Add parameter stream.
26663 (_nss_files_getaliasent_r): Pass global stream.
26664 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
26665 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
26666 (_nss_files_gethostbyname4_r): Pass local stream to
26667 internal_setent, internal_getent and internal_endent. Remove
26668 locking.
26669
26670 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
26671
26672 * tst-strfmon1.c (tests): Update expected currency symbol.
26673
26674 2015-05-08 Roland McGrath <roland@hack.frob.com>
26675
26676 * sysdeps/nacl/gethostname.c: New file.
26677
26678 2015-05-08 Joseph Myers <joseph@codesourcery.com>
26679
26680 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
26681 and sinh.
26682 * math/auto-libm-test-out: Regenerated.
26683 * sysdeps/i386/fpu/libm-test-ulps: Update.
26684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26685
26686 2015-05-08 Carlos O'Donell <carlos@redhat.com>
26687
26688 [BZ #18125]
26689 * stdlib/tst-setcontext3.c: New file.
26690 * stdlib/tst-setcontext3.sh: New file.
26691 * stdlib/Makefile (tests): Add tst-setcontext3.
26692 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
26693 to verify test program created output file.
26694 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
26695 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
26696 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
26697 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
26698
26699 2015-05-06 Roland McGrath <roland@hack.frob.com>
26700
26701 [BZ #18383]
26702 * elf/tst-tlsalign.c: New file.
26703 * elf/tst-tlsalign-static.c: New file.
26704 * elf/tst-tlsalign-lib.c: New file.
26705 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
26706 (tests-static): Add tst-tlsalign-static.
26707 (modules-names): Add tst-tlsalign-lib.
26708 (test-xfail-tst-tlsalign): New variable.
26709 (test-xfail-tst-tlsalign-static): New variable.
26710
26711 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
26712 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
26713
26714 2015-05-06 Joseph Myers <joseph@codesourcery.com>
26715
26716 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
26717 csqrt, erfc, sin and sincos.
26718 * math/auto-libm-test-out: Regenerated.
26719 * sysdeps/i386/fpu/libm-test-ulps: Update.
26720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26721
26722 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
26723
26724 * sysdeps/aarch64/libm-test-ulps: Update.
26725
26726 2015-05-05 Joseph Myers <joseph@codesourcery.com>
26727
26728 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
26729 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
26730 * math/auto-libm-test-out: Regenerated.
26731 * sysdeps/i386/fpu/libm-test-ulps: Update.
26732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26733
26734 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
26735
26736 [BZ #18265]
26737 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
26738 (wcsncpy): Likewise.
26739
26740 2015-05-05 Florian Weimer <fweimer@redhat.com>
26741
26742 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
26743 Assume __ASSUME_FALLOCATE is always true.
26744 * sysdeps/unix/sysv/linux/posix_fallocate64.c
26745 (__posix_fallocate64_l64): Likewise.
26746 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
26747 (posix_fallocate): Likewise.
26748 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
26749 (__posix_fallocate64_l64): Likewise.
26750 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
26751 [!__ASSUME_FALLOCATE]: Add comment.
26752
26753 2015-05-05 Florian Weimer <fweimer@redhat.com>
26754
26755 * sysdeps/unix/sysv/linux/i386/Makefile
26756 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
26757 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
26758 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
26759 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
26760 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
26761 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
26762 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
26763
26764 2015-05-02 Joseph Myers <joseph@codesourcery.com>
26765
26766 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
26767 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
26768 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 2015-05-01 Joseph Myers <joseph@codesourcery.com>
26774
26775 * math/auto-libm-test-in: Add more tests of tgamma.
26776 * math/auto-libm-test-out: Regenerated.
26777 * sysdeps/i386/fpu/libm-test-ulps: Update.
26778 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26779
26780 * math/auto-libm-test-in: Add more tests of tanh.
26781 * math/auto-libm-test-out: Regenerated.
26782 * sysdeps/i386/fpu/libm-test-ulps: Update.
26783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26784
26785 * math/auto-libm-test-in: Add more tests of tan.
26786 * math/auto-libm-test-out: Regenerated.
26787 * sysdeps/i386/fpu/libm-test-ulps: Update.
26788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26789
26790 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
26791 * math/auto-libm-test-out: Regenerated.
26792 * sysdeps/i386/fpu/libm-test-ulps: Update.
26793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26794
26795 * math/auto-libm-test-in: Add another test of pow.
26796 * math/auto-libm-test-out: Regenerated.
26797 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26798
26799 * math/auto-libm-test-in: Add more tests of lgamma.
26800 * math/auto-libm-test-out: Regenerated.
26801 * sysdeps/i386/fpu/libm-test-ulps: Update.
26802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26803
26804 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
26805 log1p.
26806 * math/auto-libm-test-out: Regenerated.
26807 * sysdeps/i386/fpu/libm-test-ulps: Update.
26808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26809
26810 2015-05-01 Mark Wielaard <mjw@redhat.com>
26811
26812 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
26813 Elf64_Chdr structs and ELFCOMPRESS constants.
26814
26815 2015-05-01 Joseph Myers <joseph@codesourcery.com>
26816
26817 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
26818 expm1.
26819 * math/auto-libm-test-out: Regenerated.
26820 * sysdeps/i386/fpu/libm-test-ulps: Update.
26821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26822
26823 * math/auto-libm-test-in: Add more tests of erf and erfc.
26824 * math/auto-libm-test-out: Regenerated.
26825 * sysdeps/i386/fpu/libm-test-ulps: Update.
26826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26827
26828 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
26829
26830 * config.h.in (HAVE_AARCH64_BE): Add.
26831
26832 2015-04-30 Joseph Myers <joseph@codesourcery.com>
26833
26834 * math/auto-libm-test-in: Add more tests of csqrt.
26835 * math/auto-libm-test-out: Regenerated.
26836 * sysdeps/i386/fpu/libm-test-ulps: Update.
26837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26838
26839 * math/auto-libm-test-in: Add more tests of cosh and sinh.
26840 * math/auto-libm-test-out: Regenerated.
26841 * sysdeps/i386/fpu/libm-test-ulps: Update.
26842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26843
26844 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
26845
26846 2015-04-29 Roland McGrath <roland@hack.frob.com>
26847
26848 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
26849 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
26850
26851 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
26852 (euidaccess, eaccess): Define as weak aliases.
26853
26854 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
26855 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
26856 but __suseconds_t is often 'long int' so some sources assume that
26857 type is being used (e.g. they use %ld to print tv_usec).
26858
26859 2015-04-29 Florian Weimer <fweimer@redhat.com>
26860
26861 [BZ #18007]
26862 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
26863 (CVE-2014-8121)
26864 * nss/tst-nss-getpwent.c: New file.
26865 * nss/Makefile (tests): Add new test.
26866
26867 2015-04-28 Joseph Myers <joseph@codesourcery.com>
26868
26869 [BZ #18346]
26870 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
26871 exponents less than 48 as cases where high part of mantissa needs
26872 examining to determine whether argument is integral.
26873 * math/libm-test.inc (round_test_data): Add more tests.
26874
26875 2015-04-28 Mark Wielaard <mjw@redhat.com>
26876
26877 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
26878
26879 2015-04-27 David S. Miller <davem@davemloft.net>
26880
26881 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
26882 __tls_get_addr.
26883 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
26884
26885 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
26886
26887 [BZ#18333]
26888 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
26889
26890 2015-04-27 Florian Weimer <fweimer@redhat.com>
26891
26892 [BZ#18333]
26893 * time/tzset.c (parse_tzname): Return error on memory allocation
26894 failure.
26895 * test-skeleton.c (struct temp_name_list): Change type of name
26896 member to non-const.
26897 (add_temp_file): Create a copy of the file name.
26898 (delete_temp_files): Deallocate memory.
26899 (create_temp_file): Add comment.
26900
26901 2015-04-24 Florian Weimer <fweimer@redhat.com>
26902
26903 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
26904 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
26905
26906 2015-04-24 Roland McGrath <roland@hack.frob.com>
26907
26908 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
26909 * sysdeps/arm/configure: Regenerated.
26910
26911 2015-04-24 Florian Weimer <fweimer@redhat.com>
26912
26913 [BZ #17715]
26914 * time/tzfile.c (__tzfile_read): Check for large values of
26915 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
26916 * time/tzset.c (__tzstring_len): New function, based on the old
26917 __tzstring function.
26918 (__tzstring): Call __tzstring_len.
26919 (parse_tzname): New helper function extracted from
26920 __tzset_parse_tz. Call __tzstring_len, without making a copy of
26921 the input string.
26922 (parse_offset): New helper function extracted from
26923 __tzset_parse_tz. Replace switch with fallthrough with
26924 initialization before sscanf.
26925 (parse_rule): Likewise.
26926 (__tzset_parse_tz): Rewrite using the new helper functions. Use
26927 new-style function definition.
26928 * timezone/Makefile (tests): Add tst-tzset.
26929 (tst-tzset.out): Dependencies on time zone files.
26930 (tst-tzset-ENV): Set TZDIR.
26931 (testdata/XT%): Copy crafted time zone files.
26932 * timezone/README: Mention crafted time zone files.
26933 * timezone/testdata/XT1, timezone/testdata/XT2,
26934 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
26935 files.
26936 * timezone/tst-tzset.c: New test.
26937
26938 2015-04-24 Florian Weimer <fweimer@redhat.com>
26939
26940 * Makeconfig (+gccwarn): Remove -Winline.
26941
26942 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
26943
26944 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
26945
26946 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
26947
26948 * NEWS: Mention sysconf() cache information support for s390.
26949 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
26950
26951 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
26952
26953 * math/k_casinh.c (__kernel_casinh): Use __copysign.
26954 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
26955 (__nearbyint): Likewise.
26956 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
26957 (copysignl): Likewise.
26958
26959 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
26960
26961 [BZ #18287]
26962 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
26963 based on padding. (CVE-2015-1781)
26964
26965 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26966
26967 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
26968 libc-vdso.h.
26969 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
26970 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
26971 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
26972 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
26973 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
26974 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
26975 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
26976 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
26977 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
26978 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
26979 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
26980 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
26981 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
26982 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
26983 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
26984 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
26985 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
26986 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
26987 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
26988 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
26989 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
26990 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
26991 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
26992
26993 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
26994
26995 * stdlib/setenv.c (__add_to_environ):
26996 Dump core quickly if setenv (..., NULL, ...) is called.
26997 This time, do it the right way, and pacify GCC with a pragma.
26998
26999 2015-04-17 Roland McGrath <roland@hack.frob.com>
27000
27001 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
27002 IMAP->l_prev cannot be null, and #if out the code for the contrary
27003 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
27004 believe that NS (&_dl_ns[NSID]) could point outside the array.
27005
27006 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
27007 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
27008 before using NSID as an index.
27009
27010 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
27011
27012 [BZ #17825]
27013 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
27014 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
27015 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
27016
27017 2015-04-17 Roland McGrath <roland@hack.frob.com>
27018
27019 Add preliminary port to Google Native Client on ARM.
27020 * abi-tags (.*-.*-nacl.*): New entry.
27021 * sysdeps/arm/nacl: New directory.
27022 * sysdeps/nacl: New directory.
27023
27024 2015-04-16 David S. Miller <davem@davemloft.net>
27025
27026 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
27027 lowlevellock-futex.h
27028
27029 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
27030
27031 * sysdeps/tile/configure.ac: New file.
27032 * sysdeps/tile/configure: Regenerated.
27033
27034 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27035
27036 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
27037 conditionals for weak_alias and libc_hidden_weak.
27038 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
27039 libc_hidden_weak and weak_alias.
27040 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
27041 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
27042 and weak_alias for static one.
27043
27044 2015-04-15 David S. Miller <davem@davemloft.net>
27045
27046 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
27047
27048 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
27049
27050 [BZ #18206]
27051 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
27052 Use signed comparision instead of substraction to avoid
27053 overflow bug.
27054 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
27055 Take the sign of ret.
27056 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
27057 Do not expect precise return values. Only the sign matters.
27058 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
27059 * wcsmbs/test-wcsncmp.c: New File.
27060 * string/test-strncmp.c: Add wcsncmp support.
27061
27062 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
27063
27064 [BZ #6792]
27065 * math/w_log1p.c: New file.
27066 * math/w_log1pf.c: Likewise.
27067 * math/w_log1pl.c: Likewise.
27068 * math/Makefile (libm-calls): Add w_log1p.
27069 * math/s_log1pl.c (log1pl): Remove weak_alias.
27070 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
27071 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
27072 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
27073 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
27074 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
27075 [NO_LONG_DOUBLE] (log1pl): Likewise.
27076 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
27077 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
27078 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
27079 (log1p): Remove long_double_symbol.
27080 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
27081 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
27082 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
27083 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
27084 remove weak_alias for corresponding log1p function.
27085 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
27086 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
27087 * sysdeps/ia64/fpu/w_log1p.c: New file.
27088 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
27089 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
27090 * math/libm-test.inc (log1p_test_data): Add errno expectations.
27091
27092 2015-04-10 Joseph Myers <joseph@codesourcery.com>
27093
27094 [BZ #18247]
27095 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
27096 decimal exponent by 1.
27097 * stdlib/tst-strtod-round-data: Add more tests.
27098 * stdlib/tst-strtod-round.c (tests): Regenerated.
27099
27100 2015-04-09 Joseph Myers <joseph@codesourcery.com>
27101
27102 * math/auto-libm-test-in: Add more tests of clog and clog10.
27103 * math/auto-libm-test-out: Regenerated.
27104 * sysdeps/i386/fpu/libm-test-ulps: Update.
27105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27106
27107 2015-04-09 Roland McGrath <roland@hack.frob.com>
27108
27109 * Makeconfig (module-cppflags): Exclude all .v.i files.
27110 (skip-module-cppflags): Variable removed.
27111
27112 * configure.ac (libc_config_ok): Initialize before reading
27113 preconfigure scripts, not after.
27114 * configure: Regenerated.
27115
27116 * test-skeleton.c (TIMEOUT): Move #define to top level.
27117 (main): Grok environment variable TEST_DIRECT. If set, print
27118 test expectation details into that file and then behave as if
27119 given --direct.
27120
27121 2015-04-09 Florian Weimer <fweimer@redhat.com>
27122
27123 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
27124 warning on 32-bit.
27125
27126 2015-04-08 David S. Miller <davem@davemloft.net>
27127
27128 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27129
27130 2015-04-08 Joseph Myers <joseph@codesourcery.com>
27131
27132 * math/auto-libm-test-in: Add more tests of atanh.
27133 * math/auto-libm-test-out: Regenerated.
27134 * sysdeps/i386/fpu/libm-test-ulps: Update.
27135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27136
27137 * math/auto-libm-test-in: Add more tests of atan.
27138 * math/auto-libm-test-out: Regenerated.
27139 * sysdeps/i386/fpu/libm-test-ulps: Update.
27140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27141
27142 2015-04-08 Florian Weimer <fweimer@redhat.com>
27143
27144 * elf/pldd.c (main): Rewrite to use struct
27145 scratch_buffer instead of extend_alloca.
27146 * elf/pldd-xx.c (find_maps): Likewise.
27147 * grp/initgroups.c: Include <scratch_buffer.h> instead of
27148 <alloca.h>.
27149 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
27150 scratch_buffer instead of extend_alloca.
27151 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
27152 grp/compat-initgroups.c.
27153 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
27154 Rewrite to use struct scratch_buffer instead of extend_alloca.
27155 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
27156 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
27157
27158 2015-04-08 Joseph Myers <joseph@codesourcery.com>
27159
27160 * math/auto-libm-test-in: Add more tests of cbrt.
27161 * math/auto-libm-test-out: Regenerated.
27162 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27163
27164 * math/auto-libm-test-in: Add more tests of cabs.
27165 * math/auto-libm-test-out: Regenerated.
27166 * sysdeps/i386/fpu/libm-test-ulps: Update.
27167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27168
27169 [BZ #18210]
27170 [BZ #18211]
27171 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
27172 (__ieee754_atan2): Set FE_TONEAREST mode for internal
27173 computations.
27174 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
27175 clog10.
27176 * math/auto-libm-test-out: Regenerated.
27177 * sysdeps/i386/fpu/libm-test-ulps: Update.
27178 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27179
27180 [BZ #18197]
27181 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
27182 (atan): Set FE_TONEAREST mode for internal computations.
27183 * math/auto-libm-test-in: Add more tests of atan.
27184 * math/auto-libm-test-out: Regenerated.
27185
27186 2015-04-07 James Cowgill <james410@cowgill.org.uk>
27187
27188 [BZ #17930]
27189 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
27190
27191 2015-04-07 Florian Weimer <fweimer@redhat.com>
27192
27193 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
27194
27195 2015-04-07 Florian Weimer <fweimer@redhat.com>
27196
27197 * include/scratch_buffer.h: New file.
27198 * malloc/scratch_buffer_grow.c: Likewise.
27199 * malloc/scratch_buffer_grow_preserve.c: Likewise.
27200 * malloc/scratch_buffer_set_array_size.c: Likewise.
27201 * malloc/tst-scratch_buffer.c: Likewise.
27202 * malloc/Makefile (routines): Add scratch_buffer_grow.
27203 (tests): Add test case.
27204 * malloc/Versions (GLIBC_PRIVATE): Export
27205 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
27206 __libc_scratch_buffer_set_array_size.
27207
27208 2015-04-06 Richard Henderson <rth@redhat.com>
27209
27210 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
27211 * sysdeps/alpha/fpu/libm-test-ulps: Update.
27212
27213 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
27214 unsigned int before printing.
27215
27216 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27217
27218 [BZ #17596]
27219 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
27220 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
27221
27222 2015-04-02 Florian Weimer <fweimer@redhat.com>
27223
27224 * include/libc-internal.h (libc_max_align_t): Define.
27225
27226 2015-04-02 Andreas Schwab <schwab@suse.de>
27227
27228 [BZ #16850]
27229 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
27230
27231 2015-04-02 Mel Gorman <mgorman@suse.de>
27232
27233 [BZ #17195]
27234 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
27235 as well as the main arena.
27236
27237 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
27238
27239 [BZ #18185]
27240 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
27241 sharing L2 cache to 2 for Silvermont/Knights Landing.
27242
27243 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
27244
27245 [BZ #17711]
27246 * config.make.in (have-protected-data): New.
27247 * configure.ac: Check linker support for protected data symbol.
27248 * configure: Regenerated.
27249 * elf/Makefile (modules-names): Add tst-protected1moda and
27250 tst-protected1modb if $(have-protected-data) is yes.
27251 (tests): Add tst-protected1a and tst-protected1b if
27252 $(have-protected-data) is yes.
27253 ($(objpfx)tst-protected1a): New.
27254 ($(objpfx)tst-protected1b): Likewise.
27255 (tst-protected1modb.so-no-z-defs): Likewise.
27256 * elf/tst-protected1a.c: New file.
27257 * elf/tst-protected1b.c: Likewise.
27258 * elf/tst-protected1mod.h: Likewise.
27259 * elf/tst-protected1moda.c: Likewise.
27260 * elf/tst-protected1modb.c: Likewise.
27261
27262 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
27263
27264 [BZ #17711]
27265 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
27266 indicates it is called from do_lookup_x on relocation against
27267 protected data, skip the data definion in the executable from
27268 copy reloc.
27269 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
27270 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
27271 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
27272 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
27273 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
27274 otherwise to 0.
27275 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
27276 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
27277 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
27278 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
27279 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
27280 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
27281
27282 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
27283
27284 * sysdeps/nptl/pthread.h: Remove duplicate definition of
27285 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
27286
27287 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
27288
27289 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
27290 THREAD_SETMEM_NC.
27291 * sysdeps/x86_64/nptl/tls.h: Ditto.
27292
27293 2015-03-27 Roland McGrath <roland@hack.frob.com>
27294
27295 * dlfcn/tststatic.c (main): Converted to ...
27296 (do_test): ... this.
27297 (TEST_FUNCTION): New macro.
27298 Include test-skeleton.c.
27299
27300 2015-03-26 Alan Modra <amodra@gmail.com>
27301
27302 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
27303 Don't segfault if ifunc resolver returns a NULL. Do set plt to
27304 zero for undefined weak.
27305 (elf_machine_plt_conflict): Similarly.
27306
27307 2015-03-25 Joseph Myers <joseph@codesourcery.com>
27308
27309 * math/auto-libm-test-in: Add more tests of acosh, asinh and
27310 atanh.
27311 * math/auto-libm-test-out: Regenerated.
27312 * sysdeps/i386/fpu/libm-test-ulps: Update.
27313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27314
27315 * math/auto-libm-test-in: Add another test of asin.
27316 * math/auto-libm-test-out: Regenerated.
27317 * sysdeps/i386/fpu/libm-test-ulps: Update.
27318 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27319
27320 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
27321 Remove macro.
27322 (LLL_EBX_REG): Likewise.
27323 (LLL_ENTER_KERNEL): Likewise.
27324
27325 * math/auto-libm-test-in: Add more tests of asin.
27326 * math/auto-libm-test-out: Regenerated.
27327 * sysdeps/i386/fpu/libm-test-ulps: Update.
27328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27329
27330 [BZ #18138]
27331 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
27332 libc_do_syscall_args): New structure.
27333 (INTERNAL_SYSCALL_MAIN_0): New macro.
27334 (INTERNAL_SYSCALL_MAIN_1): Likewise.
27335 (INTERNAL_SYSCALL_MAIN_2): Likewise.
27336 (INTERNAL_SYSCALL_MAIN_3): Likewise.
27337 (INTERNAL_SYSCALL_MAIN_4): Likewise.
27338 (INTERNAL_SYSCALL_MAIN_5): Likewise.
27339 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
27340 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
27341 Replace conditional definitions by conditional definitions of ....
27342 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
27343 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
27344 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
27345 (libpthread-sysdep_routines): Add libc-do-syscall.
27346 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
27347 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
27348 to __NR_futex not 240.
27349
27350 2015-03-25 Alan Modra <amodra@gmail.com>
27351
27352 * NEWS: Advertise TLS optimization.
27353 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
27354 (DT_PPC_NUM): Increment.
27355 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
27356 (CHECK_STATIC_TLS): Use here.
27357 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
27358 TLS descriptors.
27359 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
27360 * sysdeps/powerpc/dl-tls.c: New file.
27361 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
27362 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
27363 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
27364 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
27365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
27366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
27367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
27368
27369 2015-03-25 Alan Modra <amodra@gmail.com>
27370
27371 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
27372 for overlapping .opd entries" to "support...".
27373 * sysdeps/powerpc/powerpc64/configure: Regenerate
27374
27375 2015-03-25 Joseph Myers <joseph@codesourcery.com>
27376
27377 * math/auto-libm-test-in: Add more tests of acos.
27378 * math/auto-libm-test-out: Regenerated.
27379 * sysdeps/i386/fpu/libm-test-ulps: Update.
27380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27381
27382 * math/auto-libm-test-in: Add more tests of expm1.
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 2015-03-24 Joseph Myers <joseph@codesourcery.com>
27388
27389 * math/auto-libm-test-in: Add more tests of cosh and sinh.
27390 * math/auto-libm-test-out: Regenerated.
27391 * sysdeps/i386/fpu/libm-test-ulps: Update.
27392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27393
27394 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
27395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27396
27397 * math/auto-libm-test-in: Add more tests of log2.
27398 * math/auto-libm-test-out: Regenerated.
27399 * sysdeps/i386/fpu/libm-test-ulps: Update.
27400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27401
27402 2015-03-23 Roland McGrath <roland@hack.frob.com>
27403
27404 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
27405 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
27406 _IO_IS_APPENDING bit in READ_WRITE instead.
27407
27408 2015-03-23 Florian Weimer <fweimer@redhat.com>
27409
27410 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
27411 (__determine_cpumask_size): Replace extend_alloca with a
27412 variable-length array. Do not treat res == 0 as an error.
27413
27414 2015-03-23 Florian Weimer <fweimer@redhat.com>
27415
27416 [BZ #18100]
27417 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
27418 and integer overflow.
27419 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
27420 (main): Add integer overflow tests.
27421 * manual/pattern.texi (Calling Wordexp): Document additional use
27422 for WRDE_SYNTAX.
27423
27424 2015-03-23 Alan Modra <amodra@gmail.com>
27425
27426 * config.h.in: Remove HAVE_ASM_PPC_REL16.
27427 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
27428 and false branch of conditional.
27429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
27430 Likewise.
27431
27432 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
27433
27434 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
27435 libc-modules.h
27436 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
27437 unused declaration of _hurd_intr_rpc_msg_in_trap.
27438 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
27439 defined instead of whether it is non-zero.
27440 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
27441 input constraint instead of both input and output constraint. Use ecx
27442 clobber instead of %ecx.
27443 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
27444 mutex_unlock): Use a statement expression instead of an expression list.
27445 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
27446 type to vm_size_t instead of vm_address_t.
27447 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
27448 defined instead of whether it is non-zero.
27449 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
27450 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
27451 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
27452 comparisons with mapaddr.
27453 * nscd/nscd-client.h: Include <time.h>.
27454 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
27455 9th parameter to __vm_region instead of int.
27456 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
27457 * scripts/check-local-headers.sh (exclude): Add device/,
27458 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
27459 cthreads.h.
27460
27461 2015-03-19 Roland McGrath <roland@hack.frob.com>
27462
27463 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
27464 to account for alignment padding.
27465 * sysdeps/arm/memmove.S: Likewise.
27466
27467 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
27468
27469 * sysdeps/unix/sysv/linux/generic/README: New file.
27470
27471 2015-03-18 Joseph Myers <joseph@codesourcery.com>
27472
27473 [BZ #18138]
27474 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
27475 (futex_abstimed_wait)
27476 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
27477 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
27478 of lll_futex_timed_wait.
27479
27480 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
27481
27482 [BZ #17542]
27483 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
27484
27485 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
27486
27487 [BZ #17090]
27488 [BZ #17620]
27489 [BZ #17621]
27490 [BZ #17628]
27491 * NEWS: Update.
27492 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
27493 entries with Static TLS too. Skip entries past the end of the
27494 allocated DTV, from Alan Modra.
27495 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
27496 Static TLS DTV entry set up from...
27497 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
27498 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
27499 * nptl/allocatestack.c (init_one_static_tls): ... and here...
27500 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
27501 for Static TLS.
27502 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
27503 that the slot we find is associated with the given map before
27504 using its generation count.
27505 * nptl_db/db_info.c: Include ldsodefs.h.
27506 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
27507 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
27508 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
27509 (link_map::l_tls_offset): New struct field.
27510 (dtv_t::counter): Likewise.
27511 (rtld_global): New struct.
27512 (_rtld_global): New rtld variable.
27513 (dl_tls_dtv_slotinfo_list): New rtld global field.
27514 (dtv_slotinfo_list): New struct.
27515 (dtv_slotinfo): Likewise.
27516 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
27517 (td_lookup): Rename to...
27518 (td_mod_lookup): ... this. Use new mod parameter instead of
27519 LIBPTHREAD_SO.
27520 * nptl_db/td_thr_tlsbase.c: Include link.h.
27521 (dtv_slotinfo_list, dtv_slotinfo): New functions.
27522 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
27523 addresses even if the DTV is out of date or missing them.
27524 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
27525 index zero-length arrays.
27526 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
27527 (td_lookup): Make it a macro implemented in terms of...
27528 (td_mod_lookup): ... this declaration.
27529 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
27530 (DB_MAIN_VARIABLE): Likewise.
27531
27532 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
27533
27534 [BZ #18134]
27535 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
27536
27537 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
27538
27539 * stdlib/setenv.c (__add_to_environ): Revert previous change.
27540
27541 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
27542
27543 [BZ #18128]
27544 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
27545 (atomic_add, atomic_increment_and_test)
27546 (atomic_decrement_and_test): Fix 64-bit arithmetic.
27547
27548 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
27549
27550 * stdlib/setenv.c (__add_to_environ):
27551 Dump core quickly if setenv (..., NULL, ...) is called.
27552
27553 2015-03-13 Roland McGrath <roland@hack.frob.com>
27554
27555 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
27556 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
27557 all the necessary asm magic in one place.
27558 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
27559 using those.
27560
27561 2015-03-13 Carlos O'Donell <carlos@redhat.com>
27562
27563 [BZ #14906]
27564 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
27565 traced file mtime. Use consistent log message.
27566 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
27567 (register_traced_file): Call install_watches. Always set mtime.
27568 (invalidate_cache): Iterate over all trace files. Call install_watches.
27569 (inotify_check_files): Don't inline. Handle watching parent
27570 directories and configuration file movement in and out.
27571 (handle_inotify_events): New function.
27572 (main_loop_poll): Call handle_inotify_events.
27573 (main_loop_epoll): Likewise.
27574 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
27575 (struct traced_file): Use array of inotify fds. Add parent directory,
27576 and basename.
27577 (struct database_dyn): Remove unused file_mtime.
27578 (init_traced_file): New inline function.
27579 (define_traced_file): New macro.
27580 * nss/nss_db/db-init.c: Use define_traced_file.
27581 (_nss_db_init): Use init_traced_file.
27582 * nss/nss_files/files-init.c: Use define_traced_file.
27583 (_nss_files_init): Use init_traced_file.
27584
27585 2015-03-12 Joseph Myers <joseph@codesourcery.com>
27586
27587 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
27588 [_LIBC]: Do not include <stdlib.h>.
27589 [!_LIBC] (abort): Remove declaration.
27590 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
27591 _FP_STATIC_ASSERT instead of conditionally calling abort.
27592 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
27593 (_FP_EXTEND_CNAN): Likewise.
27594 (FP_TRUNC): Likewise.
27595 (__FP_CLZ): Likewise.
27596 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
27597
27598 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
27599
27600 * manual/string.texi (XPG basename): Fix prototype.
27601
27602 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
27603
27604 [BZ #18080]
27605 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
27606 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
27607 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
27608 (__setcontext): Likewise.
27609 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
27610 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
27611 Call rt_sigprocmask syscall one time to set new signal mask
27612 and retrieve the current signal mask instead of two calls.
27613 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
27614 (__swapcontext): Likewise.
27615 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
27616 * stdlib/tst-setcontext2.c: New file.
27617
27618 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
27619
27620 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
27621
27622 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
27623
27624 [BZ #18093]
27625 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
27626 the wrong size.
27627
27628 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
27629
27630 [BZ #18043]
27631 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
27632
27633 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
27634
27635 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
27636 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
27637 Remove define.
27638 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
27639 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
27640 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
27641 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
27642 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
27643 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
27644 define.
27645 * nptl_db/td_symbol_list.c (td_lookup): Remove
27646 HAVE_ASM_GLOBAL_DOT_NAME code.
27647 * sysdeps/powerpc/powerpc64/configure.ac: Remove
27648 HAVE_ASM_GLOBAL_DOT_NAME check.
27649 * sysdeps/powerpc/powerpc64/configure: Regenerate.
27650 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
27651 (DOT_LABEL): Remove define.
27652 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
27653 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
27654 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
27655 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
27656 (__TLS_GET_ADDR): Likewise.
27657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
27658 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
27659
27660 2015-03-11 Carlos O'Donell <carlos@redhat.com>
27661
27662 [BZ #18111]
27663 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
27664 (_FPU_SETCW): Initialize cw from fpsr before storing.
27665 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
27666 (fesetexceptflag): Rewrite using fpu_control.h.
27667 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
27668
27669 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
27670
27671 [BZ #18110]
27672 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
27673 asms.
27674 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
27675
27676 2015-03-11 Joseph Myers <joseph@codesourcery.com>
27677
27678 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
27679 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
27680 abort.
27681 (_FP_FMA): Likewise.
27682 (_FP_DIV): Likewise.
27683
27684 2015-03-10 Roland McGrath <roland@hack.frob.com>
27685
27686 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
27687 with 0 in that case.
27688 * Makefile (summarize-tests): New canned sequence, factored out of
27689 commands for targets tests and xtests. Display summary lines that
27690 don't start with PASS: or XFAIL: rather than ones that do start with
27691 ERROR: or FAIL:. Make the commands fail if any summary lines fail
27692 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
27693 do start with ERROR: or FAIL:.
27694 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
27695 (except for [$(build-shared) = yes]).
27696 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
27697 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
27698 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
27699 * nptl/Makefile: Revert 2015-03-04 changes.
27700 [$(CXX) empty] (tests-unsupported): New variable.
27701 * debug/Makefile: Likewise.
27702
27703 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
27704 gnulib file. Replace __attribute with __attribute__ throughout.
27705
27706 2015-03-10 Carlos O'Donell <carlos@redhat.com>
27707
27708 * sysdeps/hppa/fpu/libm-test-ulps: Update.
27709
27710 2015-03-10 Joseph Myers <joseph@codesourcery.com>
27711
27712 [BZ #18104]
27713 * math/auto-libm-test-in: Add another test of pow.
27714 * math/auto-libm-test-out: Regenerated.
27715
27716 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27717
27718 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
27719 $(config-cflags-nofma).
27720
27721 2015-03-10 Joseph Myers <joseph@codesourcery.com>
27722
27723 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
27724 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
27725 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
27726 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
27727 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
27728 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
27729 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
27730 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
27731 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
27732 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
27733 Add comment on closing #endif.
27734
27735 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
27736
27737 * posix/wordexp.c (CHAR_IN_SET): New macro.
27738 (parse_param): Use it.
27739
27740 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27741
27742 * sysdeps/powerpc/fpu/libm-test-ulps: update.
27743
27744 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
27745
27746 [BZ #18043]
27747 * posix/wordexp.c (parse_param): Fix buffer overflow.
27748 * posix/wordexp-test.c (test_case): Add test case.
27749
27750 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
27751
27752 [BZ #18042]
27753 * posix/wordexp.c (parse_backtick): Fix off-by-one.
27754 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
27755
27756 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
27757
27758 [BZ #18043]
27759 * posix/wordexp-test.c (test_case): Add test for BZ #18043
27760 (do_bz18043): Delete.
27761 (at_page_end): New.
27762 (testit): Refactor to have words at the edge of unreadable page.
27763
27764 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
27765
27766 [BZ #16734]
27767 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
27768 Cleanup read-only streams as well.
27769 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
27770
27771 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
27772
27773 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
27774 <bits/libc-lockP.h>
27775
27776 2015-03-07 Joseph Myers <joseph@codesourcery.com>
27777
27778 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
27779 on [__KERNEL__].
27780 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
27781 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
27782 * soft-fp/op-common.h (_FP_DECL): Likewise.
27783
27784 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
27785
27786 * elf/ifuncdep2.c (global): Replace
27787 __attribute__((visibility("protected"))) with
27788 asm (".protected global").
27789 * elf/ifuncmod1.c (global): Likewise.
27790 * elf/ifuncmod5.c (global): Likewise.
27791
27792 2015-03-06 Joseph Myers <joseph@codesourcery.com>
27793
27794 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
27795 <asm/sfp-machine.h> instead of <sfp-machine.h>.
27796
27797 2015-03-06 Roland McGrath <roland@hack.frob.com>
27798
27799 * manual/install.texi (Configuring and compiling):
27800 Document test-wrapper-env-only.
27801 * INSTALL: Regenerated.
27802
27803 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
27804
27805 [BZ #18043]
27806 * posix/wordexp.c (parse_param): Fix buffer overflow.
27807 * posix/wordexp-test.c (do_bz18043): Add test case.
27808
27809 2015-03-06 Vincent Bernat <vincent@bernat.im>
27810
27811 * time/tst-strptime2.c (do_test): Ensure failing tests are
27812 reported correctly.
27813 * time/tst-strptime3.c (do_test): Likewise.
27814
27815 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
27816
27817 Fix aio_error thread-safety.
27818 * sysdeps/pthread/aio_error.c: New file
27819 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
27820 synchronization.
27821
27822 2015-03-06 Florian Weimer <fweimer@redhat.com>
27823
27824 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
27825 (group_number, vfprintf): Use it.
27826 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
27827 (JUMP, REF): Use it.
27828 (WORK_BUFFER_SIZE): New enum constant.
27829 (process_arg, vfprintf): Use it.
27830
27831 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
27832
27833 * manual/errno.texi (Error Messages): Complete example function
27834 by adding missing #define.
27835 (program_invocation_name): Add statement indicating GNU
27836 extension and reference which header file declares the variable.
27837 (program_invocation_short_name): Likewise.
27838
27839 2015-03-06 Mike Frysinger <vapier@gentoo.org>
27840
27841 * manual/errno.texi (Error Messages): Delete strerror ISO C89
27842 compatibility note.
27843
27844 2015-03-05 Roland McGrath <roland@hack.frob.com>
27845
27846 * Makeconfig (test-wrapper-env-only): New variable.
27847 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
27848 then use that with $(test-wrapper-env-only) rather than using
27849 $(test-wrapper-env) $(run-program-env) $($*-ENV).
27850
27851 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
27852
27853 [BZ #18082]
27854 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
27855 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
27856 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
27857 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
27858 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
27859 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
27860 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
27861 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
27862 Likewise.
27863 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
27864 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
27865 Likewise.
27866 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
27867 Likewise.
27868 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
27869 Likewise.
27870 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
27871 Likewise.
27872 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
27873 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
27874 Likewise.
27875 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
27876 Likewise.
27877 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
27878 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
27879
27880 2015-03-04 Roland McGrath <roland@hack.frob.com>
27881
27882 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
27883 (ETH_ALEN): New macro.
27884 (struct ether_addr): Use it for length of ether_addr_octet.
27885
27886 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
27887 (setdb): Don't call __nss_configure_lookup for "rpc".
27888 (do_test): Don't call test_rpc.
27889 (output_rpcent, test_rpc): Functions moved ...
27890 * sunrpc/test-rpcent.c: ... to this new file.
27891 * sunrpc/Makefile (tests): Add it.
27892
27893 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
27894 __xpg_sigpause.
27895 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
27896 * nptl/tst-signal6.c: Likewise.
27897 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
27898 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
27899
27900 * configure.ac (libc_cv_cxx_link_ok): New check.
27901 Reset CXX to empty if it fails to link.
27902 * configure: Regenerated.
27903 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
27904 bug-atexit3-lib only if $(CXX) is nonempty.
27905 * nptl/Makefile (tests): Likewise for tst-cancel24.
27906 (tests, tests-static): Likewise for tst-cancel24-static.
27907 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
27908 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
27909 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
27910 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
27911
27912 2015-03-04 Andreas Schwab <schwab@suse.de>
27913
27914 [BZ #17631]
27915 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
27916 for non-GCC compilers.
27917 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
27918 Likewise.
27919
27920 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
27921
27922 [BZ #17776]
27923 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
27924 integer before bitwise and assembly operations.
27925 (feclearexcept): Likewise.
27926 * math/test-fenvinline.c: New file.
27927 * math/Makefile: Add test-fenvinline test.
27928
27929 2015-03-03 Alan Modra <amodra@gmail.com>
27930
27931 [BZ #16512]
27932 * scripts/localplt.awk: Strip off symbol version.
27933 * NEWS: Mention bug fix.
27934
27935 2015-03-02 Roland McGrath <roland@hack.frob.com>
27936
27937 * sysdeps/pthread/timer_routines.c
27938 (timer_free_list, thread_free_list, thread_active_list): Make static.
27939
27940 2015-03-02 Joseph Myers <joseph@codesourcery.com>
27941
27942 [BZ #17779]
27943 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
27944 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
27945 Undefine.
27946 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27947 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
27948 Likewise.
27949 * sysdeps/unix/sysv/linux/sh/kernel-features.h
27950 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
27951 Likewise.
27952
27953 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
27954
27955 [BZ #18036]
27956 * posix/fnmatch_loop.c (END): Detect invalid pattern.
27957 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
27958
27959 2015-03-02 Andreas Schwab <schwab@suse.de>
27960
27961 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
27962 variable name.
27963
27964 2015-03-02 Florian Weimer <fweimer@redhat.com>
27965
27966 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
27967 Return error status.
27968
27969 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
27970
27971 [BZ #15969]
27972 * locale/findlocale.c (_nl_find_locale): Introduce const
27973 version of loc_name and drop unsafe type casts.
27974
27975 2015-02-27 Roland McGrath <roland@hack.frob.com>
27976
27977 * dlfcn/tststatic2.c (main): Converted to ...
27978 (do_test): ... this.
27979 (TEST_FUNCTION): New macro.
27980 Include test-skeleton.c.
27981
27982 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
27983
27984 [BZ #17711]
27985 * elf/Makefile (tests): Add vismain only if PIE is enabled.
27986 (tests-pie): Add vismain.
27987 (CFLAGS-vismain.c): New.
27988 * elf/vismain.c: Add comments for PIE requirement.
27989
27990 2015-02-27 Joseph Myers <joseph@codesourcery.com>
27991
27992 [BZ #18046]
27993 [BZ #18047]
27994 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
27995 0x1p-56L as threshold for just returning the argument.
27996 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
27997 0x1p-32L as threshold for just returning the argument.
27998 * math/auto-libm-test-in: Add more tests of atanh.
27999 * math/auto-libm-test-out: Regenerated.
28000 * sysdeps/i386/fpu/libm-test-ulps: Update.
28001 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
28002
28003 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
28004
28005 * string/bcopy.c (bcopy): Call memmove for performance.
28006
28007 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
28008
28009 * string/bzero.c (__bzero): Call memset for performance.
28010
28011 2015-02-27 John David Anglin <dave.anglin@bell.net>
28012
28013 [BZ #18068]
28014 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
28015 to 00100000.
28016
28017 2015-02-27 Joseph Myers <joseph@codesourcery.com>
28018
28019 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
28020
28021 2015-02-26 Joseph Myers <joseph@codesourcery.com>
28022
28023 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
28024 (__kernel_standard): Use CSTR macro when setting exc.name.
28025 * sysdeps/ieee754/Makefile [$(subdir) = math]
28026 (CFLAGS-k_standard.c): Remove variable.
28027
28028 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
28029 setting p and q from "else if" to "else".
28030 (qzero): Likewise.
28031 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
28032 (qone): Likewise.
28033 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
28034 (qzerof): Likewise.
28035 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
28036 (qonef): Likewise.
28037 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
28038 (qzero): Likewise.
28039 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
28040 (qone): Likewise.
28041
28042 [BZ #18038]
28043 [BZ #18039]
28044 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
28045 return pi/2 for arguments below 0x1p-113L.
28046 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
28047 return pi/2 for arguments below 0x1p-106L.
28048 * math/auto-libm-test-in: Add more tests of acos.
28049 * math/auto-libm-test-out: Regenerated.
28050
28051 [BZ #16351]
28052 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
28053 (MO): New macro.
28054 (__ieee754_asin): Force underflow exception for results with small
28055 absolute value.
28056 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
28057 (MO): New macro.
28058 (__ieee754_asinf): Force underflow exception for results with
28059 small absolute value.
28060 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
28061 (__ieee754_asin): Force underflow exception for results with small
28062 absolute value.
28063 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
28064 (__ieee754_asinf): Force underflow exception for results with
28065 small absolute value.
28066 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
28067 (__ieee754_asinl): Force underflow exception for results with
28068 small absolute value.
28069 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
28070 (__ieee754_asinl): Force underflow exception for results with
28071 small absolute value.
28072 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
28073 (__ieee754_asinl): Force underflow exception for results with
28074 small absolute value.
28075 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
28076 Include <math.h>.
28077 * math/auto-libm-test-in: Do not mark underflow exceptions as
28078 possibly missing for bug 16351.
28079 * math/auto-libm-test-out: Regenerated.
28080
28081 [BZ #18030]
28082 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
28083 of power of 2 down when low part has opposite sign.
28084 * math/libm-test.inc (logb_test_data): Add more tests.
28085
28086 2015-02-26 Andreas Schwab <schwab@suse.de>
28087
28088 [BZ #18032]
28089 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
28090 over collating symbol inside a bracket expression. Minor cleanup.
28091 * posix/tst-fnmatch3.c (do_test): Add test case.
28092
28093 2015-02-26 Joseph Myers <joseph@codesourcery.com>
28094
28095 [BZ #18029]
28096 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
28097 Adjust exponent of power of 2 down when low part has opposite
28098 sign.
28099 * math/libm-test.inc (ilogb_test_data): Add more tests.
28100
28101 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
28102
28103 [BZ #15969]
28104 * locale/findlocale.c (_nl_find_locale): Fix constness error in
28105 the previous change.
28106
28107 [BZ #15969]
28108 * locale/findlocale.c (_nl_find_locale): Retry archive search
28109 after alias expansion.
28110
28111 2015-02-25 Roland McGrath <roland@hack.frob.com>
28112
28113 * iconv/tst-iconv3.c (main): Converted to ...
28114 (do_test): ... this.
28115 (TEST_FUNCTION): New macro.
28116 Include test-skeleton.c.
28117
28118 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
28119 (convert): Make function static.
28120 (test_unalign): Likewise. Add const to argument pointee types.
28121 (main): Replace with static function do_test.
28122 Print "Succeeded." only if RET is zero.
28123 (TEST_FUNCTION): New macro.
28124 Include test-skeleton.c.
28125
28126 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
28127 returns a null pointer.
28128
28129 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28130
28131 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
28132 to __memcpy_ppc only for static builds.
28133
28134 2015-02-25 Joseph Myers <joseph@codesourcery.com>
28135
28136 [BZ #18020]
28137 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
28138 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
28139 * math/auto-libm-test-in: Add more tests of asinh.
28140 * math/auto-libm-test-out: Regenerated.
28141 * sysdeps/i386/fpu/libm-test-ulps: Update.
28142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28143
28144 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
28145
28146 [BZ #15850]
28147 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
28148 and ip6_mtuinfo definitions here.
28149 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
28150 in this define too. Update comment.
28151
28152 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
28153
28154 * elf/sprof.c (load_shobj): Tweak error message to match others.
28155
28156 2015-02-24 Kevin Easton <kevin@guarana.org>
28157
28158 [BZ #16145] (partial fix)
28159 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
28160 to reduce lock contention.
28161
28162 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
28163
28164 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
28165 (struct timex): Update time comment.
28166 (ADJ_SETOFFSET): Define.
28167
28168 2015-02-24 Joseph Myers <joseph@codesourcery.com>
28169
28170 [BZ #18019]
28171 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
28172 2**56 not 2**28 as threshold for log (2x) formula.
28173 * math/auto-libm-test-in: Add more tests of acosh.
28174 * math/auto-libm-test-out: Regenerated.
28175 * sysdeps/i386/fpu/libm-test-ulps: Update.
28176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28177
28178 2015-02-24 Mike Frysinger <vapier@gentoo.org>
28179
28180 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
28181 parenthesis around the buf assignment.
28182 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
28183
28184 2015-02-24 Joseph Myers <joseph@codesourcery.com>
28185
28186 [BZ #16783]
28187 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
28188 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
28189 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
28190 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
28191 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
28192 * math/libm-test.inc (scalb_test_data): Add more tests.
28193
28194 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
28195
28196 [BZ #17916]
28197 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
28198 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
28199
28200 2015-02-24 Eric Rannaud <e@nanocritical.com>
28201
28202 [BZ #17523]
28203 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
28204 * io/bits/fcntl2.h (open): Use it.
28205 (openat): Likewise.
28206 * io/open.c (__libc_open): Likewise.
28207 * io/open64.c (__libc_open64): Likewise.
28208 * io/open64_2.c (__open64_2): Likewise.
28209 * io/open_2.c (__open_2): Likewise.
28210 * io/openat.c (__openat): Likewise.
28211 * io/openat64.c (__openat64): Likewise.
28212 * io/openat64_2.c (__openat64_2): Likewise.
28213 * io/openat_2.c (__openat_2): Likewise.
28214 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
28215 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
28216 * sysdeps/posix/open64.c (__libc_open64): Likewise.
28217 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
28218 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
28219 (__open_nocancel): Likewise.
28220 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
28221 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
28222 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
28223
28224 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
28225
28226 [BZ #14841]
28227 * resolv/gethnamaddr.c (getanswer): Skip logging if
28228 RES_USE_DNSSEC is set.
28229 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
28230
28231 2015-02-24 Mike Frysinger <vapier@gentoo.org>
28232
28233 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
28234
28235 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
28236
28237 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
28238 201304L, for Unicode 7.
28239
28240 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
28241
28242 [BZ #17836]
28243 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
28244 shared library. Add gmon-start.os otherwise.
28245 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
28246 $(objpfx)gmon-start.os if builing shared library.
28247 ($(objpfx)g$(static-start-installed-name)): Likewise.
28248
28249 2015-02-23 Andreas Schwab <schwab@suse.de>
28250
28251 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
28252
28253 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
28254
28255 [BZ #17269]
28256 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
28257 (enlarge_userbuf): Likewise.
28258
28259 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
28260
28261 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
28262 * math/atest-exp.c (TIMEOUT): Adjust to 200.
28263 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
28264 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
28265
28266 2015-02-20 Joseph Myers <joseph@codesourcery.com>
28267
28268 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
28269 expression inside statement expression.
28270
28271 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
28272
28273 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
28274 <sysdeps/nptl/lowlevellock.h> and remove macros and
28275 functions that are now defined there.
28276 (SYS_futex): Remove.
28277 (lll_compare_and_swap): Remove.
28278 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
28279
28280 2015-02-19 Joseph Myers <joseph@codesourcery.com>
28281
28282 [BZ #17999]
28283 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
28284 instead of scandirat.
28285 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
28286 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
28287 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
28288 __scandirat.
28289 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
28290 (__scandirat): Declare. Use libc_hidden_proto.
28291 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
28292 Remove variable.
28293 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
28294
28295 2015-02-18 Joseph Myers <joseph@codesourcery.com>
28296
28297 [BZ #15319]
28298 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
28299 (MO): New macro.
28300 (__ieee754_atan2): For results with small absolute value, force
28301 underflow exception and remove excess range and precision from
28302 return value.
28303 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
28304 (MO): New macro.
28305 (__ieee754_atan2f): For results with small absolute value, force
28306 underflow exception and remove excess range and precision from
28307 return value.
28308 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
28309 (MO): New macro.
28310 (__atan): For results with small absolute value, force underflow
28311 exception and remove excess range and precision from return value.
28312 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
28313 (MO): New macro.
28314 (__atanf): For results with small absolute value, force underflow
28315 exception and remove excess range and precision from return value.
28316 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
28317 <math.h>.
28318 (__ieee754_atan2): Force underflow exception for results with
28319 small absolute value.
28320 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
28321 <math_private.h>.
28322 (atan): Force underflow exception for results with small absolute
28323 value.
28324 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
28325 (__atanf): Force underflow exception for results with small
28326 absolute value.
28327 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
28328 <math.h>.
28329 (__atanl): Force underflow exception for results with small
28330 absolute value.
28331 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
28332 (__atanl): Force underflow exception for results with small
28333 absolute value.
28334 * sysdeps/x86/fpu/bits/mathinline.h
28335 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
28336 (__ieee754_atan2): Only define inline for long double.
28337 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
28338 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
28339 * math/auto-libm-test-in: Do not mark underflow exceptions as
28340 possibly missing for bug 15319. Add more tests of atan2.
28341 * math/auto-libm-test-out: Regenerated.
28342 * math/libm-test.inc (casin_test_data): Do not mark underflow
28343 exceptions as possibly missing for bug 15319.
28344 (casinh_test_data): Likewise.
28345 * sysdeps/i386/fpu/libm-test-ulps: Update.
28346
28347 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
28348
28349 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
28350 * sysdeps/mips/bits/endian.h: Fix comments.
28351
28352 2015-02-18 Joseph Myers <joseph@codesourcery.com>
28353
28354 [BZ #17996]
28355 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
28356 (hdestroy_r): Likewise.
28357 (hsearch_r): Likewise.
28358 (__hcreate_r): Declare and use libc_hidden_proto.
28359 (__hdestroy_r): Likewise.
28360 (__hsearch_r): Likewise.
28361 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
28362 (hcreate): Call __hcreate_r instead of hcreate_r.
28363 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
28364 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
28365 as weak alias of __hcreate_r.
28366 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
28367 __hdestroy_r.
28368 (hsearch_r): Rename to __hsearch_r and define as weak alias of
28369 __hsearch_r.
28370 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
28371 Remove variable.
28372 (test-xfail-XPG4/search.h/linknamespace): Likewise.
28373 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
28374 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
28375 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
28376
28377 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28378
28379 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
28380 arena_lock into a single arena_get.
28381
28382 2015-02-17 Carlos O'Donell <carlos@redhat.com>
28383
28384 * dl-reloc.c: Inlucde libc-internal.h.
28385 (_dl_try_allocate_static_tls): Call ALIGN_UP.
28386 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
28387 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
28388 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
28389 (grow_heap): Likewise.
28390 * malloc/malloc.c: Include libc-internal.h.
28391 (do_check_malloc): Call powerof2.
28392 (sysmalloc): Use pagesize. Call ALIGN_UP.
28393 (systrim): Use pagesize.
28394 (mremap_chunk): Use pagesize. Call ALIGN_UP.
28395 (__libc_valloc): Use pagesize.
28396 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
28397
28398 2015-02-17 Joseph Myers <joseph@codesourcery.com>
28399
28400 [BZ #17991]
28401 * include/sys/resource.h (__getrlimit64): Declare. Use
28402 libc_hidden_proto.
28403 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
28404 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
28405 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
28406 getrlimit64.
28407 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
28408 __getrlimit64.
28409 [!getrlimit64] (getrlimit64): Define as weak alias of
28410 __getrlimit64. Use libc_hidden_weak.
28411 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
28412 using __getrlimit64 not __new_getrlimit64.
28413 (__GI_getrlimit64): Likewise.
28414 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
28415 Likewise.
28416 (__GI_getrlimit64): Likewise.
28417 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
28418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
28419 (getrlimit): Add __getrlimit64 alias.
28420 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
28421 Likewise.
28422 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
28423 Remove variable.
28424 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
28425 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
28426
28427 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
28428
28429 * libio/fileops.c: Add missing sys/mman.h
28430 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
28431
28432 2015-02-17 Joseph Myers <joseph@codesourcery.com>
28433
28434 * manual/math.texi (Errors in Math Functions): Clarify goals
28435 regarding inexact and underflow exceptions.
28436
28437 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
28438
28439 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
28440 * sysdeps/mips/memset.S: Ditto.
28441
28442 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
28443
28444 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
28445
28446 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
28447
28448 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
28449 (__v1longjmp): Remove versioned symbol.
28450 (__v1siglongjmp): Remove alias and versioned symbol.
28451 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
28452 (__v2siglongjmp): Likewise.
28453
28454 2015-02-16 Torvald Riegel <triegel@redhat.com>
28455
28456 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
28457
28458 2015-02-16 Mike Frysinger <vapier@gentoo.org>
28459
28460 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
28461
28462 2015-02-16 Joseph Myers <joseph@codesourcery.com>
28463
28464 [BZ #17987]
28465 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
28466 zero result does not depend on the sign resulting from
28467 subtraction.
28468 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
28469 Likewise.
28470 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
28471 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
28472 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
28473 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
28474 * math/libm-test.inc (remquo_test_data): Add more tests.
28475
28476 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
28477
28478 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
28479 Problem reported by J William Piggott.
28480
28481 2015-02-16 Joseph Myers <joseph@codesourcery.com>
28482
28483 [BZ #17978]
28484 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
28485 products 4 * y and 2 * y where those would overflow.
28486 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
28487 Likewise.
28488 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
28489 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
28490 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
28491 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
28492 * math/libm-test.inc (remquo_test_data): Add more tests.
28493
28494 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
28495
28496 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
28497 [defined _COMPILING_NEWLIB].
28498 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
28499 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
28500
28501 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
28502 [!defined __mips_isa_rev || __mips_isa_rev < 6].
28503
28504 2015-02-16 Torvald Riegel <triegel@redhat.com>
28505
28506 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
28507 acquired.
28508
28509 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
28510
28511 [BZ #17792]
28512 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
28513 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
28514 HOST_STACK_END_ADDR): Likewise.
28515
28516 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
28517
28518 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
28519 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
28520 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
28521
28522 2015-02-13 Roland McGrath <roland@hack.frob.com>
28523
28524 * sysdeps/generic/c++-types.data: New file.
28525 * sysdeps/generic/ld.abilist: New file.
28526 * sysdeps/generic/libBrokenLocale.abilist: New file.
28527 * sysdeps/generic/libanl.abilist: New file.
28528 * sysdeps/generic/libc.abilist: New file.
28529 * sysdeps/generic/libcrypt.abilist: New file.
28530 * sysdeps/generic/libdl.abilist: New file.
28531 * sysdeps/generic/libm.abilist: New file.
28532 * sysdeps/generic/libpthread.abilist: New file.
28533 * sysdeps/generic/libresolv.abilist: New file.
28534 * sysdeps/generic/librt.abilist: New file.
28535
28536 2015-02-13 Joseph Myers <joseph@codesourcery.com>
28537
28538 [BZ #17569]
28539 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
28540 Compute absolute value of x as modified by fmod, not original
28541 value of x.
28542 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
28543 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
28544 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
28545 RUN_TEST_ffI_f1_mod8.
28546 (remquo_test_data): Add more tests.
28547
28548 2015-02-13 Roland McGrath <roland@hack.frob.com>
28549
28550 * sysdeps/init_array/pt-crti.S: New file.
28551
28552 2015-02-13 Joseph Myers <joseph@codesourcery.com>
28553
28554 [BZ #17967]
28555 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
28556 __builtin_fmaf instead of relying on contraction of a * b + c.
28557
28558 2015-02-12 J William Piggott <elseifthen@gmx.com>
28559
28560 [BZ #17969]
28561 * manual/time.texi: correct the zoneinfo path in the TZ Variable
28562 node.
28563
28564 2015-02-12 Joseph Myers <joseph@codesourcery.com>
28565
28566 [BZ #17964]
28567 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
28568 __builtin_fma instead of relying on contraction of a * b + c.
28569
28570 2015-02-12 Roland McGrath <roland@hack.frob.com>
28571
28572 * Makeconfig (ASFLAGS): Add -Werror=undef.
28573 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
28574 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
28575 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
28576
28577 * Makeconfig (after-link): New variable.
28578 (+link-pie, +link-pie-tests): Use it.
28579 (+link-static, +link-static-tests): Likewise.
28580 (+link, +link-tests): Likewise.
28581 * Makerules (build-module, build-module-asneeded): Likewise.
28582 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
28583 Likewise.
28584 * elf/Makefile ($(objpfx)ld.so): Likewise.
28585
28586 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
28587
28588 [BZ #17965]
28589 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
28590 both struct timeval and struct timespec.
28591
28592 2015-02-12 Joseph Myers <joseph@codesourcery.com>
28593
28594 [BZ #16560]
28595 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28596 and redefine.
28597 (__ieee754_exp2l): Do not multiply small fractional parts by
28598 M_LN2l.
28599 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
28600 small argument.
28601 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
28602 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
28603 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
28604 * math/auto-libm-test-in: Add more tests of exp2.
28605 * math/auto-libm-test-out: Regenerated.
28606
28607 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28608
28609 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
28610 unaligned path.
28611
28612 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28613
28614 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
28615 little endian.
28616
28617 2015-02-12 Andreas Schwab <schwab@suse.de>
28618
28619 [BZ #15790]
28620 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
28621 Filter out elision flags from value returned in kind.
28622 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
28623 * nptl/tst-pthread-mutexattr.c: New file.
28624
28625 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
28626
28627 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
28628 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
28629 into gnu-gnu, and update comment to refer to abi-tags.
28630
28631 2015-02-11 Joseph Myers <joseph@codesourcery.com>
28632
28633 [BZ #15467]
28634 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
28635 (__sincos): Set errno to EDOM for infinite argument.
28636 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
28637 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
28638 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
28639 (__sincosl): Set errno to EDOM for infinite argument.
28640 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
28641 (__sincosl): Set errno to EDOM for infinite argument.
28642 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
28643 (__sincosl): Set errno to EDOM for infinite argument.
28644 * math/libm-test.inc (sincos_test_data): Test errno setting.
28645
28646 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
28647
28648 * string/strxfrm_l.c: Remove #define STRCMP.
28649 * string/strcoll_l.c: Remove #define STRLEN.
28650 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
28651 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
28652
28653 2015-02-10 Joseph Myers <joseph@codesourcery.com>
28654
28655 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
28656 * sysdeps/mips/mips32/sfp-machine.h: ... here.
28657 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
28658 * sysdeps/mips/mips64/Makefile: ... here.
28659 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
28660 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
28661 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
28662 * sysdeps/mips/mips64/sfp-machine.h: ... here.
28663 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
28664 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
28665 * sysdeps/mips/mips64/n64/Implies: Likewise.
28666
28667 2015-02-10 Roland McGrath <roland@hack.frob.com>
28668
28669 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
28670 <sys/time.h>, <string.h>, and <errno.h>.
28671 (dest_offset, dest_address, value, zero): Remove unused variables.
28672 (ldouble): Remove typedef.
28673 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
28674 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
28675 1). Fix code style.
28676 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
28677 (check): Function removed.
28678 (CHECK): New macro.
28679 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
28680 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
28681 Don't call set_sigaction_FP and remove_sigaction_FP here.
28682 (ldouble_test): Just use 'long double' as macro argument, no need for
28683 the 'ldouble' typedef.
28684 (do_test): Set up SIGFPE handler at start, using plain signal rather
28685 than sigaction. Fix code style.
28686
28687 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
28688
28689 [BZ #17949]
28690 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
28691 jump label.
28692
28693 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
28694
28695 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
28696 * sysdeps/powerpc/powerpc32/configure: Regenerated.
28697
28698 * sysdeps/powerpc/configure.ac: Remove file.
28699 * sysdeps/powerpc/configure: Likewise.
28700
28701 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
28702 [sysdep_routines]: Remove wordcopy-power6 object.
28703 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
28704 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
28705 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
28706 (__memmove_ppc32): Likewise.
28707 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
28708 file.
28709 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
28710 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
28711 Remove preprocessor.
28712
28713 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
28714 [sysdep_routines]: Remove wide chars objects.
28715 [wcsmbs]: New rule for wide char objects.
28716
28717 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28718 Remove wordcopy-power6 obejct.
28719 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
28720 Use local call for wordcopy and memcpy symbols.
28721 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
28722 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
28723 implementation for loader.
28724 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
28725
28726 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28727 Remove wordcopy-power7 object.
28728 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
28729 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
28730 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
28731 (_wordcopy_fwd_dest_aligned): Likewise.
28732 (_wordcopy_bwd_aligned): Likewise.
28733 (_wordcopy_bwd_dest_aligned): Likewise.
28734
28735 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
28736 Rewrite to call __memmove_ppc instead of include default
28737 implementation.
28738
28739 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28740 Remove wide chars objects.
28741 [wcsmbs]: New rule for wide char objects.
28742
28743 2015-02-09 Andreas Schwab <schwab@suse.de>
28744
28745 [BZ #17912]
28746 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
28747 in terms of __O_DIRECTORY.
28748
28749 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
28750
28751 * time/getdate.c: Include <stdbool.h>.
28752 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
28753 call PTR_MANGLE.
28754 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
28755 PTR_DEMANGLE.
28756
28757 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
28758
28759 Add ersatz _Static_assert on older C hosts
28760 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
28761 pre-C11 C platform that is not known to support _Static_assert.
28762
28763 2015-02-07 Richard Braun <rbraun@sceen.net>
28764
28765 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
28766 sigstate.
28767 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
28768
28769 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
28770
28771 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
28772 priority against unexistent AIO_PRIO_DELTA_MAX.
28773 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
28774 instead of int.
28775 * misc/fchflags.c (fchflags): Likewise.
28776 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
28777 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
28778 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
28779 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
28780 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
28781 Declare macros.
28782 [__USE_MISC] (chflags, fchflags): Declare functions.
28783 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
28784 EINVAL when nfds is greater than FD_SETSIZE.
28785 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
28786 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
28787 45.
28788 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
28789 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
28790 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
28791 MACH_RCV_TIMED_OUT.
28792 * hurd/hurd/signal.h (_hurd_self_sigstate,
28793 _hurd_critical_section_lock, _hurd_critical_section_unlock):
28794 Explicit casts from void *.
28795 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
28796 * abi-tags: Rename gnu-gnu os into gnu.
28797
28798 [BZ #4719]
28799 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
28800 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
28801 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
28802 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
28803 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
28804 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
28805
28806 [BZ #17944]
28807 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
28808 duplicates ADDR->sun_path with sockaddr LEN limitation.
28809 * sysdeps/mach/hurd/connect.c: Include <string.h>
28810 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
28811 * sysdeps/mach/hurd/sendmsg.c: Likewise.
28812 * sysdeps/mach/hurd/sendto.c: Likewise.
28813 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
28814 implementing it by hand.
28815
28816 2015-02-06 Roland McGrath <roland@hack.frob.com>
28817
28818 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
28819 Use sfi_breg on ldr.
28820 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
28821 Likewise.
28822
28823 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
28824 it's defined.
28825 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
28826 Test SIGSETXID only if it's defined.
28827
28828 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
28829
28830 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
28831 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
28832
28833 * nptl/tst-align2.c: Moved ...
28834 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
28835 * nptl/Makefile (tests): Remove tst-align2.
28836 * sysdeps/unix/sysv/linux/Makefile
28837 [$(subdir) = nptl] (tests): Add tst-align-clone.
28838 * nptl/tst-getpid1.c: Moved ...
28839 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
28840 * nptl/tst-getpid2.c: Moved ...
28841 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
28842 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
28843 * sysdeps/unix/sysv/linux/Makefile
28844 [$(subdir) = nptl] (tests): ... here.
28845 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
28846 * sysdeps/unix/sysv/linux/Makefile
28847 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
28848
28849 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
28850 Drop trailing \n from perror argument. Use return rather than exit.
28851
28852 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
28853 on [SA_SIGINFO].
28854 * nptl/tst-cancel21.c (do_test): Likewise.
28855 * debug/tst-backtrace6.c: Include <signal.h> first thing.
28856 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
28857 [!SA_SIGINFO]: Make it a stub test.
28858
28859 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
28860 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
28861
28862 * posix/tst-getlogin.c: Move to ...
28863 * login/tst-getlogin.c: ... here.
28864 * posix/Makefile (tests): Move tst-getlogin to ...
28865 * login/Makefile (tests): ... here.
28866
28867 * libio/tst-atime.c (do_test): Move local variables SV and E
28868 inside [ST_NOATIME] conditional.
28869
28870 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
28871
28872 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
28873
28874 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
28875 (wait_code): New function replaces macro.
28876 Call nanosleep rather than syscall.
28877
28878 * nptl/pt-system.c: Rewritten. Put everything under
28879 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
28880 Use IFUNC to redirect when possible.
28881
28882 * nptl/pt-longjmp.c: Rewritten. Put everything under
28883 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
28884 Use IFUNC to redirect when possible.
28885
28886 * nptl/pt-fork.c: Rewritten. Put everything under
28887 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
28888 Use IFUNC to redirect when possible.
28889 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
28890
28891 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
28892 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
28893 unconditionally nowadays. This included the only reference to
28894 __vdso_clock_gettime that appears outside libc proper.
28895 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
28896 Remove version set (containing only __vdso_clock_gettime).
28897 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
28898 Add attribute_hidden.
28899 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
28900 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
28901 libc_hidden_data_def.
28902 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
28903 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
28904
28905 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
28906 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
28907 setrpcent, and getrpcport to ...
28908 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
28909 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
28910 getrpcbynumber_r, and getrpcent_r to ...
28911 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
28912 * inet/getrpcbyname.c: Moved ...
28913 * sunrpc/getrpcbyname.c: ... here.
28914 * inet/getrpcbyname_r.c: Moved ...
28915 * sunrpc/getrpcbyname_r.c: ... here.
28916 * inet/getrpcbynumber.c: Moved ...
28917 * sunrpc/getrpcbynumber.c: ... here.
28918 * inet/getrpcbynumber_r.c: Moved ...
28919 * sunrpc/getrpcbynumber_r.c: ... here.
28920 * inet/getrpcent.c: Moved ...
28921 * sunrpc/getrpcent.c: ... here.
28922 * inet/getrpcent_r.c: Moved ...
28923 * sunrpc/getrpcent_r.c: ... here.
28924 * inet/Makefile (routines): Move those to ...
28925 * sunrpc/Makefile (routines): ... here.
28926 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
28927 the $(subdirs) list.
28928 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
28929 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
28930 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
28931 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
28932
28933 * elf/Makefile (routines): Include $(all-dl-routines), not just
28934 $(dl-routines).
28935 (rtld-routines): Likewise. Use = rather than :=.
28936 * sysdeps/aarch64/Makefile [$(subdir) = elf]
28937 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
28938 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
28939 * sysdeps/arm/Makefile: Likewise.
28940 * sysdeps/i386/Makefile: Likewise.
28941 * sysdeps/x86_64/Makefile: Likewise.
28942 * sysdeps/hppa/Makefile [$(subdir) = elf]
28943 (sysdep_routines, sysdep-rtld-routines): Don't add
28944 $(sysdep-dl-routines) to these.
28945 * sysdeps/ia64/Makefile: Likewise.
28946 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
28947 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
28948 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
28949 Don't add dl-static to these; sysdep-dl-routines alone is enough.
28950 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
28951 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
28952 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
28953 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
28954 * sysdeps/powerpc/Makefile [$(subdir) = elf]
28955 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
28956 these; sysdep-dl-routines alone is enough.
28957
28958 2015-02-06 Joseph Myers <joseph@codesourcery.com>
28959
28960 [BZ #17932]
28961 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
28962 where multiplication results in zero and third argument is finite
28963 and nonzero.
28964 * math/auto-libm-test-in: Add more tests of fma.
28965 * math/auto-libm-test-out: Regenerated.
28966
28967 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
28968 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
28969 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
28970 (_FP_CMP_EQ): Likewise.
28971 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
28972
28973 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
28974 extra argument CHECK_NAN. Redefine as wrapper around
28975 _FP_EXTEND_CNAN.
28976
28977 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
28978
28979 * version.h (RELEASE): Set to "stable".
28980 (VERSION): Set to "2.21"
28981 * include/features.h (__GLIBC_MINOR__): Set to 21.
28982
28983 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
28984
28985 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
28986 Paul Eggert <eggert@cs.ucla.edu>
28987
28988 [BZ #16618]
28989 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
28990 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
28991 size in bytes. Store needed elements in wpmax. Use needed size
28992 in bytes for extend_alloca.
28993
28994 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
28995
28996 * manual/install.texi: Latest tested versions are GCC 4.9.2,
28997 binutls 2.25, and texinfo 5.2.
28998 * INSTALL: Regenerate.
28999 * sysdeps/nios2/configure: Regenerate.
29000 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
29001 * manual/contrib.texi: Update.
29002 * po/be.po: Update.
29003 * po/bg.po: Update.
29004 * po/ca.po: Update.
29005 * po/cs.po: Update.
29006 * po/da.po: Update.
29007 * po/de.po: Update.
29008 * po/el.po: Update.
29009 * po/eo.po: Update.
29010 * po/es.po: Update.
29011 * po/fi.po: Update.
29012 * po/fr.po: Update.
29013 * po/gl.po: Update.
29014 * po/hr.po: Update.
29015 * po/hu.po: Update.
29016 * po/ia.po: Update.
29017 * po/id.po: Update.
29018 * po/it.po: Update.
29019 * po/ja.po: Update.
29020 * po/ko.po: Update.
29021 * po/lt.po: Update.
29022 * po/nb.po: Update.
29023 * po/nl.po: Update.
29024 * po/pl.po: Update.
29025 * po/pt_BR.po: Update.
29026 * po/ru.po: Update.
29027 * po/rw.po: Update.
29028 * po/sk.po: Update.
29029 * po/sl.po: Update.
29030 * po/sv.po: Update.
29031 * po/tr.po: Update.
29032 * po/uk.po: Update.
29033 * po/vi.po: Update.
29034 * po/zh_CN.po: Update.
29035 * po/zh_TW.po: Update.
29036
29037 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
29038 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
29039 * sysdeps/hppa/dl-irel.h: Remove #warning.
29040 * sysdeps/hppa/entry.h: Provide prototype for
29041 __canonicalize_funcptr_for_compare and cast argument.
29042 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
29043 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
29044 * sysdeps/hppa/sotruss-lib.c: New file.
29045 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
29046 (atomic_compare_and_exchange_val_acq): Use __typeof__.
29047 (atomic_compare_and_exchange_bool_acq): Likewise.
29048 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
29049 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
29050
29051 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
29052 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
29053 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
29054
29055 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
29056
29057 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
29058 called function in non-PIC case.
29059
29060 2015-01-31 David S. Miller <davem@davemloft.net>
29061
29062 * sysdeps/sparc/sparc32/bits/atomic.h
29063 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
29064 unlock not after it.
29065 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
29066 volatile register usage warnings from the compiler.
29067
29068 * sysdeps/sparc/nptl/sem_init.c: Delete.
29069 * sysdeps/sparc/nptl/sem_post.c: Delete.
29070 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
29071 * sysdeps/sparc/nptl/sem_wait.c: Delete.
29072 * sysdeps/sparc/sparc32/sem_init.c: New file.
29073 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
29074 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
29075 padding explicitly initialized.
29076 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
29077 padding for in-semaphore spinlock.
29078 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
29079 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
29080 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
29081 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
29082 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
29083 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
29084 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
29085 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
29086 version.
29087 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
29088 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
29089
29090 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
29091
29092 [BZ #17801]
29093 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29094 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
29095 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
29096 New.
29097 (index_AVX_Fast_Unaligned_Load): Likewise.
29098 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
29099 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
29100 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
29101 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
29102 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
29103 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
29104 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
29105 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
29106 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
29107
29108 2015-01-29 Andreas Schwab <schwab@suse.de>
29109
29110 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
29111
29112 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29113
29114 [BZ #17892]
29115 * nscd/nscd_stat.c (send_stats): Initialize DATA.
29116
29117 2015-01-28 Martin Sebor <msebor@redhat.com>
29118
29119 * math/README.libm-test: Clarify. Add "How to read the test output."
29120
29121 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
29122
29123 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
29124 Define to 0.
29125
29126 2015-01-28 Joseph Myers <joseph@codesourcery.com>
29127
29128 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
29129 (__HAVE_64B_ATOMICS): Define to 0.
29130
29131 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
29132
29133 [BZ #17885]
29134 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
29135 value to set as new flag.
29136
29137 [BZ #16576]
29138 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
29139 and use _ARCH_PPCSQ instead.
29140 (__ieee754_sqrt): Likewise.
29141 (__ieee754_sqrtf): Likewise.
29142 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
29143 _ARCH_PPCSQ is defined.
29144 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
29145 fsqrt instruction.
29146 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
29147 _ARCH_PPCSQ is defined.
29148 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
29149 fsqrts instruction.
29150 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
29151
29152 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29153
29154 * iconv/loop.c: Suppress array out of bound warning caused by GCC
29155 bug (GCC BZ #64739).
29156
29157 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
29158
29159 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
29160 Mark _retval as used.
29161 (lll_futex_wake_unlock): Likewise.
29162 (lll_futex_timed_wait_requeue_pi): Likewise.
29163
29164 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
29165 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
29166 register variables.
29167
29168 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
29169 libm_hidden_def.
29170
29171 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
29172 (__bswap_64): Mark as __always_inline.
29173
29174 2015-01-25 Bram <bug_rh@spam.wizbit.be>
29175
29176 [BZ #15378]
29177 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
29178 when none of the search directories exist.
29179
29180 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
29181
29182 [BZ #17869]
29183 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
29184 power8 in .machine directive.
29185
29186 [BZ #17868]
29187 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
29188 set dependency from opd value.
29189
29190 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
29191
29192 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29193 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
29194 architecture.
29195
29196 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
29197
29198 [BZ #17870]
29199 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
29200 with uint64_t.
29201 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
29202 (uint64_t) 1.
29203 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
29204 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
29205 Replace 1UL with (uint64_t) 1.
29206 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
29207 int with uint64_t.
29208
29209 2015-01-23 Roland McGrath <roland@hack.frob.com>
29210
29211 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
29212 (if_freenameindex): Likewise.
29213
29214 * resource/getrlimit64.c: Add missing libc_hidden_def.
29215
29216 2015-01-22 Joseph Myers <joseph@codesourcery.com>
29217
29218 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
29219 __label__.
29220 (_FP_FMA): Likewise.
29221 (_FP_TO_INT_ROUND): Likewise.
29222 (_FP_FROM_INT): Likewise.
29223
29224 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29225
29226 [BZ #16418]
29227 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
29228 Make code racy and cancel safe.
29229
29230 2015-01-21 Carlos O'Donell <carlos@redhat.com>
29231
29232 * sysdeps/arm/unwind-resume.h: Fix copyright year.
29233 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
29234 attribution.
29235
29236 * pwd/tst-getpw.c: Rewrite.
29237
29238 [BZ #17702]
29239 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
29240 (modules-names): Add moddummy1 and moddummy2.
29241 ($(objpfx)tst-rec-dlopen): Define.
29242 * dlfcn/moddummy1.c: New file.
29243 * dlfcn/moddummy2.c: New file.
29244 * dlfcn/tst-rec-dlopen.c: New file.
29245 * elf/dl-cache.c (_dl_load_cache_lookup):
29246 Return char*. Copy result with alloca/strcpy/strdup.
29247 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
29248 returns char*. Free cached. If not saving realname
29249 free cached.
29250 * elf/dl-open.c (dl_open_worker): Do not assert that
29251 _r_debug->r_state is RT_CONSISTENT.
29252 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
29253 returns char*.
29254
29255 2015-01-21 Torvald Riegel <triegel@redhat.com>
29256 Carlos O'Donell <carlos@redhat.com>
29257
29258 [BZ #12674]
29259 * nptl/sem_waitcommon.c: New file.
29260 * nptl/sem_wait.c: Include sem_waitcommon.c.
29261 (__sem_wait_cleanup, do_futex_wait): Remove.
29262 (__new_sem_wait): Adapt.
29263 (__new_sem_trywait): New function.
29264 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
29265 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
29266 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
29267 (sem_timedwait): Adapt.
29268 * nptl/sem_post.c (__new_sem_post): Adapt.
29269 (futex_wake): New function.
29270 (__old_sem_post): Add release MO fence.
29271 * nptl/sem_open.c (sem_open): Adapt.
29272 * nptl/sem_init.c (__new_sem_init): Adapt.
29273 (futex_private_if_supported): New function.
29274 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
29275 (__old_sem_getvalue): Add using previous code.
29276 * sysdeps/nptl/internaltypes.h: Adapt.
29277 * nptl/tst-sem13.c (do_test): Adapt.
29278 * nptl/tst-sem11.c (main): Adapt.
29279 * nptl/sem_trywait.c: Remove.
29280 * nptl/DESIGN-sem.txt: Remove.
29281 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
29282 (gen-as-const-headers): Remove structsem.sym.
29283 * nptl/structsem.sym: Remove.
29284 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
29285 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
29286 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
29287 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
29288 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
29289 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
29290 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
29291 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
29292 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
29293 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
29294 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
29295 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
29296 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
29297 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
29298 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
29299 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
29300 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
29301 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
29302 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
29303 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
29304 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
29305 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
29306
29307 2015-01-20 Carlos O'Donell <carlos@redhat.com>
29308
29309 * INSTALL: Regenerated.
29310
29311 * po/libc.pot: Regenerated.
29312
29313 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
29314 Sandra Loosemore <sandra@codesourcery.com>
29315 Andrew Jenner <andrew@codesourcery.com>
29316 Joseph Myers <joseph@codesourcery.com>
29317 Nathan Sidwell <nathan@codesourcery.com>
29318
29319 * NEWS: Mention new Nios II port.
29320 * sysdeps/nios2/Implies: New file.
29321 * sysdeps/nios2/Makefile: New file.
29322 * sysdeps/nios2/Subdirs: New file.
29323 * sysdeps/nios2/Versions: New file.
29324 * sysdeps/nios2/__longjmp.S: New file.
29325 * sysdeps/nios2/abort-instr.h: New file.
29326 * sysdeps/nios2/backtrace.c: New file.
29327 * sysdeps/nios2/bits/endian.h: New file.
29328 * sysdeps/nios2/bits/fenv.h: New file.
29329 * sysdeps/nios2/bits/link.h: New file.
29330 * sysdeps/nios2/bits/setjmp.h: New file.
29331 * sysdeps/nios2/bsd-_setjmp.S: New file.
29332 * sysdeps/nios2/bsd-setjmp.S: New file.
29333 * sysdeps/nios2/configure: New generated file.
29334 * sysdeps/nios2/configure.ac: New file.
29335 * sysdeps/nios2/crti.S: New file.
29336 * sysdeps/nios2/crtn.S: New file.
29337 * sysdeps/nios2/dl-init.c: New file.
29338 * sysdeps/nios2/dl-machine.h: New file.
29339 * sysdeps/nios2/dl-sysdep.h: New file.
29340 * sysdeps/nios2/dl-tls.h: New file.
29341 * sysdeps/nios2/dl-trampoline.S: New file.
29342 * sysdeps/nios2/gccframe.h: New file.
29343 * sysdeps/nios2/gmp-mparam.h: New file.
29344 * sysdeps/nios2/jmpbuf-offsets.h: New file.
29345 * sysdeps/nios2/jmpbuf-unwind.h: New file.
29346 * sysdeps/nios2/ldsodefs.h: New file.
29347 * sysdeps/nios2/libc-tls.c: New file.
29348 * sysdeps/nios2/libm-test-ulps: New file.
29349 * sysdeps/nios2/machine-gmon.h: New file.
29350 * sysdeps/nios2/math-tests.h: New file.
29351 * sysdeps/nios2/math_private.h: New file.
29352 * sysdeps/nios2/memusage.h: New file.
29353 * sysdeps/nios2/nptl/Makefile: New file.
29354 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
29355 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
29356 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
29357 * sysdeps/nios2/nptl/pthreaddef.h: New file.
29358 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
29359 * sysdeps/nios2/nptl/tls.h: New file.
29360 * sysdeps/nios2/preconfigure: New file.
29361 * sysdeps/nios2/s_fma.c: New file.
29362 * sysdeps/nios2/s_fmaf.c: New file.
29363 * sysdeps/nios2/setjmp.S: New file.
29364 * sysdeps/nios2/sfp-machine.h: New file.
29365 * sysdeps/nios2/sotruss-lib.c: New file.
29366 * sysdeps/nios2/stackguard-macros.h: New file.
29367 * sysdeps/nios2/stackinfo.h: New file.
29368 * sysdeps/nios2/start.S: New file.
29369 * sysdeps/nios2/sysdep.h: New file.
29370 * sysdeps/nios2/tls-macros.h: New file.
29371 * sysdeps/nios2/tst-audit.h: New file.
29372 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
29373 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
29374 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
29375 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
29376 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
29377 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
29378 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
29379 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
29380 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
29381 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
29382 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
29383 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
29384 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
29385 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
29386 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
29387 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
29388 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
29389 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
29390 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
29391 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
29392 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
29393 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
29394 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
29395 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
29396 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
29397 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
29398 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
29399 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
29400 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
29401 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
29402 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
29403 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
29404 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
29405 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
29406 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
29407 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
29408 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
29409 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
29410 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
29411 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
29412 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
29413 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
29414 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
29415 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
29416
29417 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
29418
29419 [BZ #17844]
29420 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
29421 (getutent): Use weak_alias in non SHARED case
29422 and default_symbol_version in SHARED case.
29423 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
29424 (getutent_r, pututline): Likewise.
29425 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
29426 (getutid): Likewise.
29427 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
29428 (getutid_r): Likewise.
29429 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
29430 (getutline): Likewise.
29431 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
29432 (getutline_r): Likewise.
29433 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
29434 (updwtmp): Likewise.
29435
29436 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
29437
29438 [BZ #17848]
29439 * sysdeps/s390/s390-32/memcmp.S
29440 (memcmp_g5): Rename to __memcmp_g5.
29441 * sysdeps/s390/s390-32/memcpy.S
29442 (memcpy_g5): Rename to __memcpy_g5.
29443 Jump to __memcpy_mvcle instead of memcpy_mvcle.
29444 (memcpy_mvcle) Rename to __memcpy_mvcle.
29445 * sysdeps/s390/s390-32/memset.S
29446 (memset_g5): Rename to __memset_g5.
29447 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
29448 (IFUNC_RESOLVE): Prefix ifunc-resolve function
29449 and use prefixed functions.
29450 * sysdeps/s390/s390-32/multiarch/memcmp.S
29451 (memcmp_z196): Rename to __memcmp_z196.
29452 (memcmp_z10): Rename to __memcmp_z10.
29453 (memcmp): Set alias to __memcmp_g5.
29454 (bcmp): Set alias to __memcmp_g5.
29455 * sysdeps/s390/s390-32/multiarch/memcpy.S
29456 (memcpy_z196): Rename to __memcpy_z196.
29457 Jump to __memcpy_mvcle instead of memcpy_mvcle.
29458 (memcpy_z10): Rename to __memcpy_z10.
29459 Jump to __memcpy_mvcle instead of memcpy_mvcle.
29460 (memcpy): Set alias to __memcpy_g5.
29461 * sysdeps/s390/s390-32/multiarch/memset.S
29462 (memset_z196): Rename to __memset_z196.
29463 Jump to __memset_mvcle instead of memset_mvcle.
29464 (memset_z10): Rename to __memset_z10.
29465 Jump to __memset_mvcle instead of memset_mvcle.
29466 (memset_mvcle) Rename to __memset_mvcle.
29467 (memset): Set alias to __memset_g5.
29468 * sysdeps/s390/s390-64/memcmp.S
29469 (memcmp_z900): Rename to __memcmp_z900.
29470 * sysdeps/s390/s390-64/memcpy.S
29471 (memcpy_z900): Rename to __memcpy_z900.
29472 Jump to __memcpy_mvcle instead of memcpy_mvcle.
29473 (memcpy_mvcle) Rename to __memcpy_mvcle.
29474 * sysdeps/s390/s390-64/memset.S
29475 (memset_z900): Rename to __memset_z900.
29476 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
29477 (IFUNC_RESOLVE): Prefix ifunc-resolve function
29478 and use prefixed functions.
29479 * sysdeps/s390/s390-64/multiarch/memcmp.S
29480 (memcmp_z196): Rename to __memcmp_z196.
29481 (memcmp_z10): Rename to __memcmp_z10.
29482 (memcmp): Set alias to __memcmp_z900.
29483 (bcmp): Set alias to __memcmp_z900.
29484 * sysdeps/s390/s390-64/multiarch/memcpy.S
29485 (memcpy_z196): Rename to __memcpy_z196.
29486 Jump to __memcpy_mvcle instead of memcpy_mvcle.
29487 (memcpy_z10): Rename to __memcpy_z10.
29488 Jump to __memcpy_mvcle instead of memcpy_mvcle.
29489 (memcpy): Set alias to __memcpy_z900.
29490 * sysdeps/s390/s390-64/multiarch/memset.S
29491 (memset_z196): Rename to __memset_z196.
29492 Jump to __memset_mvcle instead of memset_mvcle.
29493 (memset_z10): Rename to __memset_z10.
29494 Jump to __memset_mvcle instead of memset_mvcle.
29495 (memset_mvcle) Rename to __memset_mvcle.
29496 (memset): Set alias to __memset_z900.
29497
29498 2015-01-14 Joseph Myers <joseph@codesourcery.com>
29499
29500 [BZ #17748]
29501 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
29502 __fesetenv instead of fesetenv.
29503
29504 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
29505
29506 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
29507 macro.
29508
29509 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29510
29511 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
29512 regression on LE.
29513
29514 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
29515 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
29516 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
29517 strncmp-power8 object.
29518 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29519 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
29520 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
29521 * NEWS: Update.
29522
29523 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29524 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29525
29526 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
29527 trailing byte check.
29528
29529 2015-01-13 David S. Miller <davem@davemloft.net>
29530
29531 * include/signal.h (__sigreturn): Guard with __USE_MISC.
29532
29533 2015-01-13 Roland McGrath <roland@hack.frob.com>
29534
29535 * login/logout.c (logout): Use memset rather than bzero.
29536 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
29537 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
29538 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
29539 (_gethtbyaddr): Likewise.
29540 * locale/programs/simple-hash.c (bcopy): Macro removed.
29541
29542 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29543
29544 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29545 Add strcmp-power8 object.
29546 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29547 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
29548 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
29549 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
29550 __strcmp_power8 implementation.
29551 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
29552 * NEWS: Update.
29553
29554 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29555 Add strncpy-power8 and stpncpy-power8 objects.
29556 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29557 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
29558 implementations.
29559 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
29560 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
29561 __stpncpy_power8 implementation.
29562 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
29563 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
29564 __strncpy_power8 implementation.
29565 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
29566 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
29567 * NEWS: Update.
29568
29569 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
29570 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
29571 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
29572
29573 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
29574 strncat-power8 object.
29575 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
29576 __strcat_power8 implementation.
29577 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29578 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
29579 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
29580 optimized strcat for power8.
29581
29582 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
29583 strcpy-power8 and stpcpy-power8 objects.
29584 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29585 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
29586 implementations.
29587 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
29588 multiarch stpcpy implementation for POWER8.
29589 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
29590 multiarch strcpy implementation for POWER8.
29591 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
29592 __strcpy_power8 function.
29593 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
29594 stpcpy for POWER8.
29595 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
29596 strcpy for POWER8.
29597 * NEWS: Update.
29598
29599 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
29600
29601 [BZ #16009]
29602 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
29603 weights and rules. Use do_xfrm_cached if data fits in cache,
29604 do_xfrm otherwise. Moved former main loop to...
29605 * (do_xfrm_cached): New function.
29606 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
29607 find_idx, find_position and stack_push.
29608 * (find_idx): New function.
29609 * (find_position): Likewise.
29610 * localedata/sort-test.sh: Added test run for do_xfrm.
29611 * localedata/xfrm-test.c (main): Added command line option
29612 -nocache to run the test with strings that are too large for
29613 the STRXFRM cache.
29614
29615 2015-01-13 Torvald Riegel <triegel@redhat.com>
29616
29617 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
29618 variable to lll_futex_wake call, not the value itself.
29619
29620 2015-01-12 Joseph Myers <joseph@codesourcery.com>
29621
29622 [BZ #17803]
29623 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
29624 twom64. Adjust value to 0x1p-64L.
29625 (__scalblnl): Only return standard underflowing result for K <=
29626 -64 not K <= -63; adjust exponent for underflowing result by 64
29627 not 63.
29628 * math/libm-test.inc (scalbn_test_data): Add more tests.
29629 (scalbln_test_data): Likewise.
29630
29631 [BZ #17834]
29632 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
29633 0x1p63L.
29634 (__scalblnl): Get new exponent of adjusted subnormal value from ES
29635 not HX.
29636 * math/libm-test.inc (scalbn_test_data): Add more tests.
29637 (scalbln_test_data): Likewise.
29638
29639 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29640 Stefani Seibold <stefani@seibold.net>
29641
29642 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
29643 (sysdep_routines): Add dl-vdso here, ...
29644 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
29645 (sysdep_routines): ... not here.
29646 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
29647 fallback when vDSO is not presented.
29648 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
29649 Define with libc_hidden_proto/libc_hidden_data_def definitions.
29650 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
29651 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
29652 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
29653 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
29654 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
29655 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
29656 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
29657 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
29658 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
29659 fallback configurable symbol when vDSO is not available.
29660 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
29661 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
29662 be able to redefine fallback symbol when vDSO is not available.
29663 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
29664 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
29665
29666 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29667
29668 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
29669 (TLS_INIT_TP): Add tm_capable initialization.
29670 (TLS_DEFINE_INIT_TP): Likewise.
29671 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
29672 TCB.
29673 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
29674 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
29675 calculation.
29676 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
29677 transactoion is lock elision is built and TCB tm_capable is set.
29678 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
29679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29680 (INTERNAL_SYSCALL_NCS): Likewise.
29681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
29682 (INTERNAL_SYSCALL_NCS): Likewise.
29683 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
29684
29685 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
29686 for powerpc.
29687 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
29688 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
29689 and remove it for 32 bits case.
29690 [pthread_rwlock_t] (__rwelision): New field for lock elision.
29691 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
29692 initialization.
29693 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
29694 Disable lock elision with rdlocks if elision is not available.
29695
29696 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
29697 (sysdep_routines): Add lock elision objects.
29698 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
29699 [pthread_mutex_t] (__spins): Rework to add lock elision field.
29700 [pthread_mutex_t] (__elision): Add field.
29701 [__PTHREAD_SPINS]: Adjust to init lock elision field.
29702 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
29703 elision definitions for powerpc.
29704 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
29705 implementation of lock elision for powerpc.
29706 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
29707 implementation of timed lock elision for powerpc.
29708 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
29709 implementation of trylock with lock elision for powerpc.
29710 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
29711 implementaion of unlock for lock elision for powerpc.
29712 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
29713 automatic enable lock elision for mutexes.
29714 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
29715 transaction execution definitions for powerpc.
29716 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
29717 definitions.
29718 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
29719 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
29720 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
29721 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
29722 * NEWS: Update.
29723
29724 2015-01-09 Roland McGrath <roland@hack.frob.com>
29725
29726 * sysdeps/posix/shm-directory.c: Use <> rather than ""
29727 for #include of <shm-directory.h>.
29728
29729 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
29730
29731 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
29732 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
29733
29734 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
29735
29736 [BZ #17791]
29737 * NEWS: Mention bug fix.
29738 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
29739 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
29740 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
29741
29742 2015-01-09 Torvald Riegel <triegel@redhat.com>
29743
29744 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
29745
29746 2015-01-09 Torvald Riegel <triegel@redhat.com>
29747
29748 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
29749
29750 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
29751
29752 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
29753 pointer and cast to uintptr_t.
29754
29755 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
29756
29757 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
29758 removed.
29759 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
29760
29761 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
29762
29763 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
29764 of 0.
29765
29766 2015-01-08 Roland McGrath <roland@hack.frob.com>
29767
29768 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
29769 <nptl/pthreadP.h> instead.
29770 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
29771
29772 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
29773 already defined.
29774 [__SIGRTMIN] (init): Function removed.
29775 [__SIGRTMIN] (initialized): Variable removed.
29776 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
29777 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
29778 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
29779 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
29780 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
29781 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
29782 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
29783 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
29784 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
29785 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
29786 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
29787 * sysdeps/nptl/allocrtsig.c: New file.
29788 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
29789 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
29790 * sysdeps/generic/testrtsig.h: File removed.
29791
29792 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
29793 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
29794
29795 * nptl/nptl-init.c (pthread_functions): Conditionalize
29796 .ptr__nptl_setxid initialization on [SIGSETXID].
29797
29798 * sysdeps/nptl/sys/procfs.h: New file.
29799 * nptl_db/Makefile (headers): Add it.
29800 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
29801
29802 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
29803 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
29804 * nptl/pthread_attr_setaffinity.c: Include it.
29805 * nptl/pthread_setattr_default_np.c: Likewise.
29806 * nptl/check-cpuset.h: New file.
29807
29808 2015-01-08 Richard Henderson <rth@redhat.com>
29809
29810 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
29811 (CFLAGS-tst-execstack-prog.c): Likewise.
29812 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
29813
29814 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
29815 Sandra Loosemore <sandra@codesourcery.com>
29816 Andrew Jenner <andrew@codesourcery.com>
29817 Joseph Myers <joseph@codesourcery.com>
29818 Nathan Sidwell <nathan@codesourcery.com>
29819
29820 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
29821 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
29822 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
29823 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
29824 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
29825 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
29826 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
29827 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
29828 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
29829 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
29830 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
29831 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
29832 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
29833 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
29834 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
29835 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
29836 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
29837
29838 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29839
29840 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
29841 timespec struct member in syscall macro.
29842 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
29843 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
29844 first timeval struct member in syscall macro.
29845 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
29846
29847 2015-01-07 Joseph Myers <joseph@codesourcery.com>
29848
29849 [BZ #17748]
29850 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
29851 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
29852 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
29853 __feupdateenv and define as weak alias of __feupdateenv. Use
29854 libm_hidden_weak.
29855 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
29856 libm_hidden_def.
29857 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
29858 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
29859 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
29860 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
29861 libm_hidden_def.
29862 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
29863 __feupdateenv and define as weak alias of __feupdateenv. Use
29864 libm_hidden_weak.
29865 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
29866 libm_hidden_def.
29867 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
29868 __feupdateenv and define as weak alias of __feupdateenv. Use
29869 libm_hidden_weak.
29870 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
29871 libm_hidden_def.
29872 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
29873 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
29874 (__feupdateenv): Likewise.
29875 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
29876 __feupdateenv and define as weak alias of __feupdateenv. Use
29877 libm_hidden_weak.
29878 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
29879 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
29880 libm_hidden_def.
29881 * sysdeps/tile/math_private.h (__feupdateenv): New inline
29882 function.
29883 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
29884 libm_hidden_def.
29885 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
29886 __feupdateenv instead of feupdateenv.
29887 (default_libc_feupdateenv_test): Likewise.
29888 (libc_feresetround_ctx): Likewise.
29889
29890 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29891
29892 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
29893 prototype.
29894
29895 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
29896
29897 * posix/regcomp.c (parse_bracket_exp): Initialize type to
29898 COLL_SYM in a couple of places to avoid uninitialized variable
29899 wanings on tilegx gcc 4.8.2.
29900
29901 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
29902
29903 * sysdeps/aarch64/strcpy.S: New file.
29904 * sysdeps/aarch64/stpcpy.S: New file.
29905 * NEWS: Updated.
29906
29907 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
29908
29909 * sysdeps/aarch64/strrchr.S: New file.
29910 * NEWS: Updated.
29911
29912 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
29913
29914 [BZ #17658]
29915 * stdlib/setenv.c: Fix memory leak when setting large,
29916 duplicate string.
29917
29918 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
29919
29920 [BZ #17273]
29921 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
29922 and tabs from buffer before parsing fstab entry.
29923 * misc/tst-mntent.c (main): Add test for mount entry with
29924 trailing spaces and tabs.
29925
29926 2015-01-06 Joseph Myers <joseph@codesourcery.com>
29927
29928 [BZ #17748]
29929 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
29930 * math/fesetround.c (fesetround): Rename to __fesetround and
29931 define as weak alias of __fesetround. Use libm_hidden_weak.
29932 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
29933 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
29934 * sysdeps/arm/fesetround.c (fesetround): Likewise.
29935 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
29936 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
29937 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
29938 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
29939 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
29940 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
29941 __fesetround_inline.
29942 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
29943 __fesetround_inline instead of __fesetround.
29944 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
29945 __fesetround and define as weak alias of __fesetround. Use
29946 libm_hidden_weak. Call __fesetround_inline instead of
29947 __fesetround.
29948 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
29949 __fesetround and define as weak alias of __fesetround. Use
29950 libm_hidden_weak.
29951 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
29952 Likewise.
29953 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
29954 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29955 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
29956 * sysdeps/tile/math_private.h (__fesetround): New inline function.
29957 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
29958 __fesetround and define as weak alias of __fesetround. Use
29959 libm_hidden_weak.
29960 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
29961 __fesetround instead of fesetround.
29962 (default_libc_feholdexcept_setround): Likewise.
29963 (libc_feholdsetround_ctx): Likewise.
29964 (libc_feholdsetround_noex_ctx): Likewise.
29965
29966 [BZ #17748]
29967 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
29968 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
29969 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
29970 and define as weak alias of __fesetenv. Use libm_hidden_weak.
29971 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
29972 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
29973 define as weak alias of __fesetenv. Use libm_hidden_weak.
29974 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
29975 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
29976 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
29977 define as weak alias of __fesetenv. Use libm_hidden_weak.
29978 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
29979 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
29980 define as weak alias of __fesetenv. Use libm_hidden_weak.
29981 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
29982 libm_hidden_def.
29983 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
29984 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
29985 Likewise.
29986 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
29987 define as weak alias of __fesetenv. Use libm_hidden_weak.
29988 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
29989 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
29990 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
29991 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
29992 and define as weak alias of __fesetenv. Use libm_hidden_weak.
29993 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
29994 __fesetenv instead of fesetenv.
29995 (libc_feresetround_noex_ctx): Likewise.
29996 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
29997 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
29998 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
29999 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
30000 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
30001 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
30002 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
30003 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
30004 (__feupdateenv): Likewise.
30005 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
30006 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30007 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
30008 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
30009
30010 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
30011
30012 [BZ #17806]
30013 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
30014 addresses have been freed.
30015
30016 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
30017
30018 * resolv/res_init.c (__res_vinit): Improve comments about nserv
30019 and nservall.
30020
30021 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
30022
30023 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
30024 Clean up check_pf allocation pattern. addresses
30025
30026 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30027
30028 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
30029 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
30030 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
30031 * nptl/pthread_exit.c (__pthread_exit): Likewise.
30032 * nptl/pthread_join.c (pthread_join): Likewise.
30033 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
30034 * sysdeps/posix/waitid.c (__waitid): Likewise.
30035 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
30036 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
30037 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
30038 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
30039 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
30040 Likewise.
30041 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
30042 (__libc_pread64): Likewise.
30043 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
30044 (__libc_pwrite): Likewise.
30045 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
30046 (__libc_pwrite64): Likewsie.
30047 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
30048 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
30049 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
30050 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
30051 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
30052 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
30053 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
30054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
30055 Likewise.
30056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
30057 (__libc_pread64): Likewise.
30058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
30059 Likewise.
30060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
30061 (__libc_pwrite64): Likewise.
30062 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
30063 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
30064 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
30065 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
30066 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
30067 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
30068 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
30069 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
30070 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
30071 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
30072 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
30073 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
30074 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
30075 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
30076 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
30077 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
30078 Likewise.
30079
30080 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
30081
30082 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
30083 (CFLAGS-test-double.c): Likewise.
30084 (CFLAGS-test-ldouble.c): Likewise.
30085 (CPPFLAGS-test-ifloat.c): Likewise.
30086 (CPPFLAGS-test-idouble.c): Likewise.
30087 (CPPFLAGS-test-ildoubl.c): Likewise.
30088 (CFLAGS-test-test-fenv.c): Remove variable.
30089 (CFLAGS-test-misc.c): Likewise.
30090
30091 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
30092
30093 [BZ #17797]
30094 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
30095 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
30096 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
30097 CLOCKS_PER_SEC == 1000000.
30098 * time/clocktest.c (main): Replace %ld with %jd and cast to
30099 intmax_t.
30100
30101 2015-01-05 Roland McGrath <roland@hack.frob.com>
30102
30103 * sysdeps/generic/unwind-resume.h: New file.
30104 * sysdeps/gnu/unwind-resume.c: Include it.
30105 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
30106 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
30107 argument list.
30108 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
30109 global rather than static.
30110 (_Unwind_Resume): Update user.
30111 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
30112 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
30113 rather than static. Add __attribute__ ((cold)).
30114 (_Unwind_Resume, __gcc_personality_v0): Update callers.
30115 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
30116 * sysdeps/arm/arm-unwind-resume.S: New file.
30117 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
30118 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
30119 * sysdeps/arm/Makefile [$(subdir) = csu]
30120 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
30121 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
30122 Add rt-arm-unwind-resume.
30123 [$(subdir) = nptl]
30124 (libpthread-sysdep_routines, libpthread-shared-only-routines):
30125 Add pt-arm-unwind-resume.
30126 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
30127 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
30128
30129 2015-01-05 Joseph Myers <joseph@codesourcery.com>
30130
30131 [BZ #17748]
30132 * include/fenv.h (__feholdexcept): Declare. Use
30133 libm_hidden_proto.
30134 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
30135 define as weak alias of __feholdexcept. Use libm_hidden_weak.
30136 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
30137 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
30138 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
30139 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
30140 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
30141 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
30142 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
30143 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
30144 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
30145 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
30146 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
30147 (feholdexcept): Likewise.
30148 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
30149 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
30150 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
30151 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
30152 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
30153 __feholdexcept instead of feholdexcept.
30154 (default_libc_feholdexcept_setround): Likewise.
30155
30156 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
30157
30158 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
30159 to avoid using stl/str to align destination.
30160
30161 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
30162
30163 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
30164
30165 2015-01-05 Joseph Myers <joseph@codesourcery.com>
30166
30167 [BZ #17796]
30168 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
30169 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
30170 Define as weak alias not strong alias.
30171
30172 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
30173
30174 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
30175 bltzal with addiupc.
30176 (RTLD_START): Ditto.
30177
30178 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
30179
30180 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
30181 for __vdso_* functions in declarations.
30182 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
30183 definitions.
30184 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
30185 INTERNAL_VSYSCALL): Use struct return types to check for error.
30186
30187 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
30188 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
30189 function with cast from llround().
30190 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
30191 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
30192 Define.
30193
30194 2015-01-05 Joseph Myers <joseph@codesourcery.com>
30195
30196 [BZ #17793]
30197 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
30198 Define as weak alias not strong alias.
30199
30200 [BZ #17635]
30201 * ctype/ctype-c99.c: New file. isblank implementation moved from
30202 ...
30203 * ctype/ctype-extn.c: ... here.
30204 (__isblank_l): Move to ...
30205 * ctype/ctype-c99_l.c: ... here. New file.
30206 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
30207 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
30208 Remove variable.
30209 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
30210 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
30211 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
30212 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
30213 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
30214
30215 [BZ #17777]
30216 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
30217 (posix_fadvise64): Define as weak alias not strong alias.
30218 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
30219 (posix_fallocate64): Likewise.
30220 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
30221 Remove variable.
30222 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
30223 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
30224 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
30225 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
30226 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
30227
30228 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
30229
30230 [BZ #16191]
30231 * NEWS: Mention bug fix.
30232 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
30233 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
30234 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
30235 (HOST_STACK_END_ADDR): Likewise.
30236
30237 2015-01-02 Joseph Myers <joseph@codesourcery.com>
30238
30239 [BZ #17748]
30240 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
30241 * math/fegetround.c (fegetround): Rename to __fegetround and
30242 define as weak alias of __fegetround. Use libm_hidden_weak.
30243 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
30244 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
30245 * sysdeps/arm/fegetround.c (fegetround): Likewise.
30246 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
30247 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
30248 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
30249 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
30250 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
30251 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
30252 Undefine after rather than before function definition; use
30253 parentheses around function name in definition.
30254 (__fegetround): Also undefine macro after function definition.
30255 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
30256 __fegetround and define as weak alias of __fegetround. Use
30257 libm_hidden_weak. Do not undefine as macro.
30258 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
30259 Likewise.
30260 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
30261 __fegetround and define as weak alias of __fegetround. Use
30262 libm_hidden_weak.
30263 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
30264 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
30265 * sysdeps/tile/math_private.h (__fegetround): New inline function.
30266 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
30267 __fegetround and define as weak alias of __fegetround. Use
30268 libm_hidden_weak.
30269 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
30270 __fegetround instead of fegetround.
30271
30272 [BZ #17782]
30273 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
30274 Condition macro definition on [__USE_MISC].
30275
30276 [BZ #17781]
30277 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
30278 (struct sigaction): Change type of sa_flags field to int.
30279
30280 [BZ #17780]
30281 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
30282 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
30283 __glibc_reserved0.
30284
30285 * nptl/version.c (banner): Use single year in copyright notice.
30286
30287 * NEWS: Update copyright dates.
30288 * catgets/gencat.c (print_version): Likewise.
30289 * csu/version.c (banner): Likewise.
30290 * debug/catchsegv.sh: Likewise.
30291 * debug/pcprofiledump.c (print_version): Likewise.
30292 * debug/xtrace.sh (do_version): Likewise.
30293 * elf/ldconfig.c (print_version): Likewise.
30294 * elf/ldd.bash.in: Likewise.
30295 * elf/pldd.c (print_version): Likewise.
30296 * elf/sotruss.sh: Likewise.
30297 * elf/sprof.c (print_version): Likewise.
30298 * iconv/iconv_prog.c (print_version): Likewise.
30299 * iconv/iconvconfig.c (print_version): Likewise.
30300 * locale/programs/locale.c (print_version): Likewise.
30301 * locale/programs/localedef.c (print_version): Likewise.
30302 * login/programs/pt_chown.c (print_version): Likewise.
30303 * malloc/memusage.sh (do_version): Likewise.
30304 * malloc/memusagestat.c (print_version): Likewise.
30305 * malloc/mtrace.pl: Likewise.
30306 * manual/libc.texinfo: Likewise.
30307 * nptl/version.c (banner): Likewise.
30308 * nscd/nscd.c (print_version): Likewise.
30309 * nss/getent.c (print_version): Likewise.
30310 * nss/makedb.c (print_version): Likewise.
30311 * posix/getconf.c (main): Likewise.
30312 * scripts/test-installation.pl: Likewise.
30313 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
30314
30315 2015-01-02 Will Newton <will.newton@linaro.org>
30316
30317 * sysdeps/arm/armv7/configure: Removed.
30318 * sysdeps/arm/armv7/configure.ac: Likewise.
30319
30320 2015-01-02 Joseph Myers <joseph@codesourcery.com>
30321
30322 * All files with FSF copyright notices: Update copyright dates
30323 using scripts/update-copyrights.
30324 * intl/plural.c: Regenerated.
30325 * locale/programs/charmap-kw.h: Likewise.
30326 * locale/programs/locfile-kw.h: Likewise.
30327
30328 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30329
30330 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
30331
30332 2014-12-31 Joseph Myers <joseph@codesourcery.com>
30333
30334 [BZ #17748]
30335 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
30336 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
30337 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
30338 and define as weak alias of __fegetenv. Use libm_hidden_weak.
30339 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
30340 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
30341 define as weak alias of __fegetenv. Use libm_hidden_weak.
30342 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
30343 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
30344 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
30345 define as weak alias of __fegetenv. Use libm_hidden_weak.
30346 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
30347 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
30348 define as weak alias of __fegetenv. Use libm_hidden_weak.
30349 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
30350 libm_hidden_def.
30351 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
30352 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
30353 Likewise.
30354 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
30355 define as weak alias of __fegetenv. Use libm_hidden_weak.
30356 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
30357 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
30358 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
30359 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
30360 and define as weak alias of __fegetenv. Use libm_hidden_weak.
30361 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
30362 __fegetenv instead of fegetenv.
30363 (libc_feholdsetround_noex_ctx): Likewise.
30364
30365 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
30366
30367 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
30368 (Elf_MIPS_ABIFlags_v0): New structure.
30369 (EF_MIPS_FP64): Define.
30370 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
30371 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
30372 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
30373 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
30374 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
30375 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
30376 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
30377 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
30378 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
30379 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
30380 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
30381 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
30382 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
30383 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
30384 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
30385 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
30386 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
30387 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
30388 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
30389 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
30390 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
30391 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
30392 field.
30393 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
30394 EF_MIPS_FP64.
30395 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
30396 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
30397 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
30398 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
30399 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
30400 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
30401 * sysdeps/mips/tst-abi-interlink.c: Likewise.
30402 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
30403 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
30404 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
30405 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
30406 record the current FP ABI extension.
30407 (mips-mode-switch): Define to show if kernel headers support mode
30408 switching.
30409 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
30410 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
30411 supported SYSV ABI version to 3.
30412 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
30413 feature.
30414
30415 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30416 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30417
30418 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
30419 path.
30420 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
30421
30422 2014-12-31 Joseph Myers <joseph@codesourcery.com>
30423
30424 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
30425 __fegetround and redefine to call __fegetround. Remove condition
30426 on [!__NO_MATH_INLINES].
30427 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
30428 function.
30429 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
30430 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
30431 Remove macro.
30432 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
30433 instead of <fenv_libc.h>.
30434 (__llrintl): Call fegetround instead of __fegetround.
30435 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
30436 instead of <fenv_libc.h>.
30437 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
30438 (__lrintl): Call fegetround instead of __fegetround.
30439 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
30440 instead of <fenv_libc.h>.
30441 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
30442 (__rintl): Call fegetround instead of __fegetround.
30443
30444 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
30445
30446 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
30447 arrays.
30448
30449 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
30450
30451 [BZ #17775]
30452 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
30453 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
30454 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
30455
30456 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
30457
30458 * sysdeps/i386/tls-macros.h: Include <features.h>.
30459 (TLS_LE): Use non-PIC version for GCC >= 5.0.
30460 (TLS_IE): Likewise.
30461 (TLS_LD): Likewise.
30462 (TLS_GD): Likewise.
30463 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
30464 define for GCC >= 5.0.
30465
30466 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
30467
30468 * math/test-fenv.c (test_single_exception, set_single_exc,
30469 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
30470 feexcp_mask_test, feenable_test, fe_single_test): Add
30471 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
30472 case where they are not used.
30473 * math/libm-test.inc: Likewise.
30474 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
30475 unused in the absence of FP rounding/exception support.
30476 * stdio-common/tst-printf-round.c: Likewise.
30477 * stdlib/tst-strtod-round.c: Likewise.
30478 * stdlib/tst-strtod-underflow.c: Likewise.
30479
30480 2014-12-30 Joseph Myers <joseph@codesourcery.com>
30481
30482 [BZ #17723]
30483 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
30484 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
30485 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
30486 __feraiseexcept and define as weak alias of __feraiseexcept. Use
30487 libm_hidden_weak.
30488 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
30489 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
30490 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
30491 libm_hidden_def.
30492 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
30493 __feraiseexcept and define as weak alias of __feraiseexcept. Use
30494 libm_hidden_weak.
30495 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
30496 Likewise.
30497 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
30498 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
30499 __feraiseexcept and define as weak alias of __feraiseexcept. Use
30500 libm_hidden_weak.
30501 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
30502 libm_hidden_def.
30503 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
30504 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
30505 (__feraiseexcept): Likewise.
30506 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
30507 __feraiseexcept and define as weak alias of __feraiseexcept. Use
30508 libm_hidden_weak.
30509 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
30510 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
30511 libm_hidden_def.
30512 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
30513 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
30514 Use libm_hidden_def.
30515 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
30516 libm_hidden_def.
30517 (feraiseexcept): Define as weak not strong alias. Use
30518 libm_hidden_weak.
30519 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
30520 New inline function. Factored out of ...
30521 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
30522 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
30523 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
30524 feraiseexcept.
30525 * math/w_acos.c (__acos): Likewise.
30526 * math/w_asin.c (__asin): Likewise.
30527 * math/w_ilogb.c (__ilogb): Likewise.
30528 * math/w_j0.c (y0): Likewise.
30529 * math/w_j1.c (y1): Likewise.
30530 * math/w_jn.c (yn): Likewise.
30531 * math/w_log.c (__log): Likewise.
30532 * math/w_log10.c (__log10): Likewise.
30533 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
30534 * sysdeps/aarch64/fpu/math_private.h
30535 (libc_feupdateenv_test_aarch64): Likewise.
30536 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
30537 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
30538 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
30539 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
30540 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
30541 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
30542 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
30543 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
30544 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30545 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
30546
30547 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
30548
30549 [BZ #17732]
30550 * io/test-utime.c (main): Replace %ld with %jd and cast to
30551 intmax_t.
30552 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
30553 * nptl/tst-mutex5.c: Include <stdint.h>.
30554 (do_test): Replace %ld with %jd and cast to intmax_t.
30555 * posix/tst-regex.c (run_test): Likewise.
30556 (run_test_backwards): Likewise.
30557 * rt/tst-clock.c: Include <stdint.h>.
30558 (clock_test): Replace %ld with %jd and cast to intmax_t.
30559 * rt/tst-cpuclock1.c: Include <stdint.h>.
30560 (do_test): Replace %lu with %ju and cast to uintmax_t.
30561 * rt/tst-cpuclock2.c: Include <stdint.h>.
30562 (do_test): Replace %lu with %ju and cast to uintmax_t.
30563 * rt/tst-mqueue1.c: Include <stdint.h>.
30564 (check_attrs): Replace %ld with %jd and cast to intmax_t.
30565 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
30566 intmax_t.
30567 * rt/tst-mqueue4.c (do_test): Likewise.
30568 * rt/tst-timer4.c: Include <stdint.h>.
30569 (check_ts): Replace %ld with %jd and cast to intmax_t.
30570 (do_test): Likewise.
30571 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
30572 and cast to intmax_t.
30573 * sysdeps/pthread/tst-timer.c (main): Likewise.
30574 * time/clocktest.c (main): Likewise.
30575 * time/tst-posixtz.c (do_test): Likewise.
30576 * timezone/tst-timezone.c (main): Likewise.
30577
30578 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
30579 H.J. Lu <hongjiu.lu@intel.com>
30580
30581 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
30582 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
30583 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
30584 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
30585 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
30586 version if bit_Fast_Unaligned_Load is set.
30587 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30588 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30589 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30590 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30591 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30592 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30593 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30594 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
30595 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
30596 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
30597 to 4.
30598 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
30599 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
30600 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
30601 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
30602
30603 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
30604
30605 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
30606 instead of #if to avoid a Wundef warning.
30607 * stdlib/tst-limits.c (do_test): Likewise.
30608
30609 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
30610 parallel other exception macros.
30611 (fegetenv): Convert from macro to extern inline so that it applies
30612 retroactively to inline functions already seen by the compiler.
30613 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
30614
30615 * posix/Makefile (before-compile): Use $(objpfx) for
30616 posix-conf-vars-def.h.
30617
30618 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30619
30620 * posix/getconf.c (main): Use size_t for type of I.
30621 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
30622 NSPEC.
30623
30624 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
30625 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
30626 * posix/posix-envs.def: Likewise.
30627 * sysdeps/posix/sysconf.c: Likewise.
30628 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
30629 (specs): Remove array.
30630 * scripts/gen-posix-conf-vars.awk: Support generation of specs
30631 array.
30632
30633 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
30634 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
30635 (__sysconf): Use CONF_IS_* macros.
30636
30637 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
30638 ($(objpfx)posix-conf-vars-def.h): New target.
30639 * posix/posix-conf-vars.list: New file.
30640 * posix/posix-conf-vars.h: New file.
30641 * posix/confstr.c: Include posix-conf-vars.h.
30642 (confstr): Use CONF_IS_* macros.
30643 * posix/posix-envs.def: Include posix-conf-vars.h. Use
30644 CONF_IS_* macros.
30645 * scripts/gen-posix-conf-vars.awk: New file.
30646
30647 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
30648
30649 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
30650 fegetround): Add no-op macros to avoid linknamespace issues.
30651
30652 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
30653 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
30654
30655 * sysdeps/unix/sysv/linux/tile/sysdep.h
30656 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
30657 assembly-specific section to avoid a redefinition warning.
30658
30659 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
30660 long before casting to pointer to avoid a cast warning.
30661
30662 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
30663
30664 * sysdeps/tile/tilegx/Implies: New file.
30665
30666 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
30667
30668 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
30669
30670 2014-12-23 Florian Weimer <fweimer@redhat.com>
30671
30672 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
30673
30674 2014-12-22 Joseph Myers <joseph@codesourcery.com>
30675
30676 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
30677 not define.
30678 * sysdeps/unix/sysv/linux/utimes.c: Do not include
30679 <kernel-features.h>.
30680 (__utimes) [__NR_utimes]: Make code unconditional.
30681 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
30682 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
30683 (__ASSUME_UTIMES): Do not undefine.
30684 * sysdeps/unix/sysv/linux/tile/kernel-features.h
30685 (__ASSUME_UTIMES): Likewise.
30686 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
30687 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
30688 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
30689 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
30690
30691 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
30692
30693 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
30694
30695 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
30696
30697 [BZ #17747]
30698 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
30699 alias to weak alias for j0l, y0l.
30700 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
30701 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
30702
30703 [BZ #17746]
30704 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
30705 conversion.
30706
30707 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
30708
30709 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
30710 to zero if not already defined.
30711
30712 2014-12-22 Joseph Myers <joseph@codesourcery.com>
30713
30714 [BZ #17724]
30715 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
30716 (__kernel_standard_f): Remove. Moved to k_standardf.c.
30717 (__kernel_standard_l): Remove. Moved to k_standardl.c with
30718 (char *) casts added.
30719 * sysdeps/ieee754/k_standardf.c: New file.
30720 * sysdeps/ieee754/k_standardl.c: Likewise.
30721 * math/Makefile (libm-support): Remove k_standard.
30722 (libm-calls): Add k_standard.
30723
30724 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
30725
30726 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
30727 Optimize to avoid an unnecessary FPCR read.
30728
30729 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
30730
30731 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
30732 Optimize to reduce FPCR/FPSR accesses.
30733
30734 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
30735
30736 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
30737 Call libc_fetestexcept_aarch64.
30738
30739 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
30740
30741 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
30742 Call libc_fesetround_aarch64.
30743
30744 2014-12-22 Joseph Myers <joseph@codesourcery.com>
30745
30746 [BZ #17733]
30747 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
30748 (__bind): Do not define as weak alias.
30749 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
30750 define.
30751 (__getsockname): Do not define as weak alias.
30752
30753 2014-12-22 Will Newton <will.newton@linaro.org>
30754
30755 * manual/install.texi: Document that we require bison 2.7
30756 or above.
30757 * INSTALL: Regenerate.
30758 * configure.ac: Use AC_CHECK_PROG_VER instead of
30759 AC_PATH_PROG when checking for bison and check for
30760 version 2.7 or above.
30761 * configure: Regenerate.
30762
30763 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
30764
30765 [BZ #17745]
30766 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
30767 * sysdeps/tile/ffsll.c (ffsll): To here.
30768
30769 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
30770
30771 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
30772
30773 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
30774 if not defined.
30775 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
30776 definition.
30777 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
30778 hidden ___tls_get_addr.
30779 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
30780 hidden __tls_get_addr.
30781 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
30782 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
30783 Likewise.
30784
30785 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
30786
30787 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
30788 _dl_init call.
30789
30790 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
30791
30792 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
30793 from "call _dl_init@PLT".
30794 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
30795
30796 2014-12-21 Anders Kaseorg <andersk@mit.edu>
30797
30798 * manual/search.texi: (Array Sort Function): Clarify stable sorting
30799 guarantees.
30800
30801 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
30802
30803 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
30804
30805 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
30806
30807 [BZ #17744]
30808 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
30809 strnlen.
30810
30811 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
30812
30813 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
30814 of multu on MIPSr6.
30815 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
30816 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
30817 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
30818 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
30819 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
30820
30821 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
30822
30823 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
30824 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
30825 (PTR_SUBU): Use subu for mips32r6/mips64r6.
30826 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
30827 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
30828 mips32r6/mips64r6.
30829 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
30830
30831 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
30832
30833 * string/strncat.c (STRNCAT): Simplify implementation.
30834
30835 2014-12-19 David S. Miller <davem@davemloft.net>
30836
30837 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
30838 access the quad as both a long double and as a series of 4 words.
30839
30840 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
30841 link_map->l_info array access.
30842
30843 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
30844
30845 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
30846
30847 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
30848 * math/atest-exp2.c (TIMEOUT): Likewise.
30849 * math/atest-sincos.c (TIMEOUT): Likewise.
30850
30851 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
30852
30853 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
30854 -Wno-error with -fno-builtin-lround.
30855
30856 2014-12-19 Torvald Riegel <triegel@redhat.com>
30857
30858 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
30859 Contains futex constants and functions moved over from ...
30860 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
30861 <lowlevellock-futex.h>.
30862 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
30863 (lll_timedwait_tid): Add comments and parentheses around macro
30864 arguments.
30865
30866 2014-12-19 Torvald Riegel <triegel@redhat.com>
30867
30868 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
30869 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
30870 (__lll_private_flag): Remove.
30871 (lll_futex_wait): Likewise.
30872 (lll_futex_timed_wait): Likewise.
30873 (lll_futex_wake): Likewise.
30874 (lll_futex_requeue): Likewise.
30875 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
30876 (__lll_timedwait_tid): Spell out argument names.
30877 (lll_timedwait_tid): Add comments and parentheses around macro
30878 arguments.
30879 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
30880 LLL_SHARED and LLL_PRIVATE usable from assembly code.
30881
30882 2014-12-19 Torvald Riegel <triegel@redhat.com>
30883
30884 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
30885 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
30886 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
30887 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
30888 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
30889 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
30890 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
30891 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
30892 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
30893 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
30894 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
30895 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
30896 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
30897 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
30898 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
30899 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
30900 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
30901 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
30902 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
30903
30904 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
30905
30906 * sysdeps/x86_64/x32/Makefile: New file.
30907
30908 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
30909
30910 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
30911 1L with (mp_limb_t) 1.
30912
30913 2014-12-17 Roland McGrath <roland@hack.frob.com>
30914
30915 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
30916 * nptl/libc_pthread_init.c: ... here.
30917 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
30918 * nptl/register-atfork.c: ... here.
30919
30920 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
30921 Use pthread_sigmask rather than INTERNAL_SYSCALL.
30922 Use assert_perror to check its return value.
30923 (__gai_create_helper_thread): Likewise.
30924
30925 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
30926
30927 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
30928
30929 2014-12-17 Joseph Myers <joseph@codesourcery.com>
30930
30931 [BZ #17725]
30932 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
30933 __profil_counter.
30934 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
30935 Likewise.
30936 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
30937 Likewise.
30938 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
30939 Likewise.
30940 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
30941 (profil_counter): Likewise.
30942 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
30943 (profil_counter): Likewise.
30944 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
30945 Likewise.
30946 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
30947 Likewise.
30948 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
30949 (profil_counter): Likewise.
30950 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
30951 Likewise.
30952 [!__profil_counter] (profil_counter): Define as weak alias of
30953 __profil_counter.
30954 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
30955 (profil_counter): Rename to __profil_counter.
30956 [!__profil_counter] (profil_counter): Define as weak alias of
30957 __profil_counter.
30958 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
30959 (profil_counter): Rename to __profil_counter.
30960 [!__profil_counter] (profil_counter): Define as weak alias of
30961 __profil_counter.
30962 * sysdeps/posix/profil.c: Update comment referring to
30963 profil_counter.
30964 (__profil): Use __profil_counter instead of profil_counter.
30965 * sysdeps/posix/sprofil.c (profil_counter): Rename to
30966 __profil_counter. Use __profil_counter_ushort and
30967 __profil_counter_uint in definitions.
30968 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
30969 instead of profil_counter_uint and profil_counter_ushort.
30970
30971 [BZ #17722]
30972 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
30973 define as weak alias of __inet_makeaddr.
30974 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
30975 as weak alias of __inet_addr.
30976 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
30977 as weak alias of __inet_pton. Use libc_hidden_weak.
30978 * include/arpa/inet.h (__inet_pton): Declare. Use
30979 libc_hidden_proto.
30980 (inet_makeaddr): Don't use libc_hidden_proto.
30981 (__inet_makeaddr): Declare. Use libc_hidden_proto.
30982 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
30983 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
30984 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
30985 Remove variable.
30986 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
30987 (test-xfail-POSIX/time.h/linknamespace): Likewise.
30988
30989 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
30990
30991 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
30992
30993 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
30994
30995 * stdio-common/bug-vfprintf-nargs.c (do_test):
30996 Cast value to intptr_t to avoid format warning
30997 for usage with PRIdPTR printing macro.
30998
30999 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
31000
31001 * libio/tst-widetext.c (do_test):
31002 Use format type %td instead of %Zd for ptrdiff_t
31003 in order to avoid format warning.
31004
31005 2014-12-17 Andreas Schwab <schwab@suse.de>
31006
31007 * nscd/mem.c (gc): Add size_t cast to match printf format.
31008
31009 2014-12-16 Roland McGrath <roland@hack.frob.com>
31010
31011 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
31012 (init): Apply PTR_MANGLE to pointers before storing them.
31013 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
31014 before using them.
31015
31016 2014-12-16 Joseph Myers <joseph@codesourcery.com>
31017
31018 [BZ #17719]
31019 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
31020 define as weak alias of __memrchr.
31021 (__memrchr): Do not define as strong alias of memrchr.
31022 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
31023 Remove variable.
31024 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
31025 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
31026 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
31027
31028 [BZ #17717]
31029 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
31030 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
31031 (if_indextoname): Rename to __if_indextoname and define as weak
31032 alias of __if_indextoname. 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 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
31038 __if_nametoindex and define as weak alias of __if_nametoindex.
31039 Use libc_hidden_weak.
31040 (if_freenameindex): Rename to __if_freenameindex and define as
31041 weak alias of __if_freenameindex.
31042 (if_nameindex): Rename to __if_nameindex and define as weak alias
31043 of __if_nameindex.
31044 (if_indextoname): Rename to __if_indextoname and define as weak
31045 alias of __if_indextoname. Use libc_hidden_weak.
31046 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
31047 __if_nametoindex and define as weak alias of __if_nametoindex.
31048 Use libc_hidden_weak.
31049 (if_freenameindex): Rename to __if_freenameindex and define as
31050 weak alias of __if_freenameindex. Use libc_hidden_weak.
31051 (if_nameindex_netlink): Use __if_freenameindex instead of
31052 if_freenameindex.
31053 (if_nameindex): Rename to __if_nameindex and define as weak alias
31054 of __if_nameindex. Use libc_hidden_weak.
31055 (if_indextoname): Rename to __if_indextoname and define as weak
31056 alias of __if_indextoname. Use libc_hidden_weak.
31057 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
31058 libc_hidden_proto.
31059 [!_ISOMAC] (__if_freenameindex): Likewise.
31060 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
31061 if_nametoindex.
31062 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
31063 variable.
31064 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
31065 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
31066 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
31067 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
31068 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
31069 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
31070 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
31071
31072 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
31073 Remove variable.
31074 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
31075 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
31076
31077 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31078
31079 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
31080 subscript above bounds'
31081
31082 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
31083 bounds.
31084
31085 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
31086
31087 * libio/tst-fopenloc.c: Use test-skeleton.c.
31088
31089 * stdlib/tst-bsearch.c: Use test-skeleton.c.
31090 (entry): Rename to ITEM.
31091 (do_test, comp): Adjust.
31092
31093 * stdio-common/tst-fseek.c: Use test-skeleton.c.
31094
31095 2014-12-16 Torvald Riegel <triegel@redhat.com>
31096
31097 * string/tester.c: Include <libc-internal.h>.
31098 (test_memset): Ignore -Wmemset-transposed-args.
31099
31100 2014-12-16 Torvald Riegel <triegel@redhat.com>
31101
31102 * misc/tst-mntent2.c (do_test): Fix warning.
31103
31104 2014-12-16 Torvald Riegel <triegel@redhat.com>
31105
31106 * elf/tst-unique4lib.cc(a): Mark as used.
31107
31108 2014-12-16 Florian Weimer <fweimer@redhat.com>
31109
31110 [BZ #17630]
31111 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
31112 names.
31113
31114 2014-12-16 Allan McRae <allan@archlinux.org>
31115
31116 * stdio-common/Makefile (tests): Re-add bug26.
31117
31118 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
31119
31120 [BZ #17657]
31121 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
31122 static array.
31123
31124 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
31125
31126 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
31127 (__lll_lock_wait): Likewise.
31128 (__lll_timedlock_wait): Likewise.
31129 (__lll_timedwait_tid): Likewise.
31130 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
31131 (__lll_robust_timedlock_wait): Likewise.
31132 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
31133 (lll_cond_trylock): Likewise.
31134 (__lll_lock): Likewise.
31135 (__lll_robust_lock): Likewise.
31136 (__lll_cond_lock): Likewise.
31137 (lll_robust_cond_lock): Likewise.
31138 (__lll_timedlock): Likewise.
31139 (__lll_robust_timedlock): Likewise.
31140 (__lll_unlock): Likewise.
31141 (__lll_robust_unlock): Likewise.
31142 (lll_wait_tid): Likewise.
31143 (lll_timedwait_tid): Likewise.
31144
31145 2014-12-15 Torvald Riegel <triegel@redhat.com>
31146
31147 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
31148
31149 2014-12-15 Torvald Riegel <triegel@redhat.com>
31150
31151 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
31152
31153 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
31154
31155 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
31156 * stdio-common/tst-sprintf.c: Likewise.
31157
31158 2014-12-15 Torvald Riegel <triegel@redhat.com>
31159
31160 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
31161
31162 2014-12-15 Jeff Law <law@redhat.com>
31163
31164 [BZ #16617]
31165 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
31166 on the heap. (CVE-2012-3406)
31167 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
31168 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
31169 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
31170
31171 2014-12-15 Will Newton <will.newton@linaro.org>
31172
31173 * manual/install.texi: Bump required version of texinfo
31174 to 4.7 from 4.5.
31175 * INSTALL: Regenerated.
31176 * configure.ac: Check for makeinfo version 4.7 and above.
31177 * configure: Regenerated.
31178
31179 2014-12-12 Roland McGrath <roland@hack.frob.com>
31180
31181 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
31182 PREFIX, string constant to insert between directory and name.
31183 * sysdeps/posix/shm_open.c: Update caller.
31184 * sysdeps/posix/shm_unlink.c: Likewise.
31185 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
31186 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
31187 (SEM_SHM_PREFIX): New macro.
31188 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
31189 [$(have-thread-library) = no].
31190 * nptl/Makefile (libpthread-routines): Add shm-directory.
31191 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
31192 * sysdeps/nptl/shm-directory.h: New file.
31193 * sysdeps/posix/shm-directory.c
31194 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
31195 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
31196 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
31197 INTERNAL_SYSCALL.
31198 (__where_is_shmfs): Function removed.
31199 (mountpoint, defaultmount, defaultdir, __namedsem_once):
31200 Variables removed.
31201 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
31202 Use SHM_GET_NAME.
31203 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
31204
31205 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
31206 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
31207 unconditional for use inside libpthread.
31208 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
31209
31210 2014-12-12 Roland McGrath <roland@hack.frob.com>
31211
31212 * nptl/pthread_getaffinity.c: New file.
31213 * nptl/pthread_setaffinity.c: New file.
31214 * nptl/pthread_getname.c: New file.
31215 * nptl/pthread_setname.c: New file.
31216
31217 * nptl/pthread_create.c (START_THREAD_DEFN)
31218 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
31219
31220 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
31221 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31222
31223 * resolv/res_send.c (send_vc): Disable warning resplen may
31224 be used uninitialized.
31225
31226 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
31227
31228 * nptl/tst-mutex6.c
31229 (ATTR_NULL): New define checks ATTR against NULL.
31230 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
31231 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
31232
31233 2014-12-11 James Lemke <jwlemke@codesourcery.com>
31234
31235 [BZ #17581]
31236 * malloc/hooks.c
31237 (mem2mem_check): Revert my previous change.
31238 (malloc_check_get_size): Revert my previous change.
31239 (mem2chunk_check): Revert my previous change.
31240
31241 2014-12-11 Roland McGrath <roland@hack.frob.com>
31242
31243 * sysdeps/posix/shm-directory.c: New file.
31244 * sysdeps/posix/shm-directory.h: New file.
31245 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
31246 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
31247 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
31248 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
31249 Transmute EPERM to EACCES.
31250 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
31251 from ...
31252 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
31253 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
31254
31255 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31256
31257 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
31258 pointer and cast to uintptr_t.
31259 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
31260 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
31261 Add cast to avoid warning.
31262 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
31263
31264 2014-12-11 Joseph Myers <joseph@codesourcery.com>
31265
31266 * nptl/semaphore.h: Move to ...
31267 * sysdeps/pthread/semaphore.h: ... here.
31268 * Makefile (installed-headers): Change nptl/semaphore.h to
31269 sysdeps/pthread/semaphore.h.
31270
31271 2014-12-11 Roland McGrath <roland@hack.frob.com>
31272
31273 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
31274 generated error format strings.
31275
31276 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
31277 -Wformat-extra-args warnings for scanf formats.
31278 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
31279 test of zero-length format (duh).
31280 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
31281 corner-case scanf format test.
31282 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
31283 generated fprintf format string.
31284 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
31285 corner-case sprintf format tests.
31286 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
31287 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
31288 -Wformat-extra-args warnings throughout.
31289 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
31290 (CFLAGS-scanf4.c): Likewise.
31291 (CFLAGS-scanf7.c): Likewise.
31292 (CFLAGS-tst-sprintf.c): Likewise.
31293 (CFLAGS-tst-printf.c): Likewise.
31294 (CFLAGS-tst-printfsz.c): Likewise.
31295
31296 2014-12-11 Joseph Myers <joseph@codesourcery.com>
31297
31298 * include/cpio.h: New file.
31299 * include/fmtmsg.h: Likewise.
31300
31301 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
31302 corresponding format argument to size_t.
31303 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
31304 arguments.
31305 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
31306 corresponding format argument to size_t.
31307 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
31308 arguments.
31309 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
31310 corresponding format argument to size_t.
31311 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
31312 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
31313 (CFLAGS-tst-mbswcs2.c): Likewise.
31314 (CFLAGS-tst-mbswcs3.c): Likewise.
31315 (CFLAGS-tst-mbswcs4.c): Likewise.
31316 (CFLAGS-tst-mbswcs5.c): Likewise.
31317 (CFLAGS-tst-trans.c): Likewise.
31318
31319 2014-12-11 Roland McGrath <roland@hack.frob.com>
31320
31321 * posix/regexbug1.c (main): Use "%s" format with regerror results,
31322 rather than assuming they won't contain any '%'s.
31323
31324 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
31325
31326 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
31327 inhibit_loop_to_libcall to avoid recursive calls.
31328 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
31329 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
31330
31331 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
31332
31333 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
31334 prototype.
31335
31336 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
31337
31338 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
31339 integer value instead of boolean.
31340
31341 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
31342
31343 * malloc/malloc.c: Fix powerof2 check.
31344
31345 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
31346
31347 * locale/programs/locfile.h (maybe_swap_uint32):
31348 Remove inline and add unused attribute.
31349
31350 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
31351
31352 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
31353 Truncating assembler expression to a .long expression.
31354
31355 2014-12-11 Andreas Schwab <schwab@suse.de>
31356
31357 * elf/rtld.c (struct map_args): Constify str member.
31358 (do_preload): Constify fname argument.
31359
31360 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31361
31362 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
31363 constants definition.
31364
31365 2014-12-11 Andreas Schwab <schwab@suse.de>
31366
31367 [BZ #16657]
31368 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
31369 FORCE_ELISION instead of DO_ELISION.
31370 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
31371 Remove.
31372 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
31373 Likewise.
31374
31375 * iconvdata/gconv-modules: Remove duplicate entry.
31376
31377 2014-12-11 Will Newton <will.newton@linaro.org>
31378
31379 Merge gettext 0.19.3 into intl/.
31380
31381 This involves a number of cosmetic changes to comments
31382 and ANSI function definitions and prototypes throughout
31383 all the files. The gettext copyright header is used but
31384 with the date ranges taken from the glibc copy.
31385
31386 * NEWS: Add gettext merge to 2.21.
31387 * intl/bindtextdom.c: Switch to gettext copyright.
31388 Use ANSI definitions and prototypes.
31389 Use gl_* locking primitives rather than __libc_* ones.
31390 Use __builtin_expect rather than __glibc_likely/unlikely.
31391 * intl/dcgettext.c: Switch to gettext copyright.
31392 Use ANSI definitions and prototypes.
31393 * intl/dcigettext.c: Switch to gettext copyright.
31394 Use ANSI definitions and prototypes.
31395 (INTDIV0_RAISES_SIGFPE): New define.
31396 Use gl_* locking primitives rather than __libc_* ones.
31397 Include eval-plural.h instead of plural-eval.c.
31398 Use __builtin_expect rather than __glibc_likely/unlikely.
31399 * intl/dcngettext.c: Switch to gettext copyright.
31400 Use ANSI definitions and prototypes.
31401 * intl/dgettext.c: Likewise.
31402 * intl/dngettext.c: Likewise.
31403 * intl/plural-eval.c: Renamed to...
31404 * intl/eval-plural.h: ...this.
31405 * intl/explodename.c: Switch to gettext copyright.
31406 Use ANSI definitions and prototypes.
31407 (_nl_explode_name): Use strchr instead of __rawmemchr.
31408 * intl/finddomain.c: Switch to gettext copyright.
31409 Use ANSI definitions and prototypes.
31410 Use gl_* locking primitives rather than __libc_* ones.
31411 (_nl_find_domain): Use malloc rather than alloca for
31412 allocation of temporary locale name.
31413 * intl/gettext.c: Switch to gettext copyright.
31414 Use ANSI definitions and prototypes.
31415 * intl/gettextP.h: Switch to gettext copyright.
31416 Use ANSI definitions and prototypes.
31417 Use gl_* locking primitives rather than __libc_* ones.
31418 * intl/gmo.h: Switch to gettext copyright.
31419 (struct sysdep_string): Move struct segment_pair outside of
31420 struct definition.
31421 * intl/hash-string.c: Use ANSI definitions and prototypes.
31422 * intl/hash-string.h: Switch to gettext copyright.
31423 Use ANSI definitions and prototypes.
31424 * intl/l10nflist.c: Switch to gettext copyright.
31425 Use ANSI definitions and prototypes.
31426 (_nl_normalize_codeset): Avoid integer overflow.
31427 * intl/loadinfo.h: Switch to gettext copyright.
31428 Use ANSI definitions and prototypes.
31429 (LIBINTL_DLL_EXPORTED): New define.
31430 (PATH_SEPARATOR): New define.
31431 * intl/loadmsgcat.c: Switch to gettext copyright.
31432 * intl/localealias.c: Switch to gettext copyright.
31433 Use ANSI definitions and prototypes.
31434 (_nl_expand_alias): Use PATH_SEPARATOR.
31435 * intl/ngettext.c: Switch to gettext copyright.
31436 Use ANSI definitions and prototypes.
31437 * intl/plural-exp.c: Likewise.
31438 * intl/plural-exp.h: Switch to gettext copyright.
31439 Use ANSI definitions and prototypes.
31440 (struct expression): Move definition of enum operator outside
31441 of struct definition.
31442 * intl/plural.c: Regenerate.
31443 * intl/plural.y: Switch to gettext copyright.
31444 Use ANSI definitions and prototypes.
31445 Port to bison 3.0.
31446 * intl/textdomain.c: Switch to gettext copyright.
31447 Use ANSI definitions and prototypes.
31448 Use gl_* locking primitives rather than __libc_* ones.
31449
31450 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
31451
31452 * debug/warning-nop.c: Add used atrribute.
31453
31454 2014-12-10 Joseph Myers <joseph@codesourcery.com>
31455
31456 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
31457
31458 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
31459 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
31460 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
31461
31462 2014-12-10 Joseph Myers <joseph@codesourcery.com>
31463 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31464
31465 [BZ #17634]
31466 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
31467 Undefine after defining function. Define as weak alias of
31468 __wcschr. Use libc_hidden_weak.
31469 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
31470 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
31471 (libc_hidden_def): Also define __GI___wcschr alias.
31472 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
31473 __wcschr and define as weak alias of __wcschr.
31474 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
31475 __wcschr.
31476 [!WCSCHR] (DEFAULT_WCSCHR): Define.
31477 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
31478 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
31479 libc_hidden_weak. Do not use libc_hidden_def.
31480 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
31481 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
31482 __GI___wcschr alias.
31483 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
31484 [IS_IN (libc)] (wcschr): Define as macro expanding to
31485 __redirect_wcschr.
31486 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
31487 [IS_IN (libc)] (__wcschr_power6): Likewise.
31488 [IS_IN (libc)] (__wcschr_power7): Likewise.
31489 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
31490 instead of wcschr.
31491 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
31492 __libc_wcschr.
31493 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
31494 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
31495 __wcschr and define as weak alias of __wcschr. Use
31496 libc_hidden_builtin_def.
31497 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
31498 as weak alias of __wcschr. Use libc_hidden_weak.
31499 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
31500 wcschr.
31501 * time/era.c (_nl_init_era_entries): Likewise.
31502 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
31503 variable.
31504 (test-xfail-XPG3/time.h/linknamespace): Likewise.
31505 (test-xfail-XPG4/time.h/linknamespace): Likewise.
31506
31507 2014-12-10 Joseph Myers <joseph@codesourcery.com>
31508
31509 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
31510 format for long int variable.
31511
31512 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
31513
31514 [BZ #10672]
31515 * manual/search.texi: (Array Sort Function): Remove claim how to make
31516 qsort stable.
31517
31518 2014-12-10 Andreas Schwab <schwab@suse.de>
31519
31520 [BZ #12847]
31521 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
31522 user-controlled locks.
31523
31524 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
31525
31526 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
31527 register.
31528
31529 2014-12-10 Joseph Myers <joseph@codesourcery.com>
31530
31531 * configure.ac (--disable-werror): New configure option.
31532 (enable_werror): New AC_SUBST.
31533 * configure: Regenerated.
31534 * config.make.in (enable-werror): New variable.
31535 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
31536 -Wno-error=undef.
31537 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
31538 * manual/install.texi (Configuring and compiling): Document
31539 --disable-werror.
31540 * INSTALL: Regenerated.
31541 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
31542 (CFLAGS-tst-chk2.c): Likewise.
31543 (CFLAGS-tst-chk3.c): Likewise.
31544 (CFLAGS-tst-chk4.cc): Likewise.
31545 (CFLAGS-tst-chk5.cc): Likewise.
31546 (CFLAGS-tst-chk6.cc): Likewise.
31547 (CFLAGS-tst-lfschk1.c): Likewise.
31548 (CFLAGS-tst-lfschk2.c): Likewise.
31549 (CFLAGS-tst-lfschk3.c): Likewise.
31550 (CFLAGS-tst-lfschk4.cc): Likewise.
31551 (CFLAGS-tst-lfschk5.cc): Likewise.
31552 (CFLAGS-tst-lfschk6.cc): Likewise.
31553
31554 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
31555 (main): Disable -Wdeprecated-declarations around calls to
31556 register_printf_function.
31557
31558 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
31559 (do_test): Disable -Wdiv-by-zero around some calls to
31560 fwrite_unlocked and fread_unlocked.
31561
31562 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
31563 (DIAG_POP_NEEDS_COMMENT): Likewise.
31564 (_DIAG_STR1): Likewise.
31565 (_DIAG_STR): Likewise.
31566 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
31567 * stdio-common/bug21.c: Include <libc-internal.h>.
31568 (do_test): Disable -Wformat around call to sscanf.
31569 * stdio-common/scanf14.c: Include <libc-internal.h>.
31570 (main): Disable -Wformat around some calls to scanf functions.
31571
31572 2014-12-09 Torvald Riegel <triegel@redhat.com>
31573
31574 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
31575
31576 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31577
31578 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
31579 stack variable alignment.
31580
31581 2014-12-06 Joseph Myers <joseph@codesourcery.com>
31582
31583 [BZ #17682]
31584 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
31585 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
31586 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
31587 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
31588 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
31589 __getrlimit instead of getrlimit.
31590 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
31591 __gettimeofday instead of gettimeofday.
31592 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
31593 Likewise.
31594 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
31595 Likewise.
31596 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
31597 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
31598 Remove variable.
31599 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
31600 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
31601
31602 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31603
31604 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
31605 for wide-character tests.
31606
31607 2014-12-04 Roland McGrath <roland@hack.frob.com>
31608
31609 * io/openat64.c: #include <libc-internal.h>
31610 (__openat64): Prototypify. Use ignore_value on MODE.
31611 * io/openat.c: Likewise.
31612 * misc/reboot.c: #include <libc-internal.h>
31613 (reboot): Prototypify. Use ignore_value on HOWTO.
31614 * misc/ptrace.c: #include <libc-internal.h>
31615 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
31616
31617 2014-12-04 Joseph Myers <joseph@codesourcery.com>
31618
31619 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
31620 XPG4, UNIX98 and XOPEN2K.
31621 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
31622 Remove variable.
31623 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
31624
31625 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31626
31627 * libio/fileops.c: Use ISO C style for function definitions.
31628 * libio/iofopen.c: Likewise.
31629 * libio/wfileops.c: Likewise.
31630
31631 [BZ #17653]
31632 * libio/fileops.c (_IO_new_file_underflow): Unset cached
31633 offset on EOF.
31634 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
31635 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
31636 (fgets_func): Function pointer to fgets and fgetws.
31637 (do_ftell_test): Add test to verify ftell value after read
31638 EOF.
31639 (do_test): Set fgets_func.
31640
31641 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
31642 O_TRUNC flag for w and w+ modes.
31643 (do_rewind_test): Likewise.
31644 (do_ftell_test): Likewise.
31645 (do_write_test): Likewise.
31646
31647 [BZ #17647]
31648 * libio/fileops.c (do_ftell): Seek only when there are
31649 unflushed writes.
31650 * libio/wfileops.c (do_ftell_wide): Likewise.
31651 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
31652 test case.
31653 (do_one_test): Call it.
31654
31655 2014-12-03 Joseph Myers <joseph@codesourcery.com>
31656
31657 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
31658 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
31659 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
31660 Remove variable.
31661 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
31662 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
31663 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
31664
31665 2014-12-02 Joseph Myers <joseph@codesourcery.com>
31666
31667 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
31668 Remove variable.
31669 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
31670
31671 [BZ #17668]
31672 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
31673 as weak alias of __getifaddrs. Use libc_hidden_weak.
31674 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
31675 __freeifaddrs. Use libc_hidden_weak.
31676 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
31677 define as weak alias of __getifaddrs. Use libc_hidden_weak.
31678 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
31679 __freeifaddrs. Use libc_hidden_weak.
31680 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
31681 __getifaddrs and define as weak alias of __getifaddrs. Use
31682 libc_hidden_weak.
31683 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
31684 __freeifaddrs. Use libc_hidden_weak.
31685 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
31686 Remove variable.
31687 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
31688 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
31689
31690 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
31691
31692 [BZ #17601]
31693 * sysdeps/mips/start.S (__start): Use indirect jump to call
31694 __libc_start_main.
31695
31696 2014-12-02 Joseph Myers <joseph@codesourcery.com>
31697
31698 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
31699
31700 * nptl/tst-mutex1.c: Include <stdbool.h>.
31701 [!ATTR] (ATTR_NULL): New macro.
31702 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
31703 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
31704 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
31705
31706 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
31707 to char *.
31708
31709 [BZ #17665]
31710 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
31711 Change conditional to [__USE_MISC].
31712
31713 [BZ #17664]
31714 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
31715 fgets_unlocked.
31716 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
31717 __fgets_unlocked.
31718 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
31719 fgets_unlocked.
31720 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
31721 Remove variable.
31722 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
31723 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
31724 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
31725 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
31726 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
31727 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
31728 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
31729 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
31730 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
31731
31732 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
31733
31734 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31735
31736 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31737 Remove strpbrk objects.
31738 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31739 (__libc_ifunc_impl_list): Remove strpbrk implementation.
31740 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
31741 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
31742 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
31743 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
31744
31745 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31746 Remove strcspn objects.
31747 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31748 (__libc_ifunc_impl_list): Remove strcspn implementation.
31749 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
31750 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
31751 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
31752 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
31753
31754 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31755 Remove strspn objetcs.
31756 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31757 (__libc_ifunc_impl_list): Remove strspn implementation.
31758 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
31759 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
31760 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
31761 * sysdeps/powerpc/powerpc64/strspn.S: New file.
31762
31763 2014-12-01 James Lemke <jwlemke@codesourcery.com>
31764
31765 [BZ #17581]
31766 * malloc/hooks.c
31767 (mem2mem_check): Add a terminator to the chain of checking blocks.
31768 (malloc_check_get_size): Use it here.
31769 (mem2chunk_check): Ditto.
31770
31771 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31772
31773 * sysdeps/powerpc/powerpc64/strtok.S: New file.
31774 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
31775
31776 2014-11-29 Carlos O'Donell <carlos@redhat.com>
31777
31778 * bits/ioctl-types.h: Indent preprocessor directives correctly.
31779
31780 * nptl/nptl-init.c: Include libc-internal.h.
31781 (__pthread_initialize_minimal_internal): Use ROUND_UP.
31782
31783 * elf/ldconfig.c (search_dir): Expand comment.
31784
31785 2014-11-29 Joseph Myers <joseph@codesourcery.com>
31786
31787 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
31788 variable.
31789 (linknamespace-symlist-stdlibs-tests): Likewise.
31790 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
31791 instead of $(objpfx)symlist-stdlibs.
31792 (linknamespace-libs-isoc): New variable.
31793 (linknamespace-libs): Use $(linknamespace-libs-isoc).
31794 (linknamespace-libs-ISO): New variable.
31795 (linknamespace-libs-ISO99): Likewise.
31796 (linknamespace-libs-ISO11): Likewise.
31797 (linknamespace-libs-XPG3): Likewise.
31798 (linknamespace-libs-XPG4): Likewise.
31799 (linknamespace-libs-POSIX): Likewise.
31800 (linknamespace-libs-UNIX98): Likewise.
31801 (linknamespace-libs-XOPEN2K): Likewise.
31802 (linknamespace-libs-POSIX2008): Likewise.
31803 (linknamespace-libs-XOPEN2K8): Likewise.
31804 ($(objpfx)symlist-stdlibs): Replace by
31805 $(linknamespace-symlist-stdlibs-tests). Use
31806 $(linknamespace-libs-$*) as set of libraries.
31807 ($(linknamespace-header-tests)): Update dependencies. Use
31808 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
31809 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
31810 * conform/linknamespace.pl: Remove comment about considering
31811 definitions of symbols from irrelevant libraries.
31812
31813 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
31814
31815 [BZ #13862]
31816 * elf/dl-tls.c: Include <atomic.h>.
31817 (oom): Remove #ifdef SHARED/#endif.
31818 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
31819 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
31820 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
31821 big enough.
31822 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
31823 * nptl/Makefile (tests): Add tst-stack4.
31824 (modules-names): Add tst-stack4mod.
31825 ($(objpfx)tst-stack4): New.
31826 (tst-stack4mod.sos): Likewise.
31827 ($(objpfx)tst-stack4.out): Likewise.
31828 ($(tst-stack4mod.sos)): Likewise.
31829 (clean): Likewise.
31830 * nptl/tst-stack4.c: New file.
31831 * nptl/tst-stack4mod.c: Likewise.
31832
31833 2014-11-27 J. Brown <jb999@gmx.de>
31834
31835 * sysdeps/x86/bits/string.h: Add recent CPUs.
31836
31837 2014-11-27 Joseph Myers <joseph@codesourcery.com>
31838
31839 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
31840 sigblock.
31841
31842 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
31843 feof.
31844
31845 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
31846 variable.
31847
31848 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
31849
31850 * nscd/connections.c: Include libc-internal.h because of macro
31851 usage ignore_value.
31852
31853 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
31854
31855 * string/bits/string3.h (__warn_memset_zero_len): Don't
31856 declare for gcc newer than 5.0.
31857 (memset): Don't test for zero-length __LEN for gcc newer than
31858 5.0.
31859
31860 2014-11-27 Joseph Myers <joseph@codesourcery.com>
31861
31862 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
31863 size_t for %zu format.
31864
31865 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
31866 difference, not %ju.
31867
31868 2014-11-26 Joseph Myers <joseph@codesourcery.com>
31869
31870 * include/libc-internal.h (ignore_value): New macro.
31871 * nscd/connections.c (restart): Wrap calls to setuid and setgid
31872 with ignore_value.
31873
31874 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
31875 definition.
31876
31877 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
31878 pthread_cleanup_push to void *.
31879
31880 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
31881 Undefine.
31882
31883 [BZ #16619]
31884 [BZ #16740]
31885 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
31886 instead of 1L << 52.
31887
31888 * libio/bug-rewind.c (do_test): Check fwscanf return values.
31889 * libio/bug-rewind2.c (do_test): Likewise.
31890
31891 * debug/test-stpcpy_chk-ifunc.c: Remove file.
31892 * debug/test-strcpy_chk-ifunc.c: Likewise.
31893 * wcsmbs/test-wcschr-ifunc.c: Likewise.
31894 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
31895 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
31896 * wcsmbs/test-wcslen-ifunc.c: Likewise.
31897 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
31898 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
31899 * Rules [$(multi-arch) = no] (tests): Do not filter out
31900 $(tests-ifunc).
31901 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
31902 * debug/Makefile (tests-ifunc): Remove variable.
31903 (tests): Do not add $(tests-ifunc).
31904 * wcsmbs/Makefile (tests-ifunc): Remove variable.
31905 (tests): Do not add $(tests-ifunc).
31906 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
31907 [TEST_IFUNC]: Remove conditionals.
31908 * string/test-string.h (TEST_IFUNC): Remove macro.
31909 [TEST_IFUNC]: Remove conditionals.
31910
31911 * string/test-strchr.c [!WIDE] (L): New macro.
31912 [WIDE] (L): Likewise.
31913 (check1): Use CHAR instead of char. Use L on string and character
31914 constants.
31915
31916 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
31917
31918 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
31919 tests.
31920 * sysdeps/powerpc/bits/atomic.h
31921 (__arch_atomic_exchange_and_add_32_acq): Add definition.
31922 (__arch_atomic_exchange_and_add_32_rel): Likewise.
31923 (atomic_exchange_and_add_acq): Likewise.
31924 (atomic_exchange_and_add_rel): Likewise.
31925 * sysdeps/powerpc/powerpc32/bits/atomic.h
31926 (__arch_atomic_exchange_and_add_64_acq): Add definition.
31927 (__arch_atomic_exchange_and_add_64_rel): Likewise.
31928 * sysdeps/powerpc/powerpc64/bits/atomic.h
31929 (__arch_atomic_exchange_and_add_64_acq): Add definition.
31930 (__arch_atomic_exchange_and_add_64_rel): Likewise.
31931
31932 2014-11-26 Torvald Riegel <triegel@redhat.com>
31933
31934 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
31935 Change synchronization of __sched_fifo_min_prio and
31936 __sched_fifo_max_prio.
31937 * nptl/pthread_mutexattr_getprioceiling.c
31938 (pthread_mutexattr_getprioceiling): Likewise.
31939 * nptl/pthread_mutexattr_setprioceiling.c
31940 (pthread_mutexattr_setprioceiling): Likewise.
31941 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
31942 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
31943 Likewise.
31944
31945 2014-11-26 Joseph Myers <joseph@codesourcery.com>
31946
31947 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
31948 void.
31949
31950 2014-11-25 Joseph Myers <joseph@codesourcery.com>
31951
31952 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
31953 third argument const.
31954
31955 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
31956
31957 fnmatch: work around GCC compiler warning bug with uninit var
31958 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
31959 This works around a bug with x86-64 GCC 4.9.2 and earlier
31960 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
31961 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
31962 used uninitialized in this function [-Wmaybe-uninitialized]".
31963
31964 2014-11-25 Joseph Myers <joseph@codesourcery.com>
31965
31966 * posix/bug-regex31.c (main): Return RES not 0.
31967
31968 2014-11-25 Anton Blanchard <anton@samba.org>
31969
31970 * sysdeps/powerpc/bits/atomic.h
31971 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
31972
31973 2014-11-24 Sterling Augustine <saugustine@google.com>
31974
31975 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
31976
31977 2014-11-24 Ryan Cumming <etaoins@gmail.com>
31978
31979 [BZ #17608]
31980 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
31981
31982 2014-11-24 Joseph Myers <joseph@codesourcery.com>
31983
31984 [BZ #17633]
31985 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
31986 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
31987 variable.
31988 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
31989 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
31990
31991 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
31992
31993 * string/strncpy.c (strncpy): Improve performance by using memset.
31994
31995 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
31996
31997 * string/strcpy.c (strcpy):
31998 Improve performance by using strlen and memcpy.
31999
32000 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
32001
32002 * string/strcoll_l.c (get_next_seq): __always_inline.
32003 * string/strcoll_l.c (do_compare): __always_inline.
32004
32005 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
32006
32007 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
32008 defined.
32009 * include/mqueue.h: Likewise.
32010 * include/stdlib.h: Likewise.
32011
32012 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
32013 (get_null_defines): Adjust.
32014 * sunrpc/Makefile: Adjust comment.
32015 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
32016 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
32017 (CFLAGS-interp.c): Likewise.
32018 (CFLAGS-ldconfig.c): Likewise.
32019 (CPPFLAGS-.os): Likewise.
32020 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32021 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
32022 * extra-modules.mk (extra-modules.mk): Likewise.
32023 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
32024 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
32025 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
32026 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
32027 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
32028 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
32029 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
32030 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
32031 * iconvdata/Makefile (CPPFLAGS): Likewise.
32032 (cpp-srcs-left): Add libof for all iconvdata routines.
32033 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
32034 * include/assert.h: Likewise.
32035 * include/ctype.h: Likewise.
32036 * include/errno.h: Likewise.
32037 * include/libc-symbols.h: Likewise.
32038 * include/math.h: Likewise.
32039 * include/netdb.h: Likewise.
32040 * include/resolv.h: Likewise.
32041 * include/stdio.h: Likewise.
32042 * include/stdlib.h: Likewise.
32043 * include/string.h: Likewise.
32044 * include/sys/stat.h: Likewise.
32045 * include/wctype.h: Likewise.
32046 * intl/l10nflist.c: Likewise.
32047 * libidn/idn-stub.c: Likewise.
32048 * libio/libioP.h: Likewise.
32049 * nptl/libc_multiple_threads.c: Likewise.
32050 * nptl/pthreadP.h: Likewise.
32051 * posix/regex_internal.h: Likewise.
32052 * resolv/res_hconf.c: Likewise.
32053 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
32054 * sysdeps/arm/memmove.S: Likewise.
32055 * sysdeps/arm/sysdep.h: Likewise.
32056 * sysdeps/generic/_itoa.h: Likewise.
32057 * sysdeps/generic/symbol-hacks.h: Likewise.
32058 * sysdeps/gnu/errlist.awk: Likewise.
32059 * sysdeps/gnu/errlist.c: Likewise.
32060 * sysdeps/i386/i586/memcpy.S: Likewise.
32061 * sysdeps/i386/i586/memset.S: Likewise.
32062 * sysdeps/i386/i686/memcpy.S: Likewise.
32063 * sysdeps/i386/i686/memmove.S: Likewise.
32064 * sysdeps/i386/i686/mempcpy.S: Likewise.
32065 * sysdeps/i386/i686/memset.S: Likewise.
32066 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
32067 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32068 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
32069 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
32070 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32071 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
32072 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
32073 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32074 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
32075 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32076 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32077 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32078 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32079 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32080 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32081 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32082 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
32083 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
32084 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
32085 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32086 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32087 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32088 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32089 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32090 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32091 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32092 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
32093 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32094 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
32095 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
32096 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32097 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
32098 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
32099 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32100 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32101 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
32102 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32103 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32104 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
32105 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32106 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32107 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32108 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
32109 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
32110 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32111 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32112 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
32113 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
32114 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32115 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
32116 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32117 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
32118 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
32119 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32120 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
32121 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
32122 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32123 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
32124 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
32125 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32126 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
32127 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32128 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
32129 * sysdeps/nptl/bits/libc-lock.h: Likewise.
32130 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
32131 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
32132 * sysdeps/posix/closedir.c: Likewise.
32133 * sysdeps/posix/opendir.c: Likewise.
32134 * sysdeps/posix/readdir.c: Likewise.
32135 * sysdeps/posix/rewinddir.c: Likewise.
32136 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
32137 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
32138 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
32139 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
32140 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
32141 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
32142 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
32143 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
32144 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
32145 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
32146 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
32147 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
32148 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
32149 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
32150 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
32151 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
32152 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
32153 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
32154 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
32155 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
32156 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
32157 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
32158 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
32159 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
32160 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
32161 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
32162 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
32163 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
32164 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
32165 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
32166 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
32167 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
32168 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
32169 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
32170 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
32171 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
32172 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
32173 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
32174 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
32175 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
32176 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
32177 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
32178 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
32179 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
32180 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
32181 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
32182 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
32183 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
32184 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
32185 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
32186 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
32187 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
32188 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
32189 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
32190 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
32191 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
32192 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
32193 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
32194 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
32195 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
32196 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
32197 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
32198 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
32199 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
32200 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
32201 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
32202 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
32203 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
32204 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
32205 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
32206 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
32207 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
32208 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
32209 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
32210 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
32211 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
32212 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
32213 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
32214 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
32215 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
32216 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
32217 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
32218 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
32219 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
32220 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
32221 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
32222 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
32223 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
32224 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
32225 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
32226 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
32227 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
32228 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
32229 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32230 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32231 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
32232 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32233 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32234 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
32235 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
32236 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32237 * sysdeps/unix/alpha/sysdep.S: Likewise.
32238 * sysdeps/unix/alpha/sysdep.h: Likewise.
32239 * sysdeps/unix/make-syscalls.sh: Likewise.
32240 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
32241 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
32242 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
32243 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
32244 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
32245 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
32246 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
32247 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
32248 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
32249 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
32250 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
32251 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
32252 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32253 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
32254 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
32255 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
32256 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
32257 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
32258 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
32259 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
32260 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
32261 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
32262 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
32263 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
32264 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
32265 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
32266 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
32267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
32268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
32269 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
32270 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
32271 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
32272 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
32273 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32274 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
32275 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
32276 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
32277 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32278 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
32279 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
32280 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
32281 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
32282 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
32283 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
32284 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
32285 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
32286 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
32287 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
32288 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
32289 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32290 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
32291 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
32292 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
32293 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
32294 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
32295 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
32296 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
32297 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32298 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
32299 * sysdeps/x86_64/memcpy.S: Likewise.
32300 * sysdeps/x86_64/memmove.c: Likewise.
32301 * sysdeps/x86_64/memset.S: Likewise.
32302 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
32303 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
32304 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
32305 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
32306 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
32307 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32308 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32309 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
32310 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
32311 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
32312 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
32313 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
32314 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
32315 * sysdeps/x86_64/multiarch/memset.S: Likewise.
32316 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32317 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
32318 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
32319 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
32320 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
32321 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
32322 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
32323 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
32324 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
32325 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
32326 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
32327 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
32328 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
32329 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
32330 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
32331 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
32332 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
32333 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
32334 * sysdeps/x86_64/strcmp.S: Likewise.
32335
32336 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
32337
32338 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
32339 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
32340 * elf/rtld-Rules: Likewise.
32341 * elf/setup-vdso.h: Likewise.
32342 * include/assert.h: Likewise.
32343 * include/bits/stdlib-float.h: Likewise.
32344 * include/errno.h: Likewise.
32345 * include/sys/stat.h: Likewise.
32346 * include/unistd.h: Likewise.
32347 * sysdeps/aarch64/setjmp.S: Likewise.
32348 * sysdeps/alpha/setjmp.S: Likewise.
32349 * sysdeps/arm/__longjmp.S: Likewise.
32350 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
32351 * sysdeps/arm/setjmp.S: Likewise.
32352 * sysdeps/arm/sysdep.h: Likewise.
32353 * sysdeps/generic/_itoa.h: Likewise.
32354 * sysdeps/generic/dl-sysdep.h: Likewise.
32355 * sysdeps/generic/ldsodefs.h: Likewise.
32356 * sysdeps/i386/dl-tls.h: Likewise.
32357 * sysdeps/i386/setjmp.S: Likewise.
32358 * sysdeps/m68k/setjmp.c: Likewise.
32359 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
32360 * sysdeps/mach/hurd/opendir.c: Likewise.
32361 * sysdeps/posix/getcwd.c: Likewise.
32362 * sysdeps/posix/opendir.c: Likewise.
32363 * sysdeps/posix/profil.c: Likewise.
32364 * sysdeps/powerpc/dl-procinfo.h: Likewise.
32365 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
32366 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
32367 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
32368 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
32369 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
32370 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
32371 * sysdeps/s390/dl-tls.h: Likewise.
32372 * sysdeps/s390/s390-32/setjmp.S: Likewise.
32373 * sysdeps/s390/s390-64/setjmp.S: Likewise.
32374 * sysdeps/sh/sh3/setjmp.S: Likewise.
32375 * sysdeps/sh/sh4/setjmp.S: Likewise.
32376 * sysdeps/unix/alpha/sysdep.h: Likewise.
32377 * sysdeps/unix/arm/sysdep.S: Likewise.
32378 * sysdeps/unix/i386/sysdep.S: Likewise.
32379 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
32380 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
32381 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
32382 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
32383 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32384 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
32385 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
32386 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
32387 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
32388 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
32389 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
32390 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
32391 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
32392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
32393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32394 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
32395 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32396 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32397 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
32398 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
32399 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
32400 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
32401 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32402 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
32403 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
32404 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
32405 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32406 * sysdeps/unix/x86_64/sysdep.S: Likewise.
32407 * sysdeps/x86_64/setjmp.S: Likewise.
32408
32409 * include/math.h: Use IS_IN instead of IS_IN_libm.
32410 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
32411 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
32412 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
32413 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
32414 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
32415 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
32416 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
32417 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
32418 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32419 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
32420 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
32421 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
32422 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
32423 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
32424 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
32425 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
32426 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
32427 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
32428 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
32429 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
32430 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
32431 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
32432 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
32433 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
32434 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
32435 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
32436 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
32437 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
32438 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
32439 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
32440 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
32441 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
32442 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
32443 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
32444 Likewise.
32445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
32446 Likewise.
32447 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
32448 Likewise.
32449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
32450 Likewise.
32451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
32452 Likewise.
32453 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
32454 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
32455 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
32456 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
32457 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
32458 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
32459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
32460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
32461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
32462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
32463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
32464 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
32465 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
32466 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
32467 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
32468 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
32469 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
32470 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
32471 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
32472 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
32473 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
32474 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
32475 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
32476 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
32477 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
32478 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
32479 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
32480
32481 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
32482 * nptl/pthreadP.h: Likewise.
32483 * nptl_db/structs.def: Likewise.
32484 * sysdeps/arm/sysdep.h: Likewise.
32485 * sysdeps/nptl/bits/libc-lock.h: Likewise.
32486 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
32487 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
32488 * sysdeps/unix/alpha/sysdep.h: Likewise.
32489 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
32490 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
32491 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
32492 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
32493 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
32494 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
32495 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32496 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
32497 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
32498 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
32499 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
32500 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
32501 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
32502 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
32503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
32504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
32505 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
32506 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
32507 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
32508 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
32509 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
32510 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
32511 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
32512 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
32513 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
32514 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
32515
32516 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
32517 * nptl/pthreadP.h: Likewise.
32518 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
32519 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
32520 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
32521 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
32522 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
32523 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
32524 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
32525 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
32526 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
32527 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
32528 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
32529 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
32530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
32531 Likewise.
32532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
32533 Likewise.
32534 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
32535 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
32536 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
32537 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
32538 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
32539 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
32540 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
32541 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
32542
32543 * dlfcn/dladdr.c: Use IS_IN.
32544 * dlfcn/dladdr1.c: Likewise.
32545 * dlfcn/dlclose.c: Likewise.
32546 * dlfcn/dlerror.c: Likewise.
32547 * dlfcn/dlinfo.c: Likewise.
32548 * dlfcn/dlmopen.c: Likewise.
32549 * dlfcn/dlopen.c: Likewise.
32550 * dlfcn/dlsym.c: Likewise.
32551 * dlfcn/dlvsym.c: Likewise.
32552
32553 * include/ifaddrs.h: Use IS_IN.
32554 * inet/check_pf.c: Likewise.
32555 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
32556 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
32557
32558 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
32559 IS_IN_ldconfig.
32560 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
32561 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
32562
32563 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
32564 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
32565 IS_IN (libc).
32566
32567 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
32568
32569 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
32570 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32571 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
32572 * include/libc-symbols.h (IS_IN_LIB): New macro.
32573 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
32574 * include/netdb.h: Likewise.
32575 * include/stap-probe.h: Remove all uses of IN_LIB.
32576
32577 * Makeconfig (module-cppflags-real): Define MODULE_NAME
32578 instead of IN_MODULE.
32579 * include/libc-symbols.h (IN_MODULE): Define using
32580 MODULE_NAME.
32581 (PASTE_NAME, PASTE_NAME1): New macros.
32582 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
32583 of IN_LIB.
32584 (STAP_PROBE_ASM): Likewise.
32585
32586 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
32587
32588 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
32589 __mach_init in dlopened libc.
32590
32591 2014-11-22 Mike Frysinger <vapier@gentoo.org>
32592
32593 * sysdeps/arm/preconfigure.ac: Delete EABI check.
32594 * sysdeps/arm/preconfigure: Regenerate.
32595
32596 2014-11-21 Roland McGrath <roland@hack.frob.com>
32597
32598 * nptl/pthread_create.c (__pthread_create_2_1): Set
32599 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
32600 when copying values from IATTR into PD.
32601
32602 2014-11-21 Will Newton <will.newton@linaro.org>
32603 Andrew Pinski <andrew.pinski@caviumnetworks.com>
32604
32605 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
32606 Refactor inline-asm. Also add comment.
32607
32608 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
32609 ElfW macro instead of hardcoded Elf64 types.
32610 (la_aarch64_gnu_pltenter): Likewise.
32611 * sysdeps/aarch64/dl-machine.h
32612 (elf_machine_runtime_setup): Use ElfW(Addr).
32613
32614 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
32615 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
32616 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
32617 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
32618 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
32619 (R_AARCH64_TLS_DTPMOD64): Rename to ..
32620 (R_AARCH64_TLS_DTPMOD): This.
32621 (R_AARCH64_TLS_DTPREL64): Rename to ...
32622 (R_AARCH64_TLS_DTPREL): This.
32623 (R_AARCH64_TLS_TPREL64): Rename to ...
32624 (R_AARCH64_TLS_TPREL): This.
32625 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
32626 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
32627 R_AARCH64_TLS_TPREL64.
32628 (elf_machine_rela): Likewise.
32629
32630 2014-11-21 Torvald Riegel <triegel@redhat.com>
32631
32632 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
32633 by setting it to 0. 64b atomics are not supported currently.
32634
32635 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
32636
32637 [BZ #16469]
32638 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
32639 search domain names.
32640
32641 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
32642
32643 [BZ #16469]
32644 * NEWS: Update.
32645 * resolv/res_query.c (__libc_res_nquerydomain): Retain
32646 trailing dot.
32647 * posix/tst-getaddrinfo5.c: New.
32648 * posix/Makefile (tests): Add it.
32649
32650 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
32651
32652 [BZ #14498]
32653 * NEWS: Fixed.
32654 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
32655 after parsing line but before break_if_match.
32656 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
32657 if there is a protocol mismatch.
32658
32659 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
32660
32661 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
32662 because the potential race is on the user-supplied stream.
32663
32664 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
32665
32666 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
32667 string literal if not passed a buffer.
32668 * manual/job.texi (ctermid): Update reasoning, note deviation
32669 from posix, suggest mtasurace when not passed a buffer, for
32670 future non-preliminary safety notes.
32671
32672 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
32673
32674 * manual/users.texi (cuserid): Fix MT-Safety note for the case
32675 of not passing it a buffer.
32676 Reported by Peng Haitao.
32677
32678 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
32679
32680 * manual/Makefile ($(objpfx)stamp-summary): Require
32681 check-safety.sh to pass.
32682 * manual/check-safety.sh: Wish for verification that every
32683 @deftypefn and @deftypefun is followed by a @safety remark.
32684
32685 2014-11-20 Roland McGrath <roland@hack.frob.com>
32686
32687 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
32688
32689 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
32690 PTHREAD_CANCEL_ASYNCHRONOUS.
32691 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
32692 send SIGCANCEL.
32693
32694 * nptl/default-sched.h: New file.
32695 * sysdeps/unix/sysv/linux/default-sched.h: New file.
32696 * nptl/pthread_create.c: Include it.
32697 (__pthread_create_2_1): Use collect_default_sched instead of making
32698 Linux syscalls here directly.
32699
32700 2014-11-20 Torvald Riegel <triegel@redhat.com>
32701
32702 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
32703 __pthread_once): Use C11 atomics.
32704
32705 2014-11-20 Torvald Riegel <triegel@redhat.com>
32706
32707 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
32708
32709 2014-11-20 Torvald Riegel <triegel@redhat.com>
32710
32711 * include/atomic.h (__atomic_link_error, __atomic_check_size,
32712 atomic_thread_fence_acquire, atomic_thread_fence_release,
32713 atomic_thread_fence_seq_cst, atomic_load_relaxed,
32714 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
32715 atomic_compare_exchange_weak_relaxed,
32716 atomic_compare_exchange_weak_acquire,
32717 atomic_compare_exchange_weak_release,
32718 atomic_exchange_acquire, atomic_exchange_release,
32719 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
32720 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
32721 atomic_fetch_and_acquire,
32722 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
32723
32724 2014-11-20 Torvald Riegel <triegel@redhat.com>
32725
32726 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
32727 USE_ATOMIC_COMPILER_BUILTINS): Define.
32728 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
32729 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32730 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
32731 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32732 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
32733 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32734 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
32735 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32736 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
32737 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32738 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
32739 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32740 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
32741 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32742 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
32743 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32744 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
32745 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32746 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
32747 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32748 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
32749 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32750 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
32751 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32752 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
32753 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32754 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
32755 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32756 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
32757 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32758 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
32759 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32760 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
32761 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32762 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
32763 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32764 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
32765 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32766 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
32767 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32768
32769 2014-11-19 Roland McGrath <roland@hack.frob.com>
32770
32771 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
32772 the sched_priority value here. It was already checked when the user
32773 called pthread_attr_setschedparam.
32774
32775 * nptl/tst-bad-schedattr.c: New file.
32776 * nptl/Makefile (tests): Add it.
32777
32778 2014-11-19 Carlos O'Donell <carlos@redhat.com>
32779 Florian Weimer <fweimer@redhat.com>
32780 Joseph Myers <joseph@codesourcery.com>
32781 Adam Conrad <adconrad@0c3.net>
32782 Andreas Schwab <schwab@suse.de>
32783 Brooks <bmoses@google.com>
32784
32785 [BZ #17625]
32786 * wordexp-test.c (__dso_handle): Add prototype.
32787 (__register_atfork): Likewise.
32788 (__app_register_atfork): New function.
32789 (registered_forks): New global.
32790 (register_fork): New function.
32791 (test_case): Add 3 new tests for WRDE_CMDSUB.
32792 (main): Call __app_register_atfork.
32793 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
32794 fork count is non-zero fail the test.
32795 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
32796 is set.
32797 (parse_dollars): Remove check for WRDE_NOCMD.
32798 (parse_dquote): Likewise.
32799
32800 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32801
32802 * Makeconfig (built-modules): List non-library modules to be
32803 built.
32804 (module-cppflags): Include libc-modules.h for
32805 everything except shlib-versions.v.i.
32806 (CPPFLAGS): Use it.
32807 (before-compile): Add libc-modules.h.
32808 ($(common-objpfx)libc-modules.h,
32809 $(common-objpfx)libc-modules.stmp): New targets.
32810 (common-generated): Add libc-modules.h and libc-modules.stmp.
32811 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
32812 * include/libc-symbols.h: Don't include libc-modules.h.
32813 * include/libc-modules.h: Remove file.
32814 * scripts/gen-libc-modules.awk: New script to generate
32815 libc-modules.h.
32816 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
32817 Depend on libc-modules.stmp.
32818
32819 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
32820
32821 * Makeconfig (in-module): Get value of libof set for the
32822 translation unit.
32823 (CPPFLAGS): Use $(in-module).
32824 * Makerules: Don't suffix routine names for nonlib.
32825 * include/libc-modules.h: New file.
32826 * include/libc-symbols.h: Include libc-modules.h
32827 (IS_IN): New macro to replace IS_IN_* macros.
32828 * elf/Makefile: Set libof-* for each routine.
32829 * elf/rtld-Rules: Likewise.
32830 * extra-modules.mk: Likewise.
32831 * iconv/Makefile: Likewise.
32832 * iconvdata/Makefile: Likewise.
32833 * locale/Makefile: Likewise.
32834 * malloc/Makefile: Likewise.
32835 * nss/Makefile: Likewise.
32836 * sysdeps/gnu/Makefile: Likewise.
32837 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
32838 * sysdeps/unix/sysv/linux/Makefile: Likewise.
32839 * sysdeps/s390/s390-64/Makefile: Likewise.
32840 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
32841 CPPFLAGS for nscd instead of nonlib.
32842
32843 2014-11-18 Roland McGrath <roland@hack.frob.com>
32844
32845 * nptl/createthread.c: New file.
32846
32847 * nptl/createthread.c: Moved ...
32848 * sysdeps/unix/sysv/linux/createthread.c: ... here.
32849
32850 * nptl/createthread.c: Add proper top-line comment.
32851 (do_clone): Folded into ...
32852 (create_thread): ... here. Take new arguments STOPPED_START and
32853 THREAD_RAN. Always set PD->stopped_start to something here. Don't
32854 increment __nptl_threads, do event-reporting logic, do
32855 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
32856 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
32857 resource cleanup if sched_setaffinity or sched_setscheduler fails,
32858 just send SIGCANCEL.
32859 * nptl/pthread_create.c: Forward-declare create_thread before
32860 including createthread.c.
32861 (start_thread): Use new macro START_THREAD_DEFN to replace defining
32862 declaration, and new macro START_THREAD_SELF to replace argument.
32863 Remove return statement.
32864 (report_thread_creation): New function.
32865 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
32866 synchronization logic, and __nptl_nthreads increment here, around
32867 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
32868 PD->parent_cancelhandling here, before create_thread. When
32869 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
32870 __deallocate_stack, and ENOMEM translation here.
32871
32872 2014-11-18 Joseph Myers <joseph@codesourcery.com>
32873
32874 [BZ #17616]
32875 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
32876 (mptwo): Rename to __mptwo.
32877 (__inv): Use __mptwo instead of mptwo.
32878 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
32879 (mptwo): Rename to __mptwo.
32880 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
32881 of mpone and __mptwo instead of mptwo.
32882 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
32883 instead of mpone.
32884 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
32885 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
32886 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
32887 of mpone and __mptwo instead of mptwo.
32888 (__mpranred): Use __mpone instead of mpone.
32889 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
32890 variable.
32891 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
32892 (test-xfail-ISO99/math.h/linknamespace): Likewise.
32893 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
32894 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
32895 (test-xfail-ISO11/math.h/linknamespace): Likewise.
32896 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
32897 (test-xfail-XPG3/math.h/linknamespace): Likewise.
32898 (test-xfail-XPG4/math.h/linknamespace): Likewise.
32899 (test-xfail-POSIX/math.h/linknamespace): Likewise.
32900 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
32901 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
32902 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
32903 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
32904 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
32905 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
32906 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
32907 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
32908 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
32909 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
32910
32911 2014-11-18 Tom de Vries <tom@codesoucery.com>
32912
32913 * manual/signal.texi (Primitives Interrupted by Signals): In section,
32914 replace BSD Handler xref with BSD Signal Handling.
32915
32916 2014-11-17 Richard Henderson <rth@redhat.com>
32917
32918 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
32919 (_FP_PACK_RAW_2): Remove.
32920 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
32921 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
32922 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
32923 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
32924 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
32925 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
32926 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
32927 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
32928 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
32929 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
32930 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
32931 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
32932 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
32933 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
32934 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
32935 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
32936
32937 2014-11-14 Roland McGrath <roland@hack.frob.com>
32938
32939 * signal/signal.h [__USE_MISC]
32940 (struct sigvec): Remove type.
32941 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
32942 (sigvec): Remove declaration.
32943 * sysdeps/posix/sigvec.c: Moved ...
32944 * signal/sigvec.c: ... here, replacing old file.
32945 (struct sigvec): New type, copied from old signal.h definition.
32946 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
32947 (__sigvec): Convert definition to prototype.
32948 (sigvec): Replace weak_alias with compat_symbol.
32949 * signal/Versions (libc: GLIBC_2.21): New version set.
32950 * include/signal.h: Remove __sigvec declaration.
32951 * sysdeps/unix/bsd/sigvec.c: Remove file.
32952 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
32953 * manual/signal.texi (BSD Handler): Remove subsection.
32954 Move siginterrupt up to ...
32955 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
32956 (Blocking in BSD): Fold subsection into its parent.
32957 * NEWS: Mention sigvec removal.
32958
32959 2014-11-14 Joseph Myers <joseph@codesourcery.com>
32960
32961 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
32962 (DLA_FMS): Make definition conditional only on [__FMA4__].
32963 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
32964 definition.
32965
32966 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
32967 Make definition conditional only on [PROF].
32968 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
32969 definition.
32970 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
32971 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
32972
32973 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
32974 !__GNUC__].
32975 * include/signal.h (__sigpause): Move declaration above call to
32976 libc_hidden_proto.
32977 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
32978 variable.
32979 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
32980 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
32981
32982 2014-11-14 David S. Miller <davem@davemloft.net>
32983
32984 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
32985 Define before including <string/memcpy.c> and <string/mempcpy.c>.
32986
32987 2014-11-14 Joseph Myers <joseph@codesourcery.com>
32988
32989 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
32990 * configure: Regenerated.
32991 * manual/install.texi (Tools for Compilation): Document a
32992 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
32993 compiler verified to work.
32994 * INSTALL: Regenerated.
32995
32996 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
32997 redeclare with asm name.
32998 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
32999 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
33000 including <string.h>.
33001 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
33002 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
33003 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
33004 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
33005 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
33006 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
33007 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
33008
33009 2014-11-13 Joseph Myers <joseph@codesourcery.com>
33010
33011 * stdlib/strtol.c (__strtol): Use prototype definition.
33012
33013 [BZ #17594]
33014 * stdlib/strtol.c (SYM__): New macro.
33015 (SYM__1): Likewise.
33016 (__strtol): Likewise.
33017 (strtol): Rename to __strtol and define as weak alias of
33018 __strtol. Use libc_hidden_weak.
33019
33020 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
33021
33022 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
33023 Use numbered labels in inline assembly.
33024
33025 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
33026
33027 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
33028 Add setjmp LIBC_PROBE.
33029 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
33030 Likewise.
33031 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
33032 Add longjmp, longjmp_target LIBC_PROBE.
33033 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
33034 Likewise.
33035
33036 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
33037
33038 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
33039 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
33040 to get rid of unused variable warning.
33041
33042 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
33043
33044 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
33045 Check for unwind_backtrace == NULL only in SHARED case.
33046 (__backchain_backtrace): Compile only in SHARED case.
33047 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
33048 Likewise.
33049 (__backchain_backtrace): Declare as static.
33050
33051 2014-11-12 Roland McGrath <roland@hack.frob.com>
33052
33053 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
33054 (__libc_multiple_threads_ptr): Variable moved ...
33055 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
33056
33057 2014-11-12 Joseph Myers <joseph@codesourcery.com>
33058
33059 * conform/GlibcConform.pm: New file.
33060 * conform/conformtest.pl: Use GlibcConform module.
33061 * conform/linknamespace.pl: New file.
33062 * conform/list-header-symbols.pl: Likewise.
33063 * conform/Makefile (linknamespace-symlists-base): New variable.
33064 (linknamespace-symlists-tests): Likewise.
33065 (linknamespace-header-base): Likewise.
33066 (linknamespace-header-tests): Likewise.
33067 (tests-special): Add new tests.
33068 ($(linknamespace-symlists-tests)): New rule.
33069 (linknamespace-libs): New variable.
33070 ($(objpfx)symlist-stdlibs): New rule.
33071 ($(linknamespace-header-tests)): Likewise.
33072 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
33073 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
33074 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
33075 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
33076 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
33077 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
33078 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
33079 (test-xfail-ISO/math.h/linknamespace): Likewise.
33080 (test-xfail-ISO/signal.h/linknamespace): Likewise.
33081 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
33082 (test-xfail-ISO/time.h/linknamespace): Likewise.
33083 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
33084 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
33085 (test-xfail-ISO99/math.h/linknamespace): Likewise.
33086 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
33087 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
33088 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
33089 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
33090 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
33091 (test-xfail-ISO11/math.h/linknamespace): Likewise.
33092 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
33093 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
33094 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
33095 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
33096 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
33097 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
33098 (test-xfail-XPG3/math.h/linknamespace): Likewise.
33099 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
33100 (test-xfail-XPG3/search.h/linknamespace): Likewise.
33101 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
33102 (test-xfail-XPG3/time.h/linknamespace): Likewise.
33103 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
33104 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
33105 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
33106 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
33107 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
33108 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
33109 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
33110 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
33111 (test-xfail-XPG4/math.h/linknamespace): Likewise.
33112 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
33113 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
33114 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
33115 (test-xfail-XPG4/search.h/linknamespace): Likewise.
33116 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
33117 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
33118 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
33119 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
33120 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
33121 (test-xfail-XPG4/time.h/linknamespace): Likewise.
33122 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
33123 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
33124 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
33125 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
33126 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
33127 (test-xfail-POSIX/math.h/linknamespace): Likewise.
33128 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
33129 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
33130 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
33131 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
33132 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
33133 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
33134 (test-xfail-POSIX/time.h/linknamespace): Likewise.
33135 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
33136 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
33137 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
33138 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
33139 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
33140 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
33141 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
33142 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
33143 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
33144 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
33145 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
33146 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
33147 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
33148 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
33149 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
33150 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
33151 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
33152 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
33153 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
33154 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
33155 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
33156 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
33157 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
33158 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
33159 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
33160 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
33161 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
33162 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
33163 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
33164 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
33165 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
33166 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
33167 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
33168 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
33169 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
33170 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
33171 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
33172 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
33173 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
33174 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
33175 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
33176 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
33177 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
33178 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
33179 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
33180 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
33181 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
33182 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
33183 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
33184 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
33185 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
33186 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
33187 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
33188 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
33189 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
33190 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
33191 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
33192 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
33193 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
33194 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
33195 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
33196 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
33197 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
33198 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
33199 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
33200 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
33201 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
33202 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
33203 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
33204 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
33205 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
33206 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
33207 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
33208 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
33209 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
33210 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
33211 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
33212 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
33213 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
33214 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
33215 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
33216 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
33217 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
33218 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
33219 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
33220 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
33221 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
33222 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
33223 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
33224 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
33225 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
33226 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
33227 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
33228 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
33229 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
33230 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
33231 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
33232 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
33233
33234 [BZ #17589]
33235 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
33236 of fgets_unlocked.
33237
33238 [BZ #17585]
33239 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
33240 (memmem): Rename to __memmem and define as weak alias of
33241 __memmem. Use libc_hidden_weak.
33242 (__memmem): Use libc_hidden_def.
33243 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
33244 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
33245 memmem.
33246
33247 [BZ #17582]
33248 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
33249 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
33250 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
33251 and define as weak alias of __fgets_unlocked. Use
33252 libc_hidden_weak.
33253 (__fgets_unlocked): Use libc_hidden_def.
33254 * include/stdio.h (__fgets_unlocked): Declare. Use
33255 libc_hidden_proto.
33256 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
33257 __fgets_unlocked instead of fgets_unlocked.
33258 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
33259 (GET_NPROCS_CONF_PARSER): Likewise.
33260 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
33261 (GET_NPROCS_CONF_PARSER): Likewise.
33262
33263 [BZ #17574]
33264 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
33265 weak alias of __wmemset. Use libc_hidden_weak.
33266 (__wmemset): Use libc_hidden_def.
33267 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
33268 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
33269 of wmemset.
33270
33271 [BZ #17573]
33272 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
33273 with asm name __mempcpy.
33274 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
33275
33276 [BZ #17572]
33277 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
33278 and define as weak alias of __rawmemchr.
33279 (__rawmemchr): Do not define as strong alias of rawmemchr.
33280
33281 [BZ #17571]
33282 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
33283 alias of __qsort_r.
33284 (qsort): Call __qsort_r instead of qsort_r.
33285 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
33286 (__qsort_r): Declare. Call libc_hidden_proto.
33287 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
33288 instead of qsort_r.
33289 * nscd/gai.c (__qsort_r): Define to qsort_r.
33290 * posix/tst-rfc3484.c (__qsort_r): Likewise.
33291 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
33292 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
33293
33294 [BZ #17570]
33295 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
33296 define as weak alias of __malloc_info.
33297
33298 [BZ #17584]
33299 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
33300 as weak alias of __rewinddir. Don't use libc_hidden_def.
33301 (__rewinddir): Use libc_hidden_def.
33302 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
33303 as weak alias of __rewinddir. Don't use libc_hidden_def.
33304 (__rewinddir): Use libc_hidden_def.
33305 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
33306 weak alias of __rewinddir. Don't use libc_hidden_def.
33307 (__rewinddir): Use libc_hidden_def.
33308 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
33309 (__rewinddir): Use libc_hidden_proto.
33310 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
33311 rewinddir.
33312 (__getcwd): Use __rewinddir instead of rewinddir.
33313
33314 [BZ #17583]
33315 * libio/fileno.c (fileno): Rename to __fileno and define as weak
33316 alias of __fileno. Use libc_hidden_weak.
33317 (__fileno): Use libc_hidden_def.
33318 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
33319 * libio/ftello.c (ftello): Rename to __ftello and define as weak
33320 alias of __ftello.
33321 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
33322 __ftello.
33323 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
33324 (__fread_unlocked): Define as strong alias of _IO_fread. Use
33325 libc_hidden_def.
33326 (fread_unlocked): Don't use libc_hidden_ver.
33327 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
33328 and define as weak alias of __fread_unlocked. Don't use
33329 libc_hidden_def.
33330 (__fread_unlocked): Use libc_hidden_def.
33331 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
33332 (ftello): Don't use libc_hidden_proto.
33333 (__ftello): Declare. Use libc_hidden_proto.
33334 (fread_unlocked): Don't use libc_hidden_proto.
33335 (__fread_unlocked): Declare. Use libc_hidden_proto.
33336 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
33337 and __ftello instead of fileno, fread_unlocked and ftello.
33338
33339 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
33340
33341 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
33342 GOT12.
33343 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
33344 Likewise.
33345 (_dl_start_user): Likewise.
33346 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
33347
33348 2014-11-12 Carlos O'Donell <carlos@redhat.com>
33349 Siddhesh Poyarekar <siddhesh@redhat.com>
33350
33351 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
33352 Move argv and envp down instead of moving argc up.
33353 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
33354
33355 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
33356
33357 [BZ #17506]
33358 * test-skeleton.c (main): Return successful if one of
33359 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
33360 * string/tst-strcoll-overflow.c: Define expected status.
33361
33362 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
33363
33364 [BZ #17475]
33365 * locale/iso-639.def: Define Bhili and Tulu language codes.
33366
33367 2014-11-11 Alan Hayward <alan.hayward@arm.com>
33368
33369 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
33370
33371 2014-11-10 Renlin Li <Renlin.Li@arm.com>
33372
33373 [BZ #17555]
33374 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
33375
33376 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
33377
33378 * configure.ac: Updated check of minimal required version to
33379 2.22.
33380 * manual/install.texi (Tools for Compilation): Updated version
33381 number.
33382 * configure: Regenerated.
33383 * INSTALL: Likewise.
33384
33385 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
33386
33387 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
33388 __tls_get_addr.
33389
33390 2014-11-07 Joseph Myers <joseph@codesourcery.com>
33391
33392 * include/sys/wait.h (__libc_waitpid): Remove declaration.
33393 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
33394 (__waitpid): Don't define as alias. Use libc_hidden_def not
33395 libc_hidden_weak.
33396 (waitpid): Define as alias of __waitpid.
33397 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
33398 __waitpid.
33399 (__waitpid): Don't define as alias. Use libc_hidden_def not
33400 libc_hidden_weak.
33401 (waitpid): Define as alias of __waitpid.
33402 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
33403 __libc_waitpid alias.
33404 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
33405 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
33406 Likewise.
33407 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
33408 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
33409 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
33410 alias.
33411 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
33412 __waitpid.
33413 (__waitpid): Don't define as alias. Use libc_hidden_def not
33414 libc_hidden_weak.
33415 (waitpid): Define as alias of __waitpid.
33416
33417 2014-11-06 Carlos O'Donell <carlos@redhat.com>
33418
33419 * manual/llio.texi: Add comment that write safety has been
33420 fixed in Linux.
33421
33422 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
33423 (localplt-build-dso): Add elf/ld.so.
33424 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
33425 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
33426 and free for ld.so.
33427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
33428 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
33429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
33430 Likewise.
33431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
33432 Likewise.
33433 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
33434 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
33435 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
33436 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
33437 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
33438 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
33439 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
33440 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
33441 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
33442 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
33443 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
33444
33445 2014-11-05 Joseph Myers <joseph@codesourcery.com>
33446
33447 [BZ #14132]
33448 * include/libc-symbols.h (INTUSE): Remove macro.
33449 (INTDEF): Likewise.
33450 (INTVARDEF): Likewise.
33451 (_INTVARDEF): Likewise.
33452 (INTDEF2): Likewise.
33453 (INTVARDEF2): Likewise.
33454 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
33455 rtld_hidden_def instead of INTVARDEF.
33456 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
33457 (_dl_starting_up_internal): Remove declaration.
33458 (_dl_starting_up): Use rtld_hidden_proto.
33459 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
33460 declaration.
33461 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
33462 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
33463 _dl_starting_up.
33464 * elf/dl-writev.h (_dl_writev): Likewise.
33465 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
33466 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
33467 _dl_starting_up_internal.
33468
33469 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33470
33471 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
33472 test-skeleton.c.
33473
33474 2014-11-05 Will Newton <will.newton@linaro.org>
33475
33476 * benchtests/Makefile: (bench-malloc): Add malloc thread
33477 scalability benchmark.
33478 * benchtests/bench-malloc-threads.c: New file.
33479
33480 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
33481
33482 * sysdeps/aarch64/strchrnul.S: New file.
33483
33484 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33485
33486 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
33487 definition.
33488 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
33489 Likewise.
33490 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
33491 Likewise.
33492 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
33493 Likewise.
33494 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
33495 Likewise.
33496 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
33497 Likewise.
33498
33499 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
33500
33501 * catgets/test-gencat.c: Use test-skeleton.c.
33502 * catgets/tst-catgets.c: Likewise.
33503 * csu/tst-empty.c: Likewise.
33504 * elf/tst-audit2.c: Likewise.
33505 * elf/tst-global1.c: Likewise.
33506 * elf/tst-pathopt.c: Likewise.
33507 * elf/tst-piemod1.c: Likewise.
33508 * elf/tst-tls10.c: Likewise.
33509 * elf/tst-tls11.c: Likewise.
33510 * elf/tst-tls12.c: Likewise.
33511 * gnulib/tst-gcc.c: Likewise.
33512 * iconvdata/tst-e2big.c: Likewise.
33513 * iconvdata/tst-loading.c: Likewise.
33514 * iconv/tst-iconv1.c: Likewise.
33515 * iconv/tst-iconv2.c: Likewise.
33516 * inet/test-inet6_opt.c: Likewise.
33517 * inet/tst-gethnm.c: Likewise.
33518 * inet/tst-network.c: Likewise.
33519 * inet/tst-ntoa.c: Likewise.
33520 * intl/tst-codeset.c: Likewise.
33521 * intl/tst-gettext2.c: Likewise.
33522 * intl/tst-gettext3.c: Likewise.
33523 * intl/tst-ngettext.c: Likewise.
33524 * intl/tst-translit.c: Likewise.
33525 * io/test-stat.c: Likewise.
33526 * libio/test-fmemopen.c: Likewise.
33527 * libio/tst-freopen.c: Likewise.
33528 * libio/tst-sscanf.c: Likewise.
33529 * libio/tst-ungetwc1.c: Likewise.
33530 * libio/tst-ungetwc2.c: Likewise.
33531 * libio/tst-widetext.c: Likewise.
33532 * localedata/tst-ctype.c: Likewise.
33533 * localedata/tst-digits.c: Likewise.
33534 * localedata/tst-leaks.c: Likewise.
33535 * localedata/tst-mbswcs1.c: Likewise.
33536 * localedata/tst-mbswcs2.c: Likewise.
33537 * localedata/tst-mbswcs3.c: Likewise.
33538 * localedata/tst-mbswcs4.c: Likewise.
33539 * localedata/tst-mbswcs5.c: Likewise.
33540 * localedata/tst-setlocale.c: Likewise.
33541 * localedata/tst-trans.c: Likewise.
33542 * localedata/tst-wctype.c: Likewise.
33543 * localedata/tst-xlocale1.c: Likewise.
33544 * login/tst-grantpt.c: Likewise.
33545 * malloc/tst-calloc.c: Likewise.
33546 * malloc/tst-malloc.c: Likewise.
33547 * malloc/tst-mallocstate.c: Likewise.
33548 * malloc/tst-mcheck.c: Likewise.
33549 * malloc/tst-mtrace.c: Likewise.
33550 * malloc/tst-obstack.c: Likewise.
33551 * math/atest-exp2.c: Likewise.
33552 * math/atest-exp.c: Likewise.
33553 * math/atest-sincos.c: Likewise.
33554 * math/test-matherr.c: Likewise.
33555 * math/test-misc.c: Likewise.
33556 * math/test-powl.c: Likewise.
33557 * math/tst-definitions.c: Likewise.
33558 * misc/tst-dirname.c: Likewise.
33559 * misc/tst-efgcvt.c: Likewise.
33560 * misc/tst-fdset.c: Likewise.
33561 * misc/tst-hsearch.c: Likewise.
33562 * misc/tst-mntent2.c: Likewise.
33563 * nptl/tst-sem7.c: Likewise.
33564 * nptl/tst-sem8.c: Likewise.
33565 * nptl/tst-sem9.c: Likewise.
33566 * nss/test-netdb.c: Likewise.
33567 * posix/tst-fnmatch.c: Likewise.
33568 * posix/tst-getlogin.c: Likewise.
33569 * posix/tst-gnuglob.c: Likewise.
33570 * posix/tst-mmap.c: Likewise.
33571 * pwd/tst-getpw.c: Likewise.
33572 * resolv/tst-inet_ntop.c: Likewise.
33573 * rt/tst-timer.c: Likewise.
33574 * stdio-common/test-fseek.c: Likewise.
33575 * stdio-common/test-popen.c: Likewise.
33576 * stdio-common/test-vfprintf.c: Likewise.
33577 * stdio-common/tst-cookie.c: Likewise.
33578 * stdio-common/tst-fileno.c: Likewise.
33579 * stdio-common/tst-gets.c: Likewise.
33580 * stdio-common/tst-obprintf.c: Likewise.
33581 * stdio-common/tst-perror.c: Likewise.
33582 * stdio-common/tst-sprintf2.c: Likewise.
33583 * stdio-common/tst-sprintf3.c: Likewise.
33584 * stdio-common/tst-sprintf.c: Likewise.
33585 * stdio-common/tst-swprintf.c: Likewise.
33586 * stdio-common/tst-tmpnam.c: Likewise.
33587 * stdio-common/tst-unbputc.c: Likewise.
33588 * stdio-common/tst-wc-printf.c: Likewise.
33589 * stdlib/tst-environ.c: Likewise.
33590 * stdlib/tst-fmtmsg.c: Likewise.
33591 * stdlib/tst-limits.c: Likewise.
33592 * stdlib/tst-rand48-2.c: Likewise.
33593 * stdlib/tst-rand48.c: Likewise.
33594 * stdlib/tst-random2.c: Likewise.
33595 * stdlib/tst-random.c: Likewise.
33596 * stdlib/tst-strtol.c: Likewise.
33597 * stdlib/tst-strtoll.c: Likewise.
33598 * stdlib/tst-tls-atexit.c: Likewise.
33599 * stdlib/tst-xpg-basename.c: Likewise.
33600 * string/test-ffs.c: Likewise.
33601 * string/tst-bswap.c: Likewise.
33602 * string/tst-inlcall.c: Likewise.
33603 * string/tst-strtok.c: Likewise.
33604 * string/tst-strxfrm.c: Likewise.
33605 * sysdeps/x86_64/tst-audit10.c: Likewise.
33606 * sysdeps/x86_64/tst-audit3.c: Likewise.
33607 * sysdeps/x86_64/tst-audit4.c: Likewise.
33608 * sysdeps/x86_64/tst-audit5.c: Likewise.
33609 * time/tst-ftime_l.c: Likewise.
33610 * time/tst-getdate.c: Likewise.
33611 * time/tst-mktime3.c: Likewise.
33612 * time/tst-mktime.c: Likewise.
33613 * time/tst-posixtz.c: Likewise.
33614 * time/tst-strptime2.c: Likewise.
33615 * time/tst-strptime3.c: Likewise.
33616 * wcsmbs/tst-btowc.c: Likewise.
33617 * wcsmbs/tst-mbrtowc.c: Likewise.
33618 * wcsmbs/tst-mbsrtowcs.c: Likewise.
33619 * wcsmbs/tst-wchar-h.c: Likewise.
33620 * wcsmbs/tst-wcpncpy.c: Likewise.
33621 * wcsmbs/tst-wcrtomb.c: Likewise.
33622 * wcsmbs/tst-wcsnlen.c: Likewise.
33623 * wcsmbs/tst-wcstof.c: Likewise.
33624
33625 2014-11-04 Joseph Myers <joseph@codesourcery.com>
33626
33627 [BZ #14132]
33628 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
33629 INTDEF.
33630 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
33631 declaration.
33632 (_dl_mcount): Use rtld_hidden_proto.
33633 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
33634 _dl_mcount.
33635 * elf/rtld.c (_rtld_global_ro): Likewise.
33636
33637 [BZ #14132]
33638 * elf/dl-init.c (_dl_init): Don't use INTDEF.
33639 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
33640 of _dl_init_internal.
33641 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
33642 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
33643 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
33644 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
33645 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
33646 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
33647 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
33648 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
33649 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
33650 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
33651 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
33652 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
33653 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
33654 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
33655 * sysdeps/tile/dl-start.S (_start): Likewise.
33656 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
33657 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
33658
33659 [BZ #14132]
33660 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
33661 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
33662 (rtld_progname): Make macro definition unconditional.
33663 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
33664 INTDEF.
33665 (dlmopen_doit): Do not use INTUSE with _dl_argv.
33666 (dl_main): Likewise.
33667 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
33668 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
33669 instead of _dl_argv_internal.
33670 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
33671 __GI__dl_argv instead of INTUSE(_dl_argv).
33672 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
33673 __GI__dl_argv instead of _dl_argv_internal.
33674
33675 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
33676 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
33677 macro.
33678 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
33679 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
33680 New macro.
33681 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
33682 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
33683 macro.
33684 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
33685 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
33686
33687 2014-11-04 Andreas Schwab <schwab@suse.de>
33688
33689 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
33690
33691 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33692
33693 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
33694 mtvsrd instruction in binary form.
33695
33696 2014-11-03 Andreas Schwab <schwab@suse.de>
33697
33698 [BZ #17522]
33699 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
33700 for less than MB_LEN_MAX use a local buffer of that size.
33701 * libio/tst-fputws.c: New file.
33702 * libio/Makefile (tests): Add tst-fputws.
33703
33704 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
33705
33706 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
33707 the size of the fpu_fr.fpu_dregs[] array.
33708
33709 2014-11-01 Joseph Myers <joseph@codesourcery.com>
33710
33711 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
33712 (__nanosleep): Do not define as alias.
33713 (nanosleep): Define as alias of __nanosleep.
33714 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
33715 __libc_nanosleep name.
33716
33717 2014-10-31 Joseph Myers <joseph@codesourcery.com>
33718
33719 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
33720 install.texi in comment.
33721
33722 2014-10-31 Torvald Riegel <triegel@redhat.com>
33723
33724 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
33725 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
33726 ... add here and use lwsync or sync ...
33727 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
33728 ... and add here using lwsync.
33729
33730 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
33731
33732 * elf/dl-machine-reject-phdr.h: New file.
33733 * elf/dl-load.c: #include that.
33734 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
33735 if that returned true.
33736
33737 2014-10-31 Roland McGrath <roland@hack.frob.com>
33738
33739 [BZ #17496]
33740 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
33741 gen-as-const-headers chunk. Add a big scare comment after the last
33742 safe place to touch before-compile.
33743
33744 2014-10-31 Joseph Myers <joseph@codesourcery.com>
33745
33746 * manual/install.texi (Tools for Compilation): Update autoconf
33747 version requirements.
33748 * INSTALL: Regenerated.
33749
33750 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
33751 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
33752 (__libc_pselect): Likewise.
33753
33754 [BZ #14138]
33755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
33756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
33757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
33758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33759
33760 2014-10-31 Torvald Riegel <triegel@redhat.com>
33761
33762 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
33763 correct barrier instruction.
33764 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
33765 Likewise.
33766 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
33767 Likewise.
33768
33769 2014-10-30 Roland McGrath <roland@hack.frob.com>
33770
33771 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
33772 after defining inlines. Instead, just use parens to defeat macro
33773 expansion of __isctype in its declaration.
33774
33775 2014-10-30 Joseph Myers <joseph@codesourcery.com>
33776
33777 * include/sys/uio.h (__libc_readv): Remove declaration.
33778 (__libc_writev): Likewise.
33779 * misc/readv.c (__libc_readv): Rename to __readv.
33780 (__readv): Do not define as alias.
33781 (readv): Define as alias of __readv.
33782 * misc/writev.c (__libc_writev): Rename to __writev.
33783 (__writev): Do not define as alias.
33784 (writev): Define as alias of __writev.
33785 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
33786 (__readv): Do not define as alias.
33787 (readv): Define unconditionally as alias of __readv.
33788 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
33789 (__writev): Do not define as alias.
33790 (writev): Define unconditionally as alias of __writev.
33791 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
33792 name.
33793 (writev): Do not define __libc_writev name.
33794
33795 2014-10-30 Roland McGrath <roland@hack.frob.com>
33796
33797 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
33798 (convert_charseq): New function, broken out of ...
33799 (use_from_charmap): ... here. Call it.
33800 (use_to_charmap): Use convert_charseq and free instead of duplicating
33801 its code with a variable-length stack struct.
33802
33803 2014-10-30 Joseph Myers <joseph@codesourcery.com>
33804
33805 * include/fcntl.h (__libc_creat): Remove declaration.
33806 * io/creat.c (__libc_creat): Rename to creat.
33807 (creat): Do not define as alias.
33808 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
33809 of creat instead of __libc_creat.
33810 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
33811 to creat.
33812 (creat): Do not define as alias.
33813 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
33814 __libc_creat.
33815 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
33816 __libc_creat name.
33817 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
33818 Likewise.
33819
33820 2014-10-29 Carlos O'Donell <carlos@redhat.com>
33821
33822 * manual/llio.texi: Add comments discussing why write() may be
33823 considered MT-unsafe on Linux.
33824
33825 2014-10-28 Carlos O'Donell <carlos@redhat.com>
33826
33827 * dl-load.c (local_strdup): Remove.
33828 (expand_dynamic_string_token): Use __strdup.
33829 (decompose_rpath): Likewise.
33830 (_dl_map_object): Likewise.
33831
33832 2014-10-28 Joseph Myers <joseph@codesourcery.com>
33833
33834 [BZ #14132]
33835 * sysdeps/generic/unwind-dw2-fde.c
33836 (__register_frame_info_bases_internal): Do not declare.
33837 (__register_frame_info_table_bases_internal): Likewise.
33838 (__deregister_frame_info_bases_internal): Likewise.
33839 (__register_frame_info_bases): Declare and use hidden_proto before
33840 definition. Use hidden_def instead of INTDEF.
33841 (__register_frame_info_table_bases): Likewise.
33842 (__deregister_frame_info_bases): Likewise.
33843 (__register_frame_info): Do not use INTUSE.
33844 (__register_frame): Likewise.
33845 (__register_frame_info_table): Likewise.
33846 (__register_frame_table): Likewise.
33847 (__deregister_frame_info): Likewise.
33848 (__deregister_frame): Likewise.
33849
33850 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
33851
33852 * sysdeps/unix/sysv/linux/arm/kernel-features.h
33853 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
33854 not undefine.
33855 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
33856 Likewise.
33857 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
33858 Likewise.
33859
33860 2014-10-27 Joseph Myers <joseph@codesourcery.com>
33861
33862 [BZ #14138]
33863 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
33864 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
33865 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
33866 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
33867 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
33868 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
33869 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
33870 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
33871 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
33872 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
33873 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
33874 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
33875 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
33876 syscall.
33877 (setfsuid): Likewise.
33878 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
33879 (setfsuid): Likewise.
33880 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
33881 (setfsuid): Likewise.
33882 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
33883 Likewise.
33884 (setfsuid): Likewise.
33885 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
33886 (setfsuid): Likewise.
33887 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
33888 Likewise.
33889 (setfsuid): Likewise.
33890
33891 2014-10-27 Andreas Schwab <schwab@suse.de>
33892
33893 [BZ #17501]
33894 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
33895 check for Slow_SSE4_2 feature bit.
33896 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
33897 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
33898 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
33899 Likewise. Fix check for Fast_Unaligned_Load feature bit.
33900
33901 2014-10-24 Roland McGrath <roland@hack.frob.com>
33902
33903 * configure.ac: Validate compiler version with a empirical test of
33904 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
33905 $CC -v output.
33906 * configure: Regenerated.
33907
33908 * inet/htons.c (htons): Prototypify.
33909 * inet/htonl.c (htonl): Likewise.
33910
33911 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
33912
33913 * string/strncat.c (strncat): Improve performance by using strlen.
33914
33915 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
33916
33917 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
33918
33919 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
33920
33921 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
33922 Call libc_fetestexcept_aarch64.
33923
33924 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
33925
33926 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
33927 Call libc_feholdexcept_aarch64.
33928
33929 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
33930
33931 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
33932 Call get_rounding_mode.
33933
33934 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
33935
33936 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
33937 Simplify logic.
33938
33939 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
33940
33941 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
33942 Simplify logic.
33943
33944 2014-10-24 Joseph Myers <joseph@codesourcery.com>
33945
33946 [BZ #14138]
33947 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
33948 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
33949 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
33950 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
33951 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
33952 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
33953 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
33954 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
33955 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
33956 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
33957 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
33958 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
33959 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
33960 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
33961 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
33962 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
33963 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
33964 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
33965 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
33966 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
33967 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
33968 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
33969 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
33970 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
33971 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
33972 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
33973 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
33974 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
33975 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
33976 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
33977 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
33978 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
33979 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
33980 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
33981 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
33982 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
33983 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
33984 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
33985 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
33986 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
33987 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
33988 syscall.
33989 (geteuid): Likewise.
33990 (getgid): Likewise.
33991 (getuid): Likewise.
33992 (getresgid): Likewise.
33993 (getresuid): Likewise.
33994 (getgroups): Likewise.
33995 * sysdeps/unix/sysv/linux/i386/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/m68k/syscalls.list (getegid): Likewise.
34003 (geteuid): Likewise.
34004 (getgid): Likewise.
34005 (getuid): Likewise.
34006 (getresgid): Likewise.
34007 (getresuid): Likewise.
34008 (getgroups): Likewise.
34009 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
34010 Likewise.
34011 (geteuid): Likewise.
34012 (getgid): Likewise.
34013 (getuid): Likewise.
34014 (getresgid): Likewise.
34015 (getresuid): Likewise.
34016 (getgroups): Likewise.
34017 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
34018 (geteuid): Likewise.
34019 (getgid): Likewise.
34020 (getuid): Likewise.
34021 (getresgid): Likewise.
34022 (getresuid): Likewise.
34023 (getgroups): Likewise.
34024 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
34025 Likewise.
34026 (geteuid): Likewise.
34027 (getgid): Likewise.
34028 (getuid): Likewise.
34029 (getgroups): Likewise.
34030
34031 [BZ #14138]
34032 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
34033 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
34034 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
34035 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
34036 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
34037 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
34038 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
34039 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
34040 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
34041 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
34042 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
34043 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
34044 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
34045 __chown.
34046 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
34047 (lchown): Likewise.
34048 (fchown): Likewise.
34049 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
34050 Likewise.
34051 (lchown): Likewise.
34052 (fchown): Likewise.
34053 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
34054 (lchown): Likewise.
34055 (fchown): Likewise.
34056 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
34057 Likewise.
34058 (lchown): Likewise.
34059 (fchown): Likewise.
34060
34061 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
34062
34063 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
34064 Simplify logic.
34065
34066 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
34067
34068 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
34069 Cleanup logic.
34070
34071 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
34072
34073 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
34074 Remove unused include.
34075
34076 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
34077
34078 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
34079 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
34080 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
34081 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
34082
34083 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
34084 Helge Deller <deller@gmx.de>
34085
34086 [BZ #17508]
34087 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
34088 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
34089 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
34090
34091 2014-10-23 Joseph Myers <joseph@codesourcery.com>
34092
34093 [BZ #14132]
34094 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
34095 Remove macro definition.
34096 (__ashrdi3_v_glibc20): Likewise.
34097 (__lshrdi3_v_glibc20): Likewise.
34098 (__cmpdi2_v_glibc20): Likewise.
34099 (__ucmpdi2_v_glibc20): Likewise.
34100 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
34101 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
34102 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
34103 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
34104 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
34105 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
34106
34107 2014-10-22 Roland McGrath <roland@hack.frob.com>
34108
34109 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
34110 old GNU extension [0] syntax.
34111 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
34112 alloca rather than an array member with variable length.
34113 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
34114 * nscd/nscd.c (invalidate_db): New function, broken out of ...
34115 (parse_opt): ... here. Likewise use alloca there.
34116 Validate the -i argument before checking for rootness.
34117 (send_shutdown): New function, broken out of ...
34118 (parse_opt): ... here.
34119
34120 2014-10-22 Roland McGrath <roland@hack.frob.com>
34121
34122 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
34123 macro to get at the _rt_local_ro field.
34124 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
34125 ([PIC] case) or _dl_hwcap ([!PIC] case).
34126 * sysdeps/arm/setjmp.S: Likewise.
34127
34128 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
34129 * sysdeps/arm/configure.ac: New check to define it.
34130 * sysdeps/arm/configure: Regenerated.
34131 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
34132 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
34133 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
34134 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
34135 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
34136 Use move/movt pair instead of a load.
34137 (LDST_GLOBAL): Macro removed.
34138 (LDR_GLOBAL): New macro replaces it.
34139 (LDR_HIDDEN): New macro.
34140 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
34141 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
34142
34143 * setjmp/tst-setjmp-static.c: New file.
34144 * setjmp/Makefile (tests): Add it.
34145 (tests-static): New variable.
34146
34147 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
34148
34149 [BZ #17485]
34150 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
34151
34152 2014-10-21 Joseph Myers <joseph@codesourcery.com>
34153
34154 [BZ #14132]
34155 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
34156
34157 2014-10-21 Roland McGrath <roland@hack.frob.com>
34158
34159 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
34160
34161 2014-10-20 Roland McGrath <roland@hack.frob.com>
34162
34163 * io/fts.c (dirent_not_directory): New function.
34164 (fts_build): Call it.
34165
34166 2014-10-20 Roland McGrath <roland@hack.frob.com>
34167
34168 * nptl/version.c (__nptl_main): Use normal __write rather than
34169 INTERNAL_SYSCALL.
34170 (banner): Update copyright years.
34171
34172 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
34173 gettimeofday.
34174 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
34175 * nptl/pthread_cond_timedwait.c: Likewise.
34176 * nptl/pthread_mutex_timedlock.c: Likewise.
34177 * nptl/sem_timedwait.c: Likewise.
34178
34179 * sysdeps/nptl/bits/libc-lock.h
34180 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
34181 (__libc_lock_init_recursive): Return void, not 0.
34182 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
34183 (__libc_rwlock_init): Likewise.
34184 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
34185
34186 2014-10-20 Torvald Riegel <triegel@redhat.com>
34187
34188 [BZ #15215]
34189 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
34190 (__pthread_once_slow): ... here.
34191 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
34192 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
34193
34194 2014-10-20 Torvald Riegel <triegel@redhat.com>
34195
34196 [BZ #15215]
34197 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
34198 __PTHREAD_ONCE_FORK_GEN_INCR): New.
34199 * sysdeps/nptl/fork.c (__libc_fork): Use them.
34200 * nptl/pthread_once.c (__pthread_once): Likewise.
34201 Update comments.
34202
34203 2014-10-20 Joseph Myers <joseph@codesourcery.com>
34204
34205 [BZ #14138]
34206 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
34207 name.
34208 (writev): Use __libc_writev as strong name.
34209 * sysdeps/unix/sysv/linux/readv.c: Remove file.
34210 * sysdeps/unix/sysv/linux/writev.c: Likewise.
34211
34212 2014-10-17 Roland McGrath <roland@hack.frob.com>
34213
34214 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
34215
34216 * sysdeps/i386/nptl/tls.h
34217 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
34218 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
34219 New macros.
34220 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
34221 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
34222 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
34223 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
34224 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
34225 Call CHECK_THREAD_SYSINFO instead of doing an assert.
34226
34227 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
34228 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
34229 on [__NR_futex].
34230 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
34231 broken out of ...
34232 (__pthread_mutex_init): ... here. Call it.
34233 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
34234 Conditionalize PI cases on [__NR_futex].
34235 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
34236 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
34237 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
34238
34239 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
34240 conditional on [SIGSETXID].
34241 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
34242 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
34243 is defined. Likewise for SIGSETXID.
34244 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
34245 Conditionalize definitions on [SIGSETXID].
34246 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
34247 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
34248 unblocking on [SIGCANCEL].
34249
34250 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
34251 [__NR_set_robust_list].
34252
34253 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
34254
34255 * string/strcoll_l.c (get_next_seq): Fix up formatting.
34256 (do_compare): Likewise.
34257
34258 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
34259
34260 [BZ #15884]
34261 * string/strcoll_l.c: Don't include stdio.h.
34262 (coll_seq): Remove members idxarr and rulearr.
34263 (get_next_seq_cached): Remove function.
34264 (get_next_seq): Likewise.
34265 (get_next_seq_nocache): Rename to get_next_seq.
34266 (do_compare): Remove function.
34267 (do_compare_nocache): Rename to do_compare.
34268 (STRCOLL): Remove weight and rules cache.
34269
34270 2014-10-16 Roland McGrath <roland@hack.frob.com>
34271
34272 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
34273 * sysdeps/arm/sfp-machine.h: ... to here.
34274 * sysdeps/arm/Implies: Remove arm/soft-fp.
34275
34276 2014-10-14 Joseph Myers <joseph@codesourcery.com>
34277
34278 * conform/data/sys/utsname.h-data (*_t): Allow.
34279 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
34280 [POSIX] (WEXITED): Do not expect constant.
34281 [POSIX] (WSTOPPED): Likewise.
34282 [POSIX] (WNOHANG): Likewise.
34283 [POSIX] (WNOWAIT): Likewise.
34284 [POSIX] (siginfo_t): Do not expect type or elements.
34285 [POSIX] (pid_t): Do not expect type.
34286 [POSIX] (signal.h): Do not allow header.
34287 [POSIX] (sys/resource.h): Likewise.
34288 [POSIX] (si_*): Do not allow pattern.
34289 [POSIX] (W*): Likewise.
34290 [POSIX] (P_*): Likewise.
34291 [POSIX] (BUS_*): Likewise.
34292 [POSIX] (CLD_*): Likewise.
34293 [POSIX] (FPE_*): Likewise.
34294 [POSIX] (ILL_*): Likewise.
34295 [POSIX] (POLL_*): Likewise.
34296 [POSIX] (SEGV_*): Likewise.
34297 [POSIX] (SI_*): Likewise.
34298 [POSIX] (TRAP_*): Likewise.
34299 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
34300 variable.
34301
34302 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
34303
34304 [BZ #12926]
34305 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
34306 infinite loop when __recvmsg returns 0.
34307
34308 2014-10-10 Joseph Myers <joseph@codesourcery.com>
34309
34310 * CANCEL-FCT-WAIVE: Remove file.
34311 * CANCEL-FILE-WAIVE: Likewise.
34312
34313 [BZ #14132]
34314 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
34315 instead of INTVARDEF.
34316 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
34317 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
34318 rtld_hidden_data_def instead of INTVARDEF.
34319 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
34320 * elf/dl-deps.c (expand_dst): Likewise.
34321 * elf/dl-load.c (_dl_dst_count): Likewise.
34322 (_dl_dst_substitute): Likewise.
34323 (decompose_rpath): Likewise.
34324 (_dl_init_paths): Likewise.
34325 (open_path): Likewise.
34326 (_dl_map_object): Likewise.
34327 * elf/rtld.c (dl_main): Likewise.
34328 (process_dl_audit): Likewise.
34329 (process_envvars): Likewise.
34330 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
34331 Remove declaration.
34332 (__libc_enable_secure): Use rtld_hidden_proto.
34333
34334 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
34335
34336 * elf/dl-load.c
34337 (add_path): New function broken out of _dl_rtld_di_serinfo.
34338 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
34339
34340 2014-10-09 Joseph Myers <joseph@codesourcery.com>
34341
34342 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
34343 parentheses around macro arguments.
34344 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
34345 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
34346 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
34347 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
34348 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
34349 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
34350 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
34351 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
34352 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
34353 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
34354 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
34355 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
34356 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
34357 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
34358 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
34359 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
34360 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
34361 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
34362 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
34363 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
34364 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
34365 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
34366 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
34367 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
34368 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
34369 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
34370 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
34371 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
34372 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
34373 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
34374 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
34375 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
34376 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
34377 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
34378 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
34379 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
34380 Likewise.
34381 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
34382 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
34383 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
34384 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
34385 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
34386 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
34387 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
34388 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
34389 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
34390 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
34391 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
34392 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
34393 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
34394 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
34395 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
34396 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
34397 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
34398 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
34399 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
34400 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
34401 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
34402 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
34403 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
34404 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
34405 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
34406 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
34407 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
34408 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
34409 (_FP_FRAC_SRS_1): Likewise.
34410 (_FP_FRAC_CLZ_1): Likewise.
34411 (_FP_MUL_MEAT_1_imm): Likewise.
34412 (_FP_MUL_MEAT_1_wide): Likewise.
34413 (_FP_MUL_MEAT_1_hard): Likewise.
34414 (_FP_SQRT_MEAT_1): Likewise.
34415 (_FP_FRAC_ASSEMBLE_1): Likewise.
34416 (_FP_FRAC_DISASSEMBLE_1): Likewise.
34417 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
34418 (__FP_CLZ_2): Likewise.
34419 (_FP_MUL_MEAT_2_wide): Likewise.
34420 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
34421 (_FP_MUL_MEAT_2_gmp): Likewise.
34422 (_FP_MUL_MEAT_2_120_240_double): Likewise.
34423 (_FP_SQRT_MEAT_2): Likewise.
34424 (_FP_FRAC_ASSEMBLE_2): Likewise.
34425 (_FP_FRAC_DISASSEMBLE_2): Likewise.
34426 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
34427 (_FP_FRAC_CLZ_4): Likewise.
34428 (_FP_MUL_MEAT_4_wide): Likewise.
34429 (_FP_MUL_MEAT_4_gmp): Likewise.
34430 (_FP_SQRT_MEAT_4): Likewise.
34431 (_FP_FRAC_ASSEMBLE_4): Likewise.
34432 (_FP_FRAC_DISASSEMBLE_4): Likewise.
34433 * soft-fp/op-common.h (_FP_CMP): Likewise.
34434 (_FP_CMP_EQ): Likewise.
34435 (_FP_CMP_UNORD): Likewise.
34436 (_FP_TO_INT): Likewise.
34437 (_FP_FROM_INT): Likewise.
34438 [!__FP_CLZ] (__FP_CLZ): Likewise.
34439 (_FP_DIV_HELP_imm): Likewise.
34440 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
34441 Likewise.
34442 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
34443 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
34444 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
34445 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
34446 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
34447 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
34448 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
34449 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
34450 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
34451 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
34452 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
34453 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
34454 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
34455 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
34456 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
34457 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
34458 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
34459 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
34460 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
34461 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
34462 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
34463 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
34464 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
34465 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
34466 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
34467 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
34468 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
34469 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
34470 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
34471 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
34472 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
34473 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
34474 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
34475 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
34476 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
34477 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
34478 (FP_UNPACK_RAW_SP): Likewise.
34479 (FP_PACK_RAW_S): Likewise.
34480 (FP_PACK_RAW_SP): Likewise.
34481 (FP_UNPACK_S): Likewise.
34482 (FP_UNPACK_SP): Likewise.
34483 (FP_UNPACK_SEMIRAW_S): Likewise.
34484 (FP_UNPACK_SEMIRAW_SP): Likewise.
34485 (FP_PACK_S): Likewise.
34486 (FP_PACK_SP): Likewise.
34487 (FP_PACK_SEMIRAW_S): Likewise.
34488 (FP_PACK_SEMIRAW_SP): Likewise.
34489 (_FP_SQRT_MEAT_S): Likewise.
34490 (FP_CMP_S): Likewise.
34491 (FP_CMP_EQ_S): Likewise.
34492 (FP_CMP_UNORD_S): Likewise.
34493 (FP_TO_INT_S): Likewise.
34494 (FP_FROM_INT_S): Likewise.
34495
34496 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
34497
34498 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
34499 (FP_EX_INVALID_IMZ): Likewise.
34500 (FP_EX_INVALID_IMZ_FMA): Likewise.
34501 (FP_EX_INVALID_ISI): Likewise.
34502 (FP_EX_INVALID_ZDZ): Likewise.
34503 (FP_EX_INVALID_IDI): Likewise.
34504 (FP_EX_INVALID_SQRT): Likewise.
34505 (FP_EX_INVALID_CVI): Likewise.
34506 (FP_EX_INVALID_VC): Likewise.
34507 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
34508 "invalid" exceptions.
34509 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
34510 (_FP_ADD_INTERNAL): Likewise.
34511 (_FP_MUL): Likewise.
34512 (_FP_FMA): Likewise.
34513 (_FP_DIV): Likewise.
34514 (_FP_CMP_CHECK_NAN): Likewise.
34515 (_FP_SQRT): Likewise.
34516 (_FP_TO_INT): Likewise.
34517 (FP_EXTEND): Likewise.
34518
34519 2014-10-09 Allan McRae <allan@archlinux.org>
34520
34521 * po/fr.po: Update French translation from translation project.
34522
34523 2014-10-09 Joseph Myers <joseph@codesourcery.com>
34524
34525 [BZ #14132]
34526 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
34527 of INTDEF.
34528 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
34529 (__cxa_atexit): Use libc_hidden_proto.
34530 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
34531
34532 [BZ #14132]
34533 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
34534 declaration.
34535 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
34536 [!_ISOMAC] (__iswspace_l_internal): Likewise.
34537 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
34538 [!_ISOMAC] (__iswctype_internal): Likewise.
34539 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
34540 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
34541 alias.
34542 (fcntl): Remove __fcntl_internal alias.
34543 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
34544 __connect_internal alias.
34545 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
34546 Likewise.
34547
34548 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
34549 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
34550 FP_DENORM_ZERO.
34551 (_FP_CHECK_FLUSH_ZERO): New macro.
34552 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
34553 (_FP_CMP): Likewise.
34554 (_FP_CMP_EQ): Likewise.
34555 (_FP_TO_INT): Do not set inexact for subnormal arguments if
34556 FP_DENORM_ZERO.
34557 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
34558 (FP_TRUNC): Likewise.
34559
34560 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
34561 treated as invalid conversion, not as normal exponent.
34562
34563 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
34564 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
34565 (_FP_CMP_EQ): Likewise.
34566 (_FP_CMP_UNORD): Likewise.
34567 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
34568 (FP_CMP_EQ_D): Likewise.
34569 (FP_CMP_UNORD_D): Likewise.
34570 * soft-fp/extended.h (FP_CMP_E): Likewise.
34571 (FP_CMP_EQ_E): Likewise.
34572 (FP_CMP_UNORD_E): Likewise.
34573 * soft-fp/quad.h (FP_CMP_Q): Likewise.
34574 (FP_CMP_EQ_Q): Likewise.
34575 (FP_CMP_UNORD_Q): Likewise.
34576 * soft-fp/single.h (FP_CMP_S): Likewise.
34577 (FP_CMP_EQ_S): Likewise.
34578 (FP_CMP_UNORD_S): Likewise.
34579 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
34580 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
34581 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
34582 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
34583 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
34584 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
34585 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
34586 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
34587 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
34588 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
34589 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
34590 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
34591 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
34592 to FP_CMP_Q.
34593 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
34594 FP_CMP_Q.
34595 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
34596 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
34597 FP_CMP_EQ_Q.
34598 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
34599 FP_CMP_Q.
34600 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
34601 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
34602 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
34603 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
34604 FP_CMP_EQ_Q.
34605 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
34606 FP_CMP_Q.
34607 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
34608 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
34609 FP_CMP_EQ_Q.
34610 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
34611 FP_CMP_Q.
34612 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
34613 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
34614 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
34615 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
34616 FP_CMP_EQ_Q.
34617
34618 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
34619 a subnormal result, set the underflow exception if trapping on
34620 underflow is enabled.
34621 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
34622 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
34623 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
34624 redefine to 0.
34625 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
34626 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
34627 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
34628 * soft-fp/extendxftf2.c (__extendxftf2): Use
34629 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
34630
34631 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
34632 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
34633 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
34634 FP_HANDLE_EXCEPTIONS.
34635 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
34636 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
34637 FP_HANDLE_EXCEPTIONS.
34638 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
34639 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
34640 FP_HANDLE_EXCEPTIONS.
34641 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
34642 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
34643 FP_HANDLE_EXCEPTIONS.
34644
34645 2014-10-08 Joseph Myers <joseph@codesourcery.com>
34646
34647 [BZ #14132]
34648 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
34649 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
34650 use INTUSE.
34651 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
34652 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
34653 Remove alias.
34654 (__adjtimex): Define using libc_hidden_ver.
34655 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
34656 Remove declaration.
34657 (ntp_gettime): Call __adjtimex directly.
34658 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
34659 Remove declaration.
34660 (ntp_gettimex): Call __adjtimex directly.
34661 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
34662 __adjtimex_internal alias.
34663
34664 2014-10-08 Roland McGrath <roland@hack.frob.com>
34665
34666 [BZ #17460]
34667 * nscd/nscd.c (more_help): Rewrite list of tables collection
34668 using xstrdup and asprintf.
34669
34670 * nscd/nscd_conf.c: Remove local xstrdup declaration.
34671
34672 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
34673 Roland McGrath <roland@hack.frob.com>
34674
34675 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
34676 (do_lookup_unique): ... local function 'enter' here; update callers.
34677
34678 2014-10-06 Joseph Myers <joseph@codesourcery.com>
34679
34680 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
34681 compat_symbol calls on [SHARED].
34682 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
34683 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
34684 Remove.
34685 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
34686 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
34687 (oldsetrlimit): Remove.
34688 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
34689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
34690 (lchown): New syscall entry.
34691 (oldsetrlimit): Remove.
34692 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
34693 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
34694 (oldsetrlimit): Remove.
34695 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
34696
34697 [BZ #14138]
34698 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
34699 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
34700 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
34701 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
34702 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
34703 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
34704 (fchown): Likewise.
34705 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
34706 (fchown): Likewise.
34707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
34708 Likewise.
34709
34710 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34711
34712 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
34713 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
34714 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
34715 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
34716 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
34717 Likewise.
34718 (__old_sem_post): Likewise.
34719
34720 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
34721
34722 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
34723 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
34724 HAVE_CLOCK_GETTIME_VSYSCALL macros.
34725 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
34726 Use INLINE_VSYSCALL macro.
34727 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
34728 __vdso_clock_gettime.
34729 * sysdeps/unix/sysv/linux/tile/init-first.c
34730 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
34731 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
34732 __vdso_clock_gettime.
34733
34734 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
34735 to set up frame more cleanly.
34736
34737 * sysdeps/tile/memcmp.c: New file.
34738
34739 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
34740
34741 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
34742 * sysdeps/tile/tilegx/strcasestr.c: New file.
34743 * sysdeps/tile/tilegx/strnlen.c: New file.
34744 * sysdeps/tile/tilegx/strstr.c: New file.
34745
34746 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
34747
34748 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
34749
34750 * nptl/tst-setuid3.c: Write errors to stdout.
34751
34752 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
34753
34754 * elf/dl-deps.c
34755 (preload): New functions broken out of _dl_map_object_deps.
34756 (_dl_map_object_deps): Remove a nested function. Update call sites.
34757
34758 2014-10-01 Joseph Myers <joseph@codesourcery.com>
34759
34760 [BZ #14138]
34761 * sysdeps/unix/sysv/linux/execve.c: Remove file.
34762 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
34763
34764 2014-10-01 Steve Ellcey <sellcey@mips.com>
34765
34766 * sysdeps/mips/strcmp.S: New.
34767
34768 2014-09-30 Joseph Myers <joseph@codesourcery.com>
34769
34770 [BZ #14138]
34771 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
34772 (linkat): Likewise.
34773 (mkdirat): Likewise.
34774 (readlinkat): Likewise.
34775 (renameat): Likewise.
34776 (symlinkat): Likewise.
34777 (unlinkat): Likewise.
34778 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
34779 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
34780 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
34781 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
34782 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
34783 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
34784 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
34785
34786 2014-09-30 Will Newton <will.newton@linaro.org>
34787
34788 * math/math.h: Define long double math functions if
34789 _LIBC_TEST is defined.
34790 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
34791
34792 * localedata/Makefile: Move assignment to tests-special
34793 into an ifdef testing run-built-tests.
34794 * timezone/Makefile: Likewise.
34795
34796 2014-09-29 Joseph Myers <joseph@codesourcery.com>
34797
34798 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
34799 with $(BASH) not $(SHELL).
34800
34801 2014-09-29 Carlos O'Donell <carlos@redhat.com>
34802 Matthew LeGendre <legendre1@llnl.gov>
34803
34804 [BZ #17411]
34805 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
34806 l_reloc_result.
34807
34808 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
34809
34810 * stdio-common/printf_fp.c
34811 (hack_digit): New function, broken out of ...
34812 (__printf_fp): ... local function here. Update call sites.
34813 hack_digit now takes an additional parameter that is a pointer
34814 to a struct of the referenced locals. Those locals moved inside
34815 the struct and references updated.
34816
34817 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
34818
34819 * aclocal.m4: Require autoconf 2.69.
34820 * configure: Regenerated.
34821 * sysdeps/aarch64/configure: Likewise.
34822 * sysdeps/alpha/configure: Likewise.
34823 * sysdeps/arm/armv7/configure: Likewise.
34824 * sysdeps/arm/configure: Likewise.
34825 * sysdeps/ia64/configure: Likewise.
34826 * sysdeps/mach/configure: Likewise.
34827 * sysdeps/mips/configure: Likewise.
34828 * sysdeps/s390/configure: Likewise.
34829 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
34830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
34831
34832 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
34833 file.
34834 * sysdeps/ia64/configure.ac: Likewise.
34835
34836 2014-09-26 Joseph Myers <joseph@codesourcery.com>
34837
34838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
34839 specify symbol version for ld.so. Do not include entry for
34840 libpthread.
34841 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
34842 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
34843 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
34844
34845 [BZ #14171]
34846 * Makeconfig [$(build-shared) = yes]
34847 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
34848 makefiles.
34849 [$(build-shared) = yes && $(soversions.mk-done) = t]
34850 ($(common-objpfx)gnu/lib-names.h): Remove rule.
34851 [$(build-shared) = yes && $(soversions.mk-done) = t]
34852 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
34853 to Makerules.
34854 [$(build-shared) = yes && $(soversions.mk-done) = t]
34855 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
34856 here.
34857 [$(build-shared) = yes && $(soversions.mk-done) = t]
34858 (common-generated): Don't append gnu/lib-names.h and
34859 gnu/lib-names.stmp here.
34860 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
34861 (lib-names-h-abi): New variable.
34862 [$(build-shared) = yes && $(soversions.mk-done) = t]
34863 (lib-names-stmp-abi): Likewise.
34864 [$(build-shared) = yes && $(soversions.mk-done) = t &&
34865 abi-variants] (before-compile): Append
34866 $(common-objpfx)$(lib-names-h-abi).
34867 [$(build-shared) = yes && $(soversions.mk-done) = t &&
34868 abi-variants] (common-generated): Append gnu/lib-names.h.
34869 [$(build-shared) = yes && $(soversions.mk-done) = t &&
34870 abi-variants] (install-others-nosubdir): Depend on
34871 $(inst_includedir)/$(lib-names-h-abi).
34872 [$(build-shared) = yes && $(soversions.mk-done) = t &&
34873 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
34874 [$(build-shared) = yes && $(soversions.mk-done) = t]
34875 ($(common-objpfx)$(lib-names-h-abi)): New rule.
34876 [$(build-shared) = yes && $(soversions.mk-done) = t]
34877 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
34878 [$(build-shared) = yes && $(soversions.mk-done) = t]
34879 (common-generated): Append $(lib-names-h-abi) and
34880 $(lib-names-stmp-abi).
34881 * scripts/lib-names.awk: Do not handle multi being set.
34882 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
34883 Remove variable.
34884 (abi-lp64_be-ld-soname): Likewise.
34885 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
34886 Likewise.
34887 (abi-hard-ld-soname): Likewise.
34888 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
34889 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
34890 Remove variable.
34891 (abi-o32_hard-ld-soname): Likewise.
34892 (abi-o32_soft_2008-ld-soname): Likewise.
34893 (abi-o32_hard_2008-ld-soname): Likewise.
34894 (abi-n32_soft-ld-soname): Likewise.
34895 (abi-n32_hard-ld-soname): Likewise.
34896 (abi-n32_soft_2008-ld-soname): Likewise.
34897 (abi-n32_hard_2008-ld-soname): Likewise.
34898 (abi-n64_soft-ld-soname): Likewise.
34899 (abi-n64_hard-ld-soname): Likewise.
34900 (abi-n64_soft_2008-ld-soname): Likewise.
34901 (abi-n64_hard_2008-ld-soname): Likewise.
34902 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
34903 Likewise.
34904 (abi-64-v2-ld-soname): Likewise.
34905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
34906 ld.so entries.
34907 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
34908 variable.
34909 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
34910 entry.
34911 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
34912 variable.
34913 (abi-64-ld-soname): Likewise.
34914 (abi-x32-ld-soname): Likewise.
34915 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
34916 entry.
34917 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
34918
34919 2014-09-23 Joseph Myers <joseph@codesourcery.com>
34920
34921 [BZ #14138]
34922 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
34923 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
34924 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
34925 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
34926 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
34927 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
34928 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
34929 syscall entry for GLIBC_2.2 symbol version.
34930 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
34931 Likewise.
34932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
34933 (setrlimit): Likewise.
34934 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
34935 Likewise.
34936
34937 2014-09-23 Will Newton <will.newton@linaro.org>
34938
34939 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
34940 _LINUX_ARM_SYSDEP_H include guard too.
34941 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
34942 define.
34943
34944 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
34945
34946 * sysdeps/unix/sysv/linux/eventfd.c:
34947 Make first argument unsigned.
34948 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
34949 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
34950
34951 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
34952
34953 [BZ #16852]
34954 * socket/recvmmsg.c (recvmmsg): Drop const argument.
34955 * socket/sys/socket.h: Likewise.
34956 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
34957
34958 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34959
34960 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
34961
34962 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
34963
34964 * time/tst-ftime.c: New test.
34965 * time/Makefile (tests): Add tst-ftime.
34966
34967 2014-09-17 Joseph Myers <joseph@codesourcery.com>
34968
34969 * soft-fp/extended.h: Fix comment formatting.
34970 * soft-fp/op-1.h: Likewise.
34971 * soft-fp/op-2.h: Likewise.
34972 * soft-fp/op-4.h: Likewise.
34973 * soft-fp/op-8.h: Likewise.
34974 * soft-fp/op-common.h: Likewise.
34975 * soft-fp/soft-fp.h: Likewise.
34976
34977 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
34978
34979 2014-09-16 Joseph Myers <joseph@codesourcery.com>
34980
34981 [BZ #6652]
34982 * Makeconfig (soversions-default-setname): Remove variable.
34983 ($(common-objpfx)soversions.i): Don't pass default_setname to
34984 soversions.awk.
34985 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
34986 oldest_abi to abi-versions.awk.
34987 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
34988 * config.make.in (oldest-abi): Remove variable.
34989 * configure.ac (--enable-oldest-abi): Remove configure option.
34990 * configure: Regenerated.
34991 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
34992 text.
34993 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
34994 * scripts/soversions.awk: Do not handle default_setname variable.
34995 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
34996 variable.
34997 * sysdeps/mach/hurd/configure: Regenerated.
34998 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
34999 variable.
35000 * sysdeps/unix/sysv/linux/configure: Regenerated.
35001
35002 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35003
35004 * elf/Makefile (CFLAGS-interp.c): Remove.
35005 ($(elf-objpfx)runtime-linker.h): Generate header with linker
35006 path string.
35007 * elf/interp.c: Include generated runtime-linker.h
35008
35009 * Makerules (lib%.so): Don't include $(+interp) in
35010 prerequisites.
35011 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
35012 * dlfcn/eval.c: Remove file.
35013
35014 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
35015 macros.
35016
35017 [BZ #17266]
35018 * misc/sys/cdefs.h: Define __extern_always_inline for clang
35019 4.2 and newer.
35020
35021 [BZ #17370]
35022 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
35023
35024 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35025 Jakub Jelinek <jakub@redhat.com>
35026
35027 [BZ #17266]
35028 * libio/stdio.h: Check definition of __fortify_function
35029 instead of __extern_always_inline to include bits/stdio2.h.
35030 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
35031 check if __extern_always_inline is defined.
35032 [__USE_MISC || __USE_XOPEN]: Likewise.
35033 [__USE_ISOC99] Likewise.
35034 * misc/sys/cdefs.h (__fortify_function): Define only if
35035 __extern_always_inline is defined.
35036 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
35037 __extern_always_inline and __extern_inline only for g++-4.3
35038 and newer or a compatible gcc.
35039
35040 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
35041
35042 [BZ #17371]
35043 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
35044 last change to handle zero prefix length.
35045
35046 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
35047
35048 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
35049 _SC_REGEX_VERSION.
35050
35051 * posix/getconf.c (vars): Add _POSIX_IPV6 and
35052 _POSIX_RAW_SOCKETS.
35053
35054 2014-09-13 Allan McRae <allan@archlinux.org>
35055
35056 * po/ru.po: Update Russian translation from translation project.
35057
35058 2014-09-12 Roland McGrath <roland@hack.frob.com>
35059
35060 * locale/programs/locale.c (show_locale_vars): Inline local function
35061 into its sole call site. Clean up some style nits.
35062 (print_item): New function, broken out of ...
35063 (show_info): ... local function here. Clean up style nits.
35064
35065 * locale/programs/ld-ctype.c (set_one_default): New function, broken
35066 out of ...
35067 (set_class_defaults): ... local function set_default here.
35068 Define set_default as a macro locally to pass constant parameters.
35069 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
35070 rather than a shared local.
35071
35072 * stdlib/rpmatch.c (try): New function, broken out of ...
35073 (rpmatch): ... local function here. Also, prototypify definition.
35074
35075 2014-09-12 Joseph Myers <joseph@codesourcery.com>
35076
35077 * scripts/soversions.awk: Do not handle configuration names.
35078 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
35079 vendor and os variables to soversions.awk.
35080 * configure.ac: Do not modify gnu-* host_os.
35081 * configure: Regenerated
35082 * shlib-versions: Remove first column with configuration names.
35083 * nptl/shlib-versions: Likewise.
35084 * nptl_db/shlib-versions: Likewise.
35085 * sysdeps/hppa/shlib-versions: Likewise.
35086 * sysdeps/m68k/shlib-versions: Likewise.
35087 * sysdeps/mach/hurd/shlib-versions: Likewise.
35088 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
35089 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
35090 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
35091 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
35092 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
35093 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
35094 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
35095 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
35096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
35097 Likewise.
35098 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
35099 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
35100 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
35101 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
35102 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
35103 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
35104 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
35105 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
35106
35107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
35108 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
35109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
35110 Regenerated.
35111 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
35112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
35113 Condition symbol version definitions on [HAVE_ELFV2_ABI].
35114
35115 * shlib-versions: Remove OS-specific entries. Moved to files in
35116 sysdeps.
35117 * sysdeps/mach/hurd/shlib-versions: New file.
35118 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
35119
35120 * nptl/shlib-versions: Remove architecture-specific entries.
35121 Moved to files in sysdeps.
35122 * shlib-versions: Likewise.
35123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
35124 file.
35125 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
35126 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
35127 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
35128 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
35129
35130 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
35131 (UDP_NO_CHECK6_RX): Likewise.
35132
35133 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
35134
35135 * sysdeps/posix/sysconf.c (__sysconf): Spell
35136 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
35137
35138 2014-08-12 Florian Weimer <fweimer@redhat.com>
35139
35140 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
35141 loading.
35142 * iconv/Versions (__gconv_transliterate): Export for use from
35143 gconv modules.
35144 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
35145 (struct __gconv_trans_data, __gconv_trans_fct,
35146 __gconv_trans_context_fct, __gconv_trans_query_fct,
35147 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
35148 definitions.
35149 (struct __gconv_step_data): Remove __trans member.
35150 (__gconv_transliterate): Declaration moved from gconv_int.h. No
35151 longer hidden. Remove unused trans_data argument.
35152 * iconv/gconv_int.h (struct trans_struct): Remove definition.
35153 (__gconv_translit_find): Remove declaration.
35154 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
35155 prototype.
35156 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
35157 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
35158 trans_data argument. Add hidden definition.
35159 (__gconv_translit_find): Remove.
35160 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
35161 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
35162 * iconv/skeleton.c: Remove transliteration initialization.
35163 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
35164 __gconv_step_data initialization.
35165 * libio/iofwide.c (__libio_translit_): Remove.
35166 (_IO_fwide): Adjust struct __gconv_step_data initialization.
35167 * wcsmbs/btowc.c (__btowc): Likewise.
35168 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
35169 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
35170 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
35171 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
35172 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
35173 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
35174 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
35175 * wcsmbs/wctob.c (wctob): Likewise.
35176
35177 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
35178
35179 [BZ #16194]
35180 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
35181 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
35182 register usage.
35183 * sysdeps/x86/Makefile: Adjust.
35184
35185 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
35186 Roland McGrath <roland@hack.frob.com>
35187
35188 * locale/weight.h: Add include guard.
35189 (findidx): Make static rather than auto; take new parameters
35190 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
35191 * locale/weightwc.h: Likewise.
35192 * posix/fnmatch_loop.c
35193 (FCT): Change type of EXTRA from int32_t to wint_t.
35194 Don't include either header inside the function.
35195 Call FINDIDX rather than findidx, and pass new arguments.
35196 #undef FINDIDX at the end of the file.
35197 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
35198 FINDIDX before including fnmatch_loop.c for the non-wide version.
35199 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
35200 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
35201 for the wide version.
35202 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
35203 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
35204 Pass new arguments to findidx.
35205 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
35206 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
35207 Don't #include it inside the function. Pass new arguments to findidx.
35208 * posix/regex_internal.h
35209 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
35210 (re_string_elem_size_at): Don't #include it inside the function.
35211 Pass new arguments to findidx.
35212 * string/strcoll_l.c: #include WEIGHT_H at top level.
35213 (get_next_seq): Don't #include it inside the function.
35214 Pass new arguments to findidx.
35215 (get_next_seq_nocache): Likewise.
35216 * string/strxfrm_l.c: #include WEIGHT_H at top level.
35217 (STRXFRM): Don't #include it inside the function.
35218 Pass new arguments to findidx.
35219
35220 2014-09-11 Florian Weimer <fweimer@redhat.com>
35221
35222 [BZ #17344]
35223 * malloc/malloc.c (unlink): Turn asserts into a call to
35224 malloc_printerr.
35225
35226 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
35227
35228 [BZ #17370]
35229 * libio/wfileops (do_ftell_wide): Free OUT.
35230
35231 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
35232
35233 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
35234
35235 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
35236
35237 [BZ #17363]
35238 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
35239 group if the current group is empty.
35240
35241 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35242
35243 * benchtests/bench-memset.c (test_main): Add more test from size
35244 from 32 to 512 bytes.
35245 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35246 Add POWER8 memset object.
35247 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35248 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
35249 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
35250 implementation.
35251 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
35252 Likewise.
35253 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
35254 multiarch POWER8 memset optimization.
35255 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
35256 POWER8 memset optimization.
35257
35258 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35259 Remove bzero multiarch objects.
35260 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
35261 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
35262 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
35263 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
35264 Remove define.
35265 [__bzero]: Redefine to specific name.
35266 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
35267 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
35268 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
35269 define.
35270 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
35271 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
35272
35273 2014-09-10 Florian Weimer <fweimer@redhat.com>
35274
35275 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
35276 warnings into errors.
35277
35278 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
35279 __cxa_thread_atexit_impl prototype.
35280
35281 2014-09-09 Steve Ellcey <sellcey@mips.com>
35282
35283 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
35284 Fix capitalization of error message.
35285
35286 2014-09-09 Steve Ellcey <sellcey@mips.com>
35287
35288 * sysdeps/mips/preconfigure: Modify ABI tests.
35289
35290 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
35291
35292 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
35293
35294 2014-09-07 Roland McGrath <roland@hack.frob.com>
35295 Carlos O'Donell <carlos@systemhalted.org>
35296
35297 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
35298 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
35299 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
35300 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
35301 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
35302 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
35303 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
35304 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
35305 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
35306 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
35307 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
35308 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
35309 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
35310 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
35311 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
35312 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
35313 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
35314 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
35315 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
35316 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
35317 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
35318 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
35319 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
35320 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
35321 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
35322 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
35323 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
35324 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
35325 Deconditionalize the code that was previously under [RESET_PID].
35326 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
35327 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
35328 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
35329 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
35330 include sysdep.h.
35331
35332 2014-09-08 Allan McRae <allan@archlinux.org>
35333
35334 * version.h (RELEASE): Set to "development".
35335 (VERSION): Set to "2.20.90"
35336
35337 2014-09-07 Allan McRae <allan@archlinux.org
35338
35339 * version.h (RELEASE): Set to "stable".
35340 (VERSION): Set to "2.20"
35341 * include/features.h (__GLIBC_MINOR__): Set to 20.
35342
35343 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
35344 Liebler.
35345
35346 * po/ko.po: Update Korean translation from translation project.
35347
35348 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
35349
35350 [BZ #17354]
35351 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
35352 macro for handling signed relocations.
35353
35354 2014-09-03 Florian Weimer <fweimer@redhat.com>
35355
35356 [BZ #17325]
35357 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
35358 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
35359 assert.
35360 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
35361 * iconvdata/ibm935.c (BODY): Likewise.
35362 * iconvdata/ibm937.c (BODY): Likewise.
35363 * iconvdata/ibm939.c (BODY): Likewise.
35364 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
35365 assert.
35366 * iconvdata/Makefile (iconv-test.out): Pass module list to test
35367 script.
35368 * iconvdata/run-iconv-test.sh: New test loop for checking for
35369 decoder crashers.
35370
35371 2014-09-02 Khem Raj <raj.khem@gmail.com>
35372
35373 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
35374 libm_hidden_ver.
35375
35376 2014-09-01 Allan McRae <allan@archlinux.org>
35377
35378 * po/eo.po: Update Esperanto translation from translation project.
35379
35380 * po/ca.po: Update Catalan translation from translation project.
35381
35382 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
35383
35384 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
35385 __proc_dostop call.
35386
35387 2014-08-27 Mark Wielaard <mjw@redhat.com>
35388
35389 [BZ #17319]
35390 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
35391 to call set_thread_area instead of hand written asm.
35392 (__NR_set_thread_area): Removed define.
35393 (TLS_FLAG_WRITABLE): Likewise.
35394 (__ASSUME_SET_THREAD_AREA): Remove check.
35395 (TLS_EBX_ARG): Remove define.
35396 (TLS_LOAD_EBX): Likewise.
35397
35398 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
35399
35400 Simplify atomicity of socket creation in bind.
35401
35402 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
35403 looking up the name after linking the file.
35404
35405 2014-08-27 Allan McRae <allan@archlinux.org>
35406
35407 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
35408
35409 2014-08-26 Florian Weimer <fweimer@redhat.com>
35410
35411 [BZ #17187]
35412 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
35413 trans_compare, open_translit, __gconv_translit_find):
35414 Remove module loading code.
35415
35416 2014-08-26 Allan McRae <allan@archlinux.org>
35417
35418 * po/vi.po: Update Vietnamese translation from translation project.
35419
35420 * po/uk.po: Update Ukrainian translation from translation project.
35421
35422 * po/fr.po: Update French translation from translation project.
35423
35424 * po/ru.po: Update Russian translation from translation project.
35425
35426 * po/pl.po: Update Polish translation from translation project.
35427
35428 * po/cs.po: Update Czech translation from translation project.
35429
35430 * po/de.po: Update German translation from translation project.
35431
35432 * po/bg.po: Update Bulgarian translation from translation project.
35433
35434 * po/sv.po: Update Sweedish translation from translation project.
35435
35436 * po/nl.po: Update Dutch translation from translation project.
35437
35438 * po/es.po: Update Spanish translation from translation project.
35439
35440 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35441
35442 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
35443
35444 * catgets/Makefile (CPPFLAGS-gencat): Remove.
35445 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
35446 (CPPFLAGS-iconvconfig): Likewise.
35447 * timezone/Makefile (CPPFLAGS-zic): Likewise.
35448
35449 * include/libc-symbols.h: Remove unnecessary check for
35450 NOT_IN_libc.
35451 * nptl/pthreadP.h: Likewise.
35452 * sysdeps/aarch64/setjmp.S: Likewise.
35453 * sysdeps/alpha/setjmp.S: Likewise.
35454 * sysdeps/arm/sysdep.h: Likewise.
35455 * sysdeps/i386/setjmp.S: Likewise.
35456 * sysdeps/m68k/setjmp.c: Likewise.
35457 * sysdeps/posix/getcwd.c: Likewise.
35458 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
35459 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
35460 * sysdeps/s390/s390-32/setjmp.S: Likewise.
35461 * sysdeps/s390/s390-64/setjmp.S: Likewise.
35462 * sysdeps/sh/sh3/setjmp.S: Likewise.
35463 * sysdeps/sh/sh4/setjmp.S: Likewise.
35464 * sysdeps/unix/alpha/sysdep.h: Likewise.
35465 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
35466 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
35467 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
35468 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
35469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
35470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35471 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
35472 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
35473 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
35474 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35475 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35476 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
35477 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
35478 * sysdeps/x86_64/setjmp.S: Likewise.
35479
35480 2014-08-13 Joseph Myers <joseph@codesourcery.com>
35481
35482 [BZ #17263]
35483 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
35484 <stdint.h>.
35485 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
35486 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
35487
35488 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
35489
35490 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
35491
35492 [BZ #17262]
35493 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
35494 and __x86_64__ when disabling x87 inline functions.
35495
35496 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
35497
35498 [BZ #17259]
35499 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
35500 asm statement with __cpuid_count.
35501
35502 2014-08-12 Mike Frysinger <vapier@gentoo.org>
35503
35504 * configure.ac: Change __ehdr_start code to dereference the struct.
35505 Run readelf on the output to look for relocations.
35506 * configure: Regenerated.
35507
35508 2014-08-12 Joseph Myers <joseph@codesourcery.com>
35509
35510 [BZ #17261]
35511 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
35512 value to 0.
35513 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
35514
35515 2014-08-12 Roland McGrath <roland@hack.frob.com>
35516
35517 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
35518
35519 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
35520
35521 [BZ #16892]
35522 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
35523 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
35524
35525 2014-08-12 Sean Anderson <seanga2@gmail.com>
35526
35527 * malloc/malloc.c: Fix typo in comment.
35528
35529 2014-08-09 Allan McRae <allan@archlinux.org>
35530
35531 * Regenerate libc.po.
35532
35533 2014-08-08 Mike Frysinger <vapier@gentoo.org>
35534
35535 * intl/tst-gettext2.sh: Check every lang file for creation.
35536
35537 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
35538
35539 * sysdeps/aarch64/fpu/math_private.h
35540 (libc_feholdsetround_noex_aarch64_ctx): New function.
35541
35542 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
35543
35544 * sysdeps/arm/armv6/strcpy.S (strcpy):
35545 Fix performance issue in misaligned cases.
35546
35547 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35548
35549 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
35550 Move definition from termios.h.
35551 (struct termio): Likewise.
35552 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
35553 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
35554 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
35555 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
35556 Likewise.
35557 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
35558 Move definition to ioctl-types.h
35559 (struct termio): Likewise.
35560 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
35561 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
35562 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
35563 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
35564 Likewise.
35565
35566 2014-08-05 Richard Henderson <rth@redhat.com>
35567
35568 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
35569 exceptions.
35570 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
35571 Add fraiseexcpt.
35572 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
35573 Use __feraiseexcept.
35574 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
35575 Protect libm symbols with IS_IN_libm.
35576
35577 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
35578
35579 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
35580
35581 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
35582
35583 2014-08-04 Will Newton <will.newton@linaro.org>
35584
35585 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
35586 file.
35587
35588 2014-08-04 Mike Frysinger <vapier@gentoo.org>
35589
35590 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
35591 variants for each function.
35592
35593 2014-08-04 Roland McGrath <roland@hack.frob.com>
35594
35595 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
35596 appended ...
35597 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
35598 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
35599 appended ...
35600 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
35601 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
35602 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
35603 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
35604 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
35605 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
35606 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
35607 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
35608 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
35609 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
35610 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
35611 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
35612 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
35613 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
35614 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
35615 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
35616 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
35617 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
35618 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
35619 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
35620 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
35621 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
35622 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
35623 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
35624 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
35625 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
35626 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
35627 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
35628 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
35629 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
35630 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
35631 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
35632 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
35633 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
35634 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
35635 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
35636 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
35637 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
35638 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
35639 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
35640 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
35641 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
35642 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
35643 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
35644 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
35645 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
35646 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
35647 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
35648 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
35649 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
35650 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
35651 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
35652 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
35653 Update #include.
35654 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
35655 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
35656
35657 2014-08-04 Roland McGrath <roland@hack.frob.com>
35658
35659 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
35660 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
35661 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
35662 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
35663 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
35664 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
35665
35666 2014-08-04 Roland McGrath <roland@hack.frob.com>
35667
35668 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
35669 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
35670 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35671 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
35672
35673 2014-08-04 Roland McGrath <roland@hack.frob.com>
35674
35675 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
35676 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
35677 (__libc_vfork): Define function under this name.
35678 (__vfork): Define as an alias.
35679 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
35680 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
35681
35682 2014-08-04 Roland McGrath <roland@hack.frob.com>
35683
35684 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
35685 that was previously under [RESET_PID].
35686 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
35687
35688 2014-08-04 Andreas Schwab <schwab@suse.de>
35689
35690 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
35691
35692 2014-08-03 Mike Frysinger <vapier@gentoo.org>
35693
35694 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
35695 (main): Likewise.
35696
35697 2014-08-01 Roland McGrath <roland@hack.frob.com>
35698
35699 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
35700
35701 2014-08-01 Richard Henderon <rth@redhat.com>
35702
35703 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
35704 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
35705 typo in exact zero test.
35706 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35707 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35708 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35709
35710 2014-08-01 Roland McGrath <roland@hack.frob.com>
35711
35712 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
35713 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
35714 * sysdeps/arm/sysdep.h: ... here.
35715 [!__ASSEMBLER__]: Include <stdint.h>.
35716
35717 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
35718
35719 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
35720 (HAVE_WCTYPE_H): Likewise.
35721 (HAVE_ISWCTYPE): Likewise.
35722 (ENABLE_NLS): Likewise.
35723 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
35724 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
35725
35726 * posix/regex_internal.c: Check if DEBUG is defined and is
35727 set.
35728
35729 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
35730 (HAVE_MBSRTOWCS): Likewise.
35731 * posix/fnmatch.c: Include string.h unconditionally.
35732
35733 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
35734
35735 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
35736 reversal.
35737
35738 2014-07-31 Roland McGrath <roland@hack.frob.com>
35739
35740 * sysdeps/generic/safe-fatal.h: New file.
35741 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
35742 * nptl/forward.c: Include it.
35743 (__pthread_unwind): Use __safe_fatal as default action, rather
35744 than a bogus use of INTERNAL_SYSCALL that could never work.
35745
35746 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
35747 * configure.ac (libc_cv_builtin_trap): New test.
35748 * configure: Regenerated.
35749 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
35750 (ABORT_INSTRUCTION): Define using __builtin_trap.
35751
35752 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
35753 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
35754 * sysdeps/nptl/nptl-signals.h: New file.
35755 * nptl/pthreadP.h: Include <nptl-signals.h>.
35756
35757 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
35758
35759 * sysdeps/s390/s390-64/utf16-utf32-z9.c
35760 (ONE_DIRECTION): Define.
35761 * sysdeps/s390/s390-64/utf8-utf16-z9.c
35762 (ONE_DIRECTION): Define.
35763 * sysdeps/s390/s390-64/utf8-utf32-z9.c
35764 (ONE_DIRECTION): Define.
35765
35766 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
35767
35768 * sysdeps/s390/Makefile: Delete file.
35769 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
35770 * sysdeps/s390/__longjmp.c: Delete file.
35771 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
35772 Remove fields __flags and __reserved.
35773 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
35774 and add versioning.
35775 * sysdeps/s390/rtld-__longjmp.c: Delete file.
35776 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
35777 * sysdeps/s390/rtld-setjmp.S: Likewise.
35778 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
35779 * sysdeps/s390/s390-32/__longjmp.c: ... here.
35780 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
35781 * sysdeps/s390/s390-32/setjmp.S: ... here.
35782 Add versioning.
35783 (__sigsetjmp): Remove setting __flags field.
35784 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
35785 * sysdeps/s390/s390-64/__longjmp.c: ... here.
35786 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
35787 * sysdeps/s390/s390-64/setjmp.S: ... here.
35788 Add versioning.
35789 (__sigsetjmp): Remove setting __flags field.
35790 * sysdeps/s390/setjmp.S: Delete file.
35791 * sysdeps/s390/sigjmp.c: Likewise.
35792 * sysdeps/s390/v1-longjmp.c: Likewise.
35793 * sysdeps/s390/v1-setjmp.h: Likewise.
35794 * sysdeps/s390/v1-sigjmp.c: Likewise.
35795 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
35796 Remove v1-longjmp_chk.
35797 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
35798 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
35799 Include debug/longjmp_chk.c and add versioning.
35800 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
35801 Include nptl/pt-longjmp.c and add versioning.
35802 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
35803 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
35804 Include __longjmp.c.
35805 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
35806 Move to ...
35807 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
35808 (__getcontext): Remove setting __flags field.
35809 Add versioning.
35810 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
35811 Don't restore upper high grps.
35812 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
35813 Likewise.
35814 (__swapcontext): Remove setting uc_flags field.
35815 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
35816 Delete file.
35817 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
35818 Include __longjmp.c.
35819 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
35820 Move to ...
35821 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
35822 (__getcontext): Remove setting __flags field.
35823 Add versioning.
35824 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
35825 (__swapcontext): Remove setting uc_flags field.
35826 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
35827 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
35828 Remove fields uc_high_gprs and __reserved.
35829 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
35830 New file with reverted content.
35831 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
35832 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
35833 Regenerated.
35834 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
35835 Regenerated.
35836
35837 2014-07-31 Andreas Schwab <schwab@suse.de>
35838
35839 * config.h.in (HAVE_IFUNC): Define to 0.
35840 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
35841 definedness.
35842
35843 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
35844
35845 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35846 memmove-avx-unaligned, memcpy-avx-unaligned and
35847 mempcpy-avx-unaligned.
35848 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
35849 Add tests for AVX memcpy functions.
35850 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
35851 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
35852 memcpy_chk.
35853 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
35854 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
35855 memmove_chk.
35856 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
35857 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
35858 mempcpy_chk.
35859 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
35860 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
35861 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
35862
35863 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35864
35865 [BZ #17213]
35866 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
35867 powerpc64le.
35868
35869 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
35870
35871 [BZ #16839]
35872 * manual/llio.texi: Add section about open file description locks.
35873 * manual/examples/ofdlocks.c: Example of open file description
35874 lock usage.
35875 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
35876 F_OFD_SETLK, and F_OFD_SETLKW.
35877
35878 2014-07-23 Allan McRae <allan@archlinux.org>
35879
35880 * po/es.po: Update Spanish translation from translation project.
35881
35882 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
35883
35884 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
35885
35886 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
35887
35888 [BZ #17078]
35889 * sysdeps/arm/dl-machine.h (elf_machine_rela)
35890 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
35891 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
35892
35893 2014-07-17 Joseph Myers <joseph@codesourcery.com>
35894
35895 [BZ #17088]
35896 * math/fesetenv.c (__fesetenv)
35897 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
35898 * math/feupdateenv.c (__feupdateenv)
35899 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
35900
35901 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
35902 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
35903 (__ASSUME_SOCKETCALL): Do not define.
35904
35905 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
35906 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
35907 (__ASSUME_SOCKETCALL): Do not define.
35908 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
35909 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
35910 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
35911 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
35912 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
35913 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
35914 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
35915 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35916
35917 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
35918 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
35919 (__ASSUME_SOCKETCALL): Do not define.
35920 (__ASSUME_IPC64): Define unconditionally.
35921 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
35922 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
35923 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
35924 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
35925 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
35926 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
35927 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
35928 Likewise.
35929
35930 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
35931 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
35932 (__ASSUME_SOCKETCALL): Do not define.
35933 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
35934 (__ASSUME_FUTEX_LOCK_PI): Likewise.
35935 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
35936 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
35937 (__ASSUME_REQUEUE_PI): Define unconditionally.
35938 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
35939 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
35940 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35941 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
35942 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
35943 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35944
35945 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
35946 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
35947 (__ASSUME_SOCKETCALL): Do not define.
35948 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
35949 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
35950 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35951 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
35952 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
35953 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35954
35955 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
35956 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
35957 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
35958 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
35959 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
35960 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
35961 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
35962 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
35963 (__ASSUME_GETCPU_SYSCALL): Likewise.
35964
35965 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
35966 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
35967 cases for individual architectures.
35968 * sysdeps/gnu/configure: Regenerated.
35969 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
35970 LIBC_SLIBDIR_RTLDDIR.
35971 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
35972 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
35973 LIBC_SLIBDIR_RTLDDIR.
35974 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
35975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
35976 LIBC_SLIBDIR_RTLDDIR.
35977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
35978 Regenerated.
35979 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
35980 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
35981 file.
35982 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
35983 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
35984 file.
35985 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
35986 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
35987 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
35988 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
35989
35990 * sysdeps/aarch64/shlib-versions: Move to ...
35991 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
35992 * sysdeps/alpha/shlib-versions: Move to ...
35993 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
35994 * sysdeps/arm/shlib-versions: Move to ...
35995 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
35996 * sysdeps/hppa/shlib-versions: Move all contents except for
35997 libgcc_s entry to ...
35998 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
35999 entry from ...
36000 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
36001 * sysdeps/ia64/shlib-versions: Move to ...
36002 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
36003 entry from ...
36004 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
36005 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
36006 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
36007 * sysdeps/microblaze/shlib-versions: Move to ...
36008 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
36009 * sysdeps/mips/shlib-versions: Move to ...
36010 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
36011 entry from ...
36012 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
36013 * sysdeps/tile/shlib-versions: Move to ...
36014 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
36015 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
36016 from ...
36017 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
36018 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
36019 entry from ...
36020 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
36021
36022 2014-07-17 Will Newton <will.newton@linaro.org>
36023
36024 * sysdeps/arm/bits/atomic.h
36025 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
36026 (__arch_compare_and_exchange_bool_16_int): Likewise.
36027 (__arch_compare_and_exchange_bool_64_int): Likewise.
36028
36029 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
36030 into an #else block.
36031
36032 2014-07-16 Roland McGrath <roland@hack.frob.com>
36033
36034 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
36035 just Linux configurations. Test empirically that the compiler sets
36036 __ARM_EABI__, rather than using the tuple to decide.
36037 * sysdeps/arm/preconfigure: Regenerated.
36038 * sysdeps/unix/sysv/linux/arm/configure: File removed.
36039 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
36040 contents appended ...
36041 * sysdeps/arm/configure.ac: ... here.
36042 * sysdeps/arm/configure: Regenerated.
36043
36044 2014-07-15 Roland McGrath <roland@hack.frob.com>
36045
36046 * nptl/pthread_kill.c: New file.
36047 * nptl/pthread_sigmask.c: New file.
36048 * nptl/pthread_sigqueue.c: New file.
36049
36050 * sysdeps/nptl/lowlevellock.h: New file.
36051 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
36052 * sysdeps/nptl/lowlevellock-futex.h: New file.
36053
36054 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
36055 Remove dead declarations.
36056
36057 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
36058
36059 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
36060 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
36061 config-cflags-avx2.
36062 * sysdeps/x86_64/configure.ac: Likewise.
36063 * sysdeps/i386/configure: Regenerated.
36064 * sysdeps/x86_64/configure: Likewise.
36065 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36066 memset-avx2 only if config-cflags-avx2 is yes.
36067 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36068 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
36069 defined.
36070 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
36071 only if HAVE_AVX2_SUPPORT is defined.
36072 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36073
36074 2014-07-14 Alan Modra <amodra@gmail.com>
36075
36076 [BZ #17153]
36077 * elf/elf.h (DT_PPC64_NUM): Correct value.
36078 * NEWS: Add to fixed bug list.
36079
36080 2014-07-13 Jim Meyering <meyering@fb.com>
36081
36082 [BZ 17150]
36083 regex: don't deref NULL upon heap allocation failure
36084 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
36085 failure in one more place.
36086 To trigger the segfault, configure grep -with-included-regex,
36087 build it, and run these commands:
36088 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
36089
36090 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
36091
36092 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
36093
36094 2014-07-11 Richard Henderson <rth@redhat.com>
36095
36096 * sysdeps/aarch64/libm-test-ulps: Update.
36097
36098 2014-07-10 Florian Weimer <fweimer@redhat.com>
36099
36100 [BZ #17135]
36101 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
36102 * nptl/allocatestack.c (__nptl_setxid_error): New function.
36103 (__nptl_setxid): Initialize error member. Call
36104 __nptl_setxid_error.
36105 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
36106 * nptl/descr.h (struct xid_command): Add error member.
36107 * nptl/tst-setuid3.c: New file.
36108 * nptl/Makefile (tests): Add it.
36109
36110 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36111
36112 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
36113 New define.
36114 (__lll_trylock): Use __lll_base_trylock.
36115 (__lll_cond_trylock): Likewise.
36116
36117 2014-07-10 Roland McGrath <roland@hack.frob.com>
36118
36119 * nptl/pthread_create.c (start_thread): Use atomic_or and
36120 lll_futex_wake directly rather than lll_robust_dead.
36121 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
36122 (lll_robust_dead): Macro removed.
36123 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
36124 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
36125 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
36126 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
36127 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
36128 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
36129 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
36130 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
36131 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
36132 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
36133 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
36134 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
36135 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
36136 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
36137 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
36138
36139 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
36140 Use atomic_compare_and_exchange_val_acq directly rather than
36141 lll_robust_trylock.
36142 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
36143 (__lll_robust_trylock, lll_robust_trylock): Removed.
36144 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
36145 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
36146 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
36147 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
36148 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
36149 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
36150 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
36151 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
36152 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
36153 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
36154 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
36155 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
36156 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
36157 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
36158
36159 2014-07-02 Florian Weimer <fweimer@redhat.com>
36160
36161 * manual/locale.texi (Locale Names): New section documenting
36162 locale name syntax. Adjust menu and node chaining accordingly.
36163 (Choosing Locale): Reference Locale Names, Locale Categories.
36164 Mention setting LC_ALL=C. Reflect that name syntax is now
36165 documented.
36166 (Locale Categories): New section title. Reference Locale Names.
36167 LC_ALL is an environment variable, but not a category.
36168 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
36169 description, now in Locale Name. Reference that section. Locale
36170 name syntax is now documented.
36171
36172 2014-07-02 Florian Weimer <fweimer@redhat.com>
36173
36174 [BZ #17137]
36175 * locale/findlocale.c (name_present, valid_locale_name): New
36176 functions.
36177 (_nl_find_locale): Use the loc_name variable to store name
36178 candidates. Call name_present and valid_locale_name to check and
36179 validate locale names. Return an error if the locale is invalid.
36180
36181 2014-07-02 Florian Weimer <fweimer@redhat.com>
36182
36183 * locale/setlocale.c (setlocale): Use strdup for allocating
36184 composite name copy.
36185
36186 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
36187
36188 Sync up with gnulib.
36189 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
36190 [!_LIBC && ENABLE_NLS]: Include gettext.h.
36191 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
36192 and _GL_ARG_NONNULL.
36193 [USE_UNLOCKED_IO]: Include unlocked-io.h.
36194 [!_LIBC]: Include code for Windows and Cygwin.
36195 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
36196 Include prototype for int strerror_r.
36197 [!_LIBC] (is_open): New function.
36198 (flush_stdout): New function.
36199 (print_errno_message): Use it.
36200 (error): Likewise.
36201 (error_at_line): Likewise.
36202 (error_tail) Add function attribute macros. Use
36203 __builtin_expect.
36204
36205 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
36206
36207 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
36208
36209 * io/ftw.c: Include sys/param.h unconditionally.
36210
36211 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
36212
36213 [BZ #17125]
36214 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
36215 libc_freeres_ptr.
36216 (freecache): New function to free CACHE on exit.
36217
36218 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
36219 initialization.
36220
36221 2014-07-09 David S. Miller <davem@davemloft.net>
36222
36223 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36224
36225 * sysdeps/sparc/nptl/internaltypes.h: Delete.
36226 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
36227 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
36228 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
36229 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
36230 * sysdeps/sparc/nptl/sem_init.c: Likewise.
36231 * sysdeps/sparc/nptl/sem_post.c: Likewise.
36232 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
36233 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
36234 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
36235 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
36236 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
36237 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
36238
36239 2014-07-09 Andreas Schwab <schwab@suse.de>
36240
36241 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
36242 output.
36243 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
36244 (do_test): Likewise.
36245
36246 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
36247
36248 2014-07-09 Will Newton <will.newton@linaro.org>
36249
36250 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
36251 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
36252 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
36253 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
36254 * sysdeps/hppa/start.S (_start): Likewise.
36255
36256 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
36257
36258 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
36259
36260 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
36261 defined.
36262
36263 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
36264
36265 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
36266 after checking that it is non-NULL.
36267
36268 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
36269
36270 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36271
36272 * sysdeps/powerpc/memmove.c: Remove file.
36273 * sysdeps/powerpc/powerpc32/power4/memcopy.h
36274 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
36275 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
36276 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
36277 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
36278 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
36279 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
36280 string memmove instead of removed powerpc one.
36281
36282 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
36283 [weak_alias]: Fix compiler warning due trailing data.
36284 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
36285 [weak_alias]: Likewise.
36286 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
36287 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
36288
36289 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
36290 (__libc_ifunc_impl_list): Add memmove functions.
36291
36292 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
36293
36294 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
36295 Remove code.
36296 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
36297 Likewise.
36298 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
36299 Likewise.
36300 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
36301 Likewise.
36302 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
36303 Likewise.
36304 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
36305 Likewise.
36306 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
36307 Likewise.
36308 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
36309 Likewise.
36310 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
36311 Likewise.
36312 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
36313 Likewise.
36314 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
36315 Likewise.
36316 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
36317 Likewise.
36318 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
36319 Likewise.
36320 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
36321 Likewise.
36322 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
36323 Likewise.
36324 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
36325 Likewise.
36326 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
36327 Likewise.
36328
36329 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36330
36331 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
36332 to avoid alignment traps in non-cacheable memory.
36333 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
36334
36335 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
36336 multiarch objects.
36337 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
36338 file: multiarch power7 memmove.
36339 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
36340 multiarch default memmove.
36341 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
36342 multiarch memove for powerpc32/power4.
36343
36344 * string/bcopy.c: Use full path to include memmove.c.
36345 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
36346 multiarch objects.
36347 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
36348 bcopy for powerpc64.
36349 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
36350 bcopy for powerpc64.
36351 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
36352 and memmove implementations.
36353 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
36354 optimized multiarch memmove for POWER7/powerpc64.
36355 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
36356 default multiarch memmove for powerpc64.
36357 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
36358 multiarch for powerpc64.
36359 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
36360 for POWER7/powerpc64.
36361 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
36362 memmove for POWER7/powerpc64.
36363
36364 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
36365 glibc default one.
36366
36367 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
36368 __ELF_NATIVE_CLASS equal to 64.
36369
36370 2014-07-07 Roland McGrath <roland@hack.frob.com>
36371
36372 * sysdeps/nptl/lowlevellock.h: File removed.
36373
36374 * NEWS: NPTL is no longer an add-on!
36375 * nptl/internaltypes.h: Moved ...
36376 * sysdeps/nptl/internaltypes.h: ... here.
36377 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
36378 * sysdeps/nptl/fork.c: Likewise.
36379 * sysdeps/nptl/gai_misc.h: Likewise.
36380 * sysdeps/nptl/librt-cancellation.c: Likewise.
36381 * sysdeps/nptl/jmp-unwind.c: Likewise.
36382 * sysdeps/nptl/setxid.h: Likewise.
36383 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
36384 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
36385 * sysdeps/unix/sysv/linux/arm/Implies: New file.
36386 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
36387 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
36388 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
36389 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
36390 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
36391 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
36392 * sysdeps/unix/sysv/linux/mips/Implies: New file.
36393 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
36394 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
36395 * sysdeps/unix/sysv/linux/sh/Implies: New file.
36396 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
36397 * sysdeps/unix/sysv/linux/tile/Implies: New file.
36398 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
36399 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
36400 * nptl/Makeconfig: Moved ...
36401 * sysdeps/nptl/Makeconfig: ... here.
36402 * nptl/configure: File removed.
36403 * nptl/ANNOUNCE: File removed.
36404 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
36405 * sysdeps/unix/sysv/linux/configure: Regenerated.
36406
36407 * nptl/Makefile (routines): Add libc_pthread_init,
36408 libc_multiple_threads, register-atfork and unregister-atfork.
36409 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
36410 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
36411 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
36412 pthread-pi-defines.sym, structsem.sym.
36413 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
36414 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
36415 [$(subdir) = nptl] (tests): Add tst-setgetname.
36416 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
36417 * sysdeps/unix/sysv/linux/sigaction.c: Just include
36418 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
36419 [!LIBC_SIGACTION]: Remove aliases.
36420 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
36421 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
36422 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
36423 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
36424 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
36425 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
36426 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
36427 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
36428 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
36429 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
36430 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
36431 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
36432 __libc_allocate_rtsig_private.
36433 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
36434 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
36435 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
36436 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
36437 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
36438 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
36439 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
36440 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
36441 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
36442 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
36443 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
36444 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
36445 * nptl/internaltypes.h: ... here.
36446 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
36447 * sysdeps/nptl/jmp-unwind.c: ... here.
36448 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
36449 * nptl/libc-lowlevellock.c: ... here.
36450 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
36451 * nptl/libc_multiple_threads.c: ... here.
36452 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
36453 * nptl/libc_pthread_init.c: ... here.
36454 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
36455 * nptl/lowlevelbarrier.sym: ... here.
36456 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
36457 * nptl/lowlevelcond.sym: ... here.
36458 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
36459 * nptl/lowlevellock.c: ... here.
36460 * nptl/lowlevellock.h: Moved ...
36461 * sysdeps/nptl/lowlevellock.h: ... here.
36462 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
36463 * nptl/lowlevelrobustlock.c: ... here.
36464 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
36465 * nptl/lowlevelrobustlock.sym: ... here.
36466 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
36467 * nptl/lowlevelrwlock.sym: ... here.
36468 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
36469 * nptl/pt-fork.c: ... here.
36470 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
36471 * nptl/pthread-pi-defines.sym: ... here.
36472 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
36473 * nptl/pthread_attr_getaffinity.c: ... here.
36474 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
36475 * nptl/pthread_attr_setaffinity.c: ... here.
36476 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
36477 * nptl/pthread_mutex_cond_lock.c: ... here.
36478 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
36479 Update #include.
36480 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
36481 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
36482 * nptl/pthread_once.c: ... here, replacing old file.
36483 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
36484 * nptl/pthread_yield.c: ... here.
36485 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
36486 * nptl/register-atfork.c: ... here.
36487 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
36488 * nptl/sem_post.c: ... here.
36489 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
36490 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
36491 * nptl/sem_timedwait.c: ... here.
36492 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
36493 * nptl/sem_trywait.c: ... here.
36494 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
36495 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
36496 * nptl/sem_wait.c: ... here.
36497 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
36498 * nptl/structsem.sym: ... here.
36499 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
36500 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
36501 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
36502 * nptl/unregister-atfork.c: ... here.
36503 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
36504 * nptl/unwindbuf.sym: ... here.
36505 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
36506 * sysdeps/nptl/fork.c: ... here.
36507 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
36508 * sysdeps/nptl/fork.h: ... here.
36509 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
36510 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
36511 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
36512 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
36513 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
36514 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
36515 * sysdeps/unix/sysv/linux/getpid.c: ... here.
36516 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
36517 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
36518 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
36519 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
36520 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
36521 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
36522 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
36523 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
36524 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
36525 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
36526 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
36527 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
36528 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
36529 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
36530 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
36531 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
36532 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
36533 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
36534 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
36535 * sysdeps/unix/sysv/linux/raise.c: ... here.
36536 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
36537 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
36538 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
36539 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
36540 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
36541 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
36542 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
36543 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
36544 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
36545 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
36546 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
36547 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
36548 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
36549 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
36550 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
36551
36552 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
36553
36554 * sysdeps/generic/memcopy.h: Add comment for
36555 MEMCPY_OK_FOR_FWD_MEMMOVE.
36556
36557 2014-07-04 Will Newton <will.newton@linaro.org>
36558
36559 * string/memchr.c: Merge from gnulib.
36560 [_LIBC]: Remove conditionals.
36561 (__ptr_t): Remove define.
36562 (LONG_MAX_32_BITS): Likewise.
36563 (LONG_MAX): Likewise.
36564 (MEMCHR): Use ANSI prototype and optimize algorithm.
36565
36566 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
36567
36568 2014-07-03 Roland McGrath <roland@hack.frob.com>
36569
36570 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
36571 (lll_futex_timed_wait_bitset): Fix syscall argument count.
36572
36573 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
36574 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
36575 in a bare environment with no <stdlib.h> installed.
36576 * sysdeps/nptl/configure: Regenerated.
36577
36578 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
36579
36580 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
36581 AC_EGREP_CPP for kernel header checks, so they only succeed if
36582 including <linux/version.h> actually works right.
36583 * sysdeps/unix/sysv/linux/configure: Regenerated.
36584
36585 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
36586 value so it's not diagnosed as unused.
36587
36588 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
36589 thing) with "ifeq ($(subdir),rt)".
36590
36591 2014-07-03 Richard Henderson <rth@redhat.com>
36592
36593 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
36594 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
36595 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
36596
36597 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
36598 (math_force_eval): New.
36599
36600 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
36601 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
36602
36603 * sysdeps/alpha/fpu/s_round.c: Remove file.
36604 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
36605
36606 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
36607 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
36608 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
36609 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
36610 (_dl_start, print_statistics): Likewise.
36611 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
36612 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
36613
36614 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
36615 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
36616 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
36617 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
36618 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
36619 (HP_SMALL_TIMING_AVAIL): Define.
36620 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
36621 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
36622 (HP_SMALL_TIMING_AVAIL): Define.
36623 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
36624 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
36625
36626 * sysdeps/aarch64/hp-timing.h: New file.
36627
36628 * sysdeps/generic/hp-timing.h: Remove dead comment.
36629 * sysdeps/generic/hp-timing-common.h: New file.
36630 * sysdeps/alpha/hp-timing.h: Include it.
36631 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
36632 * sysdeps/i386/i686/hp-timing.h: Likewise.
36633 * sysdeps/ia64/hp-timing.h: Likewise.
36634 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
36635 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
36636 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
36637 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
36638 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
36639 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
36640 (hp_timing_t): New.
36641
36642 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
36643 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
36644 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
36645 * elf/rtld.c (_dl_start_final): Likewise.
36646 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
36647 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
36648 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
36649 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
36650 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
36651 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
36652 (HP_TIMING_DIFF_INIT): Remove.
36653 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
36654 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
36655 (HP_TIMING_DIFF_INIT): Remove.
36656 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
36657 * sysdeps/i386/i686/hp-timing.c: Remove file.
36658 * sysdeps/x86_64/hp-timing.c: Remove file.
36659 * sysdeps/ia64/hp-timing.c: Remove file.
36660 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
36661 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
36662 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
36663 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
36664
36665 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
36666 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
36667 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
36668 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
36669 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
36670 (HP_TIMING_ACCUM): Remove.
36671 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
36672 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
36673 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
36674
36675 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
36676 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
36677 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
36678 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
36679 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
36680 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
36681 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
36682 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
36683
36684 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
36685
36686 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
36687
36688 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
36689
36690 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
36691
36692 Sync up with gettext.
36693 * intl/loadmsgcat.c: Define O_BINARY if not defined.
36694 [_MSC_VER]: Include malloc.h
36695 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
36696 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
36697 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
36698 TEMP_FAILURE_RETRY. Cast return of alloca.
36699 [!_LIBC] Call gl_rwlock_init.
36700 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
36701
36702 2014-07-02 Roland McGrath <roland@hack.frob.com>
36703
36704 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
36705 before checking its value.
36706
36707 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
36708
36709 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
36710
36711 * debug/memcpy_chk.c: Don't include pagecopy.h.
36712 * debug/mempcpy_chk.c: Likewise.
36713 * string/memcpy.c: Likewise.
36714 * string/memmove.c: Likewise.
36715 * sysdeps/powerpc/memmove.c: Likewise.
36716 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
36717 definition of PAGE_COPY_FWD_MAYBE here...
36718 * sysdeps/generic/pagecopy.h: ... from here.
36719 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
36720
36721 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
36722 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36723
36724 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
36725 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
36726 optimizations.
36727 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36728 (__libc_ifunc_impl_list): Likewise.
36729 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
36730 multiarch strcat for PPC64.
36731 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
36732 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
36733
36734 2014-07-02 Roland McGrath <roland@hack.frob.com>
36735
36736 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
36737
36738 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
36739
36740 * intl/loadmsgcat.c: Remove declaration of
36741 get_sysdep_segment_value.
36742 (get_sysdep_segment_value): Use ISO C style.
36743 (_nl_load_domain): Use ISO C style. Get rid of redundant
36744 semicolon. Fix typo and formatting in comment.
36745 (_nl_unload_domain): Use ISO C style.
36746
36747 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
36748
36749 2014-07-02 Will Newton <will.newton@linaro.org>
36750
36751 * malloc/obstack.c: Merge from gnulib master.
36752 [HAVE_CONFIG_H]: Remove conditional code.
36753 [!_LIBC]: Include config.h.
36754 [!ELIDE_CODE]: Don't include inttypes.h, include
36755 stdint.h unconditionally.
36756 (print_and_abort): Mark as _Noreturn.
36757 (_obstack_allocated_p): Mark as __attribute_pure__.
36758 (obstack_free): Rename to __obstack_free.
36759 [!__attribute__]: Remove conditional code.
36760 * malloc/obstack.h: Merge from gnulib master.
36761 [__cplusplus]: Move conditional down.
36762 [!__attribute_pure__]: Define __attribute_pure__ here
36763 if it is not already defined.
36764 (_obstack_memory_used): Mark as __attribute_pure__.
36765 [!__obstack_free]: Define as obstack_free.
36766 [__GNUC__]: Remove check for ancient NeXT gcc.
36767
36768 2014-07-02 Will Newton <will.newton@linaro.org>
36769 Paul Eggert <eggert@cs.ucla.edu>
36770
36771 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
36772
36773 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
36774
36775 * resolv/gethnamaddr.c: Add comment warning that the file is
36776 not maintained.
36777
36778 2014-07-01 Carlos O'Donell <carlos@redhat.com>
36779
36780 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
36781 entries.
36782
36783 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
36784 entry for aio_cancel and aio_cancel64.
36785 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
36786 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
36787 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
36788 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
36789 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
36790 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
36791 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
36792 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
36793 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
36794 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
36795 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
36796 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
36797 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
36798
36799 2014-07-01 Roland McGrath <roland@hack.frob.com>
36800
36801 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
36802 * nptl/pthread_mutex_lock.c: Likewise.
36803 * nptl/pthread_mutex_timedlock.c: Likewise.
36804 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
36805
36806 2014-07-01 Richard henderson <rth@redhat.com>
36807
36808 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
36809 (__isnan, __isnanl): Remove.
36810 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
36811
36812 * sysdeps/alpha/fpu/libm-test-ulps: Update.
36813
36814 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
36815
36816 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
36817
36818 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
36819
36820 * resolv/nss_dns/dns-host.c (getanswer_r)
36821 [MULTI_PTRS_ARE_ALIASES]: Remove code.
36822
36823 2014-07-01 Joseph Myers <joseph@codesourcery.com>
36824
36825 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36826 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
36827 undefine.
36828 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
36829 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
36830
36831 2014-07-01 Roland McGrath <roland@hack.frob.com>
36832
36833 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
36834 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
36835
36836 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
36837 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
36838
36839 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
36840 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
36841 ... here.
36842 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
36843 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
36844
36845 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
36846 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
36847 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
36848 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
36849
36850 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
36851 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
36852 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
36853 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
36854 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
36855 Moved ...
36856 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
36857 ... here.
36858 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
36859 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
36860 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
36861 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
36862 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
36863 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
36864 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
36865 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
36866 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
36867 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
36868 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
36869 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
36870 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
36871 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
36872 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
36873 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
36874 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
36875 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
36876 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
36877 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
36878 ... here.
36879 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
36880 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
36881 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
36882 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
36883 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
36884 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
36885 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
36886 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
36887
36888 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
36889
36890 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
36891 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
36892 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
36893 Add sysdep.
36894
36895 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36896
36897 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36898
36899 2014-06-30 Joseph Myers <joseph@codesourcery.com>
36900
36901 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
36902 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
36903
36904 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
36905
36906 * sysdeps/arm/libm-test-ulps: Regenerated.
36907
36908 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
36909 Roland McGrath <roland@hack.frob.com>
36910
36911 * test-skeleton.c (signal_handler): Kill the whole process group
36912 before killing the child individually.
36913 (main): Report any failure on `setpgid'.
36914
36915 2014-06-30 Roland McGrath <roland@hack.frob.com>
36916
36917 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
36918 from _TLS_H to _ARM_NPTL_TLS_H.
36919 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
36920 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
36921
36922 2014-06-30 Joseph Myers <joseph@codesourcery.com>
36923
36924 [BZ #16539]
36925 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
36926 (__expm1l): Return argument unchanged when small but not
36927 subnormal.
36928
36929 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
36930 include macro name.
36931 (_FP_UNPACK_RAW_1_P): Likewise.
36932 (_FP_PACK_RAW_1): Likewise.
36933 (_FP_PACK_RAW_1_P): Likewise.
36934 (_FP_MUL_MEAT_1_wide): Likewise.
36935 (_FP_MUL_MEAT_DW_1_hard): Likewise.
36936 (_FP_MUL_MEAT_1_hard): Likewise.
36937 (_FP_DIV_MEAT_1_imm): Likewise.
36938 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
36939 (_FP_DIV_MEAT_1_udiv): Likewise.
36940 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
36941 (_FP_UNPACK_RAW_2): Likewise.
36942 (_FP_UNPACK_RAW_2_P): Likewise.
36943 (_FP_PACK_RAW_2): Likewise.
36944 (_FP_PACK_RAW_2_P): Likewise.
36945 (_FP_MUL_MEAT_DW_2_wide): Likewise.
36946 (_FP_MUL_MEAT_2_wide): Likewise.
36947 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
36948 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
36949 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
36950 (_FP_MUL_MEAT_2_gmp): Likewise.
36951 (_FP_DIV_MEAT_2_udiv): Likewise.
36952 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
36953 (_FP_FRAC_SRL_4): Likewise.
36954 (_FP_FRAC_SRST_4): Likewise.
36955 (_FP_FRAC_SRS_4): Likewise.
36956 (_FP_UNPACK_RAW_4): Likewise.
36957 (_FP_UNPACK_RAW_4_P): Likewise.
36958 (_FP_PACK_RAW_4): Likewise.
36959 (_FP_PACK_RAW_4_P): Likewise.
36960 (_FP_MUL_MEAT_DW_4_wide): Likewise.
36961 (_FP_MUL_MEAT_4_wide): Likewise.
36962 (_FP_MUL_MEAT_4_gmp): Likewise.
36963 (umul_ppppmnnn): Likewise.
36964 (_FP_DIV_MEAT_4_udiv): Likewise.
36965 (__FP_FRAC_ADD_4): Likewise.
36966 (__FP_FRAC_SUB_3): Likewise.
36967 (__FP_FRAC_SUB_4): Likewise.
36968 (__FP_FRAC_DEC_3): Likewise.
36969 (__FP_FRAC_DEC_4): Likewise.
36970 (__FP_FRAC_ADDI_4): Likewise.
36971 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
36972 (_FP_FRAC_SRL_8): Likewise.
36973 (_FP_FRAC_SRS_8): Likewise.
36974
36975 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
36976 include macro name.
36977 (FP_UNPACK_RAW_EP): Likewise.
36978 (FP_PACK_RAW_E): Likewise.
36979 (FP_PACK_RAW_EP): Likewise.
36980 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
36981 (_FP_ISSIGNAN): Likewise.
36982 (_FP_ADD_INTERNAL): Likewise.
36983 (_FP_FMA): Likewise.
36984 (_FP_CMP): Likewise.
36985 (_FP_SQRT): Likewise.
36986 (_FP_TO_INT): Likewise.
36987 (_FP_FROM_INT): Likewise.
36988 (FP_EXTEND): Likewise.
36989 (_FP_DIV_MEAT_N_loop): Likewise.
36990
36991 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
36992
36993 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
36994 throughout.
36995
36996 2014-06-29 Joseph Myers <joseph@codesourcery.com>
36997
36998 [BZ #17097]
36999 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
37000 result with correct sign in case of exponents that produce
37001 overflow except for X very close to 1.
37002
37003 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
37004
37005 mktime: merge #if/#ifdef usage from glibc
37006 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
37007 as that works with both Glibc's and Gnulib's style.
37008 See thread starting at Siddhesh Poyarekar's bug report at:
37009 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
37010
37011 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37012
37013 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
37014 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
37015 * sysdeps/tile/tilegx/memmove.c: Remove file.
37016
37017 2014-06-27 Joseph Myers <joseph@codesourcery.com>
37018
37019 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
37020 abi-name definition.
37021 * scripts/soversions.awk: Do not handle or generate ABI lines.
37022 * shlib-versions: Remove ABI entries.
37023 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
37024 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
37025
37026 2014-06-27 Roland McGrath <roland@hack.frob.com>
37027
37028 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
37029 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
37030 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
37031 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
37032 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
37033 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
37034 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
37035 Moved ...
37036 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
37037 ... here.
37038 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
37039 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
37040 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
37041 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
37042 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
37043 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
37044 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
37045 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
37046 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
37047 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
37048 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
37049 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
37050 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
37051 Moved ...
37052 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
37053 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
37054 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
37055 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
37056 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
37057 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
37058 Moved ...
37059 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
37060 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
37061 Moved ...
37062 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
37063 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
37064 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
37065 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
37066 Moved ...
37067 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
37068 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
37069 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
37070 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
37071 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
37072 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
37073 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
37074 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
37075 Moved ...
37076 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
37077 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
37078 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
37079 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
37080 Moved ...
37081 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
37082 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
37083 Moved ...
37084 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
37085 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
37086 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
37087 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
37088 Moved ...
37089 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
37090 ... here.
37091 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
37092 Identical file removed.
37093 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
37094 Moved ...
37095 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
37096 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
37097 Identical file removed.
37098 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
37099 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
37100 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
37101 Moved ...
37102 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
37103 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
37104 Identical file removed.
37105 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
37106 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
37107 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
37108 Identical file removed.
37109 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
37110 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
37111 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
37112 Identical file removed.
37113 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
37114 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
37115 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
37116 Identical file removed.
37117 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
37118 Moved ...
37119 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
37120 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
37121 Identical file removed.
37122 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
37123 Moved ...
37124 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
37125 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
37126 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
37127 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
37128 Identical file removed.
37129 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
37130 Moved ...
37131 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
37132 ... here.
37133 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
37134 Identical file removed.
37135 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
37136 Moved ...
37137 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
37138 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
37139 Identical file removed.
37140 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
37141 Moved ...
37142 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
37143 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
37144 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
37145 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
37146 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
37147 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
37148 Moved ...
37149 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
37150 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
37151 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
37152
37153 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
37154 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
37155 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
37156 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
37157 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
37158
37159 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
37160
37161 [BZ #17092]
37162 * nscd/nscd.c (monitor_child): Return exit status of child
37163 instead of return value from wait syscall.
37164
37165 2014-06-27 Joseph Myers <joseph@codesourcery.com>
37166
37167 * configure.ac (libc_commonpagesize): Remove variable.
37168 (libc_relro_required): Likewise.
37169 (libc_cv_z_relro): Remove configure test.
37170 * configure: Regenerated.
37171 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
37172 variable.
37173 (libc_relro_required): Likewise.
37174 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
37175 (libc_relro_required): Likewise.
37176 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
37177 (libc_relro_required): Likewise.
37178 * sysdeps/arm/preconfigure: Regenerated.
37179 * sysdeps/ia64/preconfigure: Remove file.
37180 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
37181 variable.
37182 (libc_relro_required): Likewise.
37183
37184 [BZ #16561]
37185 [BZ #16562]
37186 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
37187 (__ieee754_yn): Set FE_TONEAREST mode internally and then
37188 recompute overflowing results in original rounding mode.
37189 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
37190 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
37191 recompute overflowing results in original rounding mode.
37192 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
37193 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
37194 recompute overflowing results in original rounding mode.
37195 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
37196 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
37197 recompute overflowing results in original rounding mode.
37198 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
37199 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
37200 recompute overflowing results in original rounding mode.
37201 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
37202 (libc_feholdsetround_ctx): New macro.
37203 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
37204 * sysdeps/i386/fpu/libm-test-ulps: Update.
37205 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
37206
37207 2014-06-26 Joseph Myers <joseph@codesourcery.com>
37208
37209 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
37210 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
37211 corresponding .cpsetup call.
37212
37213 2014-06-26 Roland McGrath <roland@hack.frob.com>
37214
37215 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
37216 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
37217 * sysdeps/arm/Makefile [$(subdir) = csu]
37218 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
37219 (static-only-routines): Add aeabi_read_tp here.
37220 (shared-only-routines): Add libc-aeabi_read_tp here.
37221 (CFLAGS-libc-start.c): Add -fexceptions here.
37222 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
37223 (sysdep_routines, static-only-routines, shared-only-routines):
37224 Don't add to these here.
37225 (CFLAGS-libc-start.c): Likewise.
37226
37227 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
37228 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
37229 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
37230 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
37231 * sysdeps/arm/Makefile [$(subdir) = rt]
37232 (librt-sysdep_routines, librt-shared-only-routines):
37233 Append rt-aeabi_unwind_cpp_pr1 here.
37234 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
37235 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
37236 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
37237 (libpthread-sysdep_routines, libpthread-shared-only-routines):
37238 Append nptl-aeabi_unwind_cpp_pr1 here.
37239 (tests): Filter out tst-cleanupx4 here.
37240 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
37241 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
37242 Don't do those here.
37243
37244 2014-06-26 Joseph Myers <joseph@codesourcery.com>
37245
37246 * scripts/list-sources.sh: Do not handle ports specially.
37247
37248 2014-06-26 Roland McGrath <roland@hack.frob.com>
37249
37250 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
37251 * sysdeps/arm/feupdateenv.c: Likewise.
37252
37253 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
37254
37255 2014-06-26 Joseph Myers <joseph@codesourcery.com>
37256
37257 * manual/texinfo.tex: Update to version 2014-05-05.10 with
37258 trailing whitespace removed.
37259 * scripts/config.guess: Update to version 2014-03-23.
37260 * scripts/config.sub: Update to version 2014-05-01
37261 * scripts/install-sh: Update to version 2013-12-25.23.
37262 * scripts/move-if-change: Update from gnulib.
37263
37264 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37265
37266 * debug/memmove_chk.c: Remove pagecopy.h include.
37267
37268 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
37269
37270 * time/mktime.c (leapyear): Remove inline keyword. The code is now
37271 identical to gnulib mktime.
37272
37273 2014-06-26 Joseph Myers <joseph@codesourcery.com>
37274
37275 * configure.ac: Do not test for machine being rs6000. Do not test
37276 for powerpc*-*soft.
37277 * configure: Regenerated.
37278
37279 [BZ #11505]
37280 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
37281 test.
37282 * configure: Regenerated.
37283 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
37284 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
37285 Remove configure test.
37286 * sysdeps/arm/configure: Regenerated.
37287 * sysdeps/nptl/configure.ac: Do not check
37288 libc_cv_asm_cfi_directives.
37289 * sysdeps/nptl/configure: Regenerated.
37290 * sysdeps/x86_64/nptl/configure.ac: Remove file.
37291 * sysdeps/x86_64/nptl/configure: Remove generated file.
37292 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
37293 unconditional.
37294 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
37295
37296 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37297
37298 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
37299 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
37300 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
37301 it is defined.
37302
37303 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
37304 instead of whether it is defined.
37305 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
37306 * sysdeps/hppa/dl-machine.h: Likewise.
37307 * sysdeps/ia64/dl-machine.h: Likewise.
37308 * sysdeps/m68k/dl-machine.h: Likewise.
37309 * sysdeps/microblaze/dl-machine.h: Likewise.
37310 * sysdeps/mips/dl-machine.: Likewise.
37311 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
37312 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
37313 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
37314 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
37315 * sysdeps/sh/dl-machine.h: Likewise.
37316 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37317 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37318 * sysdeps/tile/dl-machine.h: Likewise.
37319 * sysdeps/x86_64/dl-machine.h: Likewise.
37320
37321 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
37322 code.
37323 (verify_persistent_db): Likewise.
37324
37325 2014-06-26 Roland McGrath <roland@hack.frob.com>
37326
37327 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
37328 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
37329 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
37330 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
37331 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
37332 Moved ...
37333 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
37334 ... here.
37335 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
37336 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
37337 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
37338 Identical file removed.
37339 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
37340 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
37341 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
37342 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
37343 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
37344 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
37345 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
37346 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
37347 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
37348 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
37349 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37350 Moved ...
37351 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
37352 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
37353 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
37354 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
37355 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
37356 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
37357 Moved ...
37358 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
37359 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
37360 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
37361 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
37362 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
37363 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
37364 Identical file removed.
37365 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
37366 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
37367 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
37368 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
37369 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
37370 Moved ...
37371 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
37372 ... here.
37373 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
37374 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
37375 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
37376 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
37377 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
37378 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
37379 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
37380 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
37381 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
37382 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
37383 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37384 Moved ...
37385 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
37386 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
37387 Moved ...
37388 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
37389 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
37390 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
37391 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
37392 Moved ...
37393 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
37394 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
37395 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
37396
37397 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
37398 folded into ...
37399 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
37400 * sysdeps/unix/sysv/linux/s390/Versions
37401 (libpthread: GLIBC_2.19): New version set.
37402 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
37403 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
37404 (librt: GLIBC_2.3.3): New version set.
37405 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
37406 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
37407 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
37408 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
37409 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
37410 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
37411 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
37412 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
37413 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
37414 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
37415 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
37416 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
37417 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
37418 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
37419 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
37420 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
37421 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
37422 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
37423 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
37424 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
37425 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
37426 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
37427 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
37428 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
37429 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
37430 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
37431 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
37432 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
37433 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
37434 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
37435 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
37436 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
37437 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
37438 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
37439 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
37440 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
37441 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
37442 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
37443 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
37444 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
37445 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
37446 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
37447 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
37448 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
37449 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
37450
37451 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
37452 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
37453 (__libc_vfork): Define the function under this name.
37454 [!NOT_IN_libc] (__vfork): Make this an alias.
37455 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
37456 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
37457 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
37458 (__libc_vfork): Define the function under this name.
37459 [!NOT_IN_libc] (__vfork): Make this an alias.
37460 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
37461 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
37462 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
37463 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
37464 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
37465 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
37466
37467 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
37468 code that was previously under [RESET_PID].
37469 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
37470 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
37471 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
37472
37473 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
37474 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
37475 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
37476 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
37477 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
37478 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
37479 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
37480 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
37481 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
37482 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
37483 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
37484 Moved ...
37485 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
37486 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
37487 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
37488 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
37489 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
37490 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
37491 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
37492 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
37493 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
37494 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
37495 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
37496 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
37497 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
37498 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
37499 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
37500 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
37501 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
37502 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
37503 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
37504 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
37505 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
37506 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
37507 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
37508 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
37509 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
37510 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
37511 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
37512 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
37513 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
37514
37515 2014-06-25 Roland McGrath <roland@hack.frob.com>
37516
37517 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
37518 that was previously under [RESET_PID].
37519 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
37520
37521 2014-06-25 Joseph Myers <joseph@codesourcery.com>
37522
37523 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
37524 not undefine and redefine.
37525 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
37526 [O_CLOEXEC]: Make code unconditional.
37527 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
37528 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
37529 <kernel-features.h>.
37530 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
37531 conditional variable definition.
37532 (shm_open) [O_CLOEXEC]: Make code unconditional.
37533 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
37534 code.
37535
37536 * configure.ac (USE_REGPARMS): Don't define here.
37537 * configure: Regenerated.
37538 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
37539 * sysdeps/i386/configure: Regenerated.
37540
37541 * nptl/createthread.c: Don't include kernel-features.h.
37542 * nptl/pthread_cancel.c: Likewise.
37543 * nptl/pthread_condattr_setclock.c: Likewise.
37544 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
37545 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
37546 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
37547 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
37548 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
37549 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
37550 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
37551 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
37552 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
37553 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
37554 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
37555 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
37556 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
37557 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
37558 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
37559 * nscd/gai.c: Likewise.
37560 * nss/nss_db/db-open.c: Likewise.
37561 * sysdeps/generic/ldsodefs.h: Likewise.
37562 * sysdeps/sh/nptl/tls.h: Likewise.
37563 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
37564 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
37565 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
37566 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
37567 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
37568 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
37569 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
37570 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
37571 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
37572 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
37573 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
37574 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
37575 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
37576 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
37577 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
37578 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
37579 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
37580 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
37581 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
37582 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
37583 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
37584 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
37585 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
37586 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
37587 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
37588 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
37589 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
37590 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
37591 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
37592 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
37593 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
37594 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
37595 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
37596 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
37597 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
37598 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
37599 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
37600 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
37601 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
37602 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
37603 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
37604 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
37605 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
37606 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
37607 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
37608 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
37609 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
37610 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
37611 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
37612 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
37613 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
37614 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
37615 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
37616 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
37617 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
37618 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
37619 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
37620 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
37621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
37622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
37623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
37624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
37625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
37626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
37627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
37628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
37629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
37630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
37631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
37632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
37633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
37634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
37635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
37636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
37637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
37638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
37639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
37640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
37641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
37642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
37643 * sysdeps/unix/sysv/linux/pread.c: Likewise.
37644 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
37645 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
37646 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
37647 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
37648 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
37649 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
37650 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
37651 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
37652 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
37653 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
37654 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
37655 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
37656 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
37657 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
37658 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
37659 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
37660 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
37661 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
37662 * sysdeps/unix/sysv/linux/system.c: Likewise.
37663 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
37664 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
37665 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
37666 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
37667 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
37668 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
37669 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
37670
37671 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
37672 * configure: Regenerated.
37673 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
37674
37675 * configure.ac (base_machine): Do not set specially for particular
37676 machines here.
37677 * configure: Regenerated.
37678 * sysdeps/powerpc/preconfigure: Move machine and base_machine
37679 settings from configure.ac.
37680 * sysdeps/i386/preconfigure: New file.
37681 * sysdeps/s390/preconfigure: Likewise.
37682 * sysdeps/sh/preconfigure: Likewise.
37683 * sysdeps/sparc/preconfigure: Likewise.
37684
37685 2014-06-25 Roland McGrath <roland@hack.frob.com>
37686
37687 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
37688 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
37689 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
37690 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
37691 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
37692 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
37693 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
37694 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
37695 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
37696 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
37697 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
37698 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
37699 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
37700 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
37701 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
37702 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
37703 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
37704 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
37705 * sysdeps/sparc/sparc64/Makefile: ... appended here.
37706
37707 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
37708 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
37709 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
37710 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
37711 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
37712 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
37713 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
37714 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
37715 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
37716 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
37717 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
37718 * sysdeps/sparc/sparc32/sem_post.c: ... here.
37719 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
37720 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
37721 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
37722 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
37723 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
37724 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
37725 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
37726 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
37727 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
37728 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
37729 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
37730 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
37731 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
37732 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
37733 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
37734 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
37735 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
37736 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
37737 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
37738 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
37739 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
37740 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
37741 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
37742 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
37743 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
37744 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
37745
37746 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
37747 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
37748 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
37749 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
37750 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
37751 Moved ...
37752 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
37753 ... here.
37754 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
37755 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
37756 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
37757 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
37758 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
37759 Moved ...
37760 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
37761 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
37762 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
37763 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
37764 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
37765 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
37766 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
37767 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
37768 Moved ...
37769 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
37770 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
37771 Moved ...
37772 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
37773 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
37774 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
37775 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
37776 Moved ...
37777 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
37778 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
37779 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
37780 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
37781 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
37782 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
37783 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
37784 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
37785 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
37786 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
37787 Moved ...
37788 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
37789 ... here.
37790 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
37791 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
37792 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
37793 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
37794 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
37795 Moved ...
37796 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
37797 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
37798 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
37799 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
37800 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
37801 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
37802 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
37803 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
37804 Moved ...
37805 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
37806 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
37807 Moved ...
37808 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
37809 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
37810 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
37811 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
37812 Moved ...
37813 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
37814 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
37815 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
37816 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
37817 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
37818
37819 2014-06-25 Joseph Myers <joseph@codesourcery.com>
37820
37821 * timezone/checktab.awk: Update from tzcode 2014e.
37822 * timezone/private.h: Likewise.
37823 * timezone/tzfile.h: Likewise.
37824 * timezone/zdump.c: Likewise.
37825 * timezone/zic.c: Likewise.
37826
37827 * sysdeps/unix/sysv/linux/kernel-features.h
37828 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
37829 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
37830 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
37831 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
37832 Remove conditional code.
37833
37834 2014-06-25 Will Newton <will.newton@linaro.org>
37835
37836 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
37837 (_dl_arm_cap_flags): Add HWCAP2 values.
37838 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
37839 (_DL_HWCAP_COUNT): Increase to 37.
37840 (_DL_HWCAP_LAST): New define.
37841 (_DL_HWCAP2_LAST): New define.
37842 (_dl_procinfo): Add support for printing
37843 AT_HWCAP2 entries.
37844 (_dl_string_hwcap): Use _dl_hwcap_string.
37845
37846 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37847
37848 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37849
37850 2014-06-25 Joseph Myers <joseph@codesourcery.com>
37851
37852 * README: Do not mention ports directory.
37853
37854 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
37855 Remove macro.
37856 * sysdeps/unix/sysv/linux/futimes.c: Do not include
37857 <kernel-features.h>.
37858 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
37859 conditional variable definition.
37860 (__futimes): Update comment.
37861 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
37862 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
37863
37864 [BZ #16560]
37865 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
37866 arguments close to 0.
37867 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
37868 Likewise.
37869 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
37870 Likewise.
37871 * math/auto-libm-test-in: Add more tests of exp10.
37872 * math/auto-libm-test-out: Regenerated.
37873 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37874
37875 * sysdeps/unix/sysv/linux/kernel-features.h
37876 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
37877 * sysdeps/unix/sysv/linux/readv.c: Do not include
37878 <kernel-features.h>.
37879 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
37880 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
37881 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
37882 unconditional.
37883 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
37884 conditional code.
37885 * sysdeps/unix/sysv/linux/writev.c: Do not include
37886 <kernel-features.h>.
37887 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
37888 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
37889 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
37890 unconditional.
37891 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
37892 conditional code.
37893
37894 2014-06-25 Will Newton <will.newton@linaro.org>
37895
37896 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
37897 comment changes throughout the file. Remove checks
37898 for HAVE_*_H definitions that are not required.
37899 (__gen_tempname): Call abort if an unknown kind value is
37900 passed.
37901
37902 2014-06-25 Andreas Schwab <schwab@suse.de>
37903
37904 [BZ #17086]
37905 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
37906 scalbln, scalblnf, scalblnl in libc.
37907
37908 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37909
37910 [BZ #17086]
37911 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
37912 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
37913 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
37914
37915 2014-06-24 Roland McGrath <roland@hack.frob.com>
37916
37917 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
37918 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
37919 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
37920 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
37921 Update #include.
37922 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
37923 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
37924 Update #include.
37925 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
37926 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
37927 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
37928 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
37929 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
37930 * sysdeps/x86/bits/pthreadtypes.h: ... here.
37931 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
37932 * sysdeps/x86/bits/semaphore.h: ... here.
37933 * sysdeps/x86/nptl/elide.h: Moved ...
37934 * sysdeps/x86/elide.h: ... here.
37935 * sysdeps/x86_64/nptl/Implies: File removed.
37936 * sysdeps/i386/nptl/Implies: File removed.
37937
37938 2014-06-24 Joseph Myers <joseph@codesourcery.com>
37939
37940 [BZ #16539]
37941 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
37942 return the argument for normal arguments with exponent below -64.
37943 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
37944 Likewise.
37945 * math/auto-libm-test-in: Add another test of expm1.
37946 * math/auto-libm-test-out: Regenerated.
37947
37948 [BZ #16287]
37949 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
37950 calling __erfcl for arguments at least 16.
37951 * math/auto-libm-test-in: Add more tests of erf.
37952 * math/auto-libm-test-out: Regenerated.
37953
37954 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
37955 individual architectures.
37956 * sysdeps/unix/sysv/linux/configure: Regenerated.
37957 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
37958 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
37959 * sysdeps/unix/sysv/linux/powerpc/configure.ac
37960 (ldd_rewrite_script): Define variable.
37961 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
37962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
37963 file.
37964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
37965 generated file.
37966 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
37967 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
37968 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
37969 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
37970 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
37971 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
37972 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
37973 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
37974
37975 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
37976
37977 [BZ #17084]
37978 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
37979 Rename member __data.d to __data.__elision_data.
37980
37981 2014-06-24 Wilco <wdijkstr@arm.com>
37982
37983 * NEWS: Add 16918 to fixed bug list.
37984
37985 2014-06-24 Wilco <wdijkstr@arm.com>
37986
37987 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
37988
37989 2014-06-24 Wilco <wdijkstr@arm.com>
37990
37991 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
37992 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
37993 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
37994 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
37995 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
37996 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
37997 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
37998 Use _FPU_MASK_RM.
37999
38000 2014-06-24 Wilco <wdijkstr@arm.com>
38001
38002 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
38003
38004 2014-06-24 Wilco <wdijkstr@arm.com>
38005
38006 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
38007 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
38008 * sysdeps/arm/fesetround.c (fesetround): Remove space.
38009 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
38010
38011 2014-06-24 Wilco <wdijkstr@arm.com>
38012
38013 [BZ #16918]
38014 * sysdeps/arm/feupdateenv.c (feupdateenv):
38015 Rewrite to reduce FPSCR accesses and fix return value.
38016
38017 2014-06-24 Wilco <wdijkstr@arm.com>
38018
38019 * sysdeps/arm/fclrexcpt.c (feclearexcept):
38020 Optimize to avoid unnecessary FPSCR writes.
38021 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
38022 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
38023 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
38024 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
38025
38026 2014-06-24 Wilco <wdijkstr@arm.com>
38027
38028 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
38029 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
38030 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
38031 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
38032 Call libc_fetestexcept_vfp.
38033 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
38034 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
38035 __SOFTFP__ ifdef so that they can be built for softfp.
38036
38037 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
38038
38039 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
38040 argument type signed char.
38041
38042 * Makerules (check-abi): Dump diff of symlist if the test
38043 fails.
38044
38045 2014-06-23 Roland McGrath <roland@hack.frob.com>
38046
38047 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
38048 using abort.
38049
38050 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
38051 Remove unused variable ST.
38052
38053 2014-06-23 Joseph Myers <joseph@codesourcery.com>
38054
38055 [BZ #16354]
38056 [BZ #17061]
38057 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
38058 small arguments before calling __expm1.
38059 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
38060 small arguments before calling __expm1f.
38061 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
38062 small arguments before calling __expm1l.
38063 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
38064 Likewise.
38065 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
38066 * math/auto-libm-test-in: Add more cosh tests. Do not allow
38067 spurious underflow for some cosh tests.
38068 * math/auto-libm-test-out: Regenerated.
38069 * sysdeps/i386/fpu/libm-test-ulps: Update.
38070
38071 [BZ #17050]
38072 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
38073 (__ieee754_y1): Set errno if return value overflows.
38074 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
38075 (__ieee754_y1f): Set errno if return value overflows.
38076 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
38077 (__ieee754_y1l): Set errno if return value overflows.
38078 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
38079 (__ieee754_y1l): Set errno if return value overflows.
38080 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
38081 * math/auto-libm-test-out: Regenerated.
38082
38083 * math/gen-auto-libm-tests.c: Document use of
38084 ignore-zero-inf-sign.
38085 (input_flag_type): Add value flag_ignore_zero_inf_sign.
38086 (input_flags): Add ignore-zero-inf-sign.
38087 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
38088 * math/gen-libm-test.pl (generate_testfile): Handle
38089 ignore-zero-inf-sign.
38090 * math/auto-libm-test-in: Mark some cpow tests with
38091 ignore-zero-inf-sign and some with xfail-rounding.
38092 * math/auto-libm-test-out: Regenerated.
38093 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
38094 * sysdeps/i386/fpu/libm-test-ulps: Update.
38095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38096
38097 [BZ #16315]
38098 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
38099 overflowing or underflowing operations take place with sign of
38100 result.
38101 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38102 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
38103 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
38104 (__ieee754_pow): Recompute overflowing and underflowing results in
38105 original rounding mode.
38106 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
38107 (__powl_helper): Allow negative argument X and scale negated value
38108 as needed. Avoid passing value outside [-1, 1] to f2xm1.
38109 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
38110 overflowing or underflowing operations take place with sign of
38111 result.
38112 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
38113 Include <math.h>.
38114 * math/auto-libm-test-in: Add more tests of pow.
38115 * math/auto-libm-test-out: Regenerated.
38116 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
38117 (pow_tonearest_test_data): Remove.
38118 (pow_test_tonearest): Likewise.
38119 (pow_towardzero_test_data): Likewise.
38120 (pow_test_towardzero): Likewise.
38121 (pow_downward_test_data): Likewise.
38122 (pow_test_downward): Likewise.
38123 (pow_upward_test_data): Likewise.
38124 (pow_test_upward): Likewise.
38125 (main): Don't call removed functions.
38126 * sysdeps/i386/fpu/libm-test-ulps: Update.
38127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38128
38129 2014-06-23 Roland McGrath <roland@hack.frob.com>
38130
38131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
38132 Moved ...
38133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
38134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38135 Moved ...
38136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
38137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
38138 Moved ...
38139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
38140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
38141 Moved ...
38142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
38143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
38144 File removed.
38145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
38146 File removed.
38147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
38148 File removed.
38149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
38150 File removed.
38151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
38152 File removed.
38153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
38154 File removed.
38155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
38156 File removed.
38157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
38158 File removed.
38159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
38160 File removed.
38161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
38162 File removed.
38163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
38164 File removed.
38165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
38166 File removed.
38167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
38168 Moved ...
38169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
38170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
38171 Moved ...
38172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
38173 ... here.
38174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
38175 Moved ...
38176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
38177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
38178 Moved ...
38179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
38180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
38181 Moved ...
38182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
38183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
38184 Moved ...
38185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
38186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
38187 Moved ...
38188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
38189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
38190 Moved ...
38191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
38192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
38193 Moved ...
38194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
38195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
38196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
38197 ... here.
38198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
38199 Moved ...
38200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
38201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
38202 Moved ...
38203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
38204 ... here.
38205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
38206 Moved ...
38207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
38208 ... here.
38209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
38210 Moved ...
38211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
38212 ... here.
38213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
38214 Moved ...
38215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
38216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
38217 Moved ...
38218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
38219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
38220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
38221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
38222 Moved ...
38223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
38224 ... here.
38225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
38226 Moved ...
38227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
38228 ... here.
38229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
38230 Moved ...
38231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
38232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
38233 Moved ...
38234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
38235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
38236 Moved ...
38237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
38238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38239 Moved ...
38240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
38241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
38242 Moved ...
38243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
38244 ... here.
38245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
38246 Moved ...
38247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
38248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
38249 Moved ...
38250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
38251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
38252 Moved ...
38253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
38254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
38255 Moved ...
38256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
38257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
38258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
38259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
38260 Moved ...
38261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
38262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
38263 Moved ...
38264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
38265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
38266 Moved ...
38267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
38268 ... here.
38269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38270 Moved ...
38271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
38272 ... here.
38273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
38274 Moved ...
38275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
38276 ... here.
38277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
38278 Moved ...
38279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
38280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
38281 Moved ...
38282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
38283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
38284 Moved ...
38285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
38286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
38287 Moved ...
38288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
38289 ... here.
38290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
38291 Moved ...
38292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
38293 ... here.
38294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
38295 Moved ...
38296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
38297 ... here.
38298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
38299 Moved ...
38300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
38301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
38302 Moved ...
38303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
38304
38305 2014-06-23 Will Newton <will.newton@linaro.org>
38306 Wilco <wdijkstr@arm.com>
38307
38308 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
38309 implementation. Include get-rounding-mode.h.
38310 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
38311 [!libc_feholdsetround_noex_ctx]: Define
38312 libc_feholdsetround_noex_ctx.
38313 [!libc_feholdsetround_noexf_ctx]: Define
38314 libc_feholdsetround_noexf_ctx.
38315 [!libc_feholdsetround_noexl_ctx]: Define
38316 libc_feholdsetround_noexl_ctx.
38317 (libc_feholdsetround_ctx): New function.
38318 (libc_feresetround_ctx): New function.
38319 (libc_feholdsetround_noex_ctx): New function.
38320 (libc_feresetround_noex_ctx): New function.
38321
38322 2014-06-23 Roland McGrath <roland@hack.frob.com>
38323
38324 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
38325 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
38326 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
38327 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
38328 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
38329 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
38330
38331 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
38332 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
38333 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
38334 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
38335 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
38336 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
38337 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
38338 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
38339 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
38340 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
38341 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
38342 Moved ...
38343 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
38344 ... here.
38345 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
38346 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
38347 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
38348 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
38349 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
38350 Moved ...
38351 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
38352 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
38353 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
38354 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
38355 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
38356 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
38357 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
38358 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
38359 Moved ...
38360 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
38361 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
38362 Moved ...
38363 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
38364 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
38365 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
38366 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
38367 Moved ...
38368 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
38369 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
38370 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
38371 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
38372 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
38373 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
38374 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
38375 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
38376 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
38377 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
38378 Moved ...
38379 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
38380 ... here.
38381 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
38382 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
38383 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
38384 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
38385 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
38386 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
38387 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
38388 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
38389 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
38390 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
38391 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
38392 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
38393 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
38394 Moved ...
38395 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
38396 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
38397 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
38398 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
38399 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
38400 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
38401 Moved ...
38402 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
38403 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
38404 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
38405 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
38406 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
38407
38408 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
38409 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
38410 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
38411 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
38412 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
38413 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
38414 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
38415 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
38416 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
38417 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
38418 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
38419 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
38420 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
38421 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
38422 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
38423 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
38424 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
38425 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
38426 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
38427 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
38428 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
38429 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
38430 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
38431 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
38432 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
38433 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
38434 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
38435 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
38436
38437 2014-06-23 Joseph Myers <joseph@codesourcery.com>
38438
38439 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
38440 (FALLOC_FL_COLLAPSE_RANGE): New macro.
38441 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
38442 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
38443 (IPV6_PMTUDISC_INTERFACE): Likewise.
38444 (IPV6_PMTUDISC_OMIT): Likewise.
38445
38446 2014-06-23 Andreas Schwab <schwab@suse.de>
38447
38448 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
38449 Remove unused errout label.
38450
38451 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38452
38453 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
38454 macro: hardware supports Vector Crypto instructions.
38455
38456 2014-06-23 Will Newton <will.newton@linaro.org>
38457
38458 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
38459 rather than __builtin_expect.
38460
38461 * elf/dl-lookup.c (undefined_msg): Remove variable.
38462 (_dl_lookup_symbol_x): Replace undefined_msg with string
38463 literal.
38464
38465 * elf/dl-lookup.c (do_lookup_unique): New function.
38466 (do_lookup_x): Move STB_GNU_UNIQUE handling code
38467 to a separate function.
38468
38469 2014-06-23 Andreas Schwab <schwab@suse.de>
38470
38471 [BZ #17079]
38472 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
38473 before reading the next line.
38474
38475 2014-06-23 Will Newton <will.newton@linaro.org>
38476
38477 * test-skeleton.c (signal_handler): Use printf and %m
38478 rather than perror. Use printf rather than fprintf to
38479 stderr. Use puts rather than fputs to stderr.
38480 (main): Likewise.
38481
38482 2014-06-22 Ludovic Courtès <ludo@gnu.org>
38483
38484 * nscd/nscd.c (thread_info_t): Remove typedef.
38485 (thread_info): Remove variable.
38486
38487 2014-06-21 Allan McRae <allan@archlinux.org>
38488
38489 * NEWS: Mention CVE-2014-4043.
38490
38491 2014-06-20 Roland McGrath <roland@hack.frob.com>
38492
38493 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
38494 * nptl/smp.h: ... here.
38495
38496 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
38497
38498 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
38499 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
38500 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
38501 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
38502
38503 * nptl/allocatestack.c: Include <stack-aliasing.h>.
38504 * nptl/stack-aliasing.h: New file.
38505 * sysdeps/i386/i686/stack-aliasing.h: New file.
38506 * sysdeps/i386/i686/nptl/Makefile: File removed.
38507 * sysdeps/x86_64/stack-aliasing.h: New file.
38508 * sysdeps/x86_64/nptl/Makefile
38509 (CFLAGS-pthread_create.c): Variable removed.
38510
38511 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
38512 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
38513 old file.
38514 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
38515 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
38516 old file.
38517
38518 2014-06-21 Joseph Myers <joseph@codesourcery.com>
38519
38520 * sysdeps/unix/sysv/linux/arm/kernel-features.h
38521 (__ASSUME_SIGFRAME_V2): Remove macro.
38522 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
38523 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
38524 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
38525 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
38526 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
38527 Declare as function. Remove conditional macro definitions.
38528 (__default_rt_sa_restorer): Likewise.
38529 (__default_sa_restorer_v1): Remove declaration.
38530 (__default_sa_restorer_v2): Likewise.
38531 (__default_rt_sa_restorer_v1): Likewise.
38532 (__default_rt_sa_restorer_v2): Likewise.
38533 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
38534 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
38535 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
38536
38537 2014-06-20 Roland McGrath <roland@hack.frob.com>
38538
38539 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
38540 (libpthread-routines): Add sysdep.
38541 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
38542 * sysdeps/unix/sysv/linux/sparc/Versions
38543 (libpthread: GLIBC_2.3.3): New version set.
38544 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
38545 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
38546 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
38547 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
38548 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
38549 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
38550 Moved ...
38551 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
38552 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
38553 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
38554 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
38555 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
38556 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
38557 * sysdeps/sparc/nptl/sem_init.c: ... here.
38558 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
38559 * sysdeps/sparc/nptl/sem_post.c: ... here.
38560 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
38561 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
38562 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
38563 * sysdeps/sparc/nptl/sem_wait.c: ... here.
38564 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
38565 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
38566 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
38567 (libpthread-routines): Add cpu_relax.
38568 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
38569 File removed.
38570 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
38571 (librt: GLIBC_2.3.3): New version set.
38572 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
38573 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
38574 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
38575 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
38576 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
38577 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
38578 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
38579 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
38580 Moved ...
38581 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
38582 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
38583 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
38584 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
38585 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
38586 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
38587 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
38588 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
38589 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
38590 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
38591 Moved ...
38592 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
38593 Update #include.
38594 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
38595 Moved ...
38596 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
38597 Update #include.
38598 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
38599 Moved ...
38600 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
38601 Update #include.
38602 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
38603 Moved ...
38604 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
38605 Update #include.
38606 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
38607 Moved ...
38608 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
38609 Update #include.
38610 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
38611 Moved ...
38612 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
38613 Update #include.
38614 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
38615 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
38616 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
38617 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
38618 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
38619 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
38620 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
38621 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
38622 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
38623 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
38624 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
38625 Moved ...
38626 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
38627 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
38628 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
38629 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
38630 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
38631
38632 2014-06-20 Joseph Myers <joseph@codesourcery.com>
38633
38634 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
38635 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
38636 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
38637 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
38638 * nscd/nscd.c: Likewise.
38639 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
38640 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
38641 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
38642 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
38643
38644 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
38645 <kernel-features.h>.
38646 (init_mq_netlink): Remove conditional have_sock_cloexec
38647 definitions. Remove code conditional on have_sock_cloexec < 0.
38648 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
38649 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
38650 * sysdeps/unix/sysv/linux/opensock.c: Do not include
38651 <kernel-features.h>.
38652 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
38653 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
38654
38655 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
38656
38657 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
38658 Add tests for memset_chk and memset.
38659
38660 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
38661 with AVX2_Usable.
38662
38663 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
38664
38665 [BZ #16046]
38666 * elf/tst-dl-iter-static.c: New file.
38667 * elf/Makefile (tests-static): Add tst-dl-iter-static.
38668
38669 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
38670 error.
38671
38672 2014-06-20 Joseph Myers <joseph@codesourcery.com>
38673
38674 * sysdeps/unix/sysv/linux/kernel-features.h
38675 (__ASSUME_F_GETOWN_EX): Remove macro.
38676 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
38677 <kernel-features.h>.
38678 (miss_F_GETOWN_EX): Remove variable or macro.
38679 (do_fcntl): Do not check miss_F_GETOWN_EX.
38680 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
38681
38682 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
38683 Remove macro.
38684 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
38685 [!__ASSUME_AT_RANDOM]: Remove conditional code.
38686 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
38687
38688 * sysdeps/unix/sysv/linux/kernel-features.h
38689 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
38690 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
38691 [ADJ_OFFSET_SS_READ]: Make code unconditional.
38692 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
38693
38694 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
38695
38696 [BZ #17075]
38697 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
38698 Fix calculation of the symbol's value.
38699 * sysdeps/arm/tst-armtlsdescloc.c: New file.
38700 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
38701 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
38702 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
38703 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
38704 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
38705 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
38706 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
38707 (modules-names): Add `tst-armtlsdescmod',
38708 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
38709 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
38710 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
38711 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
38712 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
38713 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
38714 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
38715 ($(objpfx)tst-armtlsdescloc): New dependency.
38716 ($(objpfx)tst-armtlsdescextnow): Likewise.
38717 ($(objpfx)tst-armtlsdescextlazy): Likewise.
38718 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
38719 TLS scheme support.
38720 * sysdeps/arm/configure: Regenerate.
38721
38722 2014-06-20 Joseph Myers <joseph@codesourcery.com>
38723
38724 * include/fcntl.h (__atfct_seterrno): Remove prototype.
38725 (__atfct_seterrno_2): Likewise.
38726 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
38727 <kernel-features.h>.
38728 (__ASSUME_ATFCTS): Do not undefine and redefine.
38729 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
38730 (__have_atfcts): Remove conditional definition.
38731 (__fxstatat([__NR_fstatat64]: Make code unconditional.
38732 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
38733 unreachable if [__ASSUME_ATFCTS].
38734 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
38735 not undefine and redefine.
38736 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
38737 <kernel-features.h>.
38738 (faccessat) [__NR_faccessat]: Make code unconditional.
38739 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
38740 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
38741 <kernel-features.h>.
38742 (fchmodat) [__NR_fchmodat]: Make code unconditional.
38743 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
38744 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
38745 <kernel-features.h>.
38746 (fchownat) [__NR_fchownat]: Make code unconditional.
38747 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
38748 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
38749 <kernel-features.h>.
38750 (futimesat) [__NR_futimesat]: Make code unconditional.
38751 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
38752 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
38753 <kernel-features.h>.
38754 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
38755 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
38756 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
38757 <kernel-features.h>.
38758 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
38759 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
38760 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
38761 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
38762 <kernel-features.h>.
38763 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
38764 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
38765 * sysdeps/unix/sysv/linux/linkat.c: Do not include
38766 <kernel-features.h>.
38767 (linkat) [__NR_linkat]: Make code unconditional.
38768 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
38769 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
38770 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
38771 <kernel-features.h>.
38772 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
38773 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
38774 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
38775 <kernel-features.h>.
38776 (mkdirat) [__NR_mkdirat]: Make code unconditional.
38777 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
38778 * sysdeps/unix/sysv/linux/openat.c: Do not include
38779 <kernel-features.h>.
38780 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
38781 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
38782 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
38783 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
38784 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
38785 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
38786 <kernel-features.h>.
38787 (readlinkat) [__NR_readlinkat]: Make code unconditional.
38788 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
38789 result of INLINE_SYSCALL directly, not via int variable.
38790 * sysdeps/unix/sysv/linux/renameat.c: Do not include
38791 <kernel-features.h>.
38792 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
38793 (renameat) [__NR_renameat]: Make code unconditional.
38794 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
38795 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
38796 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
38797 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
38798 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
38799 (__ASSUME_ATFCTS): Do not undefine and redefine.
38800 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
38801 <kernel-features.h>.
38802 (symlinkat) [__NR_symlinkat]: Make code unconditional.
38803 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
38804 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
38805 <kernel-features.h>.
38806 (unlinkat) [__NR_unlinkat]: Make code unconditional.
38807 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
38808 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
38809 (__ASSUME_ATFCTS): Do not undefine and redefine.
38810 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
38811 <kernel-features.h>.
38812 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
38813 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
38814 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
38815 <kernel-features.h>.
38816 (__xmknodat) [__NR_mknodat]: Make code unconditional.
38817 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
38818
38819 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
38820
38821 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
38822
38823 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
38824
38825 [BZ #17069]
38826 * posix/regcomp.c (parse_reg_exp): Deallocate partially
38827 constructed tree before returning error.
38828 * posix/bug-regexp36.c: Expand test case.
38829
38830 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
38831
38832 [BZ #6803]
38833 * math/libm-test.inc (scalbln_test_date):
38834 Add errno expectations.
38835 * math/w_scalblnf.c: New File.
38836 Add wrapper which checks for setting errno to ERANGE.
38837 Add weak_alias for corresponding scalbln function.
38838 * math/w_scalbln.c: Likewise.
38839 * math/w_scalblnl.c: Likewise.
38840 * math/Makefile (libm-calls): Add w_scalbln.
38841 * sysdeps/ieee754/flt-32/s_scalblnf.c:
38842 Remove weak_alias for corresponding scalbln function.
38843 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
38844 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
38845 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38846 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38847 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
38848 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
38849 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
38850 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
38851 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
38852 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
38853 Remove long_double_symbol for scalblnl function in libm, libc.
38854 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
38855 Add wrapper which checks for setting errno to ERANGE.
38856 Add long_double_symbol for scalblnl function in libm, libc.
38857 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
38858 Remove long_double_symbol for scalblnl in libm.
38859 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
38860 Add wrapper which checks for setting errno to ERANGE.
38861 Add long_double_symbol for scalblnl function in libm.
38862 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
38863 Do not use wrapper because of own implementation.
38864
38865 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
38866
38867 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
38868 3 bytes for __pad1 for x32.
38869 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
38870
38871 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
38872 H.J. Lu <hongjiu.lu@intel.com>
38873
38874 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
38875 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
38876 * sysdeps/x86_64/multiarch/memset.S: Likewise.
38877 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
38878 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
38879
38880 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
38881
38882 [BZ #17069]
38883 * posix/regcomp.c (parse_expression): Deallocate partially
38884 constructed tree before returning error.
38885 * posix/Makefile.c (tests): Add bug-regex36.
38886 (generated): Add bug-regex36.mtrace.
38887 (tests-special): Add $(objpfx)bug-regex36-mem.out
38888 (bug-regex36-ENV): New variable.
38889 ($(objpfx)bug-regex36-mem.out): New rule.
38890 * posix/bug-regex36.c: New file.
38891
38892 2014-06-19 Will Newton <will.newton@linaro.org>
38893
38894 * malloc/malloc.c (systrim): If extra is zero then return
38895 early.
38896
38897 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
38898
38899 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
38900
38901 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
38902
38903 * sysdeps/aarch64/strchr.S: New file.
38904
38905 2014-06-18 Joseph Myers <joseph@codesourcery.com>
38906
38907 [BZ #17022]
38908 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
38909 from arguments -2 or below.
38910 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
38911 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
38912
38913 2014-06-18 Andreas Schwab <schwab@suse.de>
38914
38915 [BZ #17062]
38916 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
38917 of a bracket expr not to run off the end of the string.
38918 * posix/Makefile (tests): Add tst-fnmatch3.
38919 * posix/tst-fnmatch3.c: New file.
38920
38921 2014-06-18 Joseph Myers <joseph@codesourcery.com>
38922
38923 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
38924 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
38925 [$(cross-compiling) = no]: Likewise.
38926 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
38927 [$(cross-compiling) = no]: Likewise.
38928
38929 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
38930
38931 [BZ #17031]
38932 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
38933 double, adjusted for any remainder from the high double.
38934 * math/libm-test.inc (nearbyint): Add tests.
38935 (rint): Likewise.
38936
38937 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38938
38939 * nptl/sysdeps/powerpc/Makefile: Moved ...
38940 * sysdeps/powerpc/nptl/Makefile: ... here.
38941 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
38942 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
38943 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
38944 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
38945 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
38946 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
38947 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
38948 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
38949 * nptl/sysdeps/powerpc/tls.h: Moved ...
38950 * sysdeps/powerpc/nptl/tls.h: ... here.
38951
38952 2014-06-16 Joseph Myers <joseph@codesourcery.com>
38953
38954 [BZ #16681]
38955 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
38956 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
38957 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
38958 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
38959 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
38960 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
38961 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
38962 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
38963 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
38964
38965 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
38966
38967 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
38968
38969 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
38970
38971 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
38972 defined operator.
38973
38974 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
38975 $TIMEOUTFACTOR.
38976
38977 2014-06-16 Florian Weimer <fweimer@redhat.com>
38978
38979 [BZ #17058]
38980 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
38981 non-executed part of the test.
38982
38983 2014-06-16 Andreas Schwab <schwab@suse.de>
38984
38985 * string/bits/string2.h (strdup, strndup): Update feature guard.
38986
38987 2014-06-14 David S. Miller <davem@davemloft.net>
38988
38989 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38990
38991 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
38992
38993 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
38994 that was previously under [RESET_PID].
38995 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
38996
38997 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
38998 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
38999 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
39000 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
39001 (__libc_vfork): New strong alias.
39002 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
39003
39004 2014-06-14 Andi Kleen <ak@linux.intel.com>
39005
39006 * sysdeps/generic/elide.h: New file.
39007
39008 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
39009
39010 * Makefile (installed-headers): Adjust path of pthread.h header.
39011
39012 2014-06-13 Roland McGrath <roland@hack.frob.com>
39013
39014 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
39015 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
39016 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
39017 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
39018
39019 * nptl/sysdeps/s390/Makefile: Moved ...
39020 * sysdeps/s390/nptl/Makefile: ... here.
39021 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
39022 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
39023 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
39024 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
39025 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
39026 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
39027 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
39028 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
39029 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
39030 * sysdeps/s390/nptl/pthreaddef.h: ... here.
39031 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
39032 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
39033 * nptl/sysdeps/s390/tls.h: Moved ...
39034 * sysdeps/s390/nptl/tls.h: ... here.
39035
39036 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
39037 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
39038
39039 2014-06-13 David S. Miller <davem@davemloft.net>
39040
39041 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
39042 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
39043 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
39044 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
39045 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
39046 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
39047 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
39048 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
39049 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
39050 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
39051 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
39052 Remove RESET_PID cpp guards.
39053 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
39054 Remove RESET_PID cpp guards.
39055 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
39056
39057 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
39058
39059 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
39060 __sp to uintptr_t.
39061
39062 2014-06-13 Andi Kleen <ak@linux.intel.com>
39063
39064 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
39065 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
39066 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
39067 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
39068 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
39069 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
39070 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
39071 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
39072 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
39073 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
39074 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
39075 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
39076 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
39077 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
39078 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
39079 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
39080 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
39081 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
39082 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
39083 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
39084
39085 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
39086 (pthread_rwlock_rdlock): Add elision.
39087 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
39088 (pthread_rwlock_wrlock): Add elision.
39089 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
39090 (pthread_rwlock_trywrlock): Add elision.
39091 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
39092 (pthread_rwlock_tryrdlock): Add elision.
39093 * nptl/pthread_rwlock_unlock.c: Include elide.h.
39094 (pthread_rwlock_tryrdlock): Add elision unlock.
39095 * nptl/sysdeps/pthread/pthread.h:
39096 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
39097 (PTHREAD_RWLOCK_INITIALIZER,
39098 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
39099 Handle new elision field.
39100 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
39101 * sysdeps/arm/nptl/bits/pthreadtypes.h
39102 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39103 * sysdeps/sh/nptl/bits/pthreadtypes.h
39104 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39105 * sysdeps/tile/nptl/bits/pthreadtypes.h
39106 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39107 * sysdeps/a/nptl/bits/pthreadtypes.h
39108 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39109 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
39110 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39111 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
39112 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39113 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
39114 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39115 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
39116 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39117 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
39118 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39119 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
39120 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39121 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
39122 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39123 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
39124 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39125 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
39126 (elision_init): Set try_xbegin to zero when no RTM.
39127 * sysdeps/x86/nptl/bits/pthreadtypes.h
39128 (pthread_rwlock_t): Change __pad1 to __rwelision.
39129 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39130
39131 2014-06-13 Andi Kleen <ak@linux.intel.com>
39132
39133 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
39134 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
39135 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
39136 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
39137
39138 2014-06-13 Meador Inge <meadori@codesourcery.com>
39139
39140 [BZ #16996]
39141 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
39142 that the cached result has been set before returning it.
39143
39144 2014-06-12 Roland McGrath <roland@hack.frob.com>
39145
39146 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
39147 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
39148 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
39149 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
39150 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
39151 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
39152
39153 * nptl/sysdeps/sparc/Makefile: Moved ...
39154 * sysdeps/sparc/nptl/Makefile: ... here.
39155 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
39156 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
39157 * nptl/sysdeps/sparc/tls.h: Moved ...
39158 * sysdeps/sparc/nptl/tls.h: ... here.
39159 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
39160 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
39161 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
39162 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
39163 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
39164 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
39165 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
39166 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
39167 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
39168 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
39169 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
39170 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
39171 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
39172 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
39173 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
39174 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
39175 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
39176 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
39177 Update #include.
39178 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
39179 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
39180 Update #include.
39181 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
39182 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
39183 Update #include.
39184 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
39185 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
39186 Update #include.
39187
39188 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
39189
39190 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
39191 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
39192
39193 * sysdeps/pthread/posix-timer.h: Include <list.h>.
39194 (struct list_links): Type removed.
39195 (struct thread_node, struct timer_node): Replace struct list_links
39196 with struct list_head.
39197 (list_unlink_ip): Likewise.
39198 * sysdeps/pthread/timer_routines.c
39199 (timer_free_list, thread_free_list, thread_active_list): Likewise.
39200 (list_append, list_insbefore): Likewise.
39201 (list_init): Function removed.
39202 (thread_init, init_module): Use INIT_LIST_HEAD instead.
39203 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
39204 * sysdeps/pthread/Makefile: ... here, new file.
39205
39206 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
39207 * sysdeps/nptl/Implies: ... here.
39208 * sysdeps/unix/sysv/linux/Implies: Add nptl.
39209 * nptl/sysdeps/pthread/list.h: Moved ...
39210 * include/list.h: ... here.
39211 * nptl/sysdeps/pthread/createthread.c: Moved ...
39212 * nptl/createthread.c: ... here.
39213 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
39214 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
39215 * nptl/pt-longjmp.c: ... here.
39216 * nptl/sysdeps/pthread/Makefile: Moved ...
39217 * sysdeps/nptl/Makefile: ... here.
39218 * nptl/sysdeps/pthread/Subdirs: Moved ...
39219 * sysdeps/nptl/Subdirs: ... here.
39220 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
39221 * sysdeps/nptl/aio_misc.h: ... here.
39222 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
39223 * sysdeps/nptl/bits/libc-lock.h: ... here.
39224 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
39225 * sysdeps/nptl/bits/libc-lockP.h: ... here.
39226 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
39227 * sysdeps/nptl/bits/stdio-lock.h: ... here.
39228 * nptl/sysdeps/pthread/configure: Moved ...
39229 * sysdeps/nptl/configure: ... here.
39230 * nptl/sysdeps/pthread/configure.ac: Moved ...
39231 * sysdeps/nptl/configure.ac: ... here.
39232 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
39233 * sysdeps/nptl/gai_misc.h: ... here.
39234 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
39235 * sysdeps/nptl/librt-cancellation.c: ... here.
39236 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
39237 * sysdeps/nptl/malloc-machine.h: ... here.
39238 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
39239 * sysdeps/nptl/pthread-functions.h: ... here.
39240 * nptl/sysdeps/pthread/pthread.h: Moved ...
39241 * sysdeps/nptl/pthread.h: ... here.
39242 * nptl/sysdeps/pthread/setxid.h: Moved ...
39243 * sysdeps/nptl/setxid.h: ... here.
39244 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
39245 * sysdeps/nptl/sigfillset.c: ... here.
39246 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
39247 * sysdeps/nptl/tcb-offsets.h: ... here.
39248 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
39249 * sysdeps/nptl/tst-mqueue8x.c: ... here.
39250 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
39251 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
39252 * nptl/sysdeps/pthread/allocalim.h: Moved ...
39253 * sysdeps/pthread/allocalim.h: ... here.
39254 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
39255 * sysdeps/pthread/bits/sigthread.h: ... here.
39256 * nptl/sysdeps/pthread/flockfile.c: Moved ...
39257 * sysdeps/pthread/flockfile.c: ... here.
39258 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
39259 * sysdeps/pthread/ftrylockfile.c: ... here.
39260 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
39261 * sysdeps/pthread/funlockfile.c: ... here.
39262 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
39263 * sysdeps/pthread/posix-timer.h: ... here.
39264 * nptl/sysdeps/pthread/timer_create.c: Moved ...
39265 * sysdeps/pthread/timer_create.c: ... here.
39266 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
39267 * sysdeps/pthread/timer_delete.c: ... here.
39268 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
39269 * sysdeps/pthread/timer_getoverr.c: ... here.
39270 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
39271 * sysdeps/pthread/timer_gettime.c: ... here.
39272 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
39273 * sysdeps/pthread/timer_routines.c: ... here.
39274 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
39275 * sysdeps/pthread/timer_settime.c: ... here.
39276 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
39277 * sysdeps/pthread/tst-timer.c: ... here.
39278 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
39279 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
39280
39281 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
39282 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
39283
39284 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
39285 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
39286 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
39287 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
39288 Update #include target.
39289 * nptl/sysdeps/i386/i686/Makefile: Moved ...
39290 * sysdeps/i386/i686/nptl/Makefile: ... here.
39291 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
39292 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
39293 Update #include target.
39294 * nptl/sysdeps/i386/i686/tls.h: Moved ...
39295 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
39296 * nptl/sysdeps/i386/Makefile: Moved ...
39297 * sysdeps/i386/nptl/Makefile: ... here.
39298 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
39299 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
39300 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
39301 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
39302 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
39303 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
39304 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
39305 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
39306 * sysdeps/i386/nptl/pthreaddef.h: ... here.
39307 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
39308 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
39309 * nptl/sysdeps/i386/tls.h: Moved ...
39310 * sysdeps/i386/nptl/tls.h: ... here.
39311
39312 * sysdeps/sh/Makefile [$(subdir) = csu]
39313 (gen-as-const-headers): Add tcb-offsets.sym.
39314 * nptl/sysdeps/sh/Makefile: File removed.
39315 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
39316 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
39317 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
39318 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
39319 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
39320 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
39321 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
39322 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
39323 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
39324 * sysdeps/sh/nptl/pthreaddef.h: ... here.
39325 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
39326 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
39327 * nptl/sysdeps/sh/tls.h: Moved ...
39328 * sysdeps/sh/nptl/tls.h: ... here.
39329 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
39330 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
39331 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
39332 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
39333 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
39334 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
39335 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
39336 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
39337 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
39338 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
39339 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
39340 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
39341 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
39342 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
39343 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
39344 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
39345 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
39346 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
39347 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
39348 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
39349 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
39350 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
39351 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
39352 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
39353 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
39354 Moved ...
39355 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
39356 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
39357 Moved ...
39358 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
39359 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
39360 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
39361 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
39362 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
39363 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
39364 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
39365 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
39366 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
39367 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
39368 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
39369 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
39370 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
39371 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
39372 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
39373 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
39374 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
39375 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
39376 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
39377
39378 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
39379
39380 * posix/spawn_faction_addopen.c: Include string.h.
39381
39382 2014-06-11 Roland McGrath <roland@hack.frob.com>
39383
39384 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
39385 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
39386 * nptl/sysdeps/x86_64/Makefile: Moved ...
39387 * sysdeps/x86_64/nptl/Makefile: ... here.
39388 * nptl/sysdeps/x86_64/configure: Moved ...
39389 * sysdeps/x86_64/nptl/configure: ... here.
39390 * nptl/sysdeps/x86_64/configure.ac: Moved ...
39391 * sysdeps/x86_64/nptl/configure.ac: ... here.
39392 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
39393 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
39394 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
39395 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
39396 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
39397 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
39398 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
39399 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
39400 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
39401 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
39402 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
39403 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
39404 * nptl/sysdeps/x86_64/tls.h: Moved ...
39405 * sysdeps/x86_64/nptl/tls.h: ... here.
39406 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
39407 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
39408 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
39409 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
39410
39411 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
39412
39413 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39414
39415 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39416
39417 2014-06-11 Joseph Myers <joseph@codesourcery.com>
39418
39419 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
39420 type.
39421 [POSIX] (off_t): Likewise.
39422 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
39423 [POSIX] (S_ISBLK): Require macro.
39424 [POSIX] (S_ISCHR): Likewise.
39425 [POSIX] (S_ISDIR): Likewise.
39426 [POSIX] (S_ISFIFO): Likewise.
39427 [POSIX] (S_ISREG): Likewise.
39428 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
39429 optional-macro.
39430 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
39431 type.
39432 [POSIX] (time_t): Likewise.
39433 [POSIX] (timer_t): Likewise.
39434
39435 2014-06-11 Florian Weimer <fweimer@redhat.com>
39436
39437 [BZ #17048]
39438 * posix/spawn_int.h (struct __spawn_action): Make the path string
39439 non-const to support deallocation.
39440 * posix/spawn_faction_addopen.c
39441 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
39442 * posix/spawn_faction_destroy.c
39443 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
39444 path in all spawn_do_open actions.
39445 * posix/tst-spawn.c (do_test): Exercise the copy operation in
39446 posix_spawn_file_actions_addopen.
39447
39448 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
39449
39450 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
39451 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
39452 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
39453 conditional code always true.
39454 (__libc_vfork): New alias.
39455
39456 2014-06-11 Roland McGrath <roland@hack.frob.com>
39457
39458 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39459 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
39460
39461 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
39462
39463 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39464 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
39465
39466 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
39467 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
39468
39469 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39470 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
39471
39472 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
39473
39474 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
39475 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
39476 multiarch strcmp for PPC64.
39477 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
39478 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
39479 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
39480 multiarch optimizations.
39481 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39482 (__libc_ifunc_impl_list): Likewise.
39483
39484 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
39485
39486 * benchtests/scripts/validate_benchout.py: New script.
39487 * benchtests/Makefile (bench-func): Call it.
39488 * benchtests/scripts/benchout.schema.json: New file.
39489
39490 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
39491
39492 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
39493 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
39494 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
39495 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
39496 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
39497 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
39498 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
39499 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
39500 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
39501 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
39502 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
39503 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
39504 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
39505 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
39506 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
39507 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
39508 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
39509 Moved ...
39510 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
39511 ... here.
39512 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
39513 Moved ...
39514 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
39515 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
39516 Moved ...
39517 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
39518 ... here.
39519 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
39520 Moved ...
39521 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
39522 ... here.
39523 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
39524 Moved ...
39525 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
39526 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
39527 Moved ...
39528 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
39529 ... here.
39530 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
39531 Moved ...
39532 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
39533 ... here.
39534 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
39535 Moved ...
39536 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
39537 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
39538 Moved ...
39539 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
39540 ... here.
39541 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
39542 Moved ...
39543 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
39544 ... here.
39545 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
39546 Moved ...
39547 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
39548 ... here.
39549 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
39550 Moved ...
39551 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
39552 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
39553 Moved ...
39554 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
39555 ... here.
39556 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
39557 Moved ...
39558 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
39559 ... here.
39560 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
39561 Moved ...
39562 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
39563 ... here.
39564 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
39565 Moved ...
39566 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
39567 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
39568 Moved ...
39569 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
39570 ... here.
39571 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
39572 Moved ...
39573 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
39574 ... here.
39575 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
39576 Moved ...
39577 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
39578 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
39579 Moved ...
39580 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
39581 ... here.
39582 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
39583 Moved ...
39584 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
39585 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
39586 Moved ...
39587 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
39588 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
39589 Moved ...
39590 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
39591 ... here.
39592 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
39593 Moved ...
39594 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
39595 ... here.
39596 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
39597 Moved ...
39598 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
39599 ... here.
39600 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
39601 Moved ...
39602 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
39603 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
39604 Moved ...
39605 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
39606 ... here.
39607 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
39608 Moved ...
39609 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
39610 ... here.
39611 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
39612 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
39613 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
39614 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
39615 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
39616 Moved ...
39617 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
39618 ... here.
39619 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
39620 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
39621 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
39622 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
39623 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
39624 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
39625 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
39626 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
39627 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
39628 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
39629 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
39630 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
39631 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
39632 Moved ...
39633 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
39634 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
39635 Moved ...
39636 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
39637 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
39638 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
39639 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
39640 Moved ...
39641 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
39642 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
39643 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
39644 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
39645 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
39646 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
39647 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
39648
39649 2014-06-10 Wilco <wdijkstr@arm.com>
39650
39651 * math/test-fenv-return.c: New file.
39652 * math/Makefile: Add new test test-fenv-return.
39653
39654 2014-06-10 Joseph Myers <joseph@codesourcery.com>
39655
39656 [BZ #17042]
39657 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
39658 when x - 1 is zero.
39659 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
39660 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
39661 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
39662 0.0L for an argument of 1.0L.
39663 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
39664 Likewise.
39665 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
39666 value when x - 1 is zero.
39667 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
39668 * sysdeps/i386/fpu/libm-test-ulps: Update.
39669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39670
39671 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
39672
39673 [BZ #15119]
39674 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
39675
39676 2014-06-09 Roland McGrath <roland@hack.frob.com>
39677
39678 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
39679 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
39680
39681 2014-06-09 Roland McGrath <roland@hack.frob.com>
39682
39683 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39684 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
39685
39686 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39687 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
39688
39689 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39690 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
39691
39692 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39693 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
39694
39695 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
39696 if not already defined.
39697 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
39698 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
39699 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
39700 (TLS_INIT_TP): Use it.
39701 (TLS_DEFINE_INIT_TP): New macro.
39702 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
39703
39704 2014-06-09 Joseph Myers <joseph@codesourcery.com>
39705
39706 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
39707 constant.
39708 [POSIX] (IXANY): Likewise.
39709 [POSIX] (OLCUC): Likewise.
39710 [POSIX || POSIX2008] (CBAUD): Do not allow.
39711 [POSIX || POSIX2008] (DEFECHO): Likewise.
39712 [POSIX || POSIX2008] (ECHOCTL): Likewise.
39713 [POSIX || POSIX2008] (ECHOKE): Likewise.
39714 [POSIX || POSIX2008] (ECHOPRT): Likewise.
39715 [POSIX || POSIX2008] (EXTA): Likewise.
39716 [POSIX || POSIX2008] (EXTB): Likewise.
39717 [POSIX || POSIX2008] (FLUSHO): Likewise.
39718 [POSIX || POSIX2008] (LOBLK): Likewise.
39719 [POSIX || POSIX2008] (PENDIN): Likewise.
39720 [POSIX || POSIX2008] (SWTCH): Likewise.
39721 [POSIX || POSIX2008] (VDISCARD): Likewise.
39722 [POSIX || POSIX2008] (VDSUSP): Likewise.
39723 [POSIX || POSIX2008] (VLNEXT): Likewise.
39724 [POSIX || POSIX2008] (VREPRINT): Likewise.
39725 [POSIX || POSIX2008] (VSTATUS): Likewise.
39726 [POSIX || POSIX2008] (VWERASE): Likewise.
39727 (B*): Change to B[0123456789]*.
39728 * conform/data/time.h-data [POSIX || UNIX98]
39729 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
39730 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
39731 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
39732 [POSIX] (tm_*): Do not allow.
39733
39734 2014-06-07 Joseph Myers <joseph@codesourcery.com>
39735
39736 * Makefile (install): Don't set LANGUAGE.
39737 * Makefile.in (install): Likewise.
39738 * assert/Makefile (test-assert-ENV): Remove variable.
39739 (test-assert-perr-ENV): Likewise.
39740 * elf/Makefile (neededtest4-ENV): Likewise.
39741 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
39742 [$(cross-compiling) = no]: Don't set LANGUAGE.
39743 * io/ftwtest-sh (LANG): Remove variable.
39744 * libio/Makefile (tst-widetext-ENV): Likewise.
39745 * manual/install.texi (Running make install): Don't refer to
39746 environment settings for make install.
39747 * INSTALL: Regenerated.
39748 * nptl/tst-tls6.sh: Don't set LANG.
39749 * posix/globtest.sh (LANG): Remove variable.
39750 * string/Makefile (tester-ENV): Likewise.
39751 (inl-tester-ENV): Likewise.
39752 (noinl-tester-ENV): Likewise.
39753 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
39754 [$(cross-compiling) = no]: Don't set LANGUAGE.
39755 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
39756 without explicit environment settings.
39757
39758 2014-06-06 Roland McGrath <roland@hack.frob.com>
39759
39760 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
39761 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
39762 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
39763 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
39764
39765 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
39766
39767 * crypt/crypt-private.h [DOS]: Add some includes taken from the
39768 other files in the crypt directory.
39769 * crypt/crypt.c: Remove duplicate includes.
39770 * crypt/crypt-entry.c: Likewise.
39771 * crypt/crypt_util.c: Likewise.
39772
39773 2014-06-06 Joseph Myers <joseph@codesourcery.com>
39774
39775 * Makeconfig (run-program-env): New variable.
39776 (run-program-prefix-before-env): Likewise.
39777 (run-program-prefix-after-env): Likewise.
39778 (run-program-prefix): Define in terms of new variables.
39779 (built-program-cmd-before-env): New variable.
39780 (built-program-cmd-after-env): Likewise.
39781 (built-program-cmd): Define in terms of new variables.
39782 (test-program-prefix-before-env): New variable.
39783 (test-program-prefix-after-env): Likewise.
39784 (test-program-prefix): Define in terms of new variables.
39785 (test-program-cmd-before-env): New variable.
39786 (test-program-cmd-after-env): Likewise.
39787 (test-program-cmd): Define in terms of new variables.
39788 * Rules (make-test-out): Use $(run-program-env).
39789 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
39790 (help): Do not mention environment variables. Mention
39791 --timeoutfactor option.
39792 (timeoutfactor): New variable.
39793 (blacklist_exports): Remove function.
39794 (exports): Remove variable.
39795 (command): Do not include ${exports}.
39796 * manual/install.texi (Configuring and compiling): Do not mention
39797 test wrappers preserving environment variables. Mention that last
39798 assignment to a variable must take precedence.
39799 * INSTALL: Regenerated.
39800 * benchtests/Makefile (run-bench): Use $(run-program-env).
39801 * catgets/Makefile ($(objpfx)test1.cat): Use
39802 $(built-program-cmd-before-env), $(run-program-env) and
39803 $(built-program-cmd-after-env).
39804 ($(objpfx)test2.cat): Do not specify environment variables
39805 explicitly.
39806 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
39807 $(run-program-env) and $(built-program-cmd-after-env).
39808 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
39809 $(run-program-env) and $(test-program-cmd-after-env).
39810 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
39811 explicitly.
39812 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
39813 run_program_env and test_program_cmd_after_env arguments.
39814 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
39815 * elf/tst-pathopt.sh: Use run_program_env argument.
39816 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
39817 $(test-wrapper-env) and $(run-program-env).
39818 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
39819 run_program_env arguments.
39820 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
39821 * intl/Makefile ($(objpfx)tst-gettext.out): Use
39822 $(test-program-prefix-before-env), $(run-program-env) and
39823 $(test-program-prefix-after-env).
39824 ($(objpfx)tst-gettext2.out): Likewise.
39825 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
39826 run_program_env and test_program_prefix_after_env arguments.
39827 * intl/tst-gettext2.sh: Likewise.
39828 * intl/tst-gettext4.sh: Do not set environment variables
39829 explicitly.
39830 * intl/tst-gettext6.sh: Likewise.
39831 * intl/tst-translit.sh: Likewise.
39832 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
39833 $(test-program-prefix-before-env), $(run-program-env) and
39834 $(test-program-prefix-after-env).
39835 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
39836 run_program_env and test_program_prefix_after_env arguments.
39837 * math/Makefile (run-regen-ulps): Use $(run-program-env).
39838 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
39839 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
39840 explicitly with each use of ${test_wrapper_env}.
39841 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
39842 $(test-program-prefix-before-env), $(run-program-env) and
39843 $(test-program-prefix-after-env).
39844 * posix/tst-getconf.sh: Do not set environment variables
39845 explicitly.
39846 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
39847 run_program_env and test_program_prefix_after_env arguments.
39848 * stdio-common/tst-printf.sh: Do not set environment variables
39849 explicitly.
39850 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
39851 $(test-program-prefix-before-env), $(run-program-env) and
39852 $(test-program-prefix-after-env).
39853 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
39854 run_program_env and test_program_prefix_after_env arguments.
39855 Split $test calls into $test_pre and $test.
39856 * timezone/Makefile (build-testdata): Use
39857 $(built-program-cmd-before-env), $(run-program-env) and
39858 $(built-program-cmd-after-env).
39859
39860 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39861
39862 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
39863 strlen for non SHARED builds.
39864
39865 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
39866
39867 * nptl/allocatestack.c (check_list): Inlined function...
39868 (__reclaim_stacks): ... here.
39869
39870 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
39871
39872 [BZ #15698]
39873 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
39874 memory overrun.
39875
39876 2014-06-05 Joseph Myers <joseph@codesourcery.com>
39877
39878 * Rules (make-test-out): Include
39879 LOCPATH=$(common-objpfx)localedata in default environment.
39880 * debug/Makefile (tst-chk1-ENV): Remove variable.
39881 (tst-chk2-ENV): Likewise.
39882 (tst-chk3-ENV): Likewise.
39883 (tst-chk4-ENV): Likewise.
39884 (tst-chk5-ENV): Likewise.
39885 (tst-chk6-ENV): Likewise.
39886 (tst-lfschk1-ENV): Likewise.
39887 (tst-lfschk2-ENV): Likewise.
39888 (tst-lfschk3-ENV): Likewise.
39889 (tst-lfschk4-ENV): Likewise.
39890 (tst-lfschk5-ENV): Likewise.
39891 (tst-lfschk6-ENV): Likewise.
39892 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
39893 (tst-iconv7-ENV): Likewise.
39894 * intl/Makefile (LOCPATH-ENV): Likewise.
39895 (tst-codeset-ENV): Likewise.
39896 (tst-gettext3-ENV): Likewise.
39897 (tst-gettext5-ENV): Likewise.
39898 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
39899 (tst-fopenloc-ENV): Likewise.
39900 (tst-fgetws-ENV): Remove variable.
39901 (tst-ungetwc1-ENV): Likewise.
39902 (tst-ungetwc2-ENV): Likewise.
39903 (bug-ungetwc2-ENV): Likewise.
39904 (tst-swscanf-ENV): Likewise.
39905 (bug-ftell-ENV): Likewise.
39906 (tst-fgetwc-ENV): Likewise.
39907 (tst-fseek-ENV): Likewise.
39908 (tst-ftell-partial-wide-ENV): Likewise.
39909 (tst-ftell-active-handler-ENV): Likewise.
39910 (tst-ftell-append-ENV): Likewise.
39911 * posix/Makefile (tst-fnmatch-ENV): Likewise.
39912 (tst-regexloc-ENV): Likewise.
39913 (bug-regex1-ENV): Likewise.
39914 (tst-regex-ENV): Likewise.
39915 (tst-regex2-ENV): Likewise.
39916 (bug-regex5-ENV): Likewise.
39917 (bug-regex6-ENV): Likewise.
39918 (bug-regex17-ENV): Likewise.
39919 (bug-regex18-ENV): Likewise.
39920 (bug-regex19-ENV): Likewise.
39921 (bug-regex20-ENV): Likewise.
39922 (bug-regex22-ENV): Likewise.
39923 (bug-regex23-ENV): Likewise.
39924 (bug-regex25-ENV): Likewise.
39925 (bug-regex26-ENV): Likewise.
39926 (bug-regex30-ENV): Likewise.
39927 (bug-regex32-ENV): Likewise.
39928 (bug-regex33-ENV): Likewise.
39929 (bug-regex34-ENV): Likewise.
39930 (bug-regex35-ENV): Likewise.
39931 (tst-rxspencer-ENV): Likewise.
39932 (tst-rxspencer-no-utf8-ENV): Likewise.
39933 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
39934 (tst-sscanf-ENV): Likewise.
39935 (tst-swprintf-ENV): Likewise.
39936 (tst-swscanf-ENV): Likewise.
39937 (test-vfprintf-ENV): Likewise.
39938 (scanf13-ENV): Likewise.
39939 (bug14-ENV): Likewise.
39940 (tst-grouping-ENV): Likewise.
39941 * stdlib/Makefile (tst-strtod-ENV): Likewise.
39942 (tst-strtod3-ENV): Likewise.
39943 (tst-strtod4-ENV): Likewise.
39944 (tst-strtod5-ENV): Likewise.
39945 (testmb2-ENV): Likewise./
39946 * string/Makefile (tst-strxfrm-ENV): Likewise.
39947 (tst-strxfrm2-ENV): Likewise.
39948 (bug-strcoll1-ENV): Likewise.
39949 (test-strcasecmp-ENV): Likewise.
39950 (test-strncasecmp-ENV): Likewise.
39951 * time/Makefile (tst-strptime-ENV): Likewise.
39952 (tst-ftime_l-ENV): Likewise.
39953 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
39954 (tst-mbrtowc-ENV): Likewise.
39955 (tst-wcrtomb-ENV): Likewise.
39956 (tst-mbrtowc2-ENV): Likewise.
39957 (tst-c16c32-1-ENV): Likewise.
39958 (tst-mbsnrtowcs-ENV): Likewise.
39959
39960 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
39961
39962 * manual/resource.texi (How to get information about the memory
39963 subsystem?): Fix typo.
39964 Reported by Peon de la Parra Ivan <peon@keba.com>
39965
39966 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
39967
39968 [BZ #16882]
39969 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
39970 (pthread_spin_lock): Branch out of spin loop to proper location.
39971 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
39972 (pthread_spin_lock): Likewise.
39973
39974 * nptl/tst-spin4.c: New test.
39975 * nptl/Makefile (tests): Add tst-spin4.
39976
39977 2014-06-03 Andreas Schwab <schwab@suse.de>
39978
39979 [BZ #15946]
39980 * resolv/res_send.c (send_dg): Reload file descriptor after
39981 calling reopen.
39982
39983 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
39984
39985 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
39986
39987 2014-06-03 Richard Henderson <rth@redhat.com>
39988
39989 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
39990 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
39991 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
39992 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
39993 in the SAVE_PID block.
39994 (__libc_vfork): New alias.
39995 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
39996
39997 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
39998 child in registers, not on the stack. Remove RESET_PID conditionals.
39999 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
40000
40001 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
40002
40003 * sysdeps/aarch64/libm-test-ulps: Regenerate.
40004
40005 2014-06-03 Wilco <wdijkstr@arm.com>
40006
40007 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
40008 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
40009 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
40010 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
40011 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
40012 Likewise.
40013
40014 2014-06-03 Wilco <wdijkstr@arm.com>
40015
40016 * sysdeps/aarch64/fpu/math_private.h
40017 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
40018 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
40019 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
40020 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
40021 Fix declarations.
40022
40023 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
40024
40025 * crypt/crypt-private.h: Include ufc-crypt.h.
40026 (__b64_from_24bit): Declare extern.
40027 * crypt/crypt_util.c(__b64_from_24bit): New function.
40028 (b64t): New static const variable.
40029 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
40030 (b64t): Remove variable.
40031 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
40032 * crypt/sha256-crypt.c: Include crypt-private.h.
40033 (b64t): Remove variable.
40034 (__sha256_crypt_r): Remove b64_from_24bit and replace
40035 with __b64_from_24bit.
40036 * crypt/sha512-crypt.c: Likewise.
40037
40038 2014-06-02 Roland McGrath <roland@hack.frob.com>
40039
40040 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
40041 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
40042 Label the code __libc_vfork rather than __vfork.
40043 [!NOT_IN_libc] (vfork): Define as weak alias.
40044 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
40045 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
40046 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
40047
40048 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
40049
40050 * malloc/malloc.c (malloc_info): Fix format specifier for
40051 n_mmaps.
40052
40053 2014-06-02 Wilco <wdijkstr@arm.com>
40054
40055 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
40056 FPCR write.
40057
40058 2014-06-02 Wilco <wdijkstr@arm.com>
40059
40060 [BZ #17009]
40061 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
40062 Rewrite to reduce FPCR/FPSR accesses.
40063
40064 2014-06-01 David S. Miller <davem@davemloft.net>
40065
40066 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40067
40068 2014-05-31 David S. Miller <davem@davemloft.net>
40069
40070 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
40071 to occur in round to nearest mode when |x| >= 2.0
40072
40073 2014-05-30 Richard Henderson <rth@twiddle.net>
40074
40075 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
40076 (PSEUDO_RET_NOERRNO): Remove.
40077 (ret): Don't redefine.
40078 (ret_NOERRNO): Define in terms of ret.
40079 (ret_ERRVAL): Likewise.
40080
40081 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
40082 use of PSEUDO_RET; perform the error check directly.
40083
40084 2014-05-30 Marko Myllynen <myllynen@redhat.com>
40085
40086 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
40087 with __int128_t.
40088
40089 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
40090
40091 * malloc/malloc (malloc_info): Fix formatting.
40092
40093 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
40094 Roland McGrath <roland@hack.frob.com>
40095
40096 * malloc/malloc (malloc_info): Also print mmapped statistics.
40097
40098 2014-05-30 Roland McGrath <roland@hack.frob.com>
40099
40100 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
40101 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
40102
40103 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
40104
40105 * malloc/malloc.c (malloc_info): Inline mi_arena.
40106
40107 2014-05-29 Richard Henderson <rth@twiddle.net>
40108
40109 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
40110 Remove comma before expanding ASM_ARGS_##nr.
40111 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
40112 Make _x0 a strict output; make _x8 a strict input; adjust expansion
40113 of ASM_ARGS_##nr.
40114 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
40115 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
40116 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
40117 (ASM_ARGS_1): Add leading comma.
40118
40119 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
40120 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
40121 to __errno_location.
40122 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
40123 Remove the expected plt for __errno_location.
40124
40125 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
40126 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
40127 call to __read_tp.
40128
40129 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
40130 Always allocate 64 bytes of stack frame. Use ldp/stp to create
40131 it and break it down.
40132 (DOCARGS_0, DOCARGS_1): Do nothing.
40133 (DOCARGS_2): Update to store into the new stack frame.
40134 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
40135 (UNDOCARGS_1): Update to restore from the new stack frame.
40136 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
40137 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
40138
40139 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
40140 (SINGLE_THREAD_P): New parameter for result regno.
40141 (PSEUDO): Update to match; use cbz instead of beq.
40142
40143 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
40144 Use ENTRY to define the _nocancel entry point. Share the syscall
40145 and syscall error check paths with the cancel path.
40146 (PSEUDO_END): New.
40147
40148 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
40149 whitespace; tabs before and after asm mnemonics.
40150
40151 2014-05-29 Eric Wong <normalperson@yhbt.net>
40152
40153 [BZ #15132]
40154 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40155 Call fstat64 or stat64 internally, depending on arguments passed.
40156 Replace stat buffer argument with file descriptor argument.
40157 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
40158 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
40159 Pass fd to __internal_statvfs instead of calling fstat64.
40160 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
40161 Pass fd to __internal_statvfs64 instead of calling fstat64.
40162 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
40163 Pass -1 to __internal_statvfs instead of calling stat64.
40164 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
40165 Pass -1 to __internal_statvfs64 instead of calling stat64.
40166
40167 2014-05-28 Roland McGrath <roland@hack.frob.com>
40168
40169 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
40170 that was previously under [RESET_PID].
40171 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
40172
40173 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
40174 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
40175
40176 2014-05-27 Roland McGrath <roland@hack.frob.com>
40177
40178 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
40179
40180 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
40181 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
40182
40183 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
40184
40185 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
40186
40187 2014-05-27 Andreas Schwab <schwab@suse.de>
40188
40189 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
40190 TLS_INIT_TP macro.
40191 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
40192 * elf/rtld.c (init_tls, dl_main): Likewise.
40193 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
40194 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
40195 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
40196 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
40197 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
40198 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
40199 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
40200 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
40201 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
40202 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
40203 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
40204 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
40205 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
40206 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
40207 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
40208 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
40209 * sysdeps/generic/tls.h: Update description.
40210
40211 2014-05-27 Will Newton <will.newton@linaro.org>
40212
40213 [BZ #16990]
40214 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
40215 and restore r2 rather than just restoring.
40216
40217 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
40218
40219 [BZ #16724]
40220 * libio/tst-ftell-append.c: New test case.
40221 * libio/Makefile (tests): Add test case.
40222 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
40223 append mode.
40224 * libio/wfileops.c (do_ftell_wide): Likewise.
40225
40226 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40227
40228 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40229
40230 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
40231 ...
40232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
40233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
40234 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
40235 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
40236 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
40237 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
40238 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
40239 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
40240 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
40241 Moved ...
40242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
40243 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
40244 Moved ...
40245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
40246 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
40247 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
40248 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
40249 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
40250 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
40251 ...
40252 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
40253 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
40254 Moved ...
40255 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
40256 here.
40257 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
40258 ...
40259 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
40260 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
40261 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
40262
40263 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
40264 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
40265 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
40266 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
40267
40268 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
40269 merge into ...
40270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
40271 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
40272 ...
40273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
40274 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
40275 ...
40276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
40277 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
40278 Moved ...
40279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
40280 here.
40281 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
40282 Moved ...
40283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
40284 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
40285 Moved ...
40286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
40287
40288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
40289 conditional [RESET_PID].
40290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
40291 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
40292 removed.
40293 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
40294 removed.
40295
40296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
40297 <tcb-offsets.h>.
40298 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
40299 (__libc_vfork): New strong alias.
40300 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
40301 removed.
40302 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
40303 Removed.
40304
40305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
40306 <tcb-offsets.h>.
40307 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
40308 (__libc_vfork): New strong alias.
40309 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
40310 removed.
40311 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
40312 removed.
40313
40314 2014-05-26 Carlos O'Donell <carlos@redhat.com>
40315
40316 * malloc/malloc.c (mi_arena): New function.
40317 (malloc_info): Remove nested function mi_arena. Call non-nosted
40318 function mi_arena.
40319
40320 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40321
40322 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
40323 by insrwi.
40324 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
40325 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
40326 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
40327 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
40328 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
40329 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
40330 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
40331
40332 2014-05-26 Andreas Schwab <schwab@suse.de>
40333
40334 [BZ #16984]
40335 * locale/programs/repertoire.c (repertoire_read): Add slash
40336 between I18NPATH element and file name.
40337 * locale/programs/locfile.c (locfile_read): Likewise.
40338
40339 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
40340
40341 * nptl/pthread_mutexattr_settype.c
40342 (__pthread_mutexattr_settype):
40343 Disable lock elision for PTHREAD_MUTEX_NORMAL.
40344
40345 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
40346
40347 * nptl/tst-mutex5 (do_test):
40348 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
40349
40350 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40351
40352 * benchtests/README: Document 'init' directive.
40353 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
40354 BENCH_INIT.
40355 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
40356 (parse_file): Recognize 'init' directive.
40357
40358 2014-05-26 Kyle McMartin <kyle@redhat.com>
40359
40360 [BZ #16796]
40361 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
40362 alignment of struct pthread.
40363
40364 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40365
40366 [BZ #16878]
40367 * nscd/netgroupcache.c (addgetnetgrentX): Look for
40368 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
40369 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
40370 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
40371
40372 2014-05-25 Richard Henderson <rth@twiddle.net>
40373
40374 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
40375 (SINGLE_THREAD_P_PIC): Remove.
40376 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
40377 (SINGLE_THREAD_P_PIC): Remove.
40378
40379 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
40380 branch to syscall error ...
40381 (PSEUDO): ... here.
40382 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
40383 from __local_syscall_error to .Lsyscall_error.
40384 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
40385 (SYSCALL_ERROR): Update label name.
40386
40387 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
40388 Do not use DOARGS/UNDOARGS.
40389 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
40390 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
40391 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
40392 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
40393 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
40394
40395 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
40396 block comment.
40397
40398 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
40399 define if !NOT_IN_libc.
40400 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
40401 define with non-default symbol versions.
40402
40403 2014-05-23 Richard Henderson <rth@twiddle.net>
40404
40405 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
40406 (vfork, __vfork): Define via compat_symbol.
40407
40408 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
40409 [!HAVE_IFUNC] (vfork_compat): Remove.
40410 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
40411
40412 2014-05-23 Joseph Myers <joseph@codesourcery.com>
40413
40414 [BZ #16978]
40415 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
40416 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
40417 variable.
40418
40419 2014-05-23 Richard Henderson <rth@twiddle.net>
40420
40421 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
40422 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
40423 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
40424 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
40425
40426 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
40427 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
40428 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
40429 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
40430 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
40431 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
40432 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
40433 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
40434 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
40435 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
40436 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
40437 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
40438 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
40439 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
40440 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
40441 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
40442 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
40443 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
40444 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
40445 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
40446 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
40447 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
40448 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
40449 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
40450 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
40451 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
40452 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
40453 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
40454 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
40455 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
40456 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
40457 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
40458 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
40459 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
40460 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
40461 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
40462 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
40463 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
40464 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
40465 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
40466 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
40467 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
40468 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
40469 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
40470 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
40471 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
40472 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
40473 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
40474 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
40475 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
40476 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
40477 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
40478 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
40479 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
40480 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
40481 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
40482
40483 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
40484 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
40485 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
40486 before exiting on error.
40487 (__libc_vfork): New strong alias.
40488 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
40489 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
40490
40491 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
40492 that was previously under [RESET_PID].
40493 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
40494
40495 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
40496
40497 2014-05-23 Joseph Myers <joseph@codesourcery.com>
40498
40499 [BZ #16977]
40500 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
40501 value when x - 1 is zero.
40502 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
40503 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
40504 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
40505 0.0L for an argument of 1.0L.
40506 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
40507 Likewise.
40508 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
40509 value when x - 1 is zero.
40510 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
40511 * sysdeps/i386/fpu/libm-test-ulps: Update.
40512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40513
40514 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
40515
40516 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
40517 alphasort and versionsort.
40518
40519 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40520
40521 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
40522 macro.
40523 [copysignf]: Likewise.
40524
40525 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
40526
40527 * crypt/md5-crypt.c: Fix formatting.
40528
40529 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
40530
40531 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
40532 (b64_from_24bit): New function.
40533
40534 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40535
40536 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
40537 libc_hidden_builtin_def to ifunc.
40538 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
40539 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
40540
40541 2014-05-21 Roland McGrath <roland@hack.frob.com>
40542
40543 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
40544 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
40545
40546 2014-05-21 Joseph Myers <joseph@codesourcery.com>
40547
40548 * nscd/Depend (linuxthreads): Remove.
40549 (nptl): Add.
40550 * resolv/Depend (linuxthreads): Remove.
40551 * rt/Depend (linuxthreads): Remove.
40552
40553 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
40554 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
40555 $(common-objpfx)elf/.
40556 (link-libc-before-gnulib): Likewise.
40557 (elfobjdir): Remove variable.
40558 * Makefile (install): Use $(elf-objpfx) instead of
40559 $(common-objpfx)elf/.
40560 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
40561 $(elfobjdir)/.
40562 (link-libc-deps): Likewise.
40563 ($(common-objpfx)libc.so): Likewise.
40564 ($(common-objpfx)linkobj/libc.so): Likewise.
40565 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
40566 instead of $(common-objpfx)elf/.
40567 (symbolic-link-list): Likewise.
40568 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
40569 [$(cross-compiling) = no]: Likewise.
40570 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
40571 $(elfobjdir)/.
40572 (static-gnulib-arch): Likewise.
40573 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
40574 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
40575 $(common-objpfx)elf/.
40576
40577 2014-05-21 Richard Henderson <rth@redhat.com>
40578
40579 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
40580 (SINGLE_THREAD_P): Use the correct width load. Fold
40581 into the ldr offset.
40582
40583 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
40584 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
40585
40586 2014-05-20 Joseph Myers <joseph@codesourcery.com>
40587
40588 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
40589 (libgcc_s_resume): Use __attribute_used__.
40590 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
40591 Likewise.
40592
40593 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40594
40595 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
40596 optimization when used with float constants.
40597
40598 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40599
40600 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
40601
40602 [BZ #16915]
40603 * locale/nl_langinfo_l.c: Make direct reference to every
40604 _nl_current_CATEGORY symbol.
40605 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
40606 (tests-static): Add tst-langinfo-static.
40607 (tests-special): Add tst-langinfo-static.out.
40608 ($(objpfx)tst-langinfo.out): Redirect output.
40609 ($(objpfx)tst-langinfo-static.out): New.
40610 * localedata/tst-langinfo.sh: Send output to stdout.
40611 * localedata/tst-langinfo-static.c: New file.
40612
40613 [BZ #16965]
40614 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
40615 when the shift amount is modulo the limb size.
40616
40617 2014-05-20 Richard Henderson <rth@redhat.com>
40618
40619 [BZ #16967]
40620 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
40621 Change type of sa_flags from unsigned int to int.
40622
40623 [BZ #16966]
40624 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
40625
40626 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
40627
40628 2014-05-20 Will Newton <will.newton@linaro.org>
40629
40630 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
40631 Test the return value of the system call in the nocancel case.
40632
40633 2014-05-20 Will Newton <will.newton@linaro.org>
40634 Yvan Roux <yvan.roux@linaro.org>
40635
40636 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
40637 #include of asm/ptrace.h.
40638 (PTRACE_GET_THREAD_AREA): Remove #undef.
40639 (PTRACE_GETHBPREGS): Likewise.
40640 (PTRACE_SETHBPREGS): Likewise.
40641 (struct user_regs_struct): New structure.
40642 (struct user_fpsimd_struct): New structure.
40643 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
40644 #include of asm/ptrace.h and second #include of sys/user.h.
40645 (PTRACE_GET_THREAD_AREA): Remove #undef.
40646 (PTRACE_GETHBPREGS): Likewise.
40647 (PTRACE_SETHBPREGS): Likewise.
40648 (ELF_NGREG): Use new struct user_regs_struct.
40649 (elf_fpregset_t): Use new struct user_fpsimd_struct.
40650
40651 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40652
40653 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
40654 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
40655
40656 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
40657
40658 [BZ #16958]
40659 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
40660 membar to avoid block loads/stores to overlap previous stores.
40661
40662 2014-05-17 Richard Henderson <rth@redhat.com>
40663
40664 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
40665 Create the __##syscall_name##_nocancel entry point.
40666 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
40667 Remove; let the sysdep-cancel.h code create it.
40668
40669 2014-05-17 David S. Miller <davem@davemloft.net>
40670
40671 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
40672 Protect with __USE_GNU.
40673 (TIOCSET_TEMPT): Likewise.
40674 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
40675 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
40676 these are already provided in bits/ioctl-types.h
40677
40678 2014-05-16 Roland McGrath <roland@hack.frob.com>
40679
40680 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
40681 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
40682
40683 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
40684 Use wait4 regardless of [__NR_waitpid].
40685
40686 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
40687
40688 PR libgcc/60166
40689 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
40690 (_FP_NANSIGN_Q): Set the quiet bit.
40691
40692 2014-05-16 Joseph Myers <joseph@codesourcery.com>
40693
40694 * benchtests/Makefile
40695 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
40696 not $(common-objpfx)math/libm.so.
40697 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
40698 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
40699 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
40700 $(common-objpfx)dlfcn/libdl.so.
40701 ($(objpfx)tst-audit8): Depend on $(libm), not
40702 $(common-objpfx)math/libm.so.
40703 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
40704 not $(common-objpfx)dlfcn/libdl.so.
40705 * math/Makefile
40706 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
40707 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
40708 [$(build-shared) = yes].
40709 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
40710 $(common-objpfx)nptl/libpthread.so.
40711 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
40712 $(common-objpfx)math/libm.so$(libm.so-version) or
40713 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
40714 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
40715 $(common-objpfx)dlfcn/libdl.so.
40716 * setjmp/Makefile (link-libm): Remove variable.
40717 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
40718 * stdio-common/Makefile (link-libm): Remove variable.
40719 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
40720 * stdlib/Makefile (link-libm): Remove variable.
40721 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
40722 ($(objpfx)tst-strtod-round): Likewise.
40723 ($(objpfx)tst-tininess): Likewise.
40724 ($(objpfx)tst-strtod-underflow): Likewise.
40725 ($(objpfx)tst-strtod6): Likewise.
40726 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
40727 $(libdl), not $(common-objpfx)nptl/libpthread.so and
40728 $(common-objpfx)dlfcn/libdl.so.
40729
40730 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40731
40732 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
40733 BSD terminal modes definitions.
40734
40735 2014-05-16 Roland McGrath <roland@hack.frob.com>
40736
40737 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
40738 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
40739
40740 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
40741 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
40742 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
40743 Don't do #include_next.
40744 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
40745 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
40746 Don't do #include_next.
40747 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
40748 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
40749 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
40750 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
40751
40752 2014-05-16 Allan McRae <allan@archlinux.org>
40753
40754 * po/sv.po: Update Swedish translation from translation project.
40755
40756 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
40757 in sed expression.
40758
40759 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
40760
40761 [BZ #16917]
40762 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
40763 errno if the TIOCGPTN ioctl fails with an error different than
40764 EINVAL.
40765 * login/tst-ptsname.c: New file.
40766 * login/Makefile (tests): Add tst-ptsname.
40767
40768 [BZ #16943]
40769 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
40770 and prlimit64.
40771
40772 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
40773
40774 [BZ #16849]
40775 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
40776 herrno to return EAI_AGAIN.
40777
40778 2014-05-14 Roland McGrath <roland@hack.frob.com>
40779
40780 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
40781 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
40782 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
40783 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
40784 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
40785 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
40786 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
40787 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
40788 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
40789 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
40790 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
40791 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
40792 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
40793 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
40794 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
40795 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
40796 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
40797 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
40798 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
40799 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
40800 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
40801 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
40802 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
40803 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
40804 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
40805 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
40806 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
40807 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
40808 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
40809 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
40810 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
40811 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
40812 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
40813 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
40814 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
40815 Moved ...
40816 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
40817 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
40818 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
40819 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
40820 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
40821 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
40822 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
40823 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
40824 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
40825 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
40826 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
40827 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
40828 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
40829 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
40830 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
40831 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
40832 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
40833 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
40834 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
40835 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
40836 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
40837 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
40838 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
40839 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
40840 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
40841 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
40842 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
40843 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
40844 Moved ...
40845 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
40846 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
40847 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
40848 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
40849 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
40850 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
40851 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
40852 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
40853 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
40854 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
40855 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
40856 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
40857 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
40858 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
40859 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
40860 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
40861 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
40862 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
40863 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
40864 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
40865 Moved ...
40866 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
40867 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
40868 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
40869
40870 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
40871 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
40872 (libpthread-sysdep_routines): Add elision-related stuff here instead.
40873 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
40874 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
40875 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
40876 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
40877 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
40878 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
40879 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
40880 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
40881 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
40882 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
40883 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
40884 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
40885 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
40886 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
40887 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
40888 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
40889 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
40890 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
40891 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
40892 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
40893 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
40894 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
40895 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
40896 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
40897 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
40898 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
40899 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
40900 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
40901
40902 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
40903 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
40904
40905 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
40906 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
40907 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
40908 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
40909 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
40910 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
40911 Moved ...
40912 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
40913 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
40914 Moved ...
40915 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
40916 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
40917 Moved ...
40918 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
40919 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
40920 Moved ...
40921 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
40922 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
40923 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
40924 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
40925 Moved ...
40926 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
40927 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
40928 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
40929 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
40930 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
40931 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
40932 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
40933 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
40934 Moved ...
40935 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
40936 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
40937 Moved ...
40938 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
40939 ... here.
40940 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
40941 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
40942 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
40943 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
40944 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
40945 Moved ...
40946 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
40947 ... here.
40948 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
40949 Moved ...
40950 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
40951 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
40952 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
40953 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
40954 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
40955 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
40956 Moved ...
40957 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
40958 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
40959 Moved ...
40960 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
40961 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
40962 Moved ...
40963 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
40964 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
40965 Moved ...
40966 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
40967 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
40968 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
40969 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
40970 Moved ...
40971 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
40972 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
40973 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
40974 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
40975 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
40976 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
40977 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
40978 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
40979 Moved ...
40980 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
40981 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
40982 Moved ...
40983 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
40984 ... here.
40985 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
40986 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
40987 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
40988 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
40989 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
40990 Moved ...
40991 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
40992 ... here.
40993 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
40994 Moved ...
40995 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
40996 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
40997 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
40998 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
40999 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
41000 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
41001 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
41002 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
41003 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
41004 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
41005 Moved ...
41006 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
41007 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
41008 Moved ...
41009 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
41010 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
41011 Moved ...
41012 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
41013 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
41014 Moved ...
41015 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
41016 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
41017 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
41018 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
41019 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
41020 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
41021 Moved ...
41022 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
41023 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
41024 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
41025 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
41026 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
41027 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
41028 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
41029 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
41030 Moved ...
41031 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
41032 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
41033 Moved ...
41034 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
41035 ... here.
41036 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
41037 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
41038 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
41039 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
41040 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
41041 Moved ...
41042 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
41043 ... here.
41044 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
41045 Moved ...
41046 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
41047 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
41048 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
41049 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
41050 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
41051 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
41052 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
41053 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
41054 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
41055 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
41056 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
41057
41058 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
41059 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
41060
41061 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
41062 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
41063
41064 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
41065 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
41066 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
41067 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
41068 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
41069 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
41070 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
41071 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
41072 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
41073 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
41074 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
41075 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
41076 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
41077 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
41078 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
41079 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
41080 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
41081 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
41082 Moved ...
41083 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
41084 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
41085 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
41086 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
41087 Moved ...
41088 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
41089 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
41090 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
41091 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
41092 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
41093 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
41094 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
41095 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
41096 Moved ...
41097 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
41098 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
41099 Moved ...
41100 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
41101 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
41102 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
41103 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
41104 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
41105 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
41106 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
41107 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
41108 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
41109 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
41110 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
41111 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
41112 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
41113 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
41114 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
41115 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
41116 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
41117
41118 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
41119 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
41120 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
41121 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
41122 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
41123
41124 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
41125 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
41126 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
41127 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
41128 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
41129 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
41130 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
41131 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
41132 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
41133 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
41134
41135 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
41136 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
41137
41138 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
41139 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
41140 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
41141 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
41142 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
41143 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
41144 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
41145 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
41146 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
41147 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
41148 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
41149 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
41150 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
41151 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
41152 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
41153 Update #include.
41154 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
41155 Likewise.
41156 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
41157 Likewise.
41158 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
41159 Likewise.
41160 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
41161 Likewise.
41162 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
41163 Likewise.
41164 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
41165 Likewise.
41166 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
41167 Likewise.
41168 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
41169 Likewise.
41170 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
41171 Likewise.
41172 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
41173 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
41174 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
41175 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
41176 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
41177 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
41178 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
41179 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
41180 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
41181 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
41182 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
41183 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
41184 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
41185 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
41186 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
41187
41188 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
41189 that was previously under [RESET_PID].
41190 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
41191 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
41192 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
41193
41194 * sysdeps/i386/nptl/Implies: New file.
41195 * sysdeps/x86_64/nptl/Implies: New file.
41196 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
41197 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
41198 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
41199 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
41200
41201 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
41202 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
41203 (__libc_vfork): New strong alias.
41204 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
41205 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
41206
41207 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
41208 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
41209 (__libc_vfork): New strong alias.
41210 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
41211 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
41212
41213 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
41214 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
41215 (__libc_vfork): New strong alias.
41216 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
41217 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
41218 * nptl/pt-vfork.c: New file.
41219 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
41220 (libpthread: GLIBC_2.20): New version set (empty).
41221
41222 2014-05-14 Will Newton <will.newton@linaro.org>
41223
41224 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
41225 rather than #if.
41226
41227 2014-05-14 Joseph Myers <joseph@codesourcery.com>
41228
41229 [BZ #16564]
41230 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
41231 arguments with exponent 65 or above.
41232 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
41233 arguments 0x1p113L or above.
41234 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
41235 to arguments 0x1p107L or above.
41236 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
41237 positive arguments with exponent 65 or above.
41238 * math/auto-libm-test-in: Add more tests of log1p.
41239 * math/auto-libm-test-out: Regenerated.
41240
41241 [BZ #16928]
41242 * math/s_cacos.c (__cacos): Ensure zero real part of result from
41243 non-finite arguments is +0.
41244 * math/s_cacosf.c (__cacosf): Likewise.
41245 * math/s_cacosl.c (__cacosl): Likewise.
41246 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
41247 * sysdeps/i386/fpu/libm-test-ulps: Update.
41248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41249
41250 [BZ #16927]
41251 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
41252 value.
41253 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
41254 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
41255 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
41256 for explicit high bit of mantissa when testing for argument equal
41257 to 1.
41258 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
41259 * sysdeps/i386/fpu/libm-test-ulps: Update.
41260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41261
41262 [BZ #16516]
41263 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
41264 (__erf): Scale by 16 instead of 8 in potentially underflowing
41265 case. Ensure exception if result actually underflows.
41266 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
41267 (__erff): Scale by 16 instead of 8 in potentially underflowing
41268 case. Ensure exception if result actually underflows.
41269 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
41270 (efx8): Remove variable.
41271 (__erfl): Scale by 16 instead of 8 in potentially underflowing
41272 case. Ensure exception if result actually underflows.
41273 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
41274 (efx8): Remove variable.
41275 (__erfl): Scale by 16 instead of 8 in potentially underflowing
41276 case. Ensure exception if result actually underflows.
41277 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
41278 (efx8): Remove variable.
41279 (__erfl): Scale by 16 instead of 8 in potentially underflowing
41280 case. Ensure exception if result actually underflows.
41281 * math/auto-libm-test-in: Add more tests of erf.
41282 * math/auto-libm-test-out: Regenerated.
41283
41284 2014-05-14 Andreas Schwab <schwab@suse.de>
41285
41286 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
41287 Remove code conditionalized on USE___THREAD.
41288
41289 * config.h.in (HAVE_PT_CHOWN): Define as 0.
41290 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
41291 not definedness.
41292
41293 2014-05-14 Joseph Myers <joseph@codesourcery.com>
41294
41295 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
41296 Define unconditionally.
41297 (__ASSUME_O_CLOEXEC): Likewise.
41298 (__ASSUME_SOCK_CLOEXEC): Likewise.
41299 (__ASSUME_IN_NONBLOCK): Likewise.
41300 (__ASSUME_PIPE2): Likewise.
41301 (__ASSUME_EVENTFD2): Likewise.
41302 (__ASSUME_SIGNALFD4): Likewise.
41303 (__ASSUME_DUP3): Likewise.
41304 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41305 (__ASSUME_DUP3): Do not define.
41306 (__ASSUME_EVENTFD2): Likewise.
41307 (__ASSUME_IN_NONBLOCK): Likewise.
41308 (__ASSUME_O_CLOEXEC): Likewise.
41309 (__ASSUME_PIPE2): Likewise.
41310 (__ASSUME_SIGNALFD4): Likewise.
41311 (__ASSUME_SOCK_CLOEXEC): Likewise.
41312 (__ASSUME_UTIMES): Undefine.
41313 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41314 (__ASSUME_UTIMES): Do not define.
41315 (__ASSUME_O_CLOEXEC): Likewise.
41316 (__ASSUME_SOCK_CLOEXEC): Likewise.
41317 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
41318 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
41319 0x020621].
41320 (__ASSUME_PIPE2): Likewise.
41321 (__ASSUME_EVENTFD2): Likewise.
41322 (__ASSUME_SIGNALFD4): Likewise.
41323 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
41324 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
41325 Do not define.
41326 (__ASSUME_EVENTFD2): Likewise.
41327 (__ASSUME_SIGNALFD4): Likewise.
41328 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
41329 (__ASSUME_32BITUIDS): Likewise.
41330 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
41331 (__ASSUME_IPC64): Likewise.
41332 (__ASSUME_ST_INO_64_BIT): Likewise.
41333 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
41334 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
41335 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
41336 (__ASSUME_UTIMES): Do not define.
41337 (__ASSUME_PSELECT): Likewise.
41338 (__ASSUME_PPOLL): Likewise.
41339 (__ASSUME_O_CLOEXEC): Likewise.
41340 (__ASSUME_SOCK_CLOEXEC): Likewise.
41341 (__ASSUME_IN_NONBLOCK): Likewise.
41342 (__ASSUME_PIPE2): Likewise.
41343 (__ASSUME_EVENTFD2): Likewise.
41344 (__ASSUME_SIGNALFD4): Likewise.
41345 (__ASSUME_DUP3): Likewise.
41346 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
41347 (__ASSUME_UTIMES): Likewise.
41348 (__ASSUME_O_CLOEXEC): Likewise.
41349 (__ASSUME_SOCK_CLOEXEC): Likewise.
41350 (__ASSUME_IN_NONBLOCK): Likewise.
41351 (__ASSUME_PIPE2): Likewise.
41352 (__ASSUME_EVENTFD2): Likewise.
41353 (__ASSUME_SIGNALFD4): Likewise.
41354 (__ASSUME_DUP3): Likewise.
41355 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41356 (__ASSUME_UTIMES): Likewise.
41357 (__ASSUME_O_CLOEXEC): Likewise.
41358 (__ASSUME_SOCK_CLOEXEC): Likewise.
41359 (__ASSUME_IN_NONBLOCK): Likewise.
41360 (__ASSUME_PIPE2): Likewise.
41361 (__ASSUME_EVENTFD2): Likewise.
41362 (__ASSUME_SIGNALFD4): Likewise.
41363 (__ASSUME_DUP3): Likewise.
41364 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
41365 Likewise.
41366 (__ASSUME_UTIMES): Likewise.
41367 (__ASSUME_EVENTFD2): Likewise.
41368 (__ASSUME_SIGNALFD4): Likewise.
41369 * sysdeps/unix/sysv/linux/tile/kernel-features.h
41370 (__ASSUME_O_CLOEXEC): Likewise.
41371 (__ASSUME_SOCK_CLOEXEC): Likewise.
41372 (__ASSUME_IN_NONBLOCK): Likewise.
41373 (__ASSUME_PIPE2): Likewise.
41374 (__ASSUME_EVENTFD2): Likewise.
41375 (__ASSUME_SIGNALFD4): Likewise.
41376 (__ASSUME_DUP3): Likewise.
41377 (__ASSUME_UTIMES): Undefine.
41378
41379 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
41380 feclearexcept. Remove symbol versioning code.
41381 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
41382 symbol versioning code.
41383 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
41384 symbol versioning code.
41385 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
41386 feupdateenv. Remove symbol versioning code.
41387 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
41388 fegetexceptflag. Remove symbol versioning code.
41389 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
41390 fesetexceptflag. Remove symbol versioning code.
41391 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
41392 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
41393 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
41394 (__posix_fadvise64_l32): Remove prototype.
41395 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
41396 code.
41397
41398 2014-05-13 Roland McGrath <roland@hack.frob.com>
41399
41400 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
41401 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
41402 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
41403 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
41404
41405 2014-05-13 Sami Kerola <kerolasa@iki.fi>
41406
41407 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
41408 current working directory
41409
41410 2014-05-13 Roland McGrath <roland@hack.frob.com>
41411
41412 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
41413 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
41414 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
41415 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
41416 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
41417 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
41418 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
41419 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
41420 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
41421 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
41422 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
41423 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
41424 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
41425 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
41426 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
41427 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
41428 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
41429 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
41430 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
41431 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
41432 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
41433 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
41434 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
41435 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
41436 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
41437 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
41438 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
41439 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
41440 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
41441 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
41442 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
41443 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
41444 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
41445 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
41446 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
41447 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
41448 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
41449 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
41450 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
41451 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
41452 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
41453 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
41454
41455 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
41456 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
41457
41458 * sysdeps/unix/sysv/linux/arm/Makefile
41459 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
41460 Add rt-aeabi_unwind_cpp_pr1.
41461 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
41462 Add nptl-aeabi_unwind_cpp_pr1.
41463 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
41464 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
41465 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
41466 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
41467 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
41468 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
41469
41470 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
41471 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
41472 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
41473 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
41474
41475 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
41476 Deconditionalize the code that was previously under [RESET_PID].
41477 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
41478
41479 * sysdeps/generic/exit-thread.h: New file.
41480 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
41481 * include/unistd.h (__exit_thread): Remove declaration.
41482 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
41483 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
41484 * csu/libc-start.c: Include <exit-thread.h>.
41485 (LIBC_START_MAIN): Pass no argument to __exit_thread.
41486 * nptl/pthread_create.c: Include <exit-thread.h>.
41487 (start_thread): Call __exit_thread in place of __exit_thread_inline.
41488 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
41489 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
41490 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
41491 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
41492 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
41493 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
41494 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
41495 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
41496 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
41497 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
41498 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
41499 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
41500 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
41501 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
41502 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
41503 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
41504
41505 2014-05-13 Andreas Schwab <schwab@suse.de>
41506
41507 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
41508
41509 2014-05-12 Joseph Myers <joseph@codesourcery.com>
41510
41511 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
41512 (__ASSUME_UTIMES): Do not condition on kernel version.
41513 (__ASSUME_PSELECT): Define unconditionally.
41514 (__ASSUME_PPOLL): Likewise.
41515 (__ASSUME_ATFCTS): Likewise.
41516 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
41517 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
41518 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
41519 (__ASSUME_UTIMENSAT): Define unconditionally.
41520 (__ASSUME_PRIVATE_FUTEX): Likewise.
41521 (__ASSUME_FALLOCATE): Likewise.
41522 (__ASSUME_O_CLOEXEC): Likewise.
41523 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
41524 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
41525 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
41526 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
41527 (__ASSUME_IN_NONBLOCK): Likewise.
41528 (__ASSUME_PIPE2): Likewise.
41529 (__ASSUME_EVENTFD2): Likewise.
41530 (__ASSUME_SIGNALFD4): Likewise.
41531 (__ASSUME_DUP3): Likewise.
41532 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
41533 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
41534 (__ASSUME_AT_RANDOM): Likewise.
41535 (__ASSUME_PREADV): Likewise.
41536 (__ASSUME_PWRITEV): Likewise.
41537 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
41538 (__ASSUME_F_GETOWN_EX): Define unconditionally.
41539 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
41540 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
41541 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
41542 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41543 (__ASSUME_O_CLOEXEC): Define unconditionally.
41544 (__ASSUME_PSELECT): Do not undefine conditionally.
41545 (__ASSUME_PPOLL): Likewise.
41546 (__ASSUME_ATFCTS): Likewise.
41547 (__ASSUME_SET_ROBUST_LIST): Likewise.
41548 (__ASSUME_UTIMENSAT): Likewise.
41549 (__ASSUME_FDATASYNC): Define unconditionally.
41550 * sysdeps/unix/sysv/linux/arm/kernel-features.h
41551 (__ASSUME_SIGFRAME_V2): Likewise.
41552 )__ASSUME_EVENTFD2): Likewise.
41553 (__ASSUME_SIGNALFD4): Likewise.
41554 (__ASSUME_PSELECT): Do not undefine conditionally.
41555 (__ASSUME_PPOLL): Likewise.
41556 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
41557 (__ASSUME_PSELECT): Define unconditionally.
41558 (__ASSUME_PPOLL): Likewise.
41559 (__ASSUME_O_CLOEXEC): Likewise.
41560 (__ASSUME_SOCK_CLOEXEC): Likewise.
41561 (__ASSUME_IN_NONBLOCK): Likewise.
41562 (__ASSUME_PIPE2): Likewise.
41563 (__ASSUME_EVENTFD2): Likewise.
41564 (__ASSUME_SIGNALFD4): Likewise.
41565 (__ASSUME_DUP3): Likewise.
41566 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
41567 (__ASSUME_O_CLOEXEC): Likewise.
41568 (__ASSUME_SOCK_CLOEXEC): Likewise.
41569 (__ASSUME_IN_NONBLOCK): Likewise.
41570 (__ASSUME_PIPE2): Likewise.
41571 (__ASSUME_EVENTFD2): Likewise.
41572 (__ASSUME_SIGNALFD4): Likewise.
41573 (__ASSUME_DUP3): Likewise.
41574 * sysdeps/unix/sysv/linux/mips/kernel-features.h
41575 (__ASSUME_EVENTFD2): Likewise.
41576 (__ASSUME_SIGNALFD4): Likewise.
41577 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
41578
41579 2014-05-12 Andreas Schwab <schwab@suse.de>
41580
41581 [BZ #16932]
41582 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
41583 (_nss_nis_gethostbyname4_r): Return error if item length is larger
41584 than maximum RPC packet size.
41585 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
41586 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
41587 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
41588 (_nss_nis_getservbyport_r): Likewise.
41589
41590 2014-05-12 Will Newton <will.newton@linaro.org>
41591
41592 * malloc/Makefile (tests): Add tst-mallopt.
41593 * malloc/tst-mallopt.c: New file.
41594
41595 2014-05-09 Roland McGrath <roland@hack.frob.com>
41596
41597 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
41598 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
41599
41600 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41601
41602 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
41603 (tst-tlsmod6.so): Likewise.
41604
41605 2014-05-09 Roland McGrath <roland@hack.frob.com>
41606
41607 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
41608
41609 2014-05-09 Joseph Myers <joseph@codesourcery.com>
41610
41611 [BZ #16064]
41612 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
41613 and <dl-procinfo.h>.
41614 (__fegetenv): Save SSE state in envp->__eip if supported.
41615 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
41616 envp->__eip if supported.
41617 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
41618 and <dl-procinfo.h>.
41619 (__fesetenv): Always set __eip, __cs_selector, __opcode,
41620 __data_offset and __data_selector in environment to 0. Set SSE
41621 state if supported.
41622 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
41623 test-fenv-sse.
41624 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
41625 -mfpmath=sse.
41626 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
41627
41628 2014-05-09 Will Newton <will.newton@linaro.org>
41629
41630 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
41631 and libc_relro_required for ARM.
41632 * sysdeps/arm/preconfigure: Regenerate.
41633
41634 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
41635 Stefan Liebler <stli@linux.vnet.ibm.com>
41636
41637 * config.make.in (enable-lock-elision): New Makefile variable.
41638 * configure.ac: Likewise.
41639 * configure: Regenerate.
41640 * sysdeps/s390/configure.ac:
41641 Add check for gcc transactions support.
41642 * sysdeps/s390/configure: Regenerate.
41643 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
41644 Build elision files if enabled.
41645 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
41646 Add lock elision support for s390.
41647 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
41648 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
41649 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
41650 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
41651 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
41652 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
41653 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
41654 Likewise.
41655 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
41656 Likewise.
41657 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
41658 Likewise.
41659 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
41660 Likewise.
41661 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
41662 (__lll_timedlock_elision, __lll_lock_elision)
41663 (__lll_unlock_elision, __lll_trylock_elision)
41664 (lll_timedlock_elision, lll_lock_elision)
41665 (lll_unlock_elision, lll_trylock_elision): Add.
41666 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
41667 (pthread_mutex_t): Add lock elision support for s390.
41668
41669 2014-05-14 Wilco <wdijkstr@arm.com>
41670
41671 * sysdeps/arm/fclrexcpt.c: Cleanup.
41672 * sysdeps/arm/fedisblxcpt.c: Cleanup.
41673 * sysdeps/arm/feenablxcpt.c: Cleanup.
41674 * sysdeps/arm/fegetenv.c: Cleanup.
41675 * sysdeps/arm/fegetexcept.c: Cleanup.
41676 * sysdeps/arm/fegetround.c: Cleanup.
41677 * sysdeps/arm/feholdexcpt.c: Cleanup.
41678 * sysdeps/arm/fesetenv.c: Cleanup.
41679 * sysdeps/arm/fesetround.c: Cleanup.
41680 * sysdeps/arm/feupdateenv.c: Cleanup.
41681 * sysdeps/arm/fgetexcptflg.c: Cleanup.
41682 * sysdeps/arm/fraiseexcpt.c: Cleanup.
41683 * sysdeps/arm/fsetexcptflg.c: Cleanup.
41684 * sysdeps/arm/ftestexcept.c: Cleanup.
41685 * sysdeps/arm/get-rounding-mode.h: Cleanup.
41686 * sysdeps/arm/setfpucw.c: Cleanup.
41687
41688 2014-05-09 Will Newton <will.newton@linaro.org>
41689
41690 * sysdeps/arm/armv7/strcmp.S: New file.
41691 * NEWS: Mention addition of ARMv7 optimized strcmp.
41692
41693 2014-05-08 Roland McGrath <roland@hack.frob.com>
41694
41695 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
41696 look for %.ac rather than %.in.
41697
41698 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
41699 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
41700 * sysdeps/mach/hurd/configure: Regenerated.
41701 * sysdeps/unix/sysv/linux/configure: Regenerated.
41702
41703 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
41704
41705 2014-05-07 Steve Ellcey <sellcey@mips.com>
41706
41707 [BZ# 16922]
41708 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
41709 (LONG_SUB): Ditto.
41710 (PTR_SUB): Ditto.
41711
41712 2014-05-07 Andreas Schwab <schwab@suse.de>
41713
41714 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
41715 when skipping over non-matching result from nscd.
41716
41717 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
41718
41719 [BZ #16876]
41720 * nptl/sockperf.c (client): Check socket return value.
41721
41722 [BZ #16877]
41723 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
41724 nscd security class.
41725
41726 2014-05-06 Roland McGrath <roland@hack.frob.com>
41727
41728 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
41729 * sysdeps/arm/unwind.h: ... here.
41730
41731 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
41732
41733 [BZ# 16916]
41734 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
41735 Define.
41736
41737 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
41738
41739 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
41740 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
41741 multiarch strncpy for PPC64.
41742 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
41743 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
41744 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
41745 multiarch optimizations.
41746 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41747 (__libc_ifunc_impl_list): Likewise.
41748 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
41749 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
41750 multiarch stpncpy for PPC64.
41751 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
41752 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
41753
41754 2014-05-06 Andreas Schwab <schwab@suse.de>
41755
41756 [BZ #16912]
41757 * gmon/mcount.c (_MCOUNT_DECL): Use
41758 atomic_compare_and_exchange_bool_acq instead of
41759 catomic_compare_and_exchange_bool_acq.
41760
41761 2014-05-05 Roland McGrath <roland@hack.frob.com>
41762
41763 * elf/Makefile (others, install-bin): Remove pldd.
41764 (pldd-modules): Variable removed.
41765 ($(objpfx)pldd): Target removed.
41766 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
41767 (others, install-bin): Append pldd here.
41768 ($(objpfx)pldd): New target.
41769
41770 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
41771 to 0, so the first #if test emitted later doesn't see it undefined.
41772 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
41773 * sysdeps/gnu/errlist.c: Regenerated.
41774
41775 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41776
41777 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
41778 [libc_hidden_builtin_def]: Define to empty value.
41779 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
41780 [libc_hidden_builtin_def]: Likewise.
41781 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
41782 [libc_hidden_builtin_def]: Likewise.
41783 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
41784 [libc_hidden_builtin_def]: Likewise.
41785 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
41786 __redirect_memcpy and define ifunc as default hidden symbol.
41787 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
41788 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
41789
41790 2014-05-04 Adam Conrad <adconrad@0c3.net>
41791
41792 * locale/iso-4217.def: Reintroduce XDR currency.
41793
41794 2014-05-04 Allan McRae <allan@archlinux.org>
41795
41796 * po/eo.po: Update Esperanto translation from translation project.
41797
41798 2014-05-02 Carlos O'Donell <carlos@redhat.com>
41799
41800 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
41801 and FEATURE_INDEX_MAX to 1.
41802 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
41803
41804 2014-05-01 Steve Ellcey <sellcey@mips.com>
41805
41806 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
41807 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
41808 * iconvdata/big5.c (ONE_DIRECTION): Define.
41809 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
41810 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
41811 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
41812 * iconvdata/cp932.c (ONE_DIRECTION): Define.
41813 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
41814 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
41815 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
41816 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
41817 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
41818 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
41819 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
41820 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
41821 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
41822 * iconvdata/gbk.c (ONE_DIRECTION): Define.
41823 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
41824 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
41825 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
41826 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
41827 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
41828 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
41829 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
41830 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
41831 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
41832 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
41833 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
41834 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
41835 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
41836 * iconvdata/iso646.c (ONE_DIRECTION): Define.
41837 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
41838 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
41839 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
41840 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
41841 * iconvdata/johab.c (ONE_DIRECTION): Define.
41842 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
41843 * iconvdata/sjis.c (ONE_DIRECTION): Define.
41844 * iconvdata/t.61.c (ONE_DIRECTION): Define.
41845 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
41846 * iconvdata/tscii.c (ONE_DIRECTION): Define.
41847 * iconvdata/uhc.c (ONE_DIRECTION): Define.
41848 * iconvdata/unicode.c (ONE_DIRECTION): Define.
41849 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
41850 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
41851 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
41852
41853 2014-05-01 Roland McGrath <roland@hack.frob.com>
41854
41855 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
41856 (_IO_JUMPS_OFFSET): Define to 0.
41857
41858 * nptl/sysdeps/pthread/bits/libc-lock.h
41859 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
41860 (__libc_lock_define_initialized_recursive): Always define using
41861 initializer. Modern compilers treat uninitialized (implicit zero) and
41862 explicit zero initializers the same (i.e. put the datum in bss).
41863
41864 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
41865
41866 * nscd/nscd-client.h: Include <string.h>.
41867
41868 2014-05-01 David S. Miller <davem@davemloft.net>
41869
41870 [BZ #16885]
41871 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
41872 multiple zero bytes exist at the end of a string.
41873 Reported by Aurelien Jarno <aurelien@aurel32.net>
41874
41875 * string/test-strcmp.c (check): Add explicit test for situations where
41876 there are multiple zero bytes after the first.
41877
41878 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
41879
41880 [BZ #16890]
41881 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
41882 when compiling wprintf.
41883 * stdio-common/tstdiomisc.c (t3): New function.
41884 (main): Call it.
41885
41886 2014-05-01 Steve Ellcey <sellcey@mips.com>
41887
41888 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
41889 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
41890 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
41891 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
41892
41893 2014-05-01 Steve Ellcey <sellcey@mips.com>
41894
41895 * stdlib/longlong.h: Updated from GCC.
41896
41897 2014-05-01 Will Newton <will.newton@linaro.org>
41898 Bernard Ogden <bernie.ogden@linaro.org>
41899
41900 * NEWS: Update fixed bug list.
41901
41902 [BZ #15119]
41903 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
41904
41905 2014-04-30 David S. Miller <davem@davemloft.net>
41906
41907 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
41908 (libc_feholdexcept_setround_sparc_ctx): New function.
41909 (libc_fesetenv_sparc_ctx): Likewise.
41910 (libc_feupdateenv_sparc_ctx): Likewise.
41911 (libc_feholdsetround_sparc_ctx): Likewise.
41912 (libc_feholdexcept_setround_ctx): Define.
41913 (libc_feholdexcept_setroundf_ctx): Likewise.
41914 (libc_feholdexcept_setroundl_ctx): Likewise.
41915 (libc_fesetenv_ctx): Likewise.
41916 (libc_fesetenvf_ctx): Likewise.
41917 (libc_fesetenvl_ctx): Likewise.
41918 (libc_feupdateenv_ctx): Likewise.
41919 (libc_feupdateenvf_ctx): Likewise.
41920 (libc_feupdateenvl_ctx): Likewise.
41921 (libc_feresetround_ctx): Likewise.
41922 (libc_feresetroundf_ctx): Likewise.
41923 (libc_feresetroundl_ctx): Likewise.
41924 (libc_feholdsetround_ctx): Likewise.
41925 (libc_feholdsetroundf_ctx): Likewise.
41926 (libc_feholdsetroundl_ctx): Likewise.
41927
41928 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
41929 with __USE_GNU instead of XOPEN cpp guards.
41930
41931 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
41932 0.
41933
41934 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
41935 with XOPEN cpp guards.
41936
41937 2014-04-30 Julian Brown <julian@codesourcery.com>
41938
41939 [BZ #16888]
41940 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
41941 handling.
41942
41943 2014-04-30 Joseph Myers <joseph@codesourcery.com>
41944
41945 [BZ #9894]
41946 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
41947 Change to 2.6.32.
41948 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
41949 * sysdeps/unix/sysv/linux/configure: Regenerated.
41950 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
41951 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
41952 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
41953 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
41954 * README: Update reference to required Linux kernel version.
41955 * manual/install.texi (Linux): Update reference to required Linux
41956 kernel headers version.
41957 * INSTALL: Regenerated.
41958
41959 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
41960 header inclusion.
41961 [POSIX] (limits.h): Likewise.
41962 [POSIX] (math.h): Likewise.
41963 [POSIX] (sys/wait.h): Likewise.
41964 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
41965 function.
41966 [POSIX] (stddef.h): Do not allow header inclusion.
41967
41968 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41969
41970 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
41971
41972 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
41973
41974 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
41975 Return immediately after lll_futex_wake.
41976
41977 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
41978
41979 [BZ #16791]
41980 * nscd/nscd-client.h (datahead_init_common): Initialize entire
41981 structure.
41982 (datahead_init_pos): Call datahead_init_common early.
41983 (datahead_init_neg): Likewise.
41984
41985 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
41986 datahead_init_neg): New functions.
41987 * nscd/aicache.c (addhstaiX): Use them.
41988 * nscd/grpcache.c (cache_addgr): Likewise.
41989 * nscd/hstcache.c (cache_addhst): Likewise.
41990 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41991 * nscd/netgroupcache.c (do_notfound): Likewise.
41992 (addgetnetgrentX): Likewise.
41993 (addinnetgrX): Likewise.
41994 * nscd/pwdcache.c (cache_addpw): Likewise.
41995 * nscd/servicescache.c (cache_addserv): Likewise.
41996
41997 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
41998 Atsushi Onoe <atsushi@onoe.org>
41999
42000 [BZ #14308]
42001 [BZ #12994]
42002 [BZ #13651]
42003 * resolv/res_query.c (__libc_res_nsearch): Return if at least
42004 one response is valid.
42005 * resolv/res_send.c (send_dg): Check for validity of other
42006 response if the current response is a referral.
42007
42008 2014-04-29 Steve Ellcey <sellcey@mips.com>
42009
42010 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
42011
42012 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
42013
42014 [BZ #16823]
42015 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
42016 Always divide by positive zero when computing -Inf result.
42017 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
42018 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
42019
42020 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42021
42022 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
42023 FPSCR if value do not change.
42024 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
42025 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
42026 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
42027 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
42028 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
42029 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
42030 function.
42031
42032 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
42033
42034 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
42035 * sysdeps/unix/sysv/linux/hppa: Move directory from
42036 ports/systeps/unix/sysv/linux/hppa.
42037 * README: Update listing for hppa-*-linux-gnu.
42038
42039 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
42040
42041 [BZ #16754]
42042 * manual/stdio.texi (Hook functions): Fix types of stream hook
42043 functions.
42044 [BZ #16854]
42045 * socket/sys/socket.h: Fix typo in comment.
42046
42047 2014-04-28 Wilco <wdijkstr@arm.com>
42048
42049 * sysdeps/arm/fenv_private.h: New file.
42050 * sysdeps/arm/math_private.h: New file.
42051 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
42052
42053 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
42054
42055 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
42056 with __int128_t.
42057 (La_x86_64_retval): Likewise.
42058
42059 2014-04-24 Ian Bolton <ian.bolton@arm.com>
42060
42061 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
42062 fpsr if value didn't change.
42063 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
42064 to fpcr if value didn't change.
42065 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
42066 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
42067 fpsr or fpcr if value didn't change.
42068 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
42069 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
42070 fpcr if value didn't change.
42071 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
42072 to fpsr if value didn't change.
42073
42074 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
42075
42076 * nptl/tst-sem3.c: Use test-skeleton.c
42077 (main): Rename to do_test. Use return instead of
42078 exit.
42079 * nptl/tst-sem4.c: Use test-skeleton.c
42080 (main): Rename to do_test.
42081
42082 2014-04-22 David S. Miller <davem@davemloft.net>
42083
42084 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
42085 (struct sigaction): New struct member __glibc_reserved0, change
42086 type of sa_flags to int.
42087
42088 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
42089
42090 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
42091 (COUNT_LEADING_ZEROS_0): Define for AArch64.
42092
42093 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
42094
42095 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
42096 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
42097
42098 2014-04-22 Will Newton <will.newton@linaro.org>
42099 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
42100
42101 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
42102 (__longjmp): Add longjmp and longjmp_target SystemTap
42103 probes.
42104 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
42105 (__sigsetjmp): Add setjmp SystemTap probe.
42106
42107 2014-04-17 Carlos O'Donell <carlos@redhat.com>
42108
42109 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
42110 match manual order.
42111
42112 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42113
42114 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
42115
42116 * sysdeps/powerpc/fpu/fenv_private.h
42117 (libc_feholdexcept_setroundl_ctx): Define to
42118 libc_feholdexcept_setround_ppc_ctx.
42119 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
42120 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
42121 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
42122 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
42123
42124 2014-04-17 Ian Bolton <ian.bolton@arm.com>
42125
42126 * sysdeps/aarch64/math-tests.h: New file.
42127
42128 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
42129
42130 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
42131 New.
42132 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42133 Check and set bit_AVX2_Usable.
42134 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
42135 macro.
42136 (bit_AVX2): Likewise.
42137 (index_AVX2_Usable): Likewise.
42138 (CPUID_AVX2): Likewise.
42139 (HAS_AVX2): Likewise.
42140
42141 2014-04-17 Will Newton <will.newton@linaro.org>
42142
42143 * manual/setjmp.texi (System V contexts): Add note that
42144 calling setcontext on a context created by a call to a
42145 signal handler is undefined. Update text to note that
42146 setcontext from a signal handler is possible but not
42147 recommended.
42148
42149 [BZ #16629]
42150 * stdlib/tst-setcontext.c: Include signal.h.
42151 (main): Check that the signal stack before and
42152 after swapcontext is the same.
42153
42154 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
42155 Re-implement to restore registers in user code and avoid
42156 rt_sigreturn system call.
42157
42158 2014-04-17 Wilco <wdijkstr@arm.com>
42159
42160 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
42161 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
42162 * math/test-fenv.c: Skip exception trap tests on targets which only
42163 support non-stop mode.
42164
42165 2014-04-17 Ian Bolton <ian.bolton@arm.com>
42166 Wilco Dijkstra <wilco.dijkstra@arm.com>
42167
42168 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
42169 (libc_feholdsetround_aarch64_ctx)
42170 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
42171 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
42172 (libc_feresetround_ctx, libc_feresetroundf_ctx)
42173 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
42174 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
42175 (libc_feresetround_noexl_ctx): Define.
42176
42177 2014-04-16 Richard Henderson <rth@redhat.com>
42178
42179 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
42180
42181 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
42182 unwind tables.
42183
42184 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
42185 const from the non-libc, non-ldso copy.
42186
42187 * sysdeps/alpha/libm-test-ulps: Regenerate.
42188
42189 2014-04-16 Ian Bolton <ian.bolton@arm.com>
42190 Wilco Dijkstra <wilco.dijkstra@arm.com>
42191
42192 * sysdeps/aarch64/fpu/math_private.h: New file.
42193
42194 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
42195
42196 * sysdeps/aarch64/libm-test-ulps: Regenerate.
42197
42198 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
42199
42200 [BZ #16275]
42201 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
42202 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
42203 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
42204 Intel MPX bound registers before _dl_profile_fixup.
42205 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
42206 registers after _dl_profile_fixup. Save and restore bound
42207 registers bnd0/bnd1 when calling _dl_call_pltexit.
42208 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
42209 (LR_BND_OFFSET): Likewise.
42210 (LRV_BND0_OFFSET): Likewise.
42211 (LRV_BND1_OFFSET): Likewise.
42212
42213 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
42214
42215 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
42216 to...
42217 * sysdeps/mach/hurd/i386/tls.h: ... here.
42218 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
42219 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
42220 fields.
42221
42222 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
42223
42224 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
42225
42226 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
42227
42228 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
42229
42230 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
42231
42232 [BZ #14770]
42233 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
42234 * sysdeps/s390/configure: Regenerate.
42235
42236 [BZ #16824]
42237 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
42238 Set round-to-nearest internally to reduce error accumulation.
42239
42240 2014-04-16 Alan Modra <amodra@gmail.com>
42241
42242 [BZ #16740]
42243 [BZ #16619]
42244 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
42245 * math/libm-test.inc (frexp_test_data): Add tests.
42246 * NEWS: Update fixed bug list.
42247
42248 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
42249
42250 * benchtests/Makefile: Depend on libraries in build directory.
42251 (bench-math): Separate out math tests.
42252 (bench-pthread): Separate out pthread tests.
42253 (bench): Include math and pthread tests.
42254
42255 2014-04-14 Carlos O'Donell <carlos@redhat.com>
42256
42257 [BZ #16831]
42258 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
42259 _dl_debug_initialize.
42260
42261 * configure.ac: Remove SELinux header check.
42262 * configure: Regenerate.
42263 * nscd/selinux.c (perms): Array of const char* to permission names.
42264 (nscd_request_avc_has_perm): Call security_deny_unknown to find
42265 default policy. Call string_to_security_class and string_to_av_perm to
42266 translate strings. Enforce default policy and call avs_has_perm with
42267 results of translated strings.
42268
42269 2014-04-13 David S. Miller <davem@davemloft.net>
42270
42271 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42272
42273 2014-04-12 Allan McRae <allan@archlinux.org>
42274
42275 [BZ #16838]
42276 * manual/string.texi (Collation Functions): Fix qsort argument
42277 order in example.
42278 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
42279
42280 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
42281
42282 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
42283 Make the test a no-op if there are no exceptions defined.
42284
42285 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
42286
42287 * elf/Makefile (tests): make tst-dlopen-aout conditional on
42288 enable-hardcoded-path-in-tests
42289
42290 2014-04-11 Will Newton <will.newton@linaro.org>
42291
42292 * benchtests/Makefile (extra-objs): Add json-lib.o.
42293 (bench-func): Tidy up JSON output.
42294 * benchtests/bench-skeleton.c: Include json-lib.h.
42295 (main): Use JSON library functions to do output of
42296 benchmark results.
42297 * benchtests/bench-timing-type.c (main): Output the
42298 timing type simply, leaving formatting to the user.
42299 * benchtests/json-lib.c: New file.
42300 * benchtests/json-lib.h: Likewise.
42301
42302 2014-04-11 Torvald Riegel <triegel@redhat.com>
42303
42304 [BZ #15215]
42305 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
42306 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
42307 memory barriers. Add comments.
42308 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
42309 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
42310 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
42311 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
42312 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
42313 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
42314
42315 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
42316
42317 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
42318 * sysdeps/s390/s390-64/configure.ac: ... this ...
42319 * sysdeps/s390/configure.ac: ... to here.
42320 * sysdeps/s390/s390-32/configure: Delete file.
42321 * sysdeps/s390/s390-64/configure: Delete file.
42322 * sysdeps/s390/configure: Regenerate.
42323
42324 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
42325
42326 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
42327
42328 2014-04-11 Will Newton <will.newton@linaro.org>
42329
42330 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
42331 to zero if it is not defined elsewhere. (mtrim): Test
42332 the value of MALLOC_DEBUG with #if rather than #ifdef.
42333
42334 2014-04-10 Torvald Riegel <triegel@redhat.com>
42335
42336 * benchtests/pthread_once-inputs: New file.
42337 * benchtests/pthread_once-source.c: New file.
42338 * benchtests/README: Update documentation.
42339
42340 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
42341 H.J. Lu <hongjiu.lu@intel.com>
42342
42343 [BZ #16275]
42344 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
42345 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
42346 * sysdeps/x86_64/configure: Regenerated.
42347 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
42348 macro.
42349 (REGISTER_SAVE_RAX): Likewise.
42350 (REGISTER_SAVE_RCX): Likewise.
42351 (REGISTER_SAVE_RDX): Likewise.
42352 (REGISTER_SAVE_RSI): Likewise.
42353 (REGISTER_SAVE_RDI): Likewise.
42354 (REGISTER_SAVE_R8): Likewise.
42355 (REGISTER_SAVE_R9): Likewise.
42356 (REGISTER_SAVE_BND0): Likewise.
42357 (REGISTER_SAVE_BND1): Likewise.
42358 (REGISTER_SAVE_BND2): Likewise.
42359 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
42360 bound registers when calling _dl_fixup.
42361
42362 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42363
42364 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
42365 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
42366 of its definition.
42367 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
42368 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
42369 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
42370 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
42371 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
42372 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
42373 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
42374
42375 2014-04-09 Peter Brett <peter@peter-b.co.uk>
42376
42377 [BZ #15514]
42378 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
42379 pathconf(_PC_NAME_MAX).
42380
42381 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42382
42383 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
42384 Remove macro usage.
42385 (__PTHREAD_SPINS): Move definition to ...
42386 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
42387 (__PTHREAD_SPINS): ... here.
42388 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
42389 (__PTHREAD_SPIN): Likewise.
42390 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
42391 (__PTHREAD_SPIN): Likewise.
42392 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
42393 (__PTHREAD_SPIN): Likewise.
42394 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
42395 (__PTHREAD_SPIN): Likewise.
42396 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
42397 (__PTHREAD_SPIN): Likewise.
42398 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
42399 (__PTHREAD_SPIN): Likewise.
42400 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
42401 (__PTHREAD_SPIN): Likewise.
42402 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
42403 (__PTHREAD_SPIN): Likewise.
42404 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
42405 (__PTHREAD_SPIN): Likewise.
42406 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
42407 (__PTHREAD_SPIN): Likewise.
42408 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
42409 (__PTHREAD_SPIN): Likewise.
42410 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
42411 (__PTHREAD_SPIN): Likewise.
42412
42413 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
42414 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
42415 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
42416 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
42417 imply folder.
42418 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
42419 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
42420 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
42421 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
42422 correct imply path.
42423 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
42424 strlen symbol for non multi-arch builds.
42425 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
42426 missing hidden_def and weak_alias.
42427
42428 2014-04-08 Carlos O'Donell <carlos@redhat.com>
42429
42430 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
42431
42432 2014-04-07 Will Newton <will.newton@linaro.org>
42433
42434 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
42435 and contents. [!_LIBC] Remove #ifndef and contents.
42436 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
42437 * string/memccpy.c (__memccpy): Use ANSI prototype.
42438 * string/memfrob.c (memfrob): Likewise.
42439 * string/strcoll.c (STRCOLL): Likewise.
42440 * string/strlen.c (strlen): Likewise.
42441 * string/strtok.c (STRTOK): Likewise.
42442 * string/strcat.c: Remove unused #include of memcopy.h.
42443 (strcat): Use ANSI prototype.
42444 * string/strchr.c: Remove unused #include of memcopy.h.
42445 (strchr): Use ANSI prototype.
42446 * string/strcmp.c: Remove unused #include of memcopy.h.
42447 (strcmp): Use ANSI prototype.
42448 * string/strcpy.c: Remove unused #include of memcopy.h.
42449 (strcpy): Use ANSI prototype.
42450
42451 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42452
42453 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
42454 * config.make.in (config-extra-cppflags): Set it from
42455 libc_extra_cppflags.
42456 * configure.ac (libc_extra_cflags): Make it accumulate over
42457 configure fragments.
42458 (libc_extra_cppflags): New flag.
42459 * configure. Regenerate.
42460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
42461 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
42462 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
42463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
42464
42465 [BZ #16815]
42466 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
42467 result for FE_DOWNWARD rounding mode.
42468 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
42469 Likewise.
42470 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42471
42472 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
42473
42474 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
42475 in function argument name.
42476
42477 2014-04-03 David Svoboda <svoboda@cert.org>
42478
42479 [BZ #5666]
42480 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
42481 explicitly.
42482
42483 2014-04-03 Roland McGrath <roland@hack.frob.com>
42484
42485 * elf/dl-unmap-segments.h: New file.
42486 * sysdeps/generic/ldsodefs.h
42487 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
42488 * elf/dl-close.c: Include <dl-unmap-segments.h>.
42489 * elf/dl-fptr.c: Likewise.
42490 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
42491 * sysdeps/aarch64/tlsdesc.c: Likewise.
42492 * sysdeps/arm/tlsdesc.c: Likewise.
42493 * sysdeps/i386/tlsdesc.c: Likewise.
42494 * sysdeps/tile/dl-runtime.c: Likewise.
42495 * sysdeps/x86_64/tlsdesc.c: Likewise.
42496 * elf/dl-load.h: New file.
42497 * elf/dl-load.c: Include it.
42498 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
42499 Macros moved to dl-load.h.
42500 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
42501 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
42502 Use _dl_unmap_segments in place of __munmap.
42503 Break out segment-mapping loop into ...
42504 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
42505
42506 2014-04-03 Will Newton <will.newton@linaro.org>
42507
42508 * elf/dl-lookup.c (do_lookup_x): Remove comment
42509 referring to nested function and move variable
42510 declarations down to before first use.
42511
42512 2014-04-02 Joseph Myers <joseph@codesourcery.com>
42513
42514 [BZ #16799]
42515 [BZ #16800]
42516 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
42517 with 0 numerator.
42518 * math/s_catanf.c (__catanf): Likewise.
42519 * math/s_catanh.c (__catanh): Likewise.
42520 * math/s_catanhf.c (__catanhf): Likewise.
42521 * math/s_catanhl.c (__catanhl): Likewise.
42522 * math/s_catanl.c (__catanl): Likewise.
42523 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
42524 by positive zero when computing -Inf result.
42525 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
42526 (catanh_test): Likewise.
42527 * sysdeps/i386/fpu/libm-test-ulps: Update.
42528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42529
42530 [BZ #16789]
42531 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
42532 instead of using underflowing value in computing result.
42533 * math/s_clog10.c (__clog10): Likewise.
42534 * math/s_clog10f.c (__clog10f): Likewise.
42535 * math/s_clog10l.c (__clog10l): Likewise.
42536 * math/s_clogf.c (__clogf): Likewise.
42537 * math/s_clogl.c (__clogl): Likewise.
42538 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
42539 (clog10_test): Likewise.
42540 * sysdeps/i386/fpu/libm-test-ulps: Update.
42541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42542
42543 2014-04-02 Alan Modra <amodra@gmail.com>
42544
42545 [BZ #16739]
42546 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
42547 output when value is near a power of two. Use int64_t for lx and
42548 remove casts. Use decimal rather than hex exponent constants.
42549 Don't use long double multiplication when double will suffice.
42550 * math/libm-test.inc (nextafter_test_data): Add tests.
42551 * NEWS: Add 16739 and 16786 to bug list.
42552
42553 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
42554
42555 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
42556
42557 2014-04-01 Will Newton <will.newton@linaro.org>
42558
42559 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
42560 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
42561
42562 2014-04-01 Florian Weimer <fweimer@redhat.com>
42563
42564 [BZ #13347]
42565 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
42566 * nptl/tst-setuid2.c: New file.
42567 * nptl/Makefile (xtests): Add tst-setuid2.
42568
42569 2014-04-01 Alan Modra <amodra@gmail.com>
42570
42571 [BZ #16786]
42572 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
42573
42574 2014-03-31 Joseph Myers <joseph@codesourcery.com>
42575
42576 [BZ #6803]
42577 [BZ #6804]
42578 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
42579 set errno as appropriate.
42580 * math/w_scalbf.c (__scalbf): Likewise.
42581 * math/w_scalbl.c (__scalbl): Likewise.
42582 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
42583 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
42584 * math/libm-test.inc (scalb_test_data): Add errno expectations.
42585 Add more NaN tests.
42586
42587 [BZ #16349]
42588 * math/w_atan2.c: Include <errno.h>.
42589 (__atan2): Set errno for result underflowing to zero.
42590 * math/w_atan2f.c: Include <errno.h>.
42591 (__atan2f): Set errno for result underflowing to zero.
42592 * math/w_atan2l.c: Include <errno.h>.
42593 (__atan2l): Set errno for result underflowing to zero.
42594 * math/auto-libm-test-in: Don't allow missing errno for some atan2
42595 tests.
42596 * math/auto-libm-test-out: Regenerated.
42597
42598 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42599
42600 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
42601 Encode instruction correctly in little endian.
42602 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
42603 Likewise.
42604 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
42605 Likewise.
42606 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
42607 Likewise.
42608 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
42609 Likewise.
42610
42611 2014-03-31 Joseph Myers <joseph@codesourcery.com>
42612
42613 [BZ #9894]
42614 * sysdeps/unix/sysv/linux/kernel-features.h
42615 [__sparc__ && !__arch64__ && !__sparc_v9__]
42616 (__ASSUME_SET_ROBUST_LIST): Do not define.
42617 [__sparc__ && !__arch64__ && !__sparc_v9__]
42618 (__ASSUME_FUTEX_LOCK_PI): Likewise.
42619 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
42620 Likewise.
42621 * sysdeps/unix/sysv/linux/arm/kernel-features.h
42622 (__ASSUME_FUTEX_LOCK_PI): Undefine.
42623 (__ASSUME_REQUEUE_PI): Likewise.
42624 (__ASSUME_SET_ROBUST_LIST): Likewise.
42625 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
42626 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
42627 Undefine.
42628 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
42629 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
42630 Likewise.
42631 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
42632 Likewise.
42633 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
42634 Likewise.
42635 * sysdeps/unix/sysv/linux/mips/kernel-features.h
42636 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
42637 Undefine.
42638 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
42639 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
42640 Likewise.
42641
42642 [BZ #16648]
42643 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
42644 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
42645 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
42646
42647 2014-03-31 Will Newton <will.newton@linaro.org>
42648
42649 * benchtests/Makefile (bench): Add ffs and ffsll to list
42650 of tests.
42651 * benchtests/ffs-inputs: New file.
42652 * benchtests/ffsll-inputs: Likewise.
42653
42654 2014-03-29 Joseph Myers <joseph@codesourcery.com>
42655
42656 [BZ #16770]
42657 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
42658 too large before casting to int.
42659 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
42660 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
42661 * math/libm-test.inc (scalb_test_data): Add more tests.
42662
42663 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
42664
42665 * benchtests/Makefile (DETAILED_OPT): New make option.
42666 (bench-func): Run benchmark program with -d if DETAILED_OPT is
42667 set.
42668 * benchtests/bench-skeleton.c: Include stdbool.h.
42669 (main): Store and print timings per input.
42670 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
42671 member to each argument value.
42672 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
42673 (_print_arg_data): Initialize per-input timing to 0.
42674
42675 * benchtests/Makefile (timing-type): New binary.
42676 (bench-clean): Also remove bench-timing-type.
42677 (bench): New target for timing-type.
42678 (bench-func): Print output in JSON format.
42679 * benchtests/bench-skeleton.c (main): Print output in JSON
42680 format.
42681 * benchtests/bench-timing-type.c: New file.
42682 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
42683 (TIMING_PRINT_STATS): Remove.
42684 * benchtests/scripts/bench.py (_print_arg_data): Store variant
42685 name separately.
42686
42687 * benchtests/bench-modf.c: Remove.
42688 * benchtests/modf-inputs: New inputs file.
42689
42690 2014-03-28 Joseph Myers <joseph@codesourcery.com>
42691
42692 [BZ #16362]
42693 * math/s_clog10.c (M_PI_LOG10E): New macro.
42694 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
42695 imaginary parts are 0.
42696 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
42697 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
42698 imaginary parts are 0.
42699 * math/s_clog10l.c (M_PI_LOG10El): New macro.
42700 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
42701 imaginary parts are 0.
42702 * math/libm-test.inc (clog10_test_data): Update expected results
42703 for when real and imaginary parts are 0.
42704
42705 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
42706
42707 * elf/dl-load.c: Finish conversion of __builtin_expect into
42708 __glibc_{un}likely.
42709
42710 2014-03-27 Joseph Myers <joseph@codesourcery.com>
42711
42712 [BZ #16348]
42713 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
42714 1+x for argument with exponent below -67.
42715 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
42716 Likewise.
42717 * math/auto-libm-test-in: Add more tests of exp.
42718 * math/auto-libm-test-out: Regenerated.
42719
42720 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
42721
42722 [BZ #16759]
42723 * inet/getnetgrent_r.c (get_nonempty_val): New function.
42724 (nscd_getnetgrent): Use it.
42725
42726 [BZ #16760]
42727 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
42728 of stpcpy.
42729
42730 2014-03-27 Andi Kleen <ak@linux.intel.com>
42731
42732 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
42733 (lll_robust_lock, lll_cond_lock, lll_timedlock)
42734 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
42735 (lll_robust_unlock): Remove out of line section. Use cfi
42736 intrinsics.
42737 (LLL_STUB_UNWIND_INFO*): Remove.
42738 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
42739 (lll_robust_lock, lll_cond_lock, lll_timedlock)
42740 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
42741 (lll_robust_unlock): Remove out of line section. Use cfi
42742 intrinsics.
42743 (LLL_STUB_UNWIND_INFO*): Remove.
42744
42745 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
42746
42747 [BZ #16758]
42748 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
42749 blank values.
42750
42751 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
42752
42753 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
42754
42755 2014-03-26 Joseph Myers <joseph@codesourcery.com>
42756
42757 [BZ #16198]
42758 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
42759 fnstenv.
42760 * math/test-fenv-preserve.c: New file.
42761 * math/Makefile (tests): Add test-fenv-preserve.
42762
42763 2014-03-26 Will Newton <will.newton@linaro.org>
42764
42765 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
42766
42767 2014-03-25 Roland McGrath <roland@hack.frob.com>
42768
42769 * scripts/versionlist.awk: Partition the version sets and emit all
42770 GLIBC_* (sorted) before all others (sorted).
42771
42772 2014-03-25 Joseph Myers <joseph@codesourcery.com>
42773
42774 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
42775 GLIBC_2.2.5 version.
42776
42777 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42778
42779 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
42780 calls.
42781
42782 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
42783 previous change.
42784
42785 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42786
42787 2014-03-25 Andreas Schwab <schwab@suse.de>
42788
42789 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
42790 label to be used after in6ailist is initialized.
42791
42792 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42793
42794 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
42795 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
42796
42797 2014-03-25 Joseph Myers <joseph@codesourcery.com>
42798
42799 [BZ #16357]
42800 [BZ #16599]
42801 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
42802 min_plus_half.
42803 (fp_formats): Update initializers.
42804 (init_fp_formats): Initialize new field.
42805 (output_for_one_input_case): Allow underflow for results up to
42806 min_plus_half.
42807 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
42808 * math/auto-libm-test-in: Don't mark some underflows from asin and
42809 atanh as spurious.
42810 * math/auto-libm-test-out: Regenerated.
42811 * sysdeps/i386/fpu/libm-test-ulps: Update.
42812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42813
42814 2014-03-25 Andreas Schwab <schwab@suse.de>
42815
42816 * libio/Makefile (tst-ftell-partial-wide-ENV)
42817 (tst-ftell-active-handler-ENV): Define.
42818
42819 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
42820
42821 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
42822
42823 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
42824
42825 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
42826
42827 2014-03-24 Joseph Myers <joseph@codesourcery.com>
42828
42829 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
42830 * sysdeps/x86_64/fpu/multiarch/e_exp.c
42831 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
42832
42833 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
42834
42835 [BZ #16634]
42836 * elf/dl-load.c (open_verify): Add mode parameter.
42837 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
42838 (open_path): Change from boolean 'secure' to complete flag 'mode'
42839 (_dl_map_object): Adjust.
42840 * elf/Makefile (tests): Add tst-dlopen-aout.
42841 * elf/tst-dlopen-aout.c: New test.
42842
42843 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
42844
42845 [BZ #16714]
42846 * sysdeps/unix/sysv/linux/s390/bits/stat.h
42847 (struct stat): Rename member pad0 to __glibc_reserved0.
42848
42849 [BZ #16712]
42850 * sysdeps/s390/s390-32/bits/wordsize.h
42851 (__WORDSIZE32_SIZE_ULONG): New define.
42852 * sysdeps/s390/s390-64/bits/wordsize.h
42853 (__WORDSIZE32_SIZE_ULONG): Likewise.
42854 * sysdeps/generic/stdint.h (SIZE_MAX):
42855 Define as UL if __WORDSIZE32_SIZE_ULONG.
42856
42857 [BZ #16713]
42858 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
42859 (__glibc_reserved0): New variable.
42860 (sa_flags): Change type to int.
42861
42862 * posix/Makefile (before-compile): Use += before-compile instead
42863 of a :=.
42864
42865 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
42866 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
42867
42868 2014-03-20 Andreas Schwab <schwab@suse.de>
42869
42870 [BZ #16743]
42871 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
42872 non-matching result from nscd.
42873
42874 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
42875
42876 * scripts/bench.py: Moved to ...
42877 * benchtests/scripts/bench.py: ... here.
42878 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
42879
42880 2014-03-24 Andreas Schwab <schwab@suse.de>
42881
42882 [BZ #16002]
42883 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
42884 alloca_account and account alloca use for struct in6ailist.
42885
42886 2014-03-24 Joseph Myers <joseph@codesourcery.com>
42887
42888 [BZ #16284]
42889 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
42890 rounding mode to recompute results that overflow to infinity or
42891 underflow to zero.
42892 * math/auto-libm-test-in: Don't mark tests as expected to fail for
42893 bug 16284.
42894 * math/auto-libm-test-out: Regenerated.
42895 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
42896 (ccosh_test): Likewise.
42897 (csin_test_data): Use plus_oflow.
42898 (csin_test): Use ALL_RM_TEST.
42899 (csinh_test_data): Use plus_oflow.
42900 (csinh_test): Use ALL_RM_TEST.
42901 * sysdeps/i386/fpu/libm-test-ulps: Update.
42902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42903
42904 2014-03-21 Joseph Myers <joseph@codesourcery.com>
42905
42906 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
42907 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
42908 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
42909
42910 [BZ #16731]
42911 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
42912 when x - 1 is zero.
42913 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
42914 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
42915 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
42916 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
42917 argument is 1.
42918 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
42919 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
42920 zero.
42921 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
42922 * sysdeps/i386/fpu/libm-test-ulps: Update.
42923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42924
42925 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
42926
42927 * scripts/bench.pl: Remove file.
42928 * scripts/bench.py: New benchmark script.
42929 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
42930 * benchtests/README: Mention python dependency.
42931 * scripts/pylintrc: New file.
42932 * scripts/pylint: New file.
42933
42934 * bits/mathdef.h: Use #ifdef instead of #if.
42935 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
42936 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
42937 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
42938 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
42939 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
42940 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
42941
42942 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42943 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
42944
42945 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
42946 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
42947 and strpbrk-ppc64 objects.
42948 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42949 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
42950 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
42951 multiarch strpbrk for POWER7.
42952 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
42953 multiarch strpbrk for PPC64.
42954 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
42955 ifunc selector.
42956 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
42957 strpbrk for POWER7.
42958
42959 2014-03-20 Joseph Myers <joseph@codesourcery.com>
42960
42961 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
42962 (atan_test): Likewise.
42963 (atanh_test_data): Use NO_TEST_INLINE for two tests.
42964 (atanh_test): Use ALL_RM_TEST.
42965 (atan2_test_data): Likewise.
42966 (cabs_test): Likewise.
42967 (cacosh_test): Likewise.
42968 (carg_test): Likewise.
42969 (casin_test): Likewise.
42970 (casinh_test): Likewise.
42971 (cbrt_test): Likewise.
42972 (csqrt_test): Likewise.
42973 (erf_test): Likewise.
42974 (erfc_test): Likewise.
42975 (pow10_test): Likewise.
42976 (exp2_test): Likewise.
42977 (hypot_test): Likewise.
42978 (j0_test): Likewise.
42979 (j1_test): Likewise.
42980 (lgamma_test): Likewise.
42981 (gamma_test): Likewise.
42982 (sincos_test): Likewise.
42983 (tanh_test): Likewise.
42984 (y0_test): Likewise.
42985 (y1_test): Likewise.
42986 * sysdeps/i386/fpu/libm-test-ulps: Update.
42987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42988
42989 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42990
42991 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
42992 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
42993 and strcspn-ppc64 objects.
42994 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42995 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
42996 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
42997 multiarch strcspn for POWER7.
42998 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
42999 multiarch strcspn for PPC64.
43000 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
43001 ifunc selector.
43002 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
43003 strcspn for POWER7.
43004
43005 2014-03-20 Joseph Myers <joseph@codesourcery.com>
43006
43007 * math/gen-libm-test.pl (generate_testfile): Expect only function
43008 name as argument to AUTO_TESTS_* and pass results for all rounding
43009 modes to parse_args.
43010 (parse_auto_input): Separate inputs of automatic tests from
43011 outputs before storing in %auto_tests.
43012 * math/libm-test.inc (acos_test_data): Update call to
43013 AUTO_TESTS_f_f.
43014 (acos_test): Use ALL_RM_TEST.
43015 (acos_tonearest_test_data): Remove.
43016 (acos_test_tonearest): Likewise.
43017 (acos_towardzero_test_data): Likewise.
43018 (acos_test_towardzero): Likewise.
43019 (acos_downward_test_data): Likewise.
43020 (acos_test_downward): Likewise.
43021 (acos_upward_test_data): Likewise.
43022 (acos_test_upward): Likewise.
43023 (acosh_test_data): Update call to AUTO_TESTS_f_f.
43024 (asin_test_data): Likewise.
43025 (asin_test): Use ALL_RM_TEST.
43026 (asin_tonearest_test_data): Remove.
43027 (asin_test_tonearest): Likewise.
43028 (asin_towardzero_test_data): Likewise.
43029 (asin_test_towardzero): Likewise.
43030 (asin_downward_test_data): Likewise.
43031 (asin_test_downward): Likewise.
43032 (asin_upward_test_data): Likewise.
43033 (asin_test_upward): Likewise.
43034 (asinh_test_data): Update call to AUTO_TESTS_f_f.
43035 (atan_test_data): Likewise.
43036 (atanh_test_data): Likewise.
43037 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
43038 (cabs_test_data): Update call to AUTO_TESTS_c_f.
43039 (carg_test_data): Likewise.
43040 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
43041 (ccos_test_data): Update call to AUTO_TESTS_c_c.
43042 (ccosh_test_data): Likewise.
43043 (cexp_test_data): Likewise.
43044 (clog_test_data): Likewise.
43045 (clog10_test_data): Likewise.
43046 (cos_test_data): Update call to AUTO_TESTS_f_f.
43047 (cos_test): Use ALL_RM_TEST.
43048 (cos_tonearest_test_data): Remove.
43049 (cos_test_tonearest): Likewise.
43050 (cos_towardzero_test_data): Likewise.
43051 (cos_test_towardzero): Likewise.
43052 (cos_downward_test_data): Likewise.
43053 (cos_test_downward): Likewise.
43054 (cos_upward_test_data): Likewise.
43055 (cos_test_upward): Likewise.
43056 (cosh_test_data): Update call to AUTO_TESTS_f_f.
43057 (cosh_test): Use ALL_RM_TEST.
43058 (cosh_tonearest_test_data): Remove.
43059 (cosh_test_tonearest): Likewise.
43060 (cosh_towardzero_test_data): Likewise.
43061 (cosh_test_towardzero): Likewise.
43062 (cosh_downward_test_data): Likewise.
43063 (cosh_test_downward): Likewise.
43064 (cosh_upward_test_data): Likewise.
43065 (cosh_test_upward): Likewise.
43066 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
43067 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
43068 (ctan_test_data): Likewise.
43069 (ctan_test): Use ALL_RM_TEST.
43070 (ctan_tonearest_test_data): Remove.
43071 (ctan_test_tonearest): Likewise.
43072 (ctan_towardzero_test_data): Likewise.
43073 (ctan_test_towardzero): Likewise.
43074 (ctan_downward_test_data): Likewise.
43075 (ctan_test_downward): Likewise.
43076 (ctan_upward_test_data): Likewise.
43077 (ctan_test_upward): Likewise.
43078 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
43079 (ctanh_test): Use ALL_RM_TEST.
43080 (ctanh_tonearest_test_data): Remove.
43081 (ctanh_test_tonearest): Likewise.
43082 (ctanh_towardzero_test_data): Likewise.
43083 (ctanh_test_towardzero): Likewise.
43084 (ctanh_downward_test_data): Likewise.
43085 (ctanh_test_downward): Likewise.
43086 (ctanh_upward_test_data): Likewise.
43087 (ctanh_test_upward): Likewise.
43088 (erf_test_data): Update call to AUTO_TESTS_f_f.
43089 (erfc_test_data): Likewise.
43090 (exp_test_data): Likewise.
43091 (exp_test): Use ALL_RM_TEST.
43092 (exp_tonearest_test_data): Remove.
43093 (exp_test_tonearest): Likewise.
43094 (exp_towardzero_test_data): Likewise.
43095 (exp_test_towardzero): Likewise.
43096 (exp_downward_test_data): Likewise.
43097 (exp_test_downward): Likewise.
43098 (exp_upward_test_data): Likewise.
43099 (exp_test_upward): Likewise.
43100 (exp10_test_data): Update call to AUTO_TESTS_f_f.
43101 (exp10_test): Use ALL_RM_TEST.
43102 (exp10_tonearest_test_data): Remove.
43103 (exp10_test_tonearest): Likewise.
43104 (exp10_towardzero_test_data): Likewise.
43105 (exp10_test_towardzero): Likewise.
43106 (exp10_downward_test_data): Likewise.
43107 (exp10_test_downward): Likewise.
43108 (exp10_upward_test_data): Likewise.
43109 (exp10_test_upward): Likewise.
43110 (exp2_test_data): Update call to AUTO_TESTS_f_f.
43111 (expm1_test_data): Likewise.
43112 (expm1_test): Use ALL_RM_TEST.
43113 (expm1_tonearest_test_data): Remove.
43114 (expm1_test_tonearest): Likewise.
43115 (expm1_towardzero_test_data): Likewise.
43116 (expm1_test_towardzero): Likewise.
43117 (expm1_downward_test_data): Likewise.
43118 (expm1_test_downward): Likewise.
43119 (expm1_upward_test_data): Likewise.
43120 (expm1_test_upward): Likewise.
43121 (fma_test_data): Update call to AUTO_TESTS_fff_f.
43122 (fma_test): Use ALL_RM_TEST.
43123 (fma_towardzero_test_data): Remove.
43124 (fma_test_towardzero): Likewise.
43125 (fma_downward_test_data): Likewise.
43126 (fma_test_downward): Likewise.
43127 (fma_upward_test_data): Likewise.
43128 (fma_test_upward): Likewise.
43129 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
43130 (j0_test_data): Update call to AUTO_TESTS_f_f.
43131 (j1_test_data): Likewise.
43132 (jn_test_data): Update call to AUTO_TESTS_if_f.
43133 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
43134 (log_test_data): Update call to AUTO_TESTS_f_f.
43135 (log10_test_data): Likewise.
43136 (log1p_test_data): Likewise.
43137 (log2_test_data): Likewise.
43138 (pow_test_data): Update call to AUTO_TESTS_ff_f.
43139 (pow_tonearest_test_data): Likewise.
43140 (sin_test_data): Update call to AUTO_TESTS_f_f.
43141 (sin_test): Use ALL_RM_TEST.
43142 (sin_tonearest_test_data): Remove.
43143 (sin_test_tonearest): Likewise.
43144 (sin_towardzero_test_data): Likewise.
43145 (sin_test_towardzero): Likewise.
43146 (sin_downward_test_data): Likewise.
43147 (sin_test_downward): Likewise.
43148 (sin_upward_test_data): Likewise.
43149 (sin_test_upward): Likewise.
43150 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
43151 (sinh_test_data): Update call to AUTO_TESTS_f_f.
43152 (sinh_test): Use ALL_RM_TEST.
43153 (sinh_tonearest_test_data): Remove.
43154 (sinh_test_tonearest): Likewise.
43155 (sinh_towardzero_test_data): Likewise.
43156 (sinh_test_towardzero): Likewise.
43157 (sinh_downward_test_data): Likewise.
43158 (sinh_test_downward): Likewise.
43159 (sinh_upward_test_data): Likewise.
43160 (sinh_test_upward): Likewise.
43161 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
43162 (sqrt_test): Use ALL_RM_TEST.
43163 (sqrt_tonearest_test_data): Remove.
43164 (sqrt_test_tonearest): Likewise.
43165 (sqrt_towardzero_test_data): Likewise.
43166 (sqrt_test_towardzero): Likewise.
43167 (sqrt_downward_test_data): Likewise.
43168 (sqrt_test_downward): Likewise.
43169 (sqrt_upward_test_data): Likewise.
43170 (sqrt_test_upward): Likewise.
43171 (tan_test_data): Update call to AUTO_TESTS_f_f.
43172 (tan_test): Use ALL_RM_TEST.
43173 (tan_tonearest_test_data): Remove.
43174 (tan_test_tonearest): Likewise.
43175 (tan_towardzero_test_data): Likewise.
43176 (tan_test_towardzero): Likewise.
43177 (tan_downward_test_data): Likewise.
43178 (tan_test_downward): Likewise.
43179 (tan_upward_test_data): Likewise.
43180 (tan_test_upward): Likewise.
43181 (tanh_test_data): Update call to AUTO_TESTS_f_f.
43182 (tgamma_test_data): Likewise.
43183 (y0_test_data): Likewise.
43184 (y1_test_data): Likewise.
43185 (yn_test_data): Update call to AUTO_TESTS_if_f.
43186 (main): Do not call removed functions.
43187
43188 2014-03-19 Joseph Myers <joseph@codesourcery.com>
43189
43190 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
43191 (ldexp_test_data): Remove.
43192 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
43193 scalbn_test_data.
43194 (scalb_test): Use ALL_RM_TEST.
43195
43196 2014-03-19 Andreas Schwab <schwab@suse.de>
43197
43198 * nscd/nscd.service: Also invalidate netgroup cache on reload.
43199
43200 2014-03-19 Joseph Myers <joseph@codesourcery.com>
43201
43202 [BZ #16649]
43203 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
43204 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
43205 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
43206 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43207 (__ASSUME_PREADV): Undefine.
43208 (__ASSUME_PWRITEV): Likewise.
43209
43210 2014-03-18 Roland McGrath <roland@hack.frob.com>
43211
43212 * bits/mman-linux.h: Add comment about non-Linux use.
43213 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
43214 bits/mman-linux.h resting place.
43215
43216 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
43217 * bits/mman-linux.h: ... here.
43218
43219 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43220
43221 * conform/conformtest.pl: Add standard definition when calling C
43222 preprocessor on data files.
43223 (checknamespace): Remove unused variable.
43224
43225 2014-03-18 Joseph Myers <joseph@codesourcery.com>
43226
43227 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
43228 minus_oflow, plus_uflow and minus_uflow in expected results.
43229 * math/libm-test.inc (scalbn_test_data): Add more tests of
43230 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
43231 minus_uflow.
43232 (scalbn_test): Use ALL_RM_TEST.
43233 (scalbln_test_data): Add more tests of negative arguments. Use
43234 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
43235 (scalbln_test): Use ALL_RM_TEST.
43236
43237 2014-03-18 Roland McGrath <roland@hack.frob.com>
43238
43239 * scripts/abilist.awk: Ignore symbols marked with .hidden.
43240
43241 2014-03-18 Will Newton <will.newton@linaro.org>
43242
43243 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
43244 inaccurate comment.
43245
43246 2014-03-18 Joseph Myers <joseph@codesourcery.com>
43247
43248 * Makerules [!subdir] (check-abi): Exit with error status if a
43249 test failed.
43250
43251 2014-03-17 Joseph Myers <joseph@codesourcery.com>
43252
43253 * math/libm-test.inc (nearbyint_test_data): Include all tests used
43254 for rint. Include results for all rounding modes.
43255 (nearbyint_test): Use ALL_RM_TEST.
43256 (rint_test_data): Include all tests used for nearbyint.
43257
43258 2014-03-17 Will Newton <will.newton@linaro.org>
43259
43260 * nptl/sysdeps/pthread/pthread.h: Revert previous
43261 change.
43262
43263 * sysdeps/generic/ldsodefs.h: Revert previous
43264 change.
43265
43266 * libio/genops.c: Revert previous change.
43267 * libio/libioP.h: Likewise.
43268 * stdio-common/vfprintf.c: Likewise.
43269
43270 * sysdeps/generic/math_private.h: Revert previous
43271 change.
43272
43273 * sysdeps/generic/math_private.h: Check whether
43274 HAVE_RM_CTX is defined with #ifdef rather
43275 than #if.
43276
43277 * argp/argp-fmtstream.h: Check whether
43278 __STRICT_ANSI__ is defined with #ifdef rather
43279 than #if.
43280 * argp/argp.h: Likewise.
43281
43282 * libio/genops.c: Check whether
43283 _IO_JUMPS_OFFSET is defined with #ifdef rather
43284 than #if.
43285 * libio/libioP.h: Likewise.
43286 * stdio-common/vfprintf.c: Likewise.
43287
43288 * sysdeps/generic/ldsodefs.h: Check whether
43289 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
43290 than #if.
43291
43292 * nptl/sysdeps/pthread/pthread.h: Check
43293 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
43294 its value.
43295
43296 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
43297
43298 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
43299 setting O_APPEND.
43300 * libio/tst-ftell-active-handler.c (do_append_test): Add a
43301 test case.
43302
43303 [BZ #16680]
43304 * libio/fileops.c (_IO_file_open): Seek to end of file but
43305 don't cache the offset.
43306 (get_file_offset): Remove function.
43307 (do_ftell): Use cached offset when available.
43308 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
43309 don't cache the offset.
43310 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
43311 case.
43312 (do_one_test): Call it.
43313 (do_ftell_test): Fix up expected old offset for a+ mode.
43314 * libio/wfileops.c (do_ftell_wide): Used cached offset when
43315 available.
43316
43317 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
43318 up test status with function return status.
43319 (do_write_test): Likewise.
43320 (do_append_test): Likewise.
43321
43322 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
43323 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
43324 Remove.
43325
43326 2014-03-17 Joseph Myers <joseph@codesourcery.com>
43327
43328 * math/gen-libm-test.pl (parse_args): Handle results specified for
43329 each rounding mode separately.
43330 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
43331 tests and results from lrint_tonearest_test_data,
43332 lrint_towardzero_test_data, lrint_downward_test_data and
43333 lrint_upward_test_data.
43334 (lrint_test): Use ALL_RM_TEST.
43335 (lrint_tonearest_test_data): Remove.
43336 (lrint_test_tonearest): Likewise.
43337 (lrint_towardzero_test_data): Likewise.
43338 (lrint_test_towardzero): Likewise.
43339 (lrint_downward_test_data): Likewise.
43340 (lrint_test_downward): Likewise.
43341 (lrint_upward_test_data): Likewise.
43342 (lrint_test_upward): Likewise.
43343 (llrint_test_data): Merge in per-rounding-mode tests and results
43344 from llrint_tonearest_test_data, llrint_towardzero_test_data,
43345 llrint_downward_test_data and llrint_upward_test_data.
43346 (llrint_test): Use ALL_RM_TEST.
43347 (llrint_tonearest_test_data): Remove.
43348 (llrint_test_tonearest): Likewise.
43349 (llrint_towardzero_test_data): Likewise.
43350 (llrint_test_towardzero): Likewise.
43351 (llrint_downward_test_data): Likewise.
43352 (llrint_test_downward): Likewise.
43353 (llrint_upward_test_data): Likewise.
43354 (llrint_test_upward): Likewise.
43355 (rint_test_data): Merge in per-rounding-mode tests and results
43356 from rint_tonearest_test_data, rint_towardzero_test_data,
43357 rint_downward_test_data and rint_upward_test_data. Add
43358 per-rounding-mode results for tests not in those arrays.
43359 (rint_test): Use ALL_RM_TEST.
43360 (rint_tonearest_test_data): Remove.
43361 (rint_test_tonearest): Likewise.
43362 (rint_towardzero_test_data): Likewise.
43363 (rint_test_towardzero): Likewise.
43364 (rint_downward_test_data): Likewise.
43365 (rint_test_downward): Likewise.
43366 (rint_upward_test_data): Likewise.
43367 (rint_test_upward): Likewise.
43368 (main): Don't call removed functions.
43369
43370 2014-03-14 Roland McGrath <roland@hack.frob.com>
43371
43372 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
43373 "Compiled on ..." crapola. It is anti-useful.
43374
43375 2014-03-14 Joseph Myers <joseph@codesourcery.com>
43376
43377 * scripts/evaluate-test.sh: Handle fourth argument to determine
43378 whether test run should stop on failure.
43379 * Makeconfig (stop-on-test-failure): New variable.
43380 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
43381 $(stop-on-test-failure).
43382 * Makefile (tests): Give a summary of results from testing and
43383 exit with failure status if they include an ERROR or FAIL.
43384 (xtests): Likewise.
43385 * manual/install.texi (Configuring and compiling): Mention
43386 stop-on-test-failure=y.
43387 * INSTALL: Regenerated.
43388
43389 2014-03-14 Roland McGrath <roland@hack.frob.com>
43390
43391 * scripts/versionlist.awk: New file.
43392 * Makerules [$(build-shared) = yes]
43393 (postclean-generated): Add Versions.def, not Versions.def.v and
43394 Versions.def.v.i.
43395 ($(common-objpfx)Versions.def.v.i): Target removed.
43396 ($(common-objpfx)Versions.def): New target.
43397 ($(common-objpfx)Versions.all): Depend on that rather that
43398 $(common-objpfx)Versions.def.v.
43399 * Versions.def: File removed.
43400
43401 * Makeconfig (+gccwarn): Add -Wundef.
43402 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
43403 a dl-sysdep.h breaking its contract.
43404 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
43405 * include/stackinfo.h: New file.
43406 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
43407 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
43408 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
43409 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
43410 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
43411 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
43412 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43413 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43414 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43415 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43416 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43417 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
43418 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43419 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43420 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43421
43422 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43423
43424 [BZ #16707]
43425 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
43426 implementation.
43427 * math/libm-test.inc (round_test_data): Add more tests.
43428
43429 [BZ #16706]
43430 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
43431 implementation.
43432 * math/libm-test.inc (nearbyint_test_data): Add more tests.
43433
43434 [BZ #16701]
43435 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
43436 implementation.
43437 * math/libm-test.inc (ceil_test_data): Add more tests.
43438
43439 * math/libm-test.inc (trunc_test_data): Add more tests related to
43440 BZ#16414.
43441
43442 2014-03-14 Roland McGrath <roland@hack.frob.com>
43443
43444 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
43445 with #if rather than #ifdef.
43446 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
43447
43448 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
43449
43450 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
43451 first. Disable AVX-512 GCC support if assembler doesn't support
43452 it.
43453 * sysdeps/x86_64/configure: Regenerated.
43454
43455 2014-03-13 Carlos O'Donell <carlos@redhat.com>
43456
43457 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
43458 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
43459 (__old_pthread_attr_setstack): Likewise.
43460 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
43461 [!_STACK_GROWS_DOWN]: Likewise.
43462
43463 2014-03-13 Mike Frysinger <vapier@gentoo.org>
43464
43465 * config.make.in (have-bash2): Delete.
43466 * configure.ac (libc_cv_have_bash2): Delete.
43467 * configure: Regenerate.
43468 * elf/Makefile (common-ldd-rewrite): Rename to ...
43469 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
43470 (sh-ldd-rewrite): Delete.
43471 (bash-ldd-rewrite): Delete.
43472 (have-bash2): Delete checks.
43473 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
43474 ldd-rewrite.
43475
43476 * config.make.in (have-ksh): Delete.
43477 (KSH): Delete.
43478 * configure.ac (libc_cv_have_ksh): Delete.
43479 * configure: Regenerate.
43480
43481 * elf/Makefile: Delete $(have-ksh) check.
43482 ($(objpfx)sotruss): Change KSH to BASH.
43483 * elf/sotruss.ksh: Rename to ...
43484 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
43485 function style to match POSIX. Drop ksh vim mode setting.
43486
43487 * manual/time.texi (Specifying the Time Zone with TZ): Change
43488 Tuesday to Thursday.
43489
43490 * debug/tst-longjmp_chk2.c: Update header comment.
43491 (stackoverflow_handler): Add comment. Call assert on pass value.
43492
43493 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
43494
43495 [BZ #16194]
43496 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
43497 (HAVE_AVX512_ASM_SUPPORT): Likewise.
43498 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
43499 (La_x86_64_vector): Add zmm.
43500 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
43501 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
43502 ($(objpfx)tst-audit10): New target.
43503 ($(objpfx)tst-audit10.out): Likewise.
43504 (tst-audit10-ENV): New.
43505 (AVX512-CFLAGS): Likewise.
43506 (CFLAGS-tst-audit10.c): Likewise.
43507 (CFLAGS-tst-auditmod10a.c): Likewise.
43508 (CFLAGS-tst-auditmod10b.c): Likewise.
43509 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
43510 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
43511 * sysdeps/x86_64/configure: Regenerated.
43512 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
43513 AVX-512 zmm register support.
43514 (_dl_x86_64_save_sse): Likewise.
43515 (_dl_x86_64_restore_sse): Likewise.
43516 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
43517 size vector registers.
43518 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
43519 (ZMM_SIZE): Likewise.
43520 * sysdeps/x86_64/tst-audit10.c: New file.
43521 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
43522 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
43523
43524 2014-03-13 Roland McGrath <roland@hack.frob.com>
43525
43526 * configure.ac (HAVE_EHDR_START): New check.
43527 * configure: Regenerated.
43528 * config.h.in (HAVE_EHDR_START): New #undef.
43529 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
43530 assuming the lowest-addressed segment maps the start of the file.
43531
43532 2014-03-13 Joseph Myers <joseph@codesourcery.com>
43533
43534 * INSTALL: Regenerated.
43535
43536 2014-03-13 Will Newton <will.newton@linaro.org>
43537
43538 * manual/setjmp.texi (System V contexts): Improve
43539 clarity and grammar of documentation.
43540
43541 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
43542
43543 [BZ #16381]
43544 * elf/Makefile (tests): Add tst-pie2.
43545 (tests-pie): Add tst-pie2.
43546 * elf/tst-pie2.c: New file.
43547 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
43548 for ET_EXEC.
43549 * elf/rtld.c (map_doit): Load executable as lt_executable.
43550 (dl_main): Likewise.
43551
43552 2014-03-12 Joseph Myers <joseph@codesourcery.com>
43553
43554 [BZ #16642]
43555 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43556 (__ASSUME_PSELECT): Undefine.
43557
43558 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43559
43560 [BZ #16689]
43561 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
43562 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
43563 static build.
43564 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
43565 selector for static builds.
43566
43567 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
43568
43569 [BZ #16695]
43570 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
43571 key in the buffer.
43572
43573 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43574
43575 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
43576 IFUNC selector for static builds.
43577
43578 2014-03-11 Joseph Myers <joseph@codesourcery.com>
43579
43580 * sysdeps/mips/math_private.h [__mips_hard_float]
43581 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
43582 libc_feresetround_mips_ctx.
43583 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
43584 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
43585 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
43586
43587 [BZ #16677]
43588 * math/s_nextafter.c (__nextafter): Do not return value from
43589 overflowing computation.
43590 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
43591 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
43592 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
43593 Likewise.
43594 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
43595 Likewise.
43596 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
43597 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
43598
43599 2014-03-11 Roland McGrath <roland@hack.frob.com>
43600
43601 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
43602 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
43603 Move sfi_sp use from the load-multiple (that no longer sets sp) to
43604 the new mov targetting sp.
43605
43606 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43607
43608 [BZ #16683]
43609 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
43610 Define it for static builds as well.
43611 (NO_BZERO_IMPL): Likewise.
43612
43613 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
43614
43615 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
43616 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
43617 multiarch strspn for PPC64.
43618 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
43619 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
43620 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
43621 (__libc_ifunc_impl_list): Likewise.
43622 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
43623 multiarch optimizations
43624 * string/strspn.c (strspn): Using macro to redefine symbol name.
43625
43626 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
43627 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43628
43629 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
43630 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
43631 multiarch strncat for PPC64.
43632 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
43633 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
43634 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
43635 (__libc_ifunc_impl_list): Likewise.
43636 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
43637 multiarch optimizations
43638
43639 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
43640
43641 [BZ #16639]
43642 * nscd/nscd.service: Make service type forking.
43643
43644 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43645
43646 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
43647 sign in non default rounding modes.
43648 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
43649
43650 2014-03-08 Joseph Myers <joseph@codesourcery.com>
43651
43652 * math/libm-test.inc (ALL_RM_TEST): New macro.
43653 (ceil_test): Use ALL_RM_TEST.
43654 (cimag_test): Likewise.
43655 (conj_test): Likewise.
43656 (copysign_test): Likewise.
43657 (cproj_test): Likewise.
43658 (creal_test): Likewise.
43659 (fabs_test): Likewise.
43660 (floor_test): Likewise.
43661 (fmax_test): Likewise.
43662 (fmin_test): Likewise.
43663 (fmod_test): Likewise.
43664 (fpclassify_test): Likewise.
43665 (frexp_test): Likewise.
43666 (ilogb_test): Likewise.
43667 (isfinite_test): Likewise.
43668 (finite_test): Likewise.
43669 (isgreater_test): Likewise.
43670 (isgreaterequal_test): Likewise.
43671 (isinf_test): Likewise.
43672 (isless_test): Likewise.
43673 (islessequal_test): Likewise.
43674 (islessgreater_test): Likewise.
43675 (isnan_test): Likewise.
43676 (isnormal_test): Likewise.
43677 (issignaling_test): Likewise.
43678 (isunordered_test): Likewise.
43679 (logb_test): Likewise.
43680 (logb_downward_test_data): Remove.
43681 (logb_test_downward): Likewise.
43682 (lround_test): Use ALL_RM_TEST.
43683 (llround_test): Likewise.
43684 (modf_test): Likewise.
43685 (nexttoward_test): Likewise.
43686 (remainder_test): Likewise.
43687 (drem_test): Likewise.
43688 (remainder_tonearest_test_data): Likewise.
43689 (remainder_test_tonearest): Likewise.
43690 (drem_test_tonearest): Likewise.
43691 (remainder_towardzero_test_data): Likewise.
43692 (remainder_test_towardzero): Likewise.
43693 (drem_test_towardzero): Likewise.
43694 (remainder_downward_test_data): Likewise.
43695 (remainder_test_downward): Likewise.
43696 (drem_test_downward): Likewise.
43697 (remainder_upward_test_data): Likewise.
43698 (remainder_test_upward): Likewise.
43699 (drem_test_upward): Likewise.
43700 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
43701 (round_test): Use ALL_RM_TEST.
43702 (signbit_test): Likewise.
43703 (trunc_test): Likewise.
43704 (significand_test): Likewise.
43705 (main): Don't call removed functions.
43706
43707 2014-03-07 Joseph Myers <joseph@codesourcery.com>
43708
43709 [BZ #16674]
43710 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
43711 || __USE_XOPEN2K8].
43712 (ILL_ILLOPN): Likewise.
43713 (ILL_ILLADR): Likewise.
43714 (ILL_ILLTRP): Likewise.
43715 (ILL_PRVOPC): Likewise.
43716 (ILL_PRVREG): Likewise.
43717 (ILL_COPROC): Likewise.
43718 (ILL_BADSTK): Likewise.
43719 (FPE_INTDIV): Likewise.
43720 (FPE_INTOVF): Likewise.
43721 (FPE_FLTDIV): Likewise.
43722 (FPE_FLTOVF): Likewise.
43723 (FPE_FLTUND): Likewise.
43724 (FPE_FLTRES): Likewise.
43725 (FPE_FLTINV): Likewise.
43726 (FPE_FLTSUB): Likewise.
43727 (SEGV_MAPERR): Likewise.
43728 (SEGV_ACCERR): Likewise.
43729 (BUS_ADRALN): Likewise.
43730 (BUS_ADRERR): Likewise.
43731 (BUS_OBJERR): Likewise.
43732 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43733 (TRAP_TRACE): Likewise.
43734 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43735 __USE_XOPEN2K8].
43736 (CLD_KILLED): Likewise.
43737 (CLD_DUMPED): Likewise.
43738 (CLD_TRAPPED): Likewise.
43739 (CLD_STOPPED): Likewise.
43740 (CLD_CONTINUED): Likewise.
43741 (POLL_IN): Likewise.
43742 (POLL_OUT): Likewise.
43743 (POLL_MSG): Likewise.
43744 (POLL_ERR): Likewise.
43745 (POLL_PRI): Likewise.
43746 (POLL_HUP): Likewise.
43747 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
43748 Likewise.
43749 (ILL_ILLOPN): Likewise.
43750 (ILL_ILLADR): Likewise.
43751 (ILL_ILLTRP): Likewise.
43752 (ILL_PRVOPC): Likewise.
43753 (ILL_PRVREG): Likewise.
43754 (ILL_COPROC): Likewise.
43755 (ILL_BADSTK): Likewise.
43756 (FPE_INTDIV): Likewise.
43757 (FPE_INTOVF): Likewise.
43758 (FPE_FLTDIV): Likewise.
43759 (FPE_FLTOVF): Likewise.
43760 (FPE_FLTUND): Likewise.
43761 (FPE_FLTRES): Likewise.
43762 (FPE_FLTINV): Likewise.
43763 (FPE_FLTSUB): Likewise.
43764 (SEGV_MAPERR): Likewise.
43765 (SEGV_ACCERR): Likewise.
43766 (BUS_ADRALN): Likewise.
43767 (BUS_ADRERR): Likewise.
43768 (BUS_OBJERR): Likewise.
43769 (BUS_MCEERR_AR): Likewise.
43770 (BUS_MCEERR_AO): Likewise.
43771 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43772 (TRAP_TRACE): Likewise.
43773 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43774 __USE_XOPEN2K8].
43775 (CLD_KILLED): Likewise.
43776 (CLD_DUMPED): Likewise.
43777 (CLD_TRAPPED): Likewise.
43778 (CLD_STOPPED): Likewise.
43779 (CLD_CONTINUED): Likewise.
43780 (POLL_IN): Likewise.
43781 (POLL_OUT): Likewise.
43782 (POLL_MSG): Likewise.
43783 (POLL_ERR): Likewise.
43784 (POLL_PRI): Likewise.
43785 (POLL_HUP): Likewise.
43786 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
43787 (ILL_ILLOPN): Likewise.
43788 (ILL_ILLADR): Likewise.
43789 (ILL_ILLTRP): Likewise.
43790 (ILL_PRVOPC): Likewise.
43791 (ILL_PRVREG): Likewise.
43792 (ILL_COPROC): Likewise.
43793 (ILL_BADSTK): Likewise.
43794 (FPE_INTDIV): Likewise.
43795 (FPE_INTOVF): Likewise.
43796 (FPE_FLTDIV): Likewise.
43797 (FPE_FLTOVF): Likewise.
43798 (FPE_FLTUND): Likewise.
43799 (FPE_FLTRES): Likewise.
43800 (FPE_FLTINV): Likewise.
43801 (FPE_FLTSUB): Likewise.
43802 (SEGV_MAPERR): Likewise.
43803 (SEGV_ACCERR): Likewise.
43804 (BUS_ADRALN): Likewise.
43805 (BUS_ADRERR): Likewise.
43806 (BUS_OBJERR): Likewise.
43807 (BUS_MCEERR_AR): Likewise.
43808 (BUS_MCEERR_AO): Likewise.
43809 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43810 (TRAP_TRACE): Likewise.
43811 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43812 __USE_XOPEN2K8].
43813 (CLD_KILLED): Likewise.
43814 (CLD_DUMPED): Likewise.
43815 (CLD_TRAPPED): Likewise.
43816 (CLD_STOPPED): Likewise.
43817 (CLD_CONTINUED): Likewise.
43818 (POLL_IN): Likewise.
43819 (POLL_OUT): Likewise.
43820 (POLL_MSG): Likewise.
43821 (POLL_ERR): Likewise.
43822 (POLL_PRI): Likewise.
43823 (POLL_HUP): Likewise.
43824 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
43825 Likewise.
43826 (ILL_ILLOPN): Likewise.
43827 (ILL_ILLADR): Likewise.
43828 (ILL_ILLTRP): Likewise.
43829 (ILL_PRVOPC): Likewise.
43830 (ILL_PRVREG): Likewise.
43831 (ILL_COPROC): Likewise.
43832 (ILL_BADSTK): Likewise.
43833 (ILL_BADIADDR): Likewise.
43834 (ILL_BREAK): Likewise.
43835 (FPE_INTDIV): Likewise.
43836 (FPE_INTOVF): Likewise.
43837 (FPE_FLTDIV): Likewise.
43838 (FPE_FLTOVF): Likewise.
43839 (FPE_FLTUND): Likewise.
43840 (FPE_FLTRES): Likewise.
43841 (FPE_FLTINV): Likewise.
43842 (FPE_FLTSUB): Likewise.
43843 (FPE_DECOVF): Likewise.
43844 (FPE_DECDIV): Likewise.
43845 (FPE_DECERR): Likewise.
43846 (FPE_INVASC): Likewise.
43847 (FPE_INVDEC): Likewise.
43848 (SEGV_MAPERR): Likewise.
43849 (SEGV_ACCERR): Likewise.
43850 (SEGV_PSTKOVF): Likewise.
43851 (BUS_ADRALN): Likewise.
43852 (BUS_ADRERR): Likewise.
43853 (BUS_OBJERR): Likewise.
43854 (BUS_MCEERR_AR): Likewise.
43855 (BUS_MCEERR_AO): Likewise.
43856 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43857 (TRAP_TRACE): Likewise.
43858 (TRAP_BRANCH): Likewise.
43859 (TRAP_HWBKPT): Likewise.
43860 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43861 __USE_XOPEN2K8].
43862 (CLD_KILLED): Likewise.
43863 (CLD_DUMPED): Likewise.
43864 (CLD_TRAPPED): Likewise.
43865 (CLD_STOPPED): Likewise.
43866 (CLD_CONTINUED): Likewise.
43867 (POLL_IN): Likewise.
43868 (POLL_OUT): Likewise.
43869 (POLL_MSG): Likewise.
43870 (POLL_ERR): Likewise.
43871 (POLL_PRI): Likewise.
43872 (POLL_HUP): Likewise.
43873 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
43874 (ILL_ILLOPN): Likewise.
43875 (ILL_ILLADR): Likewise.
43876 (ILL_ILLTRP): Likewise.
43877 (ILL_PRVOPC): Likewise.
43878 (ILL_PRVREG): Likewise.
43879 (ILL_COPROC): Likewise.
43880 (ILL_BADSTK): Likewise.
43881 (FPE_INTDIV): Likewise.
43882 (FPE_INTOVF): Likewise.
43883 (FPE_FLTDIV): Likewise.
43884 (FPE_FLTOVF): Likewise.
43885 (FPE_FLTUND): Likewise.
43886 (FPE_FLTRES): Likewise.
43887 (FPE_FLTINV): Likewise.
43888 (FPE_FLTSUB): Likewise.
43889 (SEGV_MAPERR): Likewise.
43890 (SEGV_ACCERR): Likewise.
43891 (BUS_ADRALN): Likewise.
43892 (BUS_ADRERR): Likewise.
43893 (BUS_OBJERR): Likewise.
43894 (BUS_MCEERR_AR): Likewise.
43895 (BUS_MCEERR_AO): Likewise.
43896 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43897 (TRAP_TRACE): Likewise.
43898 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43899 __USE_XOPEN2K8].
43900 (CLD_KILLED): Likewise.
43901 (CLD_DUMPED): Likewise.
43902 (CLD_TRAPPED): Likewise.
43903 (CLD_STOPPED): Likewise.
43904 (CLD_CONTINUED): Likewise.
43905 (POLL_IN): Likewise.
43906 (POLL_OUT): Likewise.
43907 (POLL_MSG): Likewise.
43908 (POLL_ERR): Likewise.
43909 (POLL_PRI): Likewise.
43910 (POLL_HUP): Likewise.
43911 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
43912 (ILL_ILLOPN): Likewise.
43913 (ILL_ILLADR): Likewise.
43914 (ILL_ILLTRP): Likewise.
43915 (ILL_PRVOPC): Likewise.
43916 (ILL_PRVREG): Likewise.
43917 (ILL_COPROC): Likewise.
43918 (ILL_BADSTK): Likewise.
43919 (FPE_INTDIV): Likewise.
43920 (FPE_INTOVF): Likewise.
43921 (FPE_FLTDIV): Likewise.
43922 (FPE_FLTOVF): Likewise.
43923 (FPE_FLTUND): Likewise.
43924 (FPE_FLTRES): Likewise.
43925 (FPE_FLTINV): Likewise.
43926 (FPE_FLTSUB): Likewise.
43927 (SEGV_MAPERR): Likewise.
43928 (SEGV_ACCERR): Likewise.
43929 (BUS_ADRALN): Likewise.
43930 (BUS_ADRERR): Likewise.
43931 (BUS_OBJERR): Likewise.
43932 (BUS_MCEERR_AR): Likewise.
43933 (BUS_MCEERR_AO): Likewise.
43934 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43935 (TRAP_TRACE): Likewise.
43936 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43937 __USE_XOPEN2K8].
43938 (CLD_KILLED): Likewise.
43939 (CLD_DUMPED): Likewise.
43940 (CLD_TRAPPED): Likewise.
43941 (CLD_STOPPED): Likewise.
43942 (CLD_CONTINUED): Likewise.
43943 (POLL_IN): Likewise.
43944 (POLL_OUT): Likewise.
43945 (POLL_MSG): Likewise.
43946 (POLL_ERR): Likewise.
43947 (POLL_PRI): Likewise.
43948 (POLL_HUP): Likewise.
43949 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
43950 (ILL_ILLOPN): Likewise.
43951 (ILL_ILLADR): Likewise.
43952 (ILL_ILLTRP): Likewise.
43953 (ILL_PRVOPC): Likewise.
43954 (ILL_PRVREG): Likewise.
43955 (ILL_COPROC): Likewise.
43956 (ILL_BADSTK): Likewise.
43957 (FPE_INTDIV): Likewise.
43958 (FPE_INTOVF): Likewise.
43959 (FPE_FLTDIV): Likewise.
43960 (FPE_FLTOVF): Likewise.
43961 (FPE_FLTUND): Likewise.
43962 (FPE_FLTRES): Likewise.
43963 (FPE_FLTINV): Likewise.
43964 (FPE_FLTSUB): Likewise.
43965 (SEGV_MAPERR): Likewise.
43966 (SEGV_ACCERR): Likewise.
43967 (BUS_ADRALN): Likewise.
43968 (BUS_ADRERR): Likewise.
43969 (BUS_OBJERR): Likewise.
43970 (BUS_MCEERR_AR): Likewise.
43971 (BUS_MCEERR_AO): Likewise.
43972 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43973 (TRAP_TRACE): Likewise.
43974 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43975 __USE_XOPEN2K8].
43976 (CLD_KILLED): Likewise.
43977 (CLD_DUMPED): Likewise.
43978 (CLD_TRAPPED): Likewise.
43979 (CLD_STOPPED): Likewise.
43980 (CLD_CONTINUED): Likewise.
43981 (POLL_IN): Likewise.
43982 (POLL_OUT): Likewise.
43983 (POLL_MSG): Likewise.
43984 (POLL_ERR): Likewise.
43985 (POLL_PRI): Likewise.
43986 (POLL_HUP): Likewise.
43987 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
43988 (ILL_ILLOPN): Likewise.
43989 (ILL_ILLADR): Likewise.
43990 (ILL_ILLTRP): Likewise.
43991 (ILL_PRVOPC): Likewise.
43992 (ILL_PRVREG): Likewise.
43993 (ILL_COPROC): Likewise.
43994 (ILL_BADSTK): Likewise.
43995 (ILL_DBLFLT): Likewise.
43996 (ILL_HARDWALL): Likewise.
43997 (FPE_INTDIV): Likewise.
43998 (FPE_INTOVF): Likewise.
43999 (FPE_FLTDIV): Likewise.
44000 (FPE_FLTOVF): Likewise.
44001 (FPE_FLTUND): Likewise.
44002 (FPE_FLTRES): Likewise.
44003 (FPE_FLTINV): Likewise.
44004 (FPE_FLTSUB): Likewise.
44005 (SEGV_MAPERR): Likewise.
44006 (SEGV_ACCERR): Likewise.
44007 (BUS_ADRALN): Likewise.
44008 (BUS_ADRERR): Likewise.
44009 (BUS_OBJERR): Likewise.
44010 (BUS_MCEERR_AR): Likewise.
44011 (BUS_MCEERR_AO): Likewise.
44012 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44013 (TRAP_TRACE): Likewise.
44014 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44015 __USE_XOPEN2K8].
44016 (CLD_KILLED): Likewise.
44017 (CLD_DUMPED): Likewise.
44018 (CLD_TRAPPED): Likewise.
44019 (CLD_STOPPED): Likewise.
44020 (CLD_CONTINUED): Likewise.
44021 (POLL_IN): Likewise.
44022 (POLL_OUT): Likewise.
44023 (POLL_MSG): Likewise.
44024 (POLL_ERR): Likewise.
44025 (POLL_PRI): Likewise.
44026 (POLL_HUP): Likewise.
44027 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
44028 (ILL_ILLOPN): Likewise.
44029 (ILL_ILLADR): Likewise.
44030 (ILL_ILLTRP): Likewise.
44031 (ILL_PRVOPC): Likewise.
44032 (ILL_PRVREG): Likewise.
44033 (ILL_COPROC): Likewise.
44034 (ILL_BADSTK): Likewise.
44035 (FPE_INTDIV): Likewise.
44036 (FPE_INTOVF): Likewise.
44037 (FPE_FLTDIV): Likewise.
44038 (FPE_FLTOVF): Likewise.
44039 (FPE_FLTUND): Likewise.
44040 (FPE_FLTRES): Likewise.
44041 (FPE_FLTINV): Likewise.
44042 (FPE_FLTSUB): Likewise.
44043 (SEGV_MAPERR): Likewise.
44044 (SEGV_ACCERR): Likewise.
44045 (BUS_ADRALN): Likewise.
44046 (BUS_ADRERR): Likewise.
44047 (BUS_OBJERR): Likewise.
44048 (BUS_MCEERR_AR): Likewise.
44049 (BUS_MCEERR_AO): Likewise.
44050 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44051 (TRAP_TRACE): Likewise.
44052 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44053 __USE_XOPEN2K8].
44054 (CLD_KILLED): Likewise.
44055 (CLD_DUMPED): Likewise.
44056 (CLD_TRAPPED): Likewise.
44057 (CLD_STOPPED): Likewise.
44058 (CLD_CONTINUED): Likewise.
44059 (POLL_IN): Likewise.
44060 (POLL_OUT): Likewise.
44061 (POLL_MSG): Likewise.
44062 (POLL_ERR): Likewise.
44063 (POLL_PRI): Likewise.
44064 (POLL_HUP): Likewise.
44065 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
44066 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
44067
44068 [BZ #16670]
44069 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
44070 before #include of <time.h>.
44071 [!__USE_XOPEN2K] (__need_timespec): Likewise.
44072 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
44073 (test-xfail-UNIX98/sched.h/conform): Likewise.
44074
44075 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
44076
44077 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
44078 error absence of trapping exception support.
44079 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
44080
44081 2014-03-07 Joseph Myers <joseph@codesourcery.com>
44082
44083 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
44084 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
44085 * timezone/Makefile (testdata): Move definition above include of
44086 Rules.
44087 (test-zones): New variable.
44088 (tests-special): Add zone files.
44089 (build-testdata): Use $(evaluate-test).
44090
44091 * elf/Makefile (tests-special): Rename tests to end with .out.
44092 ($(objpfx)noload-mem): Likewise.
44093 ($(objpfx)tst-leaks1-mem): Likewise.
44094 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
44095 * iconv/Makefile (xtests-special): Change test-iconvconfig to
44096 $(objpfx)test-iconvconfig.out.
44097 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
44098 set -e inside subshell and redirect output to file.
44099 * iconvdata/Makefile (generated): Rename tests to end with .out.
44100 Correct type.
44101 (tests-special): Rename tests to end with .out.
44102 ($(objpfx)mtrace-tst-loading): Likewise.
44103 * intl/Makefile (generated): Likewise.
44104 (tests-special): Likewise.
44105 ($(objpfx)mtrace-tst-gettext): Likewise.
44106 * misc/Makefile (generated): Likewise.
44107 (tests-special): Likewise.
44108 ($(objpfx)tst-error1-mem): Likewise.
44109 * nptl/Makefile (tests-special): Likewise.
44110 ($(objpfx)tst-stack3-mem): Likewise.
44111 (generated): Likewise.
44112 * posix/Makefile (generated): Likewise.
44113 (tests-special): Likewise.
44114 (xtests-special): Likewise.
44115 ($(objpfx)tst-fnmatch-mem): Likewise.
44116 ($(objpfx)bug-regex2-mem): Likewise.
44117 ($(objpfx)bug-regex14-mem): Likewise.
44118 ($(objpfx)bug-regex21-mem): Likewise.
44119 ($(objpfx)bug-regex31-mem): Likewise.
44120 ($(objpfx)tst-vfork3-mem): Likewise.
44121 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
44122 ($(objpfx)tst-pcre-mem): Likewise.
44123 ($(objpfx)tst-boost-mem): Likewise.
44124 ($(objpfx)bug-ga2-mem): Likewise.
44125 ($(objpfx)bug-glob2-mem): Likewise.
44126 * resolv/Makefile (generate): Likewise.
44127 (tests-special): Likewise.
44128 (xtests-special): Likewise.
44129 (generated): Likewise.
44130 ($(objpfx)mtrace-tst-leaks): Likewise.
44131 ($(objpfx)mtrace-tst-leaks2): Likewise.
44132
44133 * scripts/merge-test-results.sh: New file.
44134 * Makefile (tests-special-notdir): New variable.
44135 (tests): Run merge-test-results.sh.
44136 (xtests): Likewise.
44137 * Rules (tests-special-notdir): New variable.
44138 (xtests-special-notdir): Likewise.
44139 (tests): Run merge-test-results.sh
44140 (xtests): Likewise.
44141
44142 * Makeconfig (test-xfail-name): New variable.
44143 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
44144 compute variable name for expected failures.
44145 * conform/Makefile (conformtest-headers-data): New variable.
44146 (conformtest-standards): Likewise.
44147 (conformtest-headers-ISO): Likewise.
44148 (conformtest-headers-ISO99): Likewise.
44149 (conformtest-headers-ISO11): Likewise.
44150 (conformtest-headers-POSIX): Likewise.
44151 (conformtest-headers-XPG3): Likewise.
44152 (conformtest-headers-XPG4): Likewise.
44153 (conformtest-headers-UNIX98): Likewise.
44154 (conformtest-headers-XOPEN2K): Likewise.
44155 (conformtest-headers-POSIX2008): Likewise.
44156 (conformtest-headers-XOPEN2K8): Likewise.
44157 (conformtest-header-list-base): Likewise.
44158 (conformtest-header-list-tests): Likewise.
44159 (conformtest-header-base): Likewise.
44160 (conformtest-header-tests): Likewise.
44161 (tests-special): Add $(conformtest-header-list-tests). If
44162 [$(fast-check) && !$(cross-compiling)], add
44163 $(conformtest-header-tests) instead of
44164 $(objpfx)run-conformtest.out.
44165 (generated): Add $(conformtest-header-list-base). If
44166 [$(fast-check) && !$(cross-compiling)], add
44167 $(conformtest-header-base). Remove previous setting.
44168 ($(conformtest-header-list-tests)): New target.
44169 (test-xfail-run-conformtest): Remove variable.
44170 ($(objpfx)run-conformtest.out): Remove target.
44171 (test-xfail-ISO11/complex.h/conform): New variable.
44172 (test-xfail-ISO11/stdalign.h/conform): Likewise.
44173 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
44174 (test-xfail-XPG3/varargs.h/conform): Likewise.
44175 (test-xfail-XPG4/varargs.h/conform): Likewise.
44176 (test-xfail-UNIX98/varargs.h/conform): Likewise.
44177 (test-xfail-XPG4/ndbm.h/conform): Likewise.
44178 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
44179 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
44180 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
44181 (test-xfail-XPG3/fcntl.h/conform): Likewise.
44182 (test-xfail-XPG3/ftw.h/conform): Likewise.
44183 (test-xfail-XPG3/grp.h/conform): Likewise.
44184 (test-xfail-XPG3/langinfo.h/conform): Likewise.
44185 (test-xfail-XPG3/limits.h/conform): Likewise.
44186 (test-xfail-XPG3/pwd.h/conform): Likewise.
44187 (test-xfail-XPG3/search.h/conform): Likewise.
44188 (test-xfail-XPG3/signal.h/conform): Likewise.
44189 (test-xfail-XPG3/stdio.h/conform): Likewise.
44190 (test-xfail-XPG3/stdlib.h/conform): Likewise.
44191 (test-xfail-XPG3/string.h/conform): Likewise.
44192 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
44193 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
44194 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
44195 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
44196 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
44197 (test-xfail-XPG3/sys/types.h/conform): Likewise.
44198 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
44199 (test-xfail-XPG3/termios.h/conform): Likewise.
44200 (test-xfail-XPG3/time.h/conform): Likewise.
44201 (test-xfail-XPG3/unistd.h/conform): Likewise.
44202 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
44203 (test-xfail-XPG4/fcntl.h/conform): Likewise.
44204 (test-xfail-XPG4/langinfo.h/conform): Likewise.
44205 (test-xfail-XPG4/netdb.h/conform): Likewise.
44206 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
44207 (test-xfail-XPG4/signal.h/conform): Likewise.
44208 (test-xfail-XPG4/stdio.h/conform): Likewise.
44209 (test-xfail-XPG4/stdlib.h/conform): Likewise.
44210 (test-xfail-XPG4/stropts.h/conform): Likewise.
44211 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
44212 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
44213 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
44214 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
44215 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
44216 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
44217 (test-xfail-XPG4/sys/time.h/conform): Likewise.
44218 (test-xfail-XPG4/sys/types.h/conform): Likewise.
44219 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
44220 (test-xfail-XPG4/termios.h/conform): Likewise.
44221 (test-xfail-XPG4/ucontext.h/conform): Likewise.
44222 (test-xfail-XPG4/unistd.h/conform): Likewise.
44223 (test-xfail-XPG4/utmpx.h/conform): Likewise.
44224 (test-xfail-POSIX/sched.h/conform): Likewise.
44225 (test-xfail-POSIX/signal.h/conform): Likewise.
44226 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
44227 (test-xfail-POSIX/tar.h/conform): Likewise.
44228 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
44229 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
44230 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
44231 (test-xfail-UNIX98/netdb.h/conform): Likewise.
44232 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
44233 (test-xfail-UNIX98/sched.h/conform): Likewise.
44234 (test-xfail-UNIX98/signal.h/conform): Likewise.
44235 (test-xfail-UNIX98/stdio.h/conform): Likewise.
44236 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
44237 (test-xfail-UNIX98/stropts.h/conform): Likewise.
44238 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
44239 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
44240 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
44241 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
44242 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
44243 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
44244 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
44245 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
44246 (test-xfail-UNIX98/unistd.h/conform): Likewise.
44247 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
44248 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
44249 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
44250 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
44251 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
44252 (test-xfail-XOPEN2K/math.h/conform): Likewise.
44253 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
44254 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
44255 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
44256 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
44257 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
44258 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
44259 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
44260 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
44261 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
44262 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
44263 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
44264 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
44265 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
44266 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
44267 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
44268 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
44269 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
44270 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
44271 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
44272 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
44273 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
44274 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
44275 (test-xfail-POSIX2008/signal.h/conform): Likewise.
44276 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
44277 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
44278 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
44279 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
44280 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
44281 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
44282 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
44283 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
44284 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
44285 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
44286 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
44287 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
44288 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
44289 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
44290 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
44291 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
44292 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
44293 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
44294 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
44295 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
44296 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
44297 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
44298 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
44299 (conformtest-cc-flags): Likewise.
44300 ($(conformtest-header-tests): New target.
44301 * conform/check-header-lists.sh: New file.
44302 * conform/run-conformtest.sh: Remove.
44303
44304 * conform/conformtest.pl: Allow ' and \ in values given for
44305 constants.
44306 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
44307 inclusion.
44308 [POSIX] (sys/types.h): Likewise.
44309 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
44310 inclusion.
44311 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
44312 inclusion.
44313 * conform/data/signal.h-data (SIGIO): Remove expectation.
44314 [XPG3] (SIGBUS): Do not expect.
44315 [POSIX || XPG3] (SIGPOLL): Likewise.
44316 [POSIX || XPG3] (SIGPROF): Likewise.
44317 [POSIX || XPG3] (SIGSYS): Likewise.
44318 [XPG3] (SIGTRAP): Likewise.
44319 [POSIX || XPG3] (SIGURG): Likewise.
44320 [POSIX || XPG3] (SIGVTALRM): Likewise.
44321 [POSIX || XPG3] (SIGXCPU): Likewise.
44322 [POSIX || XPG3] (SIGXFSZ): Likewise.
44323 [POSIX] (SA_SIGINFO): Expect.
44324 [XPG3] (siginfo_t): Do not expect type or contents.
44325 [POSIX] (si_pid): Do not expect element.
44326 [POSIX] (si_uid): Likewise.
44327 [POSIX] (si_addr): Likewise.
44328 [POSIX] (si_status): Likewise.
44329 [POSIX] (si_band): Likewise.
44330 [XPG4] (si_value): Likewise.
44331 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
44332 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
44333 [POSIX || XPG3] (ILL_ILLADR): Likewise.
44334 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
44335 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
44336 [POSIX || XPG3] (ILL_PRVREG): Likewise.
44337 [POSIX || XPG3] (ILL_COPROC): Likewise.
44338 [POSIX || XPG3] (ILL_BADSTK): Likewise.
44339 [POSIX || XPG3] (FPE_INTDIV): Likewise.
44340 [POSIX || XPG3] (FPE_INTOVF): Likewise.
44341 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
44342 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
44343 [POSIX || XPG3] (FPE_FLTUND): Likewise.
44344 [POSIX || XPG3] (FPE_FLTRES): Likewise.
44345 [POSIX || XPG3] (FPE_FLTINV): Likewise.
44346 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
44347 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
44348 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
44349 [POSIX || XPG3] (BUS_ADRALN): Likewise.
44350 [POSIX || XPG3] (BUS_ADRERR): Likewise.
44351 [POSIX || XPG3] (BUS_OBJERR): Likewise.
44352 [POSIX || XPG3] (CLD_EXITED): Likewise.
44353 [POSIX || XPG3] (CLD_KILLED): Likewise.
44354 [POSIX || XPG3] (CLD_DUMPED): Likewise.
44355 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
44356 [POSIX || XPG3] (CLD_STOPPED): Likewise.
44357 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
44358 [POSIX || XPG3] (POLL_IN): Likewise.
44359 [POSIX || XPG3] (POLL_OUT): Likewise.
44360 [POSIX || XPG3] (POLL_MSG): Likewise.
44361 [POSIX || XPG3] (POLL_ERR): Likewise.
44362 [POSIX || XPG3] (POLL_PRI): Likewise.
44363 [POSIX || XPG3] (POLL_HUP): Likewise.
44364 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
44365 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
44366 (SIG*): Do not allow.
44367 [XPG3] (si_*): Likewise.
44368 [XPG3] (SI_*): Likewise.
44369 [XPG3 || XPG4] (sigev_*): Likewise.
44370 [XPG3 || XPG4] (SIGEV_*): Likewise.
44371 [XPG3 || XPG4] (sival_*): Likewise.
44372 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
44373 [POSIX || XPG3] (BUS_*): Likewise.
44374 [POSIX || XPG3] (CLD_*): Likewise.
44375 [POSIX || XPG3] (FPE_*): Likewise.
44376 [POSIX || XPG3] (ILL_*): Likewise.
44377 [POSIX || XPG3] (POLL_*): Likewise.
44378 [POSIX || XPG3] (SEGV_*): Likewise.
44379 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
44380 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
44381 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
44382 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
44383 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
44384 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
44385 Specify type and value.
44386 (TVERSLEN): Likewise.
44387 (REGTYPE): Likewise.
44388 (AREGTYPE): Likewise.
44389 (LNKTYPE): Likewise.
44390 (SYMTYPE): Likewise.
44391 (CHRTYPE): Likewise.
44392 (BLKTYPE): Likewise.
44393 (DIRTYPE): Likewise.
44394 (FIFOTYPE): Likewise.
44395 (CONTTYPE): Likewise.
44396 (TSUID): Likewise.
44397 (TSGID): Likewise.
44398 (TSVTX): Likewise.
44399 (TUREAD): Likewise.
44400 (TUWRITE): Likewise.
44401 (TUEXEC): Likewise.
44402 (TGREAD): Likewise.
44403 (TGWRITE): Likewise.
44404 (TGEXEC): Likewise.
44405 (TOREAD): Likewise.
44406 (TOWRITE): Likewise.
44407 (TOEXEC): Likewise.
44408 [POSIX] (TSVTX): Expect constant.
44409
44410 2014-03-06 Joseph Myers <joseph@codesourcery.com>
44411
44412 * Makefile (tests): Change dependencies to ....
44413 (tests-special): ... additions to this variable.
44414 (tests): Depend on $(tests-special).
44415 * Makerules (check-abi-list): New variable.
44416 (check-abi): Depend on $(check-abi-list).
44417 [$(subdir) = elf] (tests-special): Add
44418 $(objpfx)check-abi-libc.out.
44419 [$(build-shared) = yes && subdir] (tests-special): Add
44420 $(check-abi-list).
44421 [$(build-shared) = yes && subdir] (tests): Do not depend on
44422 check-abi.
44423 * Rules (tests): Depend on $(tests-special).
44424 (xtests): Depend on $(xtests-special).
44425 * catgets/Makefile (tests): Change dependencies to ....
44426 (tests-special): ... additions to this variable.
44427 * conform/Makefile (tests): Change dependencies to ....
44428 (tests-special): ... additions to this variable.
44429 * elf/Makefile (tests): Change dependencies to ....
44430 (tests-special): ... additions to this variable.
44431 * grp/Makefile (tests): Change dependencies to ....
44432 (tests-special): ... additions to this variable.
44433 * iconv/Makefile (xtests): Change dependencies to ....
44434 (xtests-special): ... additions to this variable.
44435 * iconvdata/Makefile (tests): Change dependencies to ....
44436 (tests-special): ... additions to this variable.
44437 * intl/Makefile (tests): Change dependencies to ....
44438 (tests-special): ... additions to this variable. Also add
44439 $(objpfx)tst-gettext.out.
44440 * io/Makefile (tests): Change dependencies to ....
44441 (tests-special): ... additions to this variable.
44442 * libio/Makefile (tests): Change dependencies to ....
44443 (tests-special): ... additions to this variable.
44444 * malloc/Makefile (tests): Change dependencies to ....
44445 (tests-special): ... additions to this variable.
44446 * misc/Makefile (tests): Change dependencies to ....
44447 (tests-special): ... additions to this variable.
44448 * nptl/Makefile (tests): Change dependencies to ....
44449 (tests-special): ... additions to this variable.
44450 * nptl_db/Makefile (tests): Change dependencies to ....
44451 (tests-special): ... additions to this variable.
44452 * posix/Makefile (tests): Change dependencies to ....
44453 (tests-special): ... additions to this variable.
44454 (xtests): Change dependencies to ....
44455 (xtests-special): ... additions to this variable.
44456 * resolv/Makefile (tests): Change dependencies to ....
44457 (tests-special): ... additions to this variable.
44458 (xtests): Change dependencies to ....
44459 (xtests-special): ... additions to this variable.
44460 * stdio-common/Makefile (tests): Change dependencies to ....
44461 (tests-special): ... additions to this variable.
44462 (do-tst-unbputc): Remove target.
44463 (do-tst-printf): Likewise.
44464 * stdlib/Makefile (tests): Change dependencies to ....
44465 (tests-special): ... additions to this variable.
44466 * string/Makefile (tests): Change dependencies to ....
44467 (tests-special): ... additions to this variable.
44468 * sysdeps/x86/Makefile (tests): Change dependencies to ....
44469 (tests-special): ... additions to this variable.
44470
44471 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
44472 whole file.
44473 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
44474 whole file.
44475 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
44476 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
44477
44478 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
44479 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
44480 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
44481 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
44482 * conform/data/libgen.h-data [XPG3]: Likewise.
44483 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
44484 * conform/data/ndbm.h-data [XPG3]: Likewise.
44485 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
44486 * conform/data/netdb.h-data [XPG3]: Likewise.
44487 * conform/data/netinet/in.h-data [XPG3]: Likewise.
44488 * conform/data/poll.h-data [XPG3]: Likewise.
44489 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
44490 * conform/data/strings.h-data [XPG3]: Likewise.
44491 * conform/data/stropts.h-data [XPG3]: Likewise.
44492 * conform/data/sys/mman.h-data [XPG3]: Likewise.
44493 * conform/data/sys/resource.h-data [XPG3]: Likewise.
44494 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
44495 Likewise.
44496 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
44497 * conform/data/sys/time.h-data [XPG3]: Likewise.
44498 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
44499 * conform/data/sys/uio.h-data [XPG3]: Likewise.
44500 * conform/data/sys/un.h-data [XPG3]: Likewise.
44501 * conform/data/syslog.h-data [XPG3]: Likewise.
44502 * conform/data/ucontext.h-data [XPG3]: Likewise.
44503 * conform/data/utmpx.h-data [XPG3]: Likewise.
44504 * conform/data/varargs.h-data [UNIX98]: Enable file.
44505
44506 * manual/Makefile (INSTALL_INFO): Remove variable setting.
44507
44508 * math/libm-test.inc (struct test_f_f_data): Move expected results
44509 into structure for each rounding mode.
44510 (struct test_ff_f_data): Likewise.
44511 (struct test_ff_f_data_nexttoward): Likewise.
44512 (struct test_fi_f_data): Likewise.
44513 (struct test_fl_f_data): Likewise.
44514 (struct test_if_f_data): Likewise.
44515 (struct test_fff_f_data): Likewise.
44516 (struct test_c_f_data): Likewise.
44517 (struct test_f_f1_data): Likewise.
44518 (struct test_fF_f1_data): Likewise.
44519 (struct test_ffI_f1_data): Likewise.
44520 (struct test_c_c_data): Likewise.
44521 (struct test_cc_c_data): Likewise.
44522 (struct test_f_i_data): Likewise.
44523 (struct test_ff_i_data): Likewise.
44524 (struct test_f_l_data): Likewise.
44525 (struct test_f_L_data): Likewise.
44526 (struct test_fFF_11_data): Likewise.
44527 (RM_): New macro.
44528 (RM_FE_DOWNWARD): Likewise.
44529 (RM_FE_TONEAREST): Likewise.
44530 (RM_FE_TOWARDZERO): Likewise.
44531 (RM_FE_UPWARD): Likewise.
44532 (RUN_TEST_LOOP_f_f): Update references to expected results.
44533 (RUN_TEST_LOOP_2_f): Likewise.
44534 (RUN_TEST_LOOP_fff_f): Likewise.
44535 (RUN_TEST_LOOP_c_f): Likewise.
44536 (RUN_TEST_LOOP_f_f1): Likewise.
44537 (RUN_TEST_LOOP_fF_f1): Likewise.
44538 (RUN_TEST_LOOP_fI_f1): Likewise.
44539 (RUN_TEST_LOOP_ffI_f1): Likewise.
44540 (RUN_TEST_LOOP_c_c): Likewise.
44541 (RUN_TEST_LOOP_cc_c): Likewise.
44542 (RUN_TEST_LOOP_f_i): Likewise.
44543 (RUN_TEST_LOOP_f_i_tg): Likewise.
44544 (RUN_TEST_LOOP_ff_i_tg): Likewise.
44545 (RUN_TEST_LOOP_f_b): Likewise.
44546 (RUN_TEST_LOOP_f_b_tg): Likewise.
44547 (RUN_TEST_LOOP_f_l): Likewise.
44548 (RUN_TEST_LOOP_f_L): Likewise.
44549 (RUN_TEST_LOOP_fFF_11): Likewise.
44550 * math/gen-libm-test.pl (parse_args): Output four copies of
44551 expected results for each test.
44552
44553 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
44554 (__ASSUME_UTIMES): Remove.
44555 * sysdeps/unix/sysv/linux/tile/kernel-features.h
44556 (__ASSUME_UTIMES): Likewise.
44557
44558 * math/gen-auto-libm-tests.c: Update comment on output format.
44559 (output_for_one_input_case): Generate before-rounding and
44560 after-rounding information as conditions on output flags not
44561 floating-point format.
44562 * math/auto-libm-test-out: Regenerated.
44563 * math/gen-libm-test.pl (cond_value): New function.
44564 (or_cond_value): Use cond_value.
44565 (generate_testfile): Handle conditional exceptions.
44566
44567 2014-03-05 Joseph Myers <joseph@codesourcery.com>
44568
44569 * math/libm-test.inc (max_valid_error): New variable.
44570 (init_max_error): Take new argument specifying whether function
44571 results are exactly determined. Set max_valid_error and bound
44572 other variables for errors based on this argument.
44573 (set_max_error): Do not record results above max_valid_error.
44574 (check_float_internal): Only accept errors of up to 0.5ulps if
44575 also at most max_valid_error.
44576 (START): Take new argument EXACT and pass it to init_max_error.
44577 (acos_test): Update call to START.
44578 (acos_test_tonearest): Likewise.
44579 (acos_test_towardzero): Likewise.
44580 (acos_test_downward): Likewise.
44581 (acos_test_upward): Likewise.
44582 (acosh_test): Likewise.
44583 (asin_test): Likewise.
44584 (asin_test_tonearest): Likewise.
44585 (asin_test_towardzero): Likewise.
44586 (asin_test_downward): Likewise.
44587 (asin_test_upward): Likewise.
44588 (asinh_test): Likewise.
44589 (atan_test): Likewise.
44590 (atanh_test): Likewise.
44591 (atan2_test): Likewise.
44592 (cabs_test): Likewise.
44593 (cacos_test): Likewise.
44594 (cacosh_test): Likewise.
44595 (carg_test): Likewise.
44596 (casin_test): Likewise.
44597 (casinh_test): Likewise.
44598 (catan_test): Likewise.
44599 (catanh_test): Likewise.
44600 (cbrt_test): Likewise.
44601 (ccos_test): Likewise.
44602 (ccosh_test): Likewise.
44603 (ceil_test): Likewise.
44604 (cexp_test): Likewise.
44605 (cimag_test): Likewise.
44606 (clog_test): Likewise.
44607 (clog10_test): Likewise.
44608 (conj_test): Likewise.
44609 (copysign_test): Likewise.
44610 (cos_test): Likewise.
44611 (cos_test_tonearest): Likewise.
44612 (cos_test_towardzero): Likewise.
44613 (cos_test_downward): Likewise.
44614 (cos_test_upward): Likewise.
44615 (cosh_test): Likewise.
44616 (cosh_test_tonearest): Likewise.
44617 (cosh_test_towardzero): Likewise.
44618 (cosh_test_downward): Likewise.
44619 (cosh_test_upward): Likewise.
44620 (cpow_test): Likewise.
44621 (cproj_test): Likewise.
44622 (creal_test): Likewise.
44623 (csin_test): Likewise.
44624 (csinh_test): Likewise.
44625 (csqrt_test): Likewise.
44626 (ctan_test): Likewise.
44627 (ctan_test_tonearest): Likewise.
44628 (ctan_test_towardzero): Likewise.
44629 (ctan_test_downward): Likewise.
44630 (ctan_test_upward): Likewise.
44631 (ctanh_test): Likewise.
44632 (ctanh_test_tonearest): Likewise.
44633 (ctanh_test_towardzero): Likewise.
44634 (ctanh_test_downward): Likewise.
44635 (ctanh_test_upward): Likewise.
44636 (erf_test): Likewise.
44637 (erfc_test): Likewise.
44638 (exp_test): Likewise.
44639 (exp_test_tonearest): Likewise.
44640 (exp_test_towardzero): Likewise.
44641 (exp_test_downward): Likewise.
44642 (exp_test_upward): Likewise.
44643 (exp10_test): Likewise.
44644 (exp10_test_tonearest): Likewise.
44645 (exp10_test_towardzero): Likewise.
44646 (exp10_test_downward): Likewise.
44647 (exp10_test_upward): Likewise.
44648 (pow10_test): Likewise.
44649 (exp2_test): Likewise.
44650 (expm1_test): Likewise.
44651 (expm1_test_tonearest): Likewise.
44652 (expm1_test_towardzero): Likewise.
44653 (expm1_test_downward): Likewise.
44654 (expm1_test_upward): Likewise.
44655 (fabs_test): Likewise.
44656 (fdim_test): Likewise.
44657 (floor_test): Likewise.
44658 (fma_test): Likewise.
44659 (fma_test_towardzero): Likewise.
44660 (fma_test_downward): Likewise.
44661 (fma_test_upward): Likewise.
44662 (fmax_test): Likewise.
44663 (fmin_test): Likewise.
44664 (fmod_test): Likewise.
44665 (fpclassify_test): Likewise.
44666 (frexp_test): Likewise.
44667 (hypot_test): Likewise.
44668 (ilogb_test): Likewise.
44669 (isfinite_test): Likewise.
44670 (finite_test): Likewise.
44671 (isgreater_test): Likewise.
44672 (isgreaterequal_test): Likewise.
44673 (isinf_test): Likewise.
44674 (isless_test): Likewise.
44675 (islessequal_test): Likewise.
44676 (islessgreater_test): Likewise.
44677 (isnan_test): Likewise.
44678 (isnormal_test): Likewise.
44679 (issignaling_test): Likewise.
44680 (isunordered_test): Likewise.
44681 (j0_test): Likewise.
44682 (j1_test): Likewise.
44683 (jn_test): Likewise.
44684 (ldexp_test): Likewise.
44685 (lgamma_test): Likewise.
44686 (gamma_test): Likewise.
44687 (lrint_test): Likewise.
44688 (lrint_test_tonearest): Likewise.
44689 (lrint_test_towardzero): Likewise.
44690 (lrint_test_downward): Likewise.
44691 (lrint_test_upward): Likewise.
44692 (llrint_test): Likewise.
44693 (llrint_test_tonearest): Likewise.
44694 (llrint_test_towardzero): Likewise.
44695 (llrint_test_downward): Likewise.
44696 (llrint_test_upward): Likewise.
44697 (log_test): Likewise.
44698 (log10_test): Likewise.
44699 (log1p_test): Likewise.
44700 (log2_test): Likewise.
44701 (logb_test): Likewise.
44702 (logb_test_downward): Likewise.
44703 (lround_test): Likewise.
44704 (llround_test): Likewise.
44705 (modf_test): Likewise.
44706 (nearbyint_test): Likewise.
44707 (nextafter_test): Likewise.
44708 (nexttoward_test): Likewise.
44709 (pow_test): Likewise.
44710 (pow_test_tonearest): Likewise.
44711 (pow_test_towardzero): Likewise.
44712 (pow_test_downward): Likewise.
44713 (pow_test_upward): Likewise.
44714 (remainder_test): Likewise.
44715 (drem_test): Likewise.
44716 (remainder_test_tonearest): Likewise.
44717 (drem_test_tonearest): Likewise.
44718 (remainder_test_towardzero): Likewise.
44719 (drem_test_towardzero): Likewise.
44720 (remainder_test_downward): Likewise.
44721 (drem_test_downward): Likewise.
44722 (remainder_test_upward): Likewise.
44723 (drem_test_upward): Likewise.
44724 (remquo_test): Likewise.
44725 (rint_test): Likewise.
44726 (rint_test_tonearest): Likewise.
44727 (rint_test_towardzero): Likewise.
44728 (rint_test_downward): Likewise.
44729 (rint_test_upward): Likewise.
44730 (round_test): Likewise.
44731 (scalb_test): Likewise.
44732 (scalbn_test): Likewise.
44733 (scalbln_test): Likewise.
44734 (signbit_test): Likewise.
44735 (sin_test): Likewise.
44736 (sin_test_tonearest): Likewise.
44737 (sin_test_towardzero): Likewise.
44738 (sin_test_downward): Likewise.
44739 (sin_test_upward): Likewise.
44740 (sincos_test): Likewise.
44741 (sinh_test): Likewise.
44742 (sinh_test_tonearest): Likewise.
44743 (sinh_test_towardzero): Likewise.
44744 (sinh_test_downward): Likewise.
44745 (sinh_test_upward): Likewise.
44746 (sqrt_test): Likewise.
44747 (sqrt_test_tonearest): Likewise.
44748 (sqrt_test_towardzero): Likewise.
44749 (sqrt_test_downward): Likewise.
44750 (sqrt_test_upward): Likewise.
44751 (tan_test): Likewise.
44752 (tan_test_tonearest): Likewise.
44753 (tan_test_towardzero): Likewise.
44754 (tan_test_downward): Likewise.
44755 (tan_test_upward): Likewise.
44756 (tanh_test): Likewise.
44757 (tgamma_test): Likewise.
44758 (trunc_test): Likewise.
44759 (y0_test): Likewise.
44760 (y1_test): Likewise.
44761 (yn_test): Likewise.
44762 (significand_test): Likewise.
44763
44764 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
44765 individual tests in comment.
44766 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
44767 (prev_max_error): New variable.
44768 (prev_real_max_error): Likewise.
44769 (prev_imag_max_error): Likewise.
44770 (compare_ulp_data): Don't refer to test names in comment.
44771 (find_test_ulps): Remove function.
44772 (find_function_ulps): Likewise.
44773 (find_complex_function_ulps): Likewise.
44774 (init_max_error): Take function name as argument. Look up ulps
44775 for that function.
44776 (print_ulps): Remove function.
44777 (print_max_error): Use prev_max_error instead of calling
44778 find_function_ulps.
44779 (print_complex_max_error): Use prev_real_max_error and
44780 prev_imag_max_error instead of calling find_complex_function_ulps.
44781 (check_float_internal): Take max_ulp parameter instead of calling
44782 find_test_ulps. Don't call print_ulps.
44783 (check_float): Update call to check_float_internal.
44784 (check_complex): Update calls to check_float_internal.
44785 (START): Pass argument to init_max_error.
44786 * math/gen-libm-test.pl (%results): Don't include "kind"
44787 information.
44788 (parse_ulps): Don't handle ulps of individual tests.
44789 (print_ulps_file): Likewise.
44790 (output_ulps): Likewise.
44791 * math/README.libm-test: Update.
44792 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
44793 individual tests.
44794 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
44795 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
44796 * sysdeps/arm/libm-test-ulps: Likewise.
44797 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
44798 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
44799 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
44800 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
44801 * sysdeps/microblaze/libm-test-ulps: Likewise.
44802 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
44803 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
44804 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44805 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
44806 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
44807 * sysdeps/sh/libm-test-ulps: Likewise.
44808 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
44809 * sysdeps/tile/libm-test-ulps: Likewise.
44810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44811
44812 2014-03-04 Joseph Myers <joseph@codesourcery.com>
44813
44814 * math/libm-test.inc (print_complex_max_error): Check separately
44815 whether real and imaginary errors are within allowed range and
44816 pass 0 to print_complex_function_ulps instead of value within
44817 allowed range.
44818
44819 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
44820
44821 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
44822 formatting.
44823 (get_handles_fopen): Likewise.
44824 (do_write_test): Likewise.
44825
44826 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
44827
44828 * libio/fileops.c (do_ftell): Use cached offset when
44829 available.
44830 * libio/iofwide.c (do_ftell_wide): Likewise.
44831 * libio/iofdopen.c (_IO_new_fdopen): Don't use
44832 _IO_file_attach.
44833 * libio/wfileops.c (_IO_fwide): Don't cache offset.
44834
44835 [BZ #16532]
44836 * libio/libioP.h (get_file_offset): New function.
44837 * libio/fileops.c (get_file_offset): Likewise.
44838 (do_ftell): Likewise.
44839 (_IO_new_file_seekoff): Split out ftell logic.
44840 * libio/wfileops.c (do_ftell_wide): Likewise.
44841 (_IO_wfile_seekoff): Split out ftell logic.
44842 * libio/tst-ftell-active-handler.c: New test case.
44843 * libio/Makefile (tests): Add it.
44844
44845 2014-03-03 Roland McGrath <roland@hack.frob.com>
44846
44847 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
44848 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
44849
44850 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
44851
44852 [BZ #16639]
44853 * nscd/connections.c (nscd_init): Call do_exit.
44854 (start_threads): Call do_exit and notify_parent.
44855 (begin_drop_privileges): Call do_exit.
44856 (finish_drop_privileges): Likewise.
44857 * nscd/selinux.c (preserve_capabilities): Likewise.
44858 (install_real_capabilities): Likewise.
44859 (nscd_selinux_enabled): Likewise.
44860 (avc_create_thread): Likewise.
44861 (avc_alloc_lock): Likewise.
44862 (nscd_avc_init): Likewise.
44863 * nscd/nscd.c (parent_fd): New static variable.
44864 (main): Create a pipe between parent and child processes.
44865 Skip closing parent_fd.
44866 (monitor_child): New function.
44867 (do_exit): Likewise.
44868 (notify_parent): Likewise.
44869 * nscd/nscd.h (notify_parent): Likewise.
44870 (do_exit): Likewise.
44871
44872 2014-03-03 Carlos O'Donell <carlos@redhat.com>
44873
44874 * malloc/malloc.c (__libc_calloc): Revert last change.
44875
44876 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44877
44878 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44879
44880 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
44881
44882 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
44883 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
44884 implementation.
44885 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44886 (__libc_ifunc_impl_list): Likewise.
44887 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
44888 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
44889 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
44890 * string/strrchr.c: Define STRRCHR.
44891
44892 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
44893
44894 * benchtest/bench-strtok.c (simple_strtok): Delete.
44895 (strtok_string): Use as benchmark.
44896 * string/strtok (STRTOK): New macro.
44897
44898 2014-02-28 Carlos O'Donell <carlos@redhat.com>
44899
44900 * manual/threads.texi: Add header and standard comments to all
44901 functions.
44902
44903 * elf/dl-lookup.c (check_match): New function.
44904 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
44905 (do_lookup_x): Remove nested function check_match. Use non-nested
44906 function check_match.
44907
44908 2014-02-28 Roland McGrath <roland@hack.frob.com>
44909
44910 * csu/Makefile (generated, before-compile): Use += rather than =.
44911 * catgets/Makefile (generated, generated-dirs): Likewise.
44912 * debug/Makefile (generated): Likewise.
44913 * dlfcn/Makefile (generated): Likewise.
44914 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
44915 * iconvdata/Makefile (before-compile, generated): Likewise.
44916 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
44917 * libio/Makefile (generated): Likewise.
44918 * malloc/Makefile (generated): Likewise.
44919 * manual/Makefile (generated, generated-dirs): Likewise.
44920 * misc/Makefile (generated): Likewise.
44921 * posix/Makefile (generated): Likewise.
44922 * resolv/Makefile (generated): Likewise.
44923 * sunrpc/Makefile (generated, generated-dirs): Likewise.
44924 * timezone/Makefile (generated, generated-dirs): Likewise.
44925
44926 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
44927
44928 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44929
44930 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
44931 power8 implementation.
44932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
44933 file: POWER8 llround ifunc implementation.
44934 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
44935 (__lllround): Add POWER8 implementation.
44936 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
44937 POWER8 llround implementation.
44938
44939 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
44940 power8 implementation.
44941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
44942 file: POWER8 llrint ifunc implementation.
44943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
44944 Add POWER8 implementation.
44945 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
44946 POWER8 llrint implementation.
44947
44948 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
44949 power8 implementation.
44950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
44951 file: POWER8 finite ifunc implementation.
44952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
44953 Add POWER8 implementation.
44954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
44955 Likewise.
44956 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
44957 POWER8 finite implementation.
44958 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
44959
44960 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
44961 power8 implementation.
44962 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
44963 file: POWER8 isinf ifunc implementation.
44964 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
44965 POWER8 implementation.
44966 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
44967 Likewise.
44968 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
44969 isinf implementation.
44970 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
44971
44972 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
44973 (INIT_ARCH): Add hwcap2 initialization.
44974 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
44975 power8 implementation.
44976 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
44977 file: POWER8 isnan ifunc implementation.
44978 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
44979 POWER8 implementation.
44980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
44981 Likewise.
44982 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
44983 isnan implementation.
44984 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
44985
44986 2014-02-27 Joey Ye <joey.ye@arm.com>
44987
44988 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
44989 (_FP_NANFRAC_Q): Set to zero.
44990
44991 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
44992
44993 [BZ #16623]
44994 * math/auto-libm-test-in: New test inputs.
44995 * math/auto-libm-test-out: Regenerate.
44996 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
44997 and DA.
44998 (__cos): Likewise.
44999 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
45000
45001 2014-02-27 Joseph Myers <joseph@codesourcery.com>
45002
45003 * scripts/evaluate-test.sh: Take new argument indicating whether
45004 failure is expected.
45005 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
45006 indicating whether failure is expected.
45007 * conform/Makefile (test-xfail-run-conformtest): New variable.
45008 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
45009 level.
45010 * posix/Makefile (test-xfail-annexc): New variable.
45011 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
45012
45013 2014-02-26 Joseph Myers <joseph@codesourcery.com>
45014
45015 * argp/Makefile: Include Makeconfig immediately after defining
45016 subdir.
45017 * assert/Makefile: Likewise.
45018 * benchtests/Makefile: Likewise.
45019 * catgets/Makefile: Likewise.
45020 * conform/Makefile: Likewise.
45021 * crypt/Makefile: Likewise.
45022 * csu/Makefile: Likewise.
45023 (all): Remove target.
45024 * ctype/Makefile: Include Makeconfig immediately after defining
45025 subdir.
45026 * debug/Makefile: Likewise.
45027 * dirent/Makefile: Likewise.
45028 * dlfcn/Makefile: Likewise.
45029 * gmon/Makefile: Likewise.
45030 * gnulib/Makefile: Likewise.
45031 * grp/Makefile: Likewise.
45032 * gshadow/Makefile: Likewise.
45033 * hesiod/Makefile: Likewise.
45034 * hurd/Makefile: Likewise.
45035 (all): Remove target.
45036 * iconvdata/Makefile: Include Makeconfig immediately after
45037 defining subdir.
45038 * inet/Makefile: Likewise.
45039 * intl/Makefile: Likewise.
45040 * io/Makefile: Likewise.
45041 * libio/Makefile: Likewise.
45042 (all): Remove target.
45043 * locale/Makefile: Include Makeconfig immediately after defining
45044 subdir.
45045 * login/Makefile: Likewise.
45046 * mach/Makefile: Likewise.
45047 (all): Remove target.
45048 * malloc/Makefile: Include Makeconfig immediately after defining
45049 subdir.
45050 (all): Remove target.
45051 * manual/Makefile: Include Makeconfig immediately after defining
45052 subdir.
45053 * math/Makefile: Likewise.
45054 * misc/Makefile: Likewise.
45055 * nis/Makefile: Likewise.
45056 * nss/Makefile: Likewise.
45057 * po/Makefile: Likewise.
45058 (all): Remove target.
45059 * posix/Makefile: Include Makeconfig immediately after defining
45060 subdir.
45061 * pwd/Makefile: Likewise.
45062 * resolv/Makefile: Likewise.
45063 * resource/Makefile: Likewise.
45064 * rt/Makefile: Likewise.
45065 * setjmp/Makefile: Likewise.
45066 * shadow/Makefile: Likewise.
45067 * signal/Makefile: Likewise.
45068 * socket/Makefile: Likewise.
45069 * soft-fp/Makefile: Likewise.
45070 * stdio-common/Makefile: Likewise.
45071 * stdlib/Makefile: Likewise.
45072 * streams/Makefile: Likewise.
45073 * string/Makefile: Likewise.
45074 * sunrpc/Makefile: Likewise.
45075 (all): Remove target.
45076 * sysvipc/Makefile: Include Makeconfig immediately after defining
45077 subdir.
45078 * termios/Makefile: Likewise.
45079 * time/Makefile: Likewise.
45080 * timezone/Makefile: Likewise.
45081 (all): Remove target.
45082 * wcsmbs/Makefile: Include Makeconfig immediately after defining
45083 subdir.
45084 * wctype/Makefile: Likewise.
45085
45086 2014-02-26 Steve Ellcey <sellcey@mips.com>
45087
45088 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
45089 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
45090 (libc_feholdexcept_setround_mips): Ditto.
45091 (libc_feholdsetround): New.
45092 (libc_feholdsetroundf): New.
45093 (libc_feholdsetroundl): New.
45094 (libc_feupdateenv_test_mips): New.
45095 (libc_feupdateenv_test): New.
45096 (libc_feupdateenv_testf): New.
45097 (libc_feupdateenv_testl): New.
45098 (libc_feresetround): New.
45099 (libc_feresetroundf): New.
45100 (libc_feresetroundl): New.
45101 (libc_fetestexcept_mips): New.
45102 (libc_fetestexcept): New.
45103 (libc_fetestexceptf): New.
45104 (libc_fetestexceptl): New.
45105 (HAVE_RM_CTX): New.
45106 (libc_feholdexcept_setround_mips_ctx): New.
45107 (libc_feholdexcept_setround_ctx): New.
45108 (libc_feholdexcept_setroundf_ctx): New.
45109 (libc_feholdexcept_setroundl_ctx): New.
45110 (libc_fesetenv_mips_ctx): New.
45111 (libc_fesetenv_ctx): New.
45112 (libc_fesetenv_ctxf): New.
45113 (libc_fesetenv_ctxl): New.
45114 (libc_feupdateenv_mips_ctx): New.
45115 (libc_feupdateenv_ctx): New.
45116 (libc_feupdateenvf_ctx): New.
45117 (libc_feupdateenvl_ctx): New.
45118 (libc_feholdsetround_mips_ctx): New.
45119 (libc_feholdsetround_ctx): New.
45120 (libc_feholdsetroundf_ctx): New.
45121 (libc_feholdsetroundl_ctx): New.
45122 (libc_feresetround_mips_ctx): New.
45123 (libc_feresetround_ctx): New.
45124 (libc_feresetroundf_ctx): New.
45125 (libc_feresetroundl_ctx): New.
45126
45127 2014-02-26 Carlos O'Donell <carlos@redhat.com>
45128
45129 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
45130
45131 * manual/ipc.texi: New file.
45132 * manual/Makefile (chapters): Add ipc.
45133 * manual/job.texi: Add "Inter-Process Communication" to next.
45134 * manual/process.texi: Add "Inter-Process Communication" to prev.
45135
45136 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45137
45138 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45139
45140 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
45141
45142 * malloc/malloc.c (__libc_calloc): Simplify implementation.
45143
45144 * manual/arith.texi: Fix spaces after sentences.
45145 * manual/charset.texi: Likewise.
45146 * manual/errno.texi: Likewise.
45147 * manual/install.texi: Likewise.
45148 * manual/llio.texi: Likewise.
45149 * manual/locale.texi: Likewise.
45150 * manual/maint.texi: Likewise.
45151 * manual/math.texi: Likewise.
45152 * manual/memory.texi: Likewise.
45153 * manual/message.texi: Likewise.
45154 * manual/probes.texi: Likewise.
45155 * manual/resource.texi: Likewise.
45156 * manual/signal.texi: Likewise.
45157 * manual/socket.texi: Likewise.
45158 * manual/stdio.texi: Likewise.
45159 * manual/string.texi: Likewise.
45160 * manual/time.texi: Likewise.
45161 * manual/users.texi: Likewise.
45162
45163 2014-02-25 Carlos O'Donell <carlos@redhat.com>
45164
45165 [BZ #16632]
45166 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
45167 _DEFAULT_SOURCE is defined.
45168
45169 2014-02-25 Ulrich Drepper <drepper@gmail.com>
45170 Carlos O'Donell <carlos@redhat.com>
45171
45172 [BZ #16613]
45173 * elf/dl-tls.c (_dl_count_modids): New function.
45174 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
45175 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
45176 audit library and increment generation counter.
45177 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
45178 * elf/tst-audit9.c: New file.
45179 * elf/tst-auditmod9a.c: New file.
45180 * elf/tst-auditmod9b.c: New file.
45181 * elf/Makefile: Add rules to build and run tst-audit9.
45182
45183 2014-02-25 Florian Weimer <fweimer@redhat.com>
45184
45185 [BZ #15347]
45186 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
45187
45188 2014-02-25 Will Newton <will.newton@linaro.org>
45189
45190 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
45191 (__longjmp): Restore sp and lr before restoring callee
45192 saved registers. Add longjmp and longjmp_target
45193 SystemTap probe point.
45194 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
45195 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
45196 Define to zero to match jmpbuf layout.
45197 * sysdeps/arm/setjmp.S: Include stap-probe.h.
45198 (__sigsetjmp): Save sp and lr before saving callee
45199 saved registers. Add setjmp SystemTap probe point.
45200
45201 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
45202
45203 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
45204
45205 2014-02-24 Andreas Schwab <schwab@suse.de>
45206
45207 [BZ #15804]
45208 * elf/pldd.c (wait_for_ptrace_stop): New function.
45209 (main): Call it after attaching.
45210
45211 2014-02-22 Roland McGrath <roland@hack.frob.com>
45212
45213 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
45214 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
45215 Versions files is now verboten.
45216 * hurd/Versions (libc: GLIBC_2.0):
45217 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
45218 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
45219 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
45220 * mach/Versions: Likewise.
45221
45222 * csu/Versions: Remove unused %include.
45223 * resolv/Versions: Likewise.
45224
45225 2014-02-21 Joseph Myers <joseph@codesourcery.com>
45226
45227 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
45228 ($(objpfx)check-local-headers.out): Likewise.
45229 ($(objpfx)begin-end-check.out): Likewise.
45230 * Makerules (check-abi-%.out): Likewise.
45231 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
45232 ($(objpfx)test2.cat): Likewise.
45233 ($(objpfx)de/libc.cat): Likewise.
45234 ($(objpfx)test-gencat.out): Likewise.
45235 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
45236 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
45237 ($(objpfx)noload-mem): Likewise.
45238 ($(objpfx)tst-pathopt.out): Likewise.
45239 ($(objpfx)tst-rtld-load-self.out): Likewise.
45240 ($(objpfx)tst-array1-cmp.out): Likewise.
45241 ($(objpfx)tst-array1-static-cmp.out): Likewise.
45242 ($(objpfx)tst-array2-cmp.out): Likewise.
45243 ($(objpfx)tst-array3-cmp.out): Likewise.
45244 ($(objpfx)tst-array4-cmp.out): Likewise.
45245 ($(objpfx)tst-array5-cmp.out): Likewise.
45246 ($(objpfx)tst-array5-static-cmp.out): Likewise.
45247 ($(objpfx)check-textrel.out): Likewise.
45248 ($(objpfx)check-execstack.out): Likewise.
45249 ($(objpfx)check-localplt.out): Likewise.
45250 ($(objpfx)order2-cmp.out): Likewise.
45251 ($(objpfx)tst-leaks1-mem): Likewise.
45252 ($(objpfx)tst-leaks1-static-mem): Likewise.
45253 ($(objpfx)tst-initorder-cmp.out): Likewise.
45254 ($(objpfx)tst-initorder2-cmp.out): Likewise.
45255 ($(objpfx)tst-unused-dep.out): Likewise.
45256 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
45257 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
45258 * iconv/Makefile (test-iconvconfig): Likewise.
45259 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
45260 ($(objpfx)iconv-test.out): Likewise.
45261 ($(objpfx)tst-tables.out): Likewise.
45262 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
45263 ($(objpfx)tst-gettext.out): Likewise.
45264 ($(objpfx)tst-translit.out): Likewise.
45265 ($(objpfx)tst-gettext2.out): Likewise.
45266 ($(objpfx)tst-gettext4.out): Likewise.
45267 ($(objpfx)tst-gettext6.out): Likewise.
45268 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
45269 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
45270 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
45271 ($(objpfx)tst-fopenloc-mem.out): Likewise.
45272 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
45273 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
45274 * posix/Makefile ($(objpfx)globtest.out): Likewise.
45275 ($(objpfx)wordexp-tst.out): Likewise.
45276 ($(objpfx)annexc.out): Likewise.
45277 ($(objpfx)tst-fnmatch-mem): Likewise.
45278 ($(objpfx)bug-regex2-mem): Likewise.
45279 ($(objpfx)bug-regex14-mem): Likewise.
45280 ($(objpfx)bug-regex21-mem): Likewise.
45281 ($(objpfx)bug-regex31-mem): Likewise.
45282 ($(objpfx)tst-vfork3-mem): Likewise.
45283 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
45284 ($(objpfx)tst-pcre-mem): Likewise.
45285 ($(objpfx)tst-boost-mem): Likewise.
45286 ($(objpfx)tst-getconf.out): Likewise.
45287 ($(objpfx)bug-ga2-mem): Likewise.
45288 ($(objpfx)bug-glob2-mem): Likewise.
45289 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
45290 ($(objpfx)mtrace-tst-leaks2): Likewise.
45291 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
45292 ($(objpfx)tst-printf.out): Likewise.
45293 ($(objpfx)tst-setvbuf1.out): Likewise.
45294 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
45295 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
45296 ($(objpfx)tst-fmtmsg.out): Likewise.
45297 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
45298 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
45299
45300 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
45301 * bits/sigaction.h [__USE_MISC]: Likewise.
45302 * bits/waitstatus.h: Update #endif comments.
45303 * ctype/ctype.h: Likewise.
45304 * dirent/dirent.h: Likewise.
45305 [__USE_MISC]: Remove redundant conditionals.
45306 * grp/grp.h: Update #endif comments.
45307 [__USE_GNU]: Remove redundant conditionals.
45308 [__USE_MISC]: Likewise.
45309 * inet/netinet/in.h [__USE_GNU]: Likewise.
45310 * io/sys/stat.h [__USE_MISC]: Likewise.
45311 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
45312 * libio/bits/stdio.h: Update #endif comments.
45313 [__USE_MISC]: Remove redundant conditionals.
45314 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
45315 * libio/stdio.h: Update #endif comments.
45316 [__USE_MISC]: Remove redundant conditionals.
45317 * math/bits/math-finite.h [__USE_MISC]: Likewise.
45318 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
45319 * math/math.h: Update #else and #endif comments.
45320 [__USE_MISC]: Remove redundant conditionals.
45321 * misc/sys/uio.h: Update #endif comments.
45322 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
45323 * posix/glob.h [__USE_MISC]: Likewise.
45324 * posix/sys/types.h: Update #endif comments.
45325 [__USE_MISC]: Remove redundant conditionals.
45326 * posix/sys/wait.h: Update #endif comments.
45327 [__USE_MISC]: Remove redundant conditionals.
45328 * posix/unistd.h: Update #endif comments.
45329 [__USE_MISC]: Remove redundant conditionals.
45330 * pwd/pwd.h [__USE_GNU]: Likewise.
45331 [__USE_MISC]: Likewise.
45332 * resolv/netdb.h [__USE_GNU]: Likewise.
45333 * signal/signal.h: Update #endif comments.
45334 [__USE_MISC]: Remove redundant conditionals.
45335 * stdlib/stdlib.h: Update #else and #endif comments.
45336 [__USE_MISC]: Remove redundant conditionals.
45337 [__USE_GNU]: Likewise.
45338 * string/bits/string2.h [__USE_MISC]: Likewise.
45339 * string/string.h: Update #endif comments.
45340 [__USE_MISC]: Remove redundant conditionals.
45341 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
45342 Likewise.
45343 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
45344 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
45345 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
45346 Likewise.
45347 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
45348 Likewise.
45349 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
45350 comments.
45351 [__USE_MISC]: Remove redundant conditionals.
45352 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
45353 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
45354 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
45355 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
45356 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
45357 Likewise.
45358 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
45359 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
45360 Likewise.
45361 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
45362 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
45363 Likewise.
45364 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
45365 Likewise.
45366 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
45367 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
45368 Likewise.
45369 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
45370 Likewise.
45371 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
45372 * sysdeps/x86/bits/string.h: Update #endif comments.
45373 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
45374 conditionals.
45375 * time/sys/time.h: Update #endif comments.
45376 * time/time.h: Likewise.
45377 [__USE_MISC]: Remove redundant conditionals.
45378
45379 2014-02-21 Yury Gribov <y.gribov@samsung.com>
45380
45381 [BZ #16600]
45382 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
45383
45384 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
45385
45386 * Versions.def (librt): Add GLIBC_2.17.
45387
45388 2014-02-21 Adam Conrad <adconrad@0c3.net>
45389
45390 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
45391 synonym for _SYS_AUXV_H to allow direct inclusion.
45392 * sysdeps/sparc/bits/hwcap.h: Likewise.
45393 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
45394 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
45395 * sysdeps/sparc/sysdep.h: Likewise.
45396
45397 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
45398
45399 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
45400
45401 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
45402
45403 * benchtests/bench-strrchr.c: Print length instead of position.
45404
45405 2014-02-20 Joseph Myers <joseph@codesourcery.com>
45406
45407 [BZ #16611]
45408 * sysdeps/unix/sysv/linux/kernel-features.h
45409 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
45410 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
45411 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
45412 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
45413 Likewise.
45414 [__i386__ || __powerpc__ || __sh__ || __sparc__]
45415 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45416 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
45417 (__ASSUME_SENDMMSG): Define instead of using previous
45418 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
45419 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
45420 (__ASSUME_SENDMMSG_SYSCALL): Define.
45421 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
45422 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
45423 Likewise.
45424 * sysdeps/unix/sysv/linux/arm/kernel-features.h
45425 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
45426 Likewise.
45427 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
45428 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
45429 Likewise.
45430 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
45431 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
45432 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
45433 [__ASSUME_SENDMMSG]: Change conditionals to
45434 [__ASSUME_SENDMMSG_SOCKETCALL].
45435 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45436 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
45437 Define.
45438 * sysdeps/unix/sysv/linux/mips/kernel-features.h
45439 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
45440 Likewise.
45441 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
45442 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
45443 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
45444 [!__ASSUME_SENDMMSG]: Change conditional to
45445 [!__ASSUME_SENDMMSG_SOCKETCALL].
45446 * sysdeps/unix/sysv/linux/tile/kernel-features.h
45447 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
45448 Define.
45449
45450 [BZ #16610]
45451 * sysdeps/unix/sysv/linux/kernel-features.h
45452 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
45453 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
45454 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
45455 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
45456 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
45457 [__i386__ || __sparc__]
45458 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45459 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
45460 (__ASSUME_RECVMMSG): Define instead of using previous
45461 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
45462 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
45463 (__ASSUME_RECVMMSG_SYSCALL): Define.
45464 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
45465 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
45466 Likewise.
45467 * sysdeps/unix/sysv/linux/arm/kernel-features.h
45468 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
45469 Likewise.
45470 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
45471 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
45472 Likewise.
45473 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
45474 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
45475 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
45476 [__ASSUME_RECVMMSG]: Change condition to
45477 [__ASSUME_RECVMMSG_SOCKETCALL].
45478 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45479 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
45480 Define.
45481 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45482 * sysdeps/unix/sysv/linux/mips/kernel-features.h
45483 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
45484 Likewise.
45485 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
45486 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
45487 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
45488 [!__ASSUME_RECVMMSG]: Change condition to
45489 [!__ASSUME_RECVMMSG_SOCKETCALL].
45490 * sysdeps/unix/sysv/linux/tile/kernel-features.h
45491 (__ASSUME_RECVMMSG_SYSCALL): Define.
45492
45493 [BZ #16609]
45494 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
45495 __powerpc__ || __s390__ || __sh__ || __sparc__]
45496 (__ASSUME_SOCKETCALL): Define.
45497 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
45498 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
45499 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
45500 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
45501 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
45502 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
45503 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
45504 (__ASSUME_ACCEPT4): Define instead of using previous
45505 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
45506 __powerpc__ || __sparc__ || __s390__)] condition.
45507 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
45508 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
45509 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
45510 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
45511 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
45512 [!__ASSUME_ACCEPT4]: Change condition to
45513 [!__ASSUME_ACCEPT4_SOCKETCALL].
45514 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
45515 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
45516 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
45517 * sysdeps/unix/sysv/linux/arm/kernel-features.h
45518 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
45519 __ASSUME_ACCEPT4_SYSCALL.
45520 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
45521 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
45522 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
45523 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
45524 __ASSUME_ACCEPT4_SYSCALL.
45525 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
45526 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
45527 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
45528 [__ASSUME_ACCEPT4]: Change condition to
45529 [__ASSUME_ACCEPT4_SOCKETCALL].
45530 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
45531 (__ASSUME_SOCKETCALL): Define.
45532 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
45533 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45534 (__ASSUME_SOCKETCALL): Define.
45535 (__ASSUME_ACCEPT4): Remove.
45536 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
45537 Define.
45538 * sysdeps/unix/sysv/linux/mips/kernel-features.h
45539 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
45540 Likewise.
45541 * sysdeps/unix/sysv/linux/tile/kernel-features.h
45542 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
45543
45544 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
45545 macro.
45546 (HWCAP_ARM_LPAE): Likewise.
45547 (HWCAP_ARM_EVTSTRM): Likewise.
45548 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
45549 Add vpfd32, lpae and evtstrm.
45550 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
45551 Increase to 22.
45552
45553 2014-02-19 Joseph Myers <joseph@codesourcery.com>
45554
45555 * math/auto-libm-test-in: Add tests of clog10.
45556 * math/auto-libm-test-out: Regenerated.
45557 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
45558 * sysdeps/i386/fpu/libm-test-ulps: Update.
45559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45560
45561 2014-02-18 Andreas Schwab <schwab@suse.de>
45562
45563 [BZ #16574]
45564 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
45565 Store non-zero if the second buffer was newly allocated.
45566 (send_dg): Likewise.
45567 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
45568 to send_vc and send_dg.
45569 (res_nsend): Pass NULL for ansp2_malloced.
45570 * resolv/res_query.c (__libc_res_nquery): Add parameter
45571 answerp2_malloced and pass it down to __libc_res_nsend.
45572 (res_nquery): Pass additional NULL to __libc_res_nquery.
45573 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
45574 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
45575 second answer buffer if answerp2_malloced was set.
45576 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
45577 (__libc_res_nquerydomain): Add parameter
45578 answerp2_malloced and pass it down to __libc_res_nquery.
45579 (res_nquerydomain): Pass additional NULL to
45580 __libc_res_nquerydomain.
45581 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
45582 additional NULL to __libc_res_nsend and __libc_res_nquery.
45583 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
45584 additional NULL to __libc_res_nsearch.
45585 (_nss_dns_gethostbyname4_r): Revert last change. Use new
45586 parameter of __libc_res_nsearch to check for separately allocated
45587 second buffer.
45588 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
45589 __libc_res_nquery.
45590 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
45591 additional NULL to __libc_res_nquery.
45592 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
45593 __libc_res_nsearch.
45594 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
45595 * include/resolv.h: Update prototypes of __libc_res_nquery,
45596 __libc_res_nsearch, __libc_res_nsend.
45597
45598 2014-02-18 Joseph Myers <joseph@codesourcery.com>
45599
45600 * math/auto-libm-test-in: Add tests of fma.
45601 * math/auto-libm-test-out: Regenerated.
45602 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
45603 (fma_towardzero_test_data): Likewise.
45604 (fma_downward_test_data): Likewise.
45605 (fma_upward_test_data): Likewise.
45606 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
45607 mpc_mode.
45608 (rounding_modes): Add values for new field.
45609 (func_calc_method): Add value mpfr_fff_f.
45610 (func_calc_desc): Add mpfr_fff_f union field.
45611 (test_function): Add field exact_args.
45612 (FUNC): Add macro argument EXACT_ARGS.
45613 (FUNC_mpfr_f_f): Update call to FUNC.
45614 (FUNC_mpfr_f_f): Likewise.
45615 (FUNC_mpfr_ff_f): Likewise.
45616 (FUNC_mpfr_if_f): Likewise.
45617 (FUNC_mpc_c_f): Likewise.
45618 (FUNC_mpc_c_c): Likewise.
45619 (test_functions): Add fma. Update calls to FUNC.
45620 (handle_input_arg): Add argument exact_args.
45621 (add_test): Update call to handle_input_arg.
45622 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
45623 (output_for_one_input_case): Update call to calc_generic_results.
45624 Recalculate exact zero results in each rounding mode.
45625
45626 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
45627 non-negative before setting low bit.
45628 * math/auto-libm-test-in: Mark one asin test possibly having
45629 spurious underflow.
45630 * math/auto-libm-test-out: Regenerated.
45631 * sysdeps/i386/fpu/libm-test-ulps: Update.
45632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45633
45634 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
45635
45636 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
45637 * sysdeps/unix/sysv/linux/microblaze: Move directory from
45638 ports/sysdeps/unix/sysv/linux/microblaze.
45639 * README: Add missing listing for microblaze*-*-linux-gnu.
45640
45641 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
45642
45643 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
45644 duplicate code
45645
45646 2014-02-16 Mike Frysinger <vapier@gentoo.org>
45647
45648 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
45649 * sysdeps/unix/sysv/linux/ia64: Move directory from
45650 ports/sysdeps/unix/sysv/linux/ia64.
45651 * README: Update listing for ia64-*-linux-gnu.
45652
45653 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
45654 Joseph Myers <joseph@codesourcery.com>
45655
45656 * Makeconfig (test-name): New variable.
45657 (evaluate-test): Likewise.
45658 * Makerules (do-test-clean): Remove .test-result files.
45659 (common-mostlyclean): Likewise.
45660 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
45661 * scripts/evaluate-test.sh: New file.
45662
45663 2014-02-14 Joseph Myers <joseph@codesourcery.com>
45664
45665 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
45666 separate $(objpfx)tst-fopenloc-cmp.out and
45667 $(objpfx)tst-fopenloc-mem.out targets.
45668 (tests): Update dependencies.
45669 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
45670 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
45671 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
45672 (tst-rxspencer-no-utf8-ARGS): New variable.
45673 (tst-rxspencer-no-utf8-ENV): Likewise.
45674 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
45675 instead of $(objpfx)tst-rxspencer-mem.
45676 ($(objpfx)tst-rxspencer-mem): Change target to
45677 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
45678 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
45679 * posix/tst-rxspencer-no-utf8.c: New file.
45680
45681 * elf/Makefile ($(objpfx)order.out): Remove rule.
45682 [$(run-built-tests) = yes] (tests): Depend on
45683 $(objpfx)order-cmp.out.
45684 ($(objpfx)order-cmp.out): New rule.
45685 [$(run-built-tests) = yes] (tests): Depend on
45686 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
45687 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
45688 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
45689 $(objpfx)tst-array5-static-cmp.out.
45690 ($(objpfx)tst-array1.out): Remove rule.
45691 ($(objpfx)tst-array1-cmp.out): New rule.
45692 ($(objpfx)tst-array1-static.out): Remove rule.
45693 ($(objpfx)tst-array1-static-cmp.out): New rule.
45694 ($(objpfx)tst-array2.out): Remove rule.
45695 ($(objpfx)tst-array2-cmp.out): New rule.
45696 ($(objpfx)tst-array3.out): Remove rule.
45697 ($(objpfx)tst-array3-cmp.out): New rule.
45698 ($(objpfx)tst-array4.out): Remove rule.
45699 ($(objpfx)tst-array4-cmp.out): New rule.
45700 ($(objpfx)tst-array5.out): Remove rule.
45701 ($(objpfx)tst-array5-cmp.out): New rule.
45702 ($(objpfx)tst-array5-static.out): Remove rule.
45703 ($(objpfx)tst-array5-static-cmp.out): New rule.
45704 [$(run-built-tests) = yes] (tests): Depend on
45705 $(objpfx)order2-cmp.out.
45706 ($(objpfx)order2.out): Remove rule.
45707 ($(objpfx)order2-cmp.out): New rule.
45708 ($(objpfx)tst-initorder.out): Remove rule.
45709 [$(run-built-tests) = yes] (tests): Depend on
45710 $(objpfx)tst-initorder-cmp.out.
45711 ($(objpfx)tst-initorder-cmp.out): New rule.
45712 ($(objpfx)tst-initorder2.out): Remove rule.
45713 [$(run-built-tests) = yes] (tests): Depend on
45714 $(objpfx)tst-initorder2-cmp.out.
45715 ($(objpfx)tst-initorder2-cmp.out): New rule.
45716 [$(run-built-tests) = yes] (tests): Depend on
45717 $(objpfx)tst-unused-dep-cmp.out.
45718 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
45719 ($(objpfx)tst-unused-dep-cmp.out): New rule.
45720 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
45721 on $(objpfx)tst-setvbuf1-cmp.out.
45722 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
45723 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
45724 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
45725 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
45726 ($(objpfx)tst-svc.out): Remove rule.
45727 ($(objpfx)tst-svc-cmp.out): New rule.
45728
45729 2014-02-13 Joseph Myers <joseph@codesourcery.com>
45730
45731 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
45732 * ctype/ctype.h [__USE_MISC]: Likewise.
45733 * dirent/dirent.h [__USE_MISC]: Likewise.
45734 * grp/grp.h [__USE_MISC]: Likewise.
45735 * io/fcntl.h [__USE_MISC]: Likewise.
45736 * io/sys/stat.h [__USE_MISC]: Likewise.
45737 * libio/stdio.h [__USE_MISC]: Likewise.
45738 * posix/unistd.h [__USE_MISC]: Likewise.
45739 * pwd/pwd.h [__USE_MISC]: Likewise.
45740 * stdlib.h [__USE_MISC]: Likewise.
45741 * string/bits/string2.h [__USE_MISC]: Likewise.
45742 * string/string.h [__USE_MISC]: Likewise.
45743 * time/time.h [__USE_MISC]: Likewise.
45744
45745 2014-02-13 Andreas Schwab <schwab@suse.de>
45746
45747 [BZ #16574]
45748 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
45749 second answer buffer if it was separately allocated.
45750
45751 2014-02-12 Joseph Myers <joseph@codesourcery.com>
45752
45753 * sysdeps/mips/math-tests.h: Include <features.h>.
45754 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
45755 (ROUNDING_TESTS_long_double): Do not define.
45756 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
45757 (EXCEPTION_TESTS_long_double): Likewise.
45758 * sysdeps/mips/mips64/libm-test-ulps: Update.
45759
45760 * include/features.h (__USE_BSD): Remove macro definitions.
45761 (__USE_SVID): Likewise.
45762 (_BSD_SOURCE): Likewise.
45763 (_SVID_SOURCE): Likewise.
45764 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
45765 from definition of _DEFAULT_SOURCE.
45766 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
45767 [_DEFAULT_SOURCE].
45768 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
45769 * bits/mman.h [__USE_BSD]: Likewise.
45770 * bits/termios.h [__USE_BSD]: Likewise.
45771 * bits/waitstatus.h [__USE_BSD]: Likewise.
45772 * ctype/ctype.h [__USE_SVID]: Likewise.
45773 * dirent/dirent.h [__USE_BSD]: Likewise.
45774 * grp/grp.h [__USE_SVID]: Likewise.
45775 [__USE_BSD]: Likewise.
45776 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
45777 * io/fcntl.h [__USE_BSD]: Likewise.
45778 * io/ftw.h [__USE_BSD]: Likewise.
45779 * io/sys/stat.h [__USE_BSD]: Likewise.
45780 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
45781 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
45782 * libio/stdio.h [__USE_SVID]: Likewise.
45783 [__USE_BSD]: Likewise.
45784 * math/math.h [__USE_SVID]: Likewise.
45785 [__USE_BSD]: Likewise.
45786 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
45787 * misc/bits/syslog.h [__USE_BSD]: Likewise.
45788 * misc/search.h [__USE_SVID]: Likewise.
45789 * misc/sys/mman.h [__USE_BSD]: Likewise.
45790 * misc/sys/syslog.h [__USE_BSD]: Likewise.
45791 * misc/sys/uio.h [__USE_BSD]: Likewise.
45792 * posix/bits/unistd.h [__USE_BSD]: Likewise.
45793 * posix/glob.h [__USE_BSD]: Likewise.
45794 * posix/regex.h [__USE_BSD]: Likewise.
45795 * posix/sys/types.h [__USE_BSD]: Likewise.
45796 [__USE_SVID]: Likewise.
45797 * posix/sys/utsname.h [__USE_SVID]: Likewise.
45798 * posix/sys/wait.h [__USE_BSD]: Likewise.
45799 [__USE_SVID]: Likewise.
45800 * posix/unistd.h [__USE_BSD]: Likewise.
45801 [__USE_SVID]: Likewise.
45802 * pwd/pwd.h [__USE_SVID]: Likewise.
45803 * resolv/netdb.h [__USE_BSD]: Likewise.
45804 * setjmp/setjmp.h [__USE_BSD]: Likewise.
45805 * signal/signal.h [__USE_BSD]: Likewise.
45806 [__USE_SVID]: Likewise.
45807 * socket/sys/socket.h [__USE_BSD]: Likewise.
45808 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
45809 * stdlib/stdlib.h [__USE_BSD]: Likewise.
45810 [__USE_SVID]: Likewise.
45811 * string/bits/string2.h [__USE_BSD]: Likewise.
45812 [__USE_SVID]: Likewise.
45813 * string/bits/string3.h [__USE_BSD]: Likewise.
45814 * string/endian.h [__USE_BSD]: Likewise.
45815 * string/string.h [__USE_SVID]: Likewise.
45816 [__USE_BSD]: Likewise.
45817 * string/strings.h [__USE_BSD]: Likewise.
45818 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
45819 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
45820 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
45821 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
45822 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
45823 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
45824 Likewise.
45825 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
45826 Likewise.
45827 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
45828 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
45829 Likewise.
45830 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
45831 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
45832 Likewise.
45833 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
45834 Likewise.
45835 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
45836 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
45837 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
45838 Likewise.
45839 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
45840 Likewise.
45841 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
45842 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
45843 * termios/termios.h [__USE_BSD]: Likewise.
45844 * time/sys/time.h [__USE_BSD]: Likewise.
45845 * time/time.h [__USE_BSD]: Likewise.
45846 [__USE_SVID]: Likewise.
45847
45848 * Makefile (subdir_targets): Remove subdir_lint.out.
45849
45850 * stdio-common/Makefile (do-tst-unbputc): Remove target.
45851 (do-tst-printf): Likewise.
45852 (tests): Depend directly on $(objpfx)tst-unbputc.out and
45853 $(objpfx)tst-printf.out.
45854
45855 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
45856
45857 * Makerules (check-abi-%): Change target to
45858 $(objpfx)check-abi-%.out.
45859 (check-abi target): Update dependencies.
45860 (check-abi-pattern variable): Redirect output of diff to $@.
45861 (check-abi variable): Likewise.
45862 * elf/Makefile (check-abi): Update dependencies.
45863
45864 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
45865 unused.
45866 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
45867 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
45868 subnormal range.
45869 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
45870 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
45871 value has largest subnormal exponent.
45872 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
45873 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
45874 * sysdeps/aarch64/soft-fp/sfp-machine.h
45875 (_FP_TININESS_AFTER_ROUNDING): New macro.
45876 * sysdeps/alpha/soft-fp/sfp-machine.h
45877 (_FP_TININESS_AFTER_ROUNDING): Likewise.
45878 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
45879 Likewise.
45880 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
45881 (_FP_TININESS_AFTER_ROUNDING): Likewise.
45882 * sysdeps/mips/soft-fp/sfp-machine.h
45883 (_FP_TININESS_AFTER_ROUNDING): Likewise.
45884 * sysdeps/powerpc/soft-fp/sfp-machine.h
45885 (_FP_TININESS_AFTER_ROUNDING): Likewise.
45886 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
45887 Likewise.
45888 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
45889 (_FP_TININESS_AFTER_ROUNDING): Likewise.
45890 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
45891 (_FP_TININESS_AFTER_ROUNDING): Likewise.
45892 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
45893 Likewise.
45894
45895 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
45896
45897 [BZ #16545]
45898 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
45899 model 1.
45900
45901 2014-02-12 Richard Henderson <rth@redhat.com>
45902
45903 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
45904 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
45905 * sysdeps/unix/sysv/linux/alpha: Move directory from
45906 ports/sysdeps/unix/sysv/linux/alpha.
45907 * README: Update listing for alpha-*-linux-gnu.
45908
45909 2014-02-11 Joseph Myers <joseph@codesourcery.com>
45910
45911 * include/features.h: Update comment documenting feature test
45912 macros.
45913 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
45914 _DEFAULT_SOURCE.
45915 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
45916 (_SVID_SOURCE): Likewise.
45917 (_DEFAULT_SOURCE): Update description of default features.
45918 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
45919 with _GNU_SOURCE.
45920 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
45921 (S_ISVTX): Likewise.
45922 * manual/math.texi (Mathematical Constants): Likewise.
45923 * manual/signal.texi (Interrupted Primitives): Likewise.
45924 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
45925 * math/test-matherr.c (_SVID_SOURCE): Do not define.
45926 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
45927 Don't refer to _SVID_SOURCE in warning text.
45928
45929 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45930
45931 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
45932 already defined.
45933 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
45934 * sysdeps/mips/dl-lookup.c: Remove.
45935 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
45936
45937 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
45938
45939 [BZ #16447]
45940 * math/auto-libm-test-in: Add testcase for expl.
45941 * math/auto-libm-test-out: Regenerate.
45942 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
45943 calculation of unsafe.
45944 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
45945
45946 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
45947
45948 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
45949 * sysdeps/unix/sysv/linux/aarch64: Move directory from
45950 ports/sysdeps/unix/sysv/linux/aarch64.
45951 * README: Update listing for aarch64*-*-linux-gnu.
45952
45953 2014-02-11 Will Newton <will.newton@linaro.org>
45954
45955 * manual/probes.texi (Mathematical Function Probes): Use
45956 "triggered" instead of "hit".
45957
45958 * manual/probes.texi (Internal Probes): Add documentation
45959 of setjmp, longjmp and longjmp_target probes.
45960
45961 * include/stap-probe.h: Add comment about probe argument
45962 format.
45963
45964 * malloc/mtrace.c (attribute_hidden): Remove unused macro
45965 definition. (tr_where, tr_freehook, tr_mallochook,
45966 tr_reallochook, tr_memalignhook): Use ANSI protoype.
45967
45968 2014-02-11 David S. Miller <davem@davemloft.net>
45969
45970 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
45971 processing int_tests.
45972
45973 2014-02-10 Joseph Myers <joseph@codesourcery.com>
45974
45975 * sysdeps/mips: Move directory from ports/sysdeps/mips.
45976 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
45977 * sysdeps/unix/sysv/linux/mips: Move directory from
45978 ports/sysdeps/unix/sysv/linux/mips.
45979 * README: Update listing for mips-*-linux-gnu and
45980 mips64-*-linux-gnu.
45981
45982 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
45983
45984 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
45985 * sysdeps/unix/sysv/linux/m68k: Move directory from
45986 ports/sysdeps/unix/sysv/linux/m68k.
45987 * README: Update listing for m68k-*-linux-gnu.
45988
45989 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
45990
45991 * sysdeps/tile: Move directory from ports/sysdeps/tile.
45992 * sysdeps/unix/sysv/linux/generic: Move directory from
45993 ports/sysdeps/unix/sysv/linux/generic.
45994 * sysdeps/unix/sysv/linux/tile: Move directory from
45995 ports/sysdeps/unix/sysv/linux/tile.
45996 * README: Update listing for tile*-*-linux-gnu.
45997
45998 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
45999
46000 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
46001 __builtin_expect.
46002 * benchtests/bench-memmem.c (simple_memmem): Likewise.
46003 * catgets/open_catalog.c (__open_catalog): Likewise.
46004 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
46005 * debug/confstr_chk.c: Likewise.
46006 * debug/fread_chk.c (__fread_chk): Likewise.
46007 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
46008 * debug/getgroups_chk.c: Likewise.
46009 * debug/mbsnrtowcs_chk.c: Likewise.
46010 * debug/mbsrtowcs_chk.c: Likewise.
46011 * debug/mbstowcs_chk.c: Likewise.
46012 * debug/memcpy_chk.c: Likewise.
46013 * debug/memmove_chk.c: Likewise.
46014 * debug/mempcpy_chk.c: Likewise.
46015 * debug/memset_chk.c: Likewise.
46016 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
46017 * debug/strcat_chk.c (__strcat_chk): Likewise.
46018 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
46019 * debug/strncat_chk.c (__strncat_chk): Likewise.
46020 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
46021 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
46022 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
46023 * debug/wcpncpy_chk.c: Likewise.
46024 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
46025 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
46026 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
46027 * debug/wcsncpy_chk.c: Likewise.
46028 * debug/wcsnrtombs_chk.c: Likewise.
46029 * debug/wcsrtombs_chk.c: Likewise.
46030 * debug/wcstombs_chk.c: Likewise.
46031 * debug/wmemcpy_chk.c: Likewise.
46032 * debug/wmemmove_chk.c: Likewise.
46033 * debug/wmempcpy_chk.c: Likewise.
46034 * debug/wmemset_chk.c: Likewise.
46035 * dirent/scandirat.c (SCANDIRAT): Likewise.
46036 * dlfcn/dladdr1.c (dladdr1): Likewise.
46037 * dlfcn/dladdr.c (dladdr): Likewise.
46038 * dlfcn/dlclose.c (dlclose_doit): Likewise.
46039 * dlfcn/dlerror.c (__dlerror): Likewise.
46040 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
46041 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
46042 * dlfcn/dlopen.c (dlopen_doit): Likewise.
46043 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
46044 * dlfcn/dlsym.c (dlsym_doit): Likewise.
46045 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
46046 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
46047 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
46048 Likewise.
46049 * elf/dl-conflict.c: Likewise.
46050 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
46051 * elf/dl-dst.h: Likewise.
46052 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
46053 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
46054 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
46055 * elf/dl-init.c (call_init, _dl_init): Likewise.
46056 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
46057 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
46058 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
46059 Likewise.
46060 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
46061 Likewise.
46062 * elf/dl-minimal.c (__libc_memalign): Likewise.
46063 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
46064 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
46065 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
46066 * elf/dl-sym.c (do_sym): Likewise.
46067 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
46068 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
46069 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
46070 * elf/dl-writev.h (_dl_writev): Likewise.
46071 * elf/ldconfig.c (search_dir): Likewise.
46072 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
46073 (dl_main): Likewise.
46074 * elf/setup-vdso.h (setup_vdso): Likewise.
46075 * grp/compat-initgroups.c (compat_call): Likewise.
46076 * grp/fgetgrent.c (fgetgrent): Likewise.
46077 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
46078 * grp/putgrent.c (putgrent): Likewise.
46079 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
46080 Likewise.
46081 * hurd/hurdinit.c: Likewise.
46082 * iconvdata/8bit-gap.c (struct): Likewise.
46083 * iconvdata/ansi_x3.110.c : Likewise.
46084 * iconvdata/big5.c : Likewise.
46085 * iconvdata/big5hkscs.c : Likewise.
46086 * iconvdata/cp1255.c: Likewise.
46087 * iconvdata/cp1258.c : Likewise.
46088 * iconvdata/cp932.c : Likewise.
46089 * iconvdata/euc-cn.c: Likewise.
46090 * iconvdata/euc-jisx0213.c : Likewise.
46091 * iconvdata/euc-jp.c: Likewise.
46092 * iconvdata/euc-jp-ms.c : Likewise.
46093 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
46094 * iconvdata/gb18030.c : Likewise.
46095 * iconvdata/gbbig5.c (const): Likewise.
46096 * iconvdata/gbgbk.c: Likewise.
46097 * iconvdata/gbk.c : Likewise.
46098 * iconvdata/ibm1364.c : Likewise.
46099 * iconvdata/ibm930.c : Likewise.
46100 * iconvdata/ibm932.c: Likewise.
46101 * iconvdata/ibm933.c : Likewise.
46102 * iconvdata/ibm935.c : Likewise.
46103 * iconvdata/ibm937.c : Likewise.
46104 * iconvdata/ibm939.c : Likewise.
46105 * iconvdata/ibm943.c: Likewise.
46106 * iconvdata/iso_11548-1.c: Likewise.
46107 * iconvdata/iso-2022-cn.c : Likewise.
46108 * iconvdata/iso-2022-cn-ext.c : Likewise.
46109 * iconvdata/iso-2022-jp-3.c: Likewise.
46110 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
46111 * iconvdata/iso-2022-kr.c : Likewise.
46112 * iconvdata/iso646.c (gconv_end): Likewise.
46113 * iconvdata/iso_6937-2.c : Likewise.
46114 * iconvdata/iso_6937.c : Likewise.
46115 * iconvdata/iso8859-1.c: Likewise.
46116 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
46117 * iconvdata/shift_jisx0213.c : Likewise.
46118 * iconvdata/sjis.c : Likewise.
46119 * iconvdata/t.61.c : Likewise.
46120 * iconvdata/tcvn5712-1.c : Likewise.
46121 * iconvdata/tscii.c: Likewise.
46122 * iconvdata/uhc.c : Likewise.
46123 * iconvdata/unicode.c (gconv_end): Likewise.
46124 * iconvdata/utf-16.c (gconv_end): Likewise.
46125 * iconvdata/utf-32.c (gconv_end): Likewise.
46126 * iconvdata/utf-7.c (base64): Likewise.
46127 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
46128 * iconv/gconv_close.c (__gconv_close): Likewise.
46129 * iconv/gconv_open.c (__gconv_open): Likewise.
46130 * iconv/gconv_simple.c (internal_ucs4_loop_single)
46131 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
46132 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
46133 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
46134 (ucs4le_internal_loop_single): Likewise.
46135 * iconv/iconv.c (iconv): Likewise.
46136 * iconv/iconv_close.c: Likewise.
46137 * iconv/loop.c (SINGLE): Likewise.
46138 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
46139 * include/atomic.h: Likewise.
46140 * inet/inet6_option.c (option_alloc): Likewise.
46141 * intl/bindtextdom.c (set_binding_values): Likewise.
46142 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
46143 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
46144 * intl/localealias.c (read_alias_file): Likewise.
46145 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
46146 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
46147 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
46148 * libio/fmemopen.c (fmemopen): Likewise.
46149 * libio/iofgets.c (_IO_fgets): Likewise.
46150 * libio/iofgets_u.c (fgets_unlocked): Likewise.
46151 * libio/iofgetws.c (fgetws): Likewise.
46152 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
46153 * libio/iogetdelim.c (_IO_getdelim): Likewise.
46154 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
46155 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
46156 * locale/findlocale.c (_nl_find_locale): Likewise.
46157 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
46158 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
46159 Likewise.
46160 * locale/setlocale.c (setlocale): Likewise.
46161 * login/programs/pt_chown.c (main): Likewise.
46162 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
46163 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
46164 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
46165 (mmap, mmap64, mremap, munmap): Likewise.
46166 * math/e_exp2l.c: Likewise.
46167 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
46168 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
46169 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
46170 * math/s_catan.c (__catan): Likewise.
46171 * math/s_catanf.c (__catanf): Likewise.
46172 * math/s_catanh.c (__catanh): Likewise.
46173 * math/s_catanhf.c (__catanhf): Likewise.
46174 * math/s_catanhl.c (__catanhl): Likewise.
46175 * math/s_catanl.c (__catanl): Likewise.
46176 * math/s_ccosh.c (__ccosh): Likewise.
46177 * math/s_ccoshf.c (__ccoshf): Likewise.
46178 * math/s_ccoshl.c (__ccoshl): Likewise.
46179 * math/s_cexp.c (__cexp): Likewise.
46180 * math/s_cexpf.c (__cexpf): Likewise.
46181 * math/s_cexpl.c (__cexpl): Likewise.
46182 * math/s_clog10.c (__clog10): Likewise.
46183 * math/s_clog10f.c (__clog10f): Likewise.
46184 * math/s_clog10l.c (__clog10l): Likewise.
46185 * math/s_clog.c (__clog): Likewise.
46186 * math/s_clogf.c (__clogf): Likewise.
46187 * math/s_clogl.c (__clogl): Likewise.
46188 * math/s_csin.c (__csin): Likewise.
46189 * math/s_csinf.c (__csinf): Likewise.
46190 * math/s_csinh.c (__csinh): Likewise.
46191 * math/s_csinhf.c (__csinhf): Likewise.
46192 * math/s_csinhl.c (__csinhl): Likewise.
46193 * math/s_csinl.c (__csinl): Likewise.
46194 * math/s_csqrt.c (__csqrt): Likewise.
46195 * math/s_csqrtf.c (__csqrtf): Likewise.
46196 * math/s_csqrtl.c (__csqrtl): Likewise.
46197 * math/s_ctan.c (__ctan): Likewise.
46198 * math/s_ctanf.c (__ctanf): Likewise.
46199 * math/s_ctanh.c (__ctanh): Likewise.
46200 * math/s_ctanhf.c (__ctanhf): Likewise.
46201 * math/s_ctanhl.c (__ctanhl): Likewise.
46202 * math/s_ctanl.c (__ctanl): Likewise.
46203 * math/w_pow.c: Likewise.
46204 * math/w_powf.c: Likewise.
46205 * math/w_powl.c: Likewise.
46206 * math/w_scalb.c (sysv_scalb): Likewise.
46207 * math/w_scalbf.c (sysv_scalbf): Likewise.
46208 * math/w_scalbl.c (sysv_scalbl): Likewise.
46209 * misc/error.c (error_tail): Likewise.
46210 * misc/pselect.c (__pselect): Likewise.
46211 * nis/nis_callback.c (__nis_create_callback): Likewise.
46212 * nis/nis_call.c (__nisfind_server): Likewise.
46213 * nis/nis_creategroup.c (nis_creategroup): Likewise.
46214 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
46215 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
46216 * nis/nis_getservlist.c (nis_getservlist): Likewise.
46217 * nis/nis_lookup.c (nis_lookup): Likewise.
46218 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
46219 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
46220 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
46221 * nis/nis_xdr.c (xdr_endpoint): Likewise.
46222 * nis/nss_compat/compat-grp.c (getgrent_next_file)
46223 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
46224 * nis/nss_compat/compat-initgroups.c (add_group)
46225 (internal_getgrent_r): Likewise.
46226 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
46227 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
46228 * nis/nss_compat/compat-spwd.c (getspent_next_file)
46229 (internal_getspnam_r): Likewise.
46230 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
46231 (_nss_nis_getaliasbyname_r): Likewise.
46232 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
46233 (_nss_nis_getntohost_r): Likewise.
46234 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
46235 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
46236 (_nss_nis_getgrgid_r): Likewise.
46237 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
46238 (internal_nis_gethostent_r, internal_gethostbyname2_r)
46239 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
46240 (_nss_nis_gethostbyname4_r): Likewise.
46241 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
46242 (initgroups_netid): Likewise.
46243 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
46244 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
46245 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
46246 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
46247 (_nss_nis_getprotobynumber_r): Likewise.
46248 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
46249 (_nss_nis_getsecretkey): Likewise.
46250 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
46251 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
46252 (_nss_nis_getpwuid_r): Likewise.
46253 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
46254 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
46255 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
46256 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
46257 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
46258 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
46259 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
46260 Likewise.
46261 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
46262 (_nss_nisplus_getntohost_r): Likewise.
46263 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
46264 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
46265 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
46266 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
46267 Likewise.
46268 * nis/nss_nisplus/nisplus-initgroups.c
46269 (_nss_nisplus_initgroups_dyn): Likewise.
46270 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
46271 (_nss_nisplus_getnetbyaddr_r): Likewise.
46272 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
46273 (_nss_nisplus_getprotobynumber_r): Likewise.
46274 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
46275 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
46276 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
46277 Likewise.
46278 * nis/nss_nisplus/nisplus-service.c
46279 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
46280 (_nss_nisplus_getservbyport_r): Likewise.
46281 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
46282 (_nss_nisplus_getspnam_r): Likewise.
46283 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
46284 Likewise.
46285 * nscd/aicache.c (addhstaiX): Likewise.
46286 * nscd/cache.c (cache_search, prune_cache): Likewise.
46287 * nscd/connections.c (register_traced_file, send_ro_fd)
46288 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
46289 (main_loop_epoll): Likewise.
46290 * nscd/grpcache.c (addgrbyX): Likewise.
46291 * nscd/hstcache.c (addhstbyX): Likewise.
46292 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46293 * nscd/mem.c (gc, mempool_alloc): Likewise.
46294 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
46295 (addinnetgrX): Likewise.
46296 * nscd/nscd-client.h (__nscd_acquire_maplock)
46297 (__nscd_drop_map_ref): Likewise.
46298 * nscd/nscd_getai.c (__nscd_getai): Likewise.
46299 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
46300 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
46301 Likewise.
46302 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
46303 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
46304 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
46305 (__nscd_get_map_ref): Likewise.
46306 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
46307 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
46308 Likewise.
46309 * nscd/pwdcache.c (addpwbyX): Likewise.
46310 * nscd/selinux.c (preserve_capabilities): Likewise.
46311 * nscd/servicescache.c (addservbyX): Likewise.
46312 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
46313 * posix/fnmatch.c (fnmatch): Likewise.
46314 * posix/getopt.c (_getopt_internal_r): Likewise.
46315 * posix/glob.c (glob, glob_in_dir): Likewise.
46316 * posix/wordexp.c (exec_comm_child): Likewise.
46317 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
46318 (getanswer_r, gaih_getanswer_slice): Likewise.
46319 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
46320 * resolv/res_init.c: Likewise.
46321 * resolv/res_mkquery.c (res_nmkquery): Likewise.
46322 * resolv/res_query.c (__libc_res_nquery): Likewise.
46323 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
46324 Likewise.
46325 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
46326 * stdio-common/perror.c (perror): Likewise.
46327 * stdio-common/printf_fp.c (___printf_fp): Likewise.
46328 * stdio-common/tmpnam.c (tmpnam): Likewise.
46329 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
46330 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
46331 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
46332 Likewise.
46333 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
46334 * stdlib/putenv.c (putenv): Likewise.
46335 * stdlib/setenv.c (__add_to_environ): Likewise.
46336 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
46337 * stdlib/strtol_l.c (INTERNAL): Likewise.
46338 * string/memmem.c (memmem): Likewise.
46339 * string/strerror.c (strerror): Likewise.
46340 * string/strnlen.c (__strnlen): Likewise.
46341 * string/test-memmem.c (simple_memmem): Likewise.
46342 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
46343 * sunrpc/pm_getport.c (__get_socket): Likewise.
46344 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
46345 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
46346 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
46347 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
46348 Likewise.
46349 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
46350 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
46351 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
46352 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
46353 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
46354 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
46355 Likewise.
46356 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
46357 Likewise.
46358 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
46359 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
46360 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
46361 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
46362 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
46363 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
46364 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
46365 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
46366 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
46367 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
46368 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
46369 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
46370 Likewise.
46371 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
46372 Likewise.
46373 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
46374 Likewise.
46375 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
46376 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
46377 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
46378 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
46379 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
46380 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
46381 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
46382 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
46383 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
46384 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
46385 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
46386 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46387 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
46388 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
46389 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
46390 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
46391 Likewise.
46392 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
46393 Likewise.
46394 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
46395 Likewise.
46396 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
46397 Likewise.
46398 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
46399 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
46400 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
46401 Likewise.
46402 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
46403 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
46404 * sysdeps/posix/opendir.c (__opendirat): Likewise.
46405 * sysdeps/posix/sleep.c: Likewise.
46406 * sysdeps/posix/tempname.c: Likewise.
46407 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
46408 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
46409 Likewise.
46410 * sysdeps/powerpc/powerpc32/dl-machine.h
46411 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
46412 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
46413 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
46414 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
46415 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
46416 Likewise.
46417 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
46418 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
46419 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
46420 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
46421 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
46422 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
46423 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
46424 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
46425 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
46426 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
46427 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
46428 (elf_machine_lazy_rel): Likewise.
46429 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
46430 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
46431 (elf_machine_lazy_rel): Likewise.
46432 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
46433 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
46434 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
46435 * sysdeps/unix/grantpt.c (grantpt): Likewise.
46436 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
46437 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
46438 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
46439 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46440 Likewise.
46441 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
46442 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
46443 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
46444 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
46445 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
46446 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
46447 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
46448 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
46449 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
46450 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
46451 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
46452 Likewise.
46453 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
46454 (__posix_fallocate64_l64): Likewise.
46455 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
46456 (posix_fallocate): Likewise.
46457 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
46458 Likewise.
46459 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
46460 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
46461 (getifaddrs_internal): Likewise.
46462 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
46463 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
46464 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
46465 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
46466 * sysdeps/unix/sysv/linux/posix_fallocate64.c
46467 (__posix_fallocate64_l64): Likewise.
46468 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
46469 Likewise.
46470 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
46471 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
46472 (__get_clockfreq): Likewise.
46473 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
46474 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
46475 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
46476 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
46477 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
46478 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
46479 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
46480 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
46481 Likewise.
46482 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
46483 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
46484 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
46485 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
46486 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
46487 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
46488 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
46489 Likewise.
46490 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
46491 (posix_fallocate): Likewise.
46492 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
46493 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
46494 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
46495 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
46496 (elf_machine_rela, elf_machine_rela_relative)
46497 (elf_machine_lazy_rel): Likewise.
46498 * time/asctime.c (asctime_internal): Likewise.
46499 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
46500 * time/tzset.c (__tzset_parse_tz): Likewise.
46501 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
46502 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
46503 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
46504 * wcsmbs/wcsmbsload.h: Likewise.
46505
46506 [BZ #15894]
46507 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
46508
46509 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
46510 (arena_get2): Remove THREAD_STATS conditionals.
46511 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
46512 (__malloc_stats, int): Likewise.
46513
46514 2014-02-08 Mike Frysinger <vapier@gentoo.org>
46515
46516 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
46517 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
46518
46519 * manual/setjmp.texi: Fix typos/grammar errors.
46520
46521 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
46522 Only return early when n is <= 0. Delete unused return statement.
46523
46524 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
46525 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
46526 * debug/tst-longjmp_chk3.c: New file.
46527
46528 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
46529 (test_main): Replace code with set_fortify_handler call.
46530 * debug/test-strcpy_chk.c: Likewise.
46531 * debug/tst-chk1.c: Likewise.
46532 * debug/tst-longjmp_chk.c: Likewise.
46533 * test-skeleton.c: Include fcntl.h & paths.h
46534 (set_fortify_handler): Define.
46535
46536 * debug/tst-longjmp_chk.c: Add header comment and include
46537 ../test-skeleton.c.
46538 (do_test): Mark static.
46539 (TEST_FUNCTION): Define.
46540
46541 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
46542 (IP_PMTUDISC_INTERFACE): Likewise.
46543 (IP_MULTICAST_IF): Likewise.
46544 (IP_MULTICAST_TTL): Likewise.
46545 (IP_MULTICAST_LOOP): Likewise.
46546 (IP_ADD_MEMBERSHIP): Likewise.
46547 (IP_DROP_MEMBERSHIP): Likewise.
46548 (IP_UNBLOCK_SOURCE): Likewise.
46549 (IP_BLOCK_SOURCE): Likewise.
46550 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
46551 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
46552 (IP_MSFILTER): Likewise.
46553 (MCAST_JOIN_GROUP): Likewise.
46554 (MCAST_BLOCK_SOURCE): Likewise.
46555 (MCAST_UNBLOCK_SOURCE): Likewise.
46556 (MCAST_LEAVE_GROUP): Likewise.
46557 (MCAST_JOIN_SOURCE_GROUP): Likewise.
46558 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
46559 (MCAST_MSFILTER): Likewise.
46560 (IP_MULTICAST_ALL): Likewise.
46561 (IP_UNICAST_IF): Likewise.
46562
46563 * timezone/Makefile: Delete $(have-ksh) check.
46564 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
46565 * timezone/tzselect.ksh: Add +x mode bits.
46566
46567 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
46568 (ANON_INODE_FS_MAGIC): Likewise.
46569 (BDEVFS_MAGIC): Likewise.
46570 (BINFMTFS_MAGIC): Likewise.
46571 (BTRFS_TEST_MAGIC): Likewise.
46572 (CRAMFS_MAGIC_WEND): Likewise.
46573 (DEBUGFS_MAGIC): Likewise.
46574 (ECRYPTFS_SUPER_MAGIC): Likewise.
46575 (EXT3_SUPER_MAGIC): Likewise.
46576 (EXT4_SUPER_MAGIC): Likewise.
46577 (FUTEXFS_SUPER_MAGIC): Likewise.
46578 (HOSTFS_SUPER_MAGIC): Likewise.
46579 (HUGETLBFS_MAGIC): Likewise.
46580 (MINIX3_SUPER_MAGIC): Likewise.
46581 (MTD_INODE_FS_MAGIC): Likewise.
46582 (NILFS_SUPER_MAGIC): Likewise.
46583 (OPENPROM_SUPER_MAGIC): Likewise.
46584 (PIPEFS_MAGIC): Likewise.
46585 (PSTOREFS_MAGIC): Likewise.
46586 (QNX6_SUPER_MAGIC): Likewise.
46587 (RAMFS_MAGIC): Likewise.
46588 (REISERFS_SUPER_MAGIC_STRING): Likewise.
46589 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
46590 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
46591 (SECURITYFS_MAGIC): Likewise.
46592 (SELINUX_MAGIC): Likewise.
46593 (SMACK_MAGIC): Likewise.
46594 (SOCKFS_MAGIC): Likewise.
46595 (SQUASHFS_MAGIC): Likewise.
46596 (STACK_END_MAGIC): Likewise.
46597 (TMPFS_MAGIC): Likewise.
46598 (USBDEVICE_SUPER_MAGIC): Likewise.
46599 (V9FS_MAGIC): Likewise.
46600 (XENFS_SUPER_MAGIC): Likewise.
46601 (CRAMFS_MAGIC): Fix typo in comment.
46602 (EXT2_SUPER_MAGIC): Update comment.
46603 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
46604
46605 2014-02-08 Joseph Myers <joseph@codesourcery.com>
46606
46607 * sysdeps/arm: Move directory from ports/sysdeps/arm.
46608 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
46609 * sysdeps/unix/sysv/linux/arm: Move directory from
46610 ports/sysdeps/unix/sysv/linux/arm.
46611 * README: Update listing for arm-*-linux-gnueabi.
46612
46613 * README: Remove mention of am33.
46614
46615 2014-02-07 Roland McGrath <roland@hack.frob.com>
46616
46617 * bits/sigset.h (__sigemptyset): Use a statement expression rather
46618 than the comma operator, to avoid "rhs of comma has no effect"
46619 compiler warnings.
46620 (__sigfillset, __sigandset, __sigorset): Likewise.
46621 * include/signal.h (__sigemptyset): Likewise.
46622 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
46623
46624 2014-02-07 Allan McRae <allan@archlinux.org>
46625
46626 * version.h (RELEASE): Set to "development".
46627 (VERSION): Set to "2.19.90"
46628 * NEWS: Add 2.20 section.
46629
46630 2014-02-06 Carlos O'Donell <carlos@redhat.com>
46631
46632 [BZ #16529]
46633 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
46634
46635 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
46636
46637 * manual/contrib.texi: Update entry for Carlos O'Donell,
46638 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
46639
46640 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
46641
46642 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
46643
46644 * sysdeps/unix/sysv/linux/kernel-features.h
46645 [__LINUX_KERNEL_VERSION >= 0x020621]
46646 (__ASSUME_PROC_PID_TASK_COMM): Define.
46647
46648 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
46649
46650 [BZ #16398]
46651 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
46652 conversion when destination buffer does not have enough space.
46653 * libio/tst-ftell-partial-wide.c: New test case.
46654 * libio/Makefile (tests): Add tst-ftell-partial-wide.
46655
46656 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
46657 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
46658 Leonard and Allan McRae.
46659
46660 2014-02-04 David S. Miller <davem@davemloft.net>
46661
46662 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
46663 32-bit.
46664
46665 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46666
46667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
46668 New file
46669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
46670 New file
46671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
46672 New file.
46673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
46674 New file.
46675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
46676 New file.
46677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
46678 New file.
46679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
46680 New file.
46681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
46682 New file.
46683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
46684 New file.
46685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
46686 New file.
46687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
46688 New file.
46689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
46690 New file.
46691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
46692 New file.
46693
46694 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46695
46696 * nptl/shlib-versions: Change powerpc*le start to 2.17.
46697 * shlib-versions: Likewise.
46698
46699 2014-02-04 Roland McGrath <roland@hack.frob.com>
46700 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46701
46702 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
46703 (abilist-pattern): New variable, set to %-le.abilist.
46704
46705 * Makerules (abilist-pattern): New variable.
46706 (vpath): Use $(abilist-pattern) in place of %.abilist.
46707 (check-abi-% pattern rule): Likewise.
46708 (check-abi, update-abi): Likewise.
46709
46710 2014-02-04 Eric Wong <normalperson@yhbt.net>
46711
46712 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46713
46714 2014-02-03 Carlos O'Donell <carlos@redhat.com>
46715
46716 * manual/startup.texi: Add next, previous, and top entries for
46717 the `Program Arguments' and `Environment Variables' nodes.
46718
46719 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
46720
46721 * manual/macros.texi: Add comments before MTASC-safety macros.
46722
46723 * manual/users.texi: Document MTASC-safety properties.
46724
46725 * manual/threads.texi (pthread_key_create, pthread_key_delete)
46726 (pthread_getspecific, pthread_setspecific): Format with
46727 @deftypefun, and add @safety note.
46728 * manual/signal.texi: Move comments that analyze the above
46729 functions to their home place.
46730
46731 2014-02-03 Allan McRae <allan@archlinux.org>
46732
46733 * po/sl.po: Update Slovenian translation from translation project.
46734
46735 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
46736
46737 * manual/time.texi (timegm): Add missing blank after @c.
46738 Reported by Joseph Myers <joseph@codesourcery.com>.
46739
46740 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
46741
46742 * manual/check-safety.sh: New.
46743 * manual/Makefile ($(objpfx)stamp-summary): Run it.
46744
46745 * manual/terminal.texi: Document MTASC-safety properties.
46746
46747 * manual/filesys.texi: Document MTASC-safety properties.
46748
46749 * manual/errno.texi: Document MTASC-safety properties.
46750
46751 * manual/intro.texi: Document safety identifiers and
46752 conditionals.
46753
46754 * manual/string.texi (wcstok): Fix prototype.
46755 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
46756
46757 * manual/time.texi: Document MTASC-safety properties.
46758
46759 * manual/string.texi: Document MTASC-safety properties.
46760
46761 * manual/threads.texi: Document MTASC-safety properties.
46762
46763 * manual/stdio.texi: Document MTASC-safety properties.
46764
46765 * manual/syslog.texi: Document MTASC-safety properties.
46766
46767 * manual/sysinfo.texi: Document MTASC-safety properties.
46768
46769 * manual/startup.texi: Document MTASC-safety properties.
46770
46771 * manual/socket.texi: Document MTASC-safety properties.
46772
46773 * manual/signal.texi: Document MTASC-safety properties.
46774
46775 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
46776
46777 * manual/setjmp.texi: Document MTASC-safety properties.
46778
46779 * manual/search.texi: Document MTASC-safety properties.
46780
46781 * manual/resource.texi: Document MTASC-safety properties.
46782
46783 * manual/process.texi: Document MTASC-safety properties.
46784
46785 * manual/platform.texi: Document MTASC-safety properties.
46786
46787 * manual/pipe.texi: Document MTASC-safety properties.
46788
46789 * manual/pattern.texi: Document MTASC-safety properties.
46790
46791 * manual/message.texi: Document MTASC-safety properties.
46792
46793 [BZ #12751]
46794 * manual/memory.texi: Document MTASC-safety properties.
46795
46796 * manual/math.texi: Document MTASC-safety properties.
46797
46798 * manual/locale.texi: Document MTASC-safety properties.
46799
46800 * manual/llio.texi: Document MTASC-safety properties.
46801
46802 * manual/libdl.texi: New.
46803
46804 * manual/lang.texi: Document MTASC-safety properties.
46805
46806 * manual/job.texi: Document MTASC-safety properties.
46807
46808 * manual/getopt.texi: Document MTASC-safety properties.
46809
46810 * manual/ctype.texi: Document MTASC-safety properties.
46811
46812 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
46813
46814 [BZ #16046]
46815 * csu/libc-tls.c (static_map): Remove variable.
46816 (__libc_setup_tls): Use main executable's link map for TLS data.
46817 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
46818 casing for LM_ID_BASE and GL(dl_nns).
46819 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
46820 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
46821 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
46822 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
46823 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
46824 member.
46825 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
46826 l_phnum members.
46827
46828 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
46829
46830 * manual/debug.texi: Document MTASC-safety properties.
46831
46832 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
46833
46834 [BZ #16510]
46835 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
46836 of __x86_64__ when disabling x87 inline functions.
46837
46838 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
46839
46840 * manual/charset.texi: Document MTASC-safety properties.
46841
46842 * manual/crypt.texi: Document MTASC-safety properties.
46843
46844 * manual/conf.texi: Document MTASC-safety properties.
46845
46846 * manual/arith.texi: Document MTASC-safety properties.
46847
46848 * manual/argp.texi: Document MTASC-safety properties.
46849
46850 * manual/macros.texi: Introduce macros to document multi
46851 thread, asynchronous signal and asynchronous cancellation
46852 safety properties.
46853 * manual/intro.texi: Introduce the properties themselves.
46854
46855 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
46856
46857 * sysdeps/sh/sh4/Makefile: New file.
46858
46859 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
46860
46861 * math/gen-libm-test.pl ($srcdir): New variable.
46862 ($auto_input): Use it.
46863
46864 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
46865
46866 [BZ #16506]
46867 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
46868 access beyond array bounds when parsing netgroups file.
46869
46870 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
46871 the old buffer before realloc.
46872
46873 2014-01-27 Allan McRae <allan@archlinux.org>
46874
46875 * po/fr.po: Update French translation from translation project.
46876
46877 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
46878
46879 * sysdeps/sh/libm-test-ulps: Regenerate.
46880
46881 2014-01-24 David S. Miller <davem@davemloft.net>
46882
46883 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
46884
46885 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
46886
46887 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
46888 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
46889
46890 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
46891
46892 [BZ #16474]
46893 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
46894 string pointers after reallocation.
46895
46896 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
46897
46898 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
46899 __SH4A__ instead of __SH_FPU_ANY__.
46900
46901 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
46902
46903 * sysdeps/sh/fpu_control.h: New file.
46904 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
46905 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
46906 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
46907 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
46908 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
46909 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
46910 * sysdeps/sh/sys/ucontext.h: Remove.
46911 * sysdeps/sh/sys: Remove directory.
46912
46913 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46914
46915 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
46916 s390/sys/ucontext.h.
46917 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
46918 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
46919
46920 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
46921
46922 [BZ #15605]
46923 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
46924
46925 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46926
46927 [BZ#16431]
46928 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
46929 Adjust the vDSO correctly for internal calls.
46930 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
46931
46932 2014-01-20 Allan McRae <allan@archlinux.org>
46933
46934 * po/ca.po: Update Catalan translation from translation project.
46935
46936 2014-01-16 Mike Frysinger <vapier@gentoo.org>
46937
46938 * sysdeps/s390/sotruss-lib.c: New file.
46939
46940 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46941
46942 [BZ#16430]
46943 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
46944 (__GI___gettimeofday): Alias for a different internal symbol to avoid
46945 local calls issues by not having a PLT stub required for IFUNC calls.
46946 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
46947
46948 2014-01-16 Joseph Myers <joseph@codesourcery.com>
46949
46950 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
46951 * math/test-fpucw-static.c: Likewise.
46952
46953 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
46954
46955 [BZ #16453]
46956 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
46957
46958 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46959
46960 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
46961 implementation for powerpc.
46962
46963 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
46964
46965 [BZ #14782]
46966 * sysdeps/posix/system.c (__libc_system): Do not enable
46967 asynchronous cancellation.
46968
46969 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46970
46971 [BZ #16427]
46972 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
46973 handling only for numbers special also in the IEEE case.
46974
46975 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46976
46977 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
46978
46979 2014-01-11 Allan McRae <allan@archlinux.org>
46980
46981 * po/bg.po: Update Bulgarian translation from translation project.
46982
46983 * po/de.po: Update German translation from translation project.
46984
46985 2014-01-10 Roland McGrath <roland@hack.frob.com>
46986
46987 * sysdeps/generic/gcc-compat.h: New file.
46988
46989 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
46990
46991 * benchtests/asin-inputs: Correct slow inputs.
46992 * benchtests/acos-inputs: Likewise.
46993
46994 2014-01-10 Allan McRae <allan@archlinux.org>
46995
46996 * po:sv.po: Update Swedish translation from translation project.
46997
46998 * po/vi.po: Update Vietnamese translation from translation project.
46999
47000 * po/eo.po: Update Esperanto translation from translation project.
47001
47002 * po/cs.po: Update Czech translation from translation project.
47003
47004 * po/nl.po: Update Dutch translation from translation project.
47005
47006 * po/pl.po: Update Polish translation from translation project.
47007
47008 * po/ru.po: Update Russian translation from translation project.
47009
47010 * po/uk.po: Update Ukrainian translation from translation project.
47011
47012 2014-01-08 Brooks Moses <bmoses@google.com>
47013
47014 * elf/dl-load.c: Fix comment typo.
47015
47016 2014-01-08 Carlos O'Donell <carlos@redhat.com>
47017
47018 * po/header.pot: Rename to...
47019 * po/pot.header: ... this.
47020 * po/Makefile: Use pot.header.
47021
47022 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
47023 Maxim Kuvyrkov <maxim@kugelworks.com>
47024
47025 [BZ #16394]
47026 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
47027 SRC and DEST against LEN.
47028
47029 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47030
47031 [BZ #16414]
47032 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
47033 implementation.
47034 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
47035
47036 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47037
47038 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47039
47040 2014-01-08 Joseph Myers <joseph@codesourcery.com>
47041
47042 [BZ #16408]
47043 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
47044 for large positive arguments.
47045
47046 2014-01-07 Joseph Myers <joseph@codesourcery.com>
47047
47048 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
47049
47050 * math/auto-libm-test-in: Mark various tests with
47051 xfail-rounding:ldbl-128ibm.
47052 * math/auto-libm-test-out: Regenerated.
47053
47054 [BZ #16407]
47055 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
47056 Increase overflow threshold.
47057
47058 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
47059
47060 [BZ #14286]
47061 * stdio-common/vfprintf.c: Check for integer overflow.
47062
47063 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47064
47065 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
47066 the first argument and return value of __tls_get_addr_internal.
47067
47068 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47069
47070 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
47071 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
47072
47073 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47074
47075 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
47076 * sysdeps/s390/rtld-global-offsets.sym: New file.
47077 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
47078 GLIBC_2.19 symbol.
47079 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
47080 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
47081 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
47082 ... this.
47083 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
47084 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
47085 ... this.
47086 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
47087 Regenerate.
47088 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
47089 Regenerate.
47090 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
47091 halfs of GPRs for high_gprs contexts.
47092 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
47093 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
47094 field.
47095 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
47096 uc_flags field.
47097 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
47098 64 bit versions:
47099 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
47100 for high GPRs (uc_high_gprs) and for future extensions
47101 (__reserved).
47102 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
47103 for future extensions (__reserved).
47104 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
47105 64 bit versions:
47106 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
47107 SC_HIGHGPRS offset definition.
47108 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
47109 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
47110
47111 * Versions.def: Add GLIBC_2.19 for libpthread.
47112 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
47113 siglongjmp for libpthread with GLIBC_2.19 symver.
47114 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
47115 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
47116 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
47117 * sysdeps/s390/__longjmp.c: New file.
47118 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
47119 * sysdeps/s390/longjmp.c: New file.
47120 * sysdeps/s390/setjmp.S: New file.
47121 * sysdeps/s390/sigjmp.S: New file.
47122 * sysdeps/s390/v1-longjmp.c: New file.
47123 * sysdeps/s390/v1-setjmp.h: New file.
47124 * sysdeps/s390/v1-sigjmp.c: New file.
47125 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
47126 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
47127 GLIBC_2.19 version.
47128 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
47129 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
47130 versioned symbols for ____longjmp_chk.
47131 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
47132 Likewise.
47133 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
47134 Regenerate.
47135 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47136 Regenerate.
47137 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
47138 Regenerate.
47139 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47140 Regenerate.
47141 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
47142 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
47143 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
47144 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
47145 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
47146 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
47147 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
47148 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
47149 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
47150 * sysdeps/s390/rtld-__longjmp.c: New file.
47151 * sysdeps/s390/rtld-setjmp.S: New file.
47152
47153 2014-01-06 Joseph Myers <joseph@codesourcery.com>
47154
47155 [BZ #16400]
47156 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
47157 Return -__logl (x) for small positive arguments without evaluating
47158 a polynomial.
47159
47160 2014-01-06 Mike Frysinger <vapier@gentoo.org>
47161
47162 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
47163 Rename to ...
47164 (__ptrace_peeksiginfo_args): ... this.
47165 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47166 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47167 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47168
47169 2014-01-06 Allan McRae <allan@archlinux.org>
47170
47171 * inet/netinet/in.h: Fix typo in comment.
47172
47173 2014-01-05 Andreas Jaeger <aj@suse.de>
47174
47175 * sysdeps/i386/fpu/libm-test-ulps: Update.
47176
47177 2014-01-05 Allan McRae <allan@archlinux.org>
47178
47179 * po/libc.pot: Regenerated.
47180
47181 * malloc/memusagestat.c: Fix gettext call formatting.
47182
47183 2014-01-04 Sami Kerola <kerolasa@iki.fi>
47184
47185 * nscd/nscd.c: Improve usage() output.
47186
47187 2014-01-04 Mike Frysinger <vapier@gentoo.org>
47188
47189 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
47190 * sysdeps/unix/sysv/linux/configure: Regenerated.
47191 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
47192 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
47193
47194 2014-01-03 Joseph Myers <joseph@codesourcery.com>
47195
47196 [BZ #16390]
47197 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
47198 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
47199
47200 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47201
47202 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
47203 extra tokens at end of #undef directive.
47204 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
47205 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
47206 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
47207
47208 2014-01-03 Joseph Myers <joseph@codesourcery.com>
47209
47210 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
47211
47212 * math/auto-libm-test-in: Mark various tests with
47213 xfail-rounding:ldbl-128ibm.
47214 * math/auto-libm-test-out: Regenerated.
47215
47216 2014-01-02 Joseph Myers <joseph@codesourcery.com>
47217
47218 [BZ #16386]
47219 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
47220 numbers with subnormal high part when calculating exponent.
47221
47222 [BZ #16385]
47223 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
47224 fabs.
47225
47226 [BZ #16384]
47227 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
47228 M_LN2l.
47229 (__ieee754_acoshl): Use __log1pl not __log1p.
47230
47231 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
47232
47233 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
47234 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
47235 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
47236 (grow_heap, heap_trim, _int_new_arena, get_free_list)
47237 (reused_arena, arena_get2): Convert to GNU style.
47238 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
47239 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
47240 (memalign_check, __malloc_set_state): Likewise.
47241 * malloc/mallocbug.c (main): Likewise.
47242 * malloc/malloc.c (__malloc_assert, malloc_init_state)
47243 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
47244 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
47245 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
47246 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
47247 (__posix_memalign, malloc_info): Likewise.
47248 * malloc/malloc.h: Likewise.
47249 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
47250 (mallochook, memalignhook, reallochook, mabort): Likewise.
47251 * malloc/mcheck.h: Likewise.
47252 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
47253 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
47254 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
47255 * malloc/morecore.c (__default_morecore): Likewise.
47256 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
47257 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
47258 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
47259 (print_and_abort): Likewise.
47260 * malloc/obstack.h: Likewise.
47261 * malloc/set-freeres.c (__libc_freeres): Likewise.
47262 * malloc/tst-mallocstate.c (main): Likewise.
47263 * malloc/tst-mtrace.c (main): Likewise.
47264 * malloc/tst-realloc.c (do_test): Likewise.
47265
47266 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
47267
47268 [BZ #16366]
47269 * nscd/netgroupcache.c (do_notfound): New function.
47270 (addgetnetgrentX): Use it.
47271
47272 [BZ # 16365]
47273 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
47274 NSS_STATUS_NOTFOUND.
47275
47276 2014-01-01 Joseph Myers <joseph@codesourcery.com>
47277
47278 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
47279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47280
47281 2014-01-01 Allan McRae <allan@archlinux.org>
47282
47283 * scripts/update-copyrights: Update configure input file suffix.
47284
47285 * NEWS: Update copyright year.
47286 * catgets/gencat.c: Likewise.
47287 * csu/version.c: Likewise.
47288 * debug/catchsegv.sh: Likewise.
47289 * debug/pcprofiledump.c: Likewise.
47290 * debug/xtrace.sh: Likewise.
47291 * elf/ldconfig.c: Likewise.
47292 * elf/ldd.bash.in: Likewise.
47293 * elf/pldd.c: Likewise.
47294 * elf/sotruss.ksh: Likewise.
47295 * elf/sprof.c: Likewise.
47296 * iconv/iconv_prog.c: Likewise.
47297 * iconv/iconvconfig.c: Likewise.
47298 * locale/programs/locale.c: Likewise.
47299 * locale/programs/localedef.c: Likewise.
47300 * login/programs/pt_chown.c: Likewise.
47301 * malloc/memusage.sh: Likewise.
47302 * malloc/memusagestat.c: Likewise.
47303 * malloc/mtrace.pl: Likewise.
47304 * manual/libc.texinfo: Likewise.
47305 * nscd/nscd.c: Likewise.
47306 * nss/getent.c: Likewise.
47307 * nss/makedb.c: Likewise.
47308 * posix/getconf.c: Likewise.
47309 * scripts/test-installation.pl: Likewise.
47310
47311 * All files with FSF copyright notices: Update copyright dates
47312 using scripts/update-copyrights.
47313 * intl/plural.c: Regenerated.
47314 * locale/programs/charmap-kw.h: Likewise.
47315 * locale/programs/locfile-kw.h: Likewise.
47316
47317 2013-12-31 Mike Frysinger <vapier@gentoo.org>
47318
47319 * sysdeps/unix/sysv/linux/configure: Regenerated.
47320 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
47321 the linux/fanotify.h header.
47322 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
47323 HAVE_LINUX_FANOTIFY_H is defined.
47324
47325 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
47326
47327 * benchtests/cos-inputs: New inputs.
47328 * benchtests/sin-inputs: Likewise.
47329
47330 * benchtests/atan-inputs: New inputs. Fix name of multiple
47331 precision fallback inputs.
47332
47333 * benchtests/atanh-inputs: New inputs.
47334 * benchtests/tanh-inputs: Likewise.
47335
47336 * benchtests/acosh-inputs: New inputs.
47337 * benchtests/asinh-inputs: Likewise.
47338
47339 * benchtests/cosh-inputs: New inputs.
47340 * benchtests/sinh-inputs: Likewise.
47341
47342 * benchtests/acos-inputs: Add more inputs.
47343 * benchtests/asin-inputs: Likewise.
47344
47345 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
47346
47347 [BZ #16375]
47348 * manual/arith.texi: Fix spelling.
47349 * manual/charset.texi: Likewise.
47350 * manual/errno.texi: Likewise.
47351 * manual/filesys.texi: Likewise.
47352 * manual/lang.texi: Likewise.
47353 * manual/llio.texi: Likewise.
47354 * manual/locale.texi: Likewise.
47355 * manual/message.texi: Likewise.
47356 * manual/resource.texi: Likewise.
47357 * manual/search.texi: Likewise.
47358 * manual/setjmp.texi: Likewise.
47359 * manual/stdio.texi: Likewise.
47360 * manual/string.texi: Likewise.
47361 * manual/sysinfo.texi: Likewise.
47362 * manual/time.texi: Likewise.
47363
47364 2013-12-27 Carlos O'Donell <carlos@redhat.com>
47365
47366 * po/sl.po: New file.
47367
47368 2013-12-27 Mike Frysinger <vapier@gentoo.org>
47369
47370 * .gitignore: Add core/.gdbinit/.gdb_history.
47371
47372 2013-12-27 Allan McRae <allan@archlinux.org>
47373
47374 [BZ #16369]
47375 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
47376 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
47377
47378 2013-12-24 Brooks Moses <bmoses@google.com>
47379
47380 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
47381 all compilers that claim C++98 compliance, not just GCC.
47382 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
47383 Likewise.
47384
47385 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
47386
47387 * NEWS: Restore accidentally deleted bug-fix entries.
47388
47389 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
47390 Ondřej Bílka <neleai@seznam.cz>
47391
47392 [BZ #15073]
47393 * malloc/malloc.c (_int_free): Perform sanity check only if we
47394 have_lock.
47395
47396 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
47397
47398 [BZ #12986]
47399 * manual/stdio.texi (String Input Conversions): Clarify that character
47400 classes are not supported.
47401
47402 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47403
47404 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47405
47406 2013-12-22 Joseph Myers <joseph@codesourcery.com>
47407
47408 [BZ #16337]
47409 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
47410 Calculate results for small negative arguments directly rather
47411 than using reflection formula with special underflow handling.
47412
47413 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
47414 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
47415 sysdeps/unix/bsd/bsd4.4/syscalls.list.
47416 (fchflags): Likewise.
47417 (revoke): Likewise.
47418 (setlogin): Likewise.
47419 (sigaltstack): Likewise.
47420 (wait4): Likewise.
47421 (sigblock): Remove.
47422 (sigsetmask): Likewise.
47423 (wait3): Likewise.
47424 (waitpid): Likewise.
47425 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
47426 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
47427 file.
47428 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
47429 * sysdeps/unix/bsd/Makefile: ... here.
47430 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
47431 * sysdeps/unix/bsd/Versions: ... here.
47432 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
47433 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
47434 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
47435 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
47436 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
47437 * sysdeps/unix/bsd/sigblock.c: ... here.
47438 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
47439 * sysdeps/unix/bsd/sigsetmask.c: ... here.
47440 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
47441 * sysdeps/unix/bsd/sigvec.c: ... here.
47442 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
47443 * sysdeps/unix/bsd/tcdrain.c: ... here.
47444 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
47445 * sysdeps/unix/bsd/tcgetattr.c: ... here.
47446 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
47447 * sysdeps/unix/bsd/tcsetattr.c: ... here.
47448 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
47449 * sysdeps/unix/bsd/wait.c: ... here.
47450 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
47451 * sysdeps/unix/bsd/wait3.c: ... here.
47452 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
47453 * sysdeps/unix/bsd/waitpid.c: ... here.
47454
47455 2013-12-21 Joseph Myers <joseph@codesourcery.com>
47456
47457 [BZ #16356]
47458 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
47459 round-to-nearest for [!USE_AS_EXPM1L].
47460 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
47461 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
47462 more tests of exp and exp10. Expect some exp10 tests to miss
47463 exceptions or fail in directed rounding modes.
47464 * math/auto-libm-test-out: Regenerated.
47465 * math/libm-test.inc (exp10_tonearest_test_data): New array.
47466 (exp10_test_tonearest): New function.
47467 (exp10_towardzero_test_data): New array.
47468 (exp10_test_towardzero): New function.
47469 (exp10_downward_test_data): New array.
47470 (exp10_test_downward): New function.
47471 (exp10_upward_test_data): New array.
47472 (exp10_test_upward): New function.
47473 (main): Call the new functions.
47474 * sysdeps/i386/fpu/libm-test-ulps: Update.
47475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47476
47477 2013-12-20 Joseph Myers <joseph@codesourcery.com>
47478
47479 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
47480 asinh, atan, atan2, atanh, cbrt, cos and cosh.
47481 * math/auto-libm-test-out: Regenerated.
47482 * math/libm-test.inc (acosh_test_data): Add more tests.
47483 (atanh_test_data): Likewise.
47484 (ceil_test_data): Likewise.
47485 (copysign_test_data): Likewise.
47486 * sysdeps/i386/fpu/libm-test-ulps: Update.
47487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47488
47489 * timezone/checktab.awk: Update from tzcode 2013i.
47490 * timezone/private.h: Likewise.
47491 * timezone/scheck.c: Likewise.
47492 * timezone/tzfile.h: Likewise.
47493 * timezone/tzselect.ksh: Likewise.
47494 * timezone/zdump.c: Likewise.
47495 * timezone/zic.c: Likewise.
47496
47497 * math/auto-libm-test-in: Add tests of cpow.
47498 * math/auto-libm-test-out: Regenerated.
47499 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
47500 * math/gen-auto-libm-tests.c (func_calc_method): Add value
47501 mpc_cc_c.
47502 (func_calc_desc): Add mpc_cc_c union field.
47503 (test_functions): Add cpow.
47504 (special_fill_2pi): New function.
47505 (special_real_inputs): Add 2pi.
47506 (calc_generic_results): Handle mpc_cc_c.
47507 * sysdeps/i386/fpu/libm-test-ulps: Update.
47508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47509
47510 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
47511 csqrt, ctan and ctanh.
47512 * math/auto-libm-test-out: Regenerated.
47513 * math/libm-test.inc (TEST_COND_x86_64): New macro.
47514 (TEST_COND_x86): Likewise.
47515 (ccos_test_data): Use AUTO_TESTS_c_c.
47516 (ccosh_test_data): Likewise.
47517 (cexp_test_data): Likewise.
47518 (clog_test_data): Likewise.
47519 (csqrt_test_data): Likewise.
47520 (ctan_test_data): Likewise.
47521 (ctan_tonearest_test_data): Likewise.
47522 (ctan_towardzero_test_data): Likewise.
47523 (ctan_downward_test_data): Likewise.
47524 (ctan_upward_test_data): Likewise.
47525 (ctanh_test_data): Likewise.
47526 (ctanh_tonearest_test_data): Likewise.
47527 (ctanh_towardzero_test_data): Likewise.
47528 (ctanh_downward_test_data): Likewise.
47529 (ctanh_upward_test_data): Likewise.
47530 * math/gen-auto-libm-tests.c (func_calc_method): Add value
47531 mpc_c_c.
47532 (func_calc_desc): Add mpc_c_c union field.
47533 (FUNC_mpc_c_c): New macro.
47534 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
47535 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
47536 ctanh.
47537 (special_fill_min_subnorm_p120): New function.
47538 (special_real_inputs): Add min_subnorm_p120.
47539 (calc_generic_results): Handle mpc_c_c.
47540 * sysdeps/i386/fpu/libm-test-ulps: Update.
47541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47542
47543 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
47544
47545 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
47546 (do_sin_slow): New functions.
47547 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
47548 (cslow2, csloww1, csloww2): Use the new functions.
47549
47550 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
47551 Use M to change sign of result instead of X. Assume X is
47552 positive.
47553 (csloww1): Likewise.
47554 (__sin): Adjust.
47555 (__cos): Adjust.
47556
47557 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
47558 arguments A and DA.
47559 (__sin): Adjust.
47560 (__cos): Likewise.
47561
47562 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
47563 (__cos): Likewise.
47564 (sloww1): Don't adjust sign of DX.
47565 (csloww1): Likewise.
47566 (sloww2): Use X directly and don't adjust sign of DX.
47567 (csloww2): Likewise.
47568
47569 2013-12-19 Joseph Myers <joseph@codesourcery.com>
47570
47571 * math/auto-libm-test-in: Add tests of cabs and carg.
47572 * math/auto-libm-test-out: Regenerated.
47573 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
47574 (carg_test_data): Likewise.
47575 * math/gen-auto-libm-tests.c (func_calc_method): Add value
47576 mpc_c_f.
47577 (func_calc_desc): Add mpc_c_f union field.
47578 (test_functions): Add cabs and carg.
47579 (calc_generic_results): Handle mpc_c_f.
47580
47581 * sysdeps/powerpc/powerpc32/libgcc-compat.S
47582 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
47583 as a macro and a compat symbol.
47584 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
47585 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
47586 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
47587 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
47588 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
47589 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
47590 not use .hidden.
47591 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
47592 Likewise.
47593 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
47594 Likewise.
47595 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
47596 Likewise.
47597 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
47598 Likewise.
47599 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
47600 Likewise.
47601 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
47602 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
47603 from GLIBC_2.3.2.
47604
47605 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47606
47607 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47608
47609 2013-12-19 Joseph Myers <joseph@codesourcery.com>
47610
47611 * manual/texinfo.tex: Update to version 2013-11-26.10 with
47612 trailing whitespace removed.
47613 * scripts/config.guess: Update to version 2013-11-29.
47614 * scripts/config.sub: Update to version 2013-10-01.
47615
47616 * math/auto-libm-test-in: Add tests of sincos.
47617 * math/auto-libm-test-out: Regenerated.
47618 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
47619 * math/gen-auto-libm-tests.c (func_calc_method): Add value
47620 mpfr_f_11.
47621 (func_calc_desc): Add mpfr_f_11 union field.
47622 (test_functions): Add sincos.
47623 (calc_generic_results): Handle mpfr_f_11.
47624 * sysdeps/i386/fpu/libm-test-ulps: Update.
47625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47626
47627 2013-12-19 Andreas Schwab <schwab@suse.de>
47628
47629 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
47630 CALL_MCOUNT.
47631 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
47632 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
47633 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
47634
47635 2013-12-19 Joseph Myers <joseph@codesourcery.com>
47636
47637 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
47638 * sysdeps/i386/fpu/libm-test-ulps: Update.
47639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47640
47641 [BZ #16293]
47642 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
47643 round-to-nearest mode when using frndint.
47644 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
47645 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
47646 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
47647 Likewise.
47648 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
47649 sinh test to fail.
47650 * math/auto-libm-test-out: Regenerated.
47651 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
47652 (TEST_COND_x86): Likewise.
47653 (expm1_tonearest_test_data): New array.
47654 (expm1_test_tonearest): New function.
47655 (expm1_towardzero_test_data): New array.
47656 (expm1_test_towardzero): New function.
47657 (expm1_downward_test_data): New array.
47658 (expm1_test_downward): New function.
47659 (expm1_upward_test_data): New array.
47660 (expm1_test_upward): New function.
47661 (main): Run the new test functions.
47662 * sysdeps/i386/fpu/libm-test-ulps: Update.
47663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47664
47665 * include/features.h: Update comment documenting feature test
47666 macros. Mention _DEFAULT_SOURCE in comment.
47667 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
47668 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
47669 _BSD_SOURCE and _SVID_SOURCE.
47670 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
47671 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
47672 !_SVID_SOURCE]: Likewise.
47673 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
47674 (__USE_POSIX_IMPLICITLY): Define.
47675 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
47676 (_POSIX_SOURCE): Undefine and redefine.
47677 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
47678 (_POSIX_C_SOURCE): Likewise.
47679 * manual/creature.texi (_DEFAULT_SOURCE): Document.
47680 (Feature Test Macros): Update documentation of default features.
47681
47682 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
47683
47684 * benchtests/Makefile: Add bench-strtok.
47685 * benchtests/bench-strtok.c: New file: strtok benchtest.
47686
47687 2013-12-19 Allan McRae <allan@archlinux.org>
47688
47689 * manual/install.texi: Suppress menu for plain text output.
47690 * INSTALL: Regenerated.
47691
47692 2013-12-18 Brooks Moses <bmoses@google.com>
47693
47694 [BZ #15846]
47695 * misc/getauxval.c: Include errno.h.
47696 (__getauxval): Set errno to ENOENT if the requested type is not
47697 found.
47698 * misc/sys/auxv.h (getauxval): Document that it may set errno;
47699 don't declare with __attribute_const__.
47700 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
47701 * manual/startup.texi: Document that getauxval sets errno.
47702
47703 2013-12-18 Joseph Myers <joseph@codesourcery.com>
47704
47705 * math/auto-libm-test-in: Add tests of jn and yn.
47706 * math/auto-libm-test-out: Regenerated.
47707 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
47708 (yn_test_data): Likewise.
47709 * math/gen-auto-libm-tests.c (func_calc_method): Add value
47710 mpfr_if_f.
47711 (func_calc_desc): Add mpfr_if_f union field.
47712 (FUNC_mpfr_if_f): New macro.
47713 (test_functions): Add jn and yn.
47714 (calc_generic_results): Assert type of second input for
47715 mpfr_ff_f. Handle mpfr_if_f.
47716 (output_for_one_input_case): Disable all checking for arguments
47717 fitting floating-point types in case of an integer argument.
47718 * sysdeps/i386/fpu/libm-test-ulps: Update.
47719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47720
47721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
47722 Don't expect fegetround reference in libm.so.
47723
47724 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
47725
47726 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
47727 $(config-cflags-nofma).
47728
47729 2013-12-18 Joseph Myers <joseph@codesourcery.com>
47730
47731 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
47732 * math/auto-libm-test-out: Regenerated.
47733
47734 [BZ #16338]
47735 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
47736 to determine exponent and adjust argument to have exponent of -1.
47737 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
47738 log2.
47739 * math/auto-libm-test-out: Regenerated.
47740 * sysdeps/i386/fpu/libm-test-ulps: Update.
47741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47742
47743 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
47744
47745 * manual/probes.texi: Remove cases when per-thread arenas are
47746 disabled.
47747
47748 2013-12-18 Andreas Schwab <schwab@suse.de>
47749
47750 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
47751 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
47752 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
47753 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
47754 * sysdeps/i386/i686/multiarch/Makefile: Update.
47755 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
47756
47757 2013-12-17 Joseph Myers <joseph@codesourcery.com>
47758
47759 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
47760 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
47761
47762 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
47763
47764 [BZ #15968]
47765 Support TZ transition times < 00:00:00.
47766 This is needed for version-3 tz-format files; it supports time
47767 stamps past 2037 for America/Godthab (the only entry in the tz
47768 database for which this change is relevant).
47769 * manual/time.texi (TZ Variable): Document transition times
47770 from -167:59:59 through -00:00:01.
47771 * time/tzset.c (tz_rule): Time of day is now signed.
47772 (__tzset_parse_tz): Parse negative time of day.
47773
47774 Document TZ transition times >= 25:00:00.
47775 * manual/time.texi (TZ Variable): Document transition times from
47776 25:00:00 through 167:59:59. These are already supported, and this
47777 support will help with version-3 tz-format files.
47778
47779 * manual/time.texi (TZ Variable): Modernize North America example
47780 to reflect current (i.e., 2007-and-later) daylight saving rules.
47781
47782 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
47783
47784 2013-12-17 Joseph Myers <joseph@codesourcery.com>
47785
47786 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
47787 * sysdeps/unix/bsd/bits/stat.h: Likewise.
47788 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
47789 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
47790 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
47791 * sysdeps/unix/bsd/bsdstat.h: Likewise.
47792 * sysdeps/unix/bsd/clock.c: Likewise.
47793 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
47794 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
47795 * sysdeps/unix/bsd/init-posix.c: Likewise.
47796 * sysdeps/unix/bsd/poll.c: Likewise.
47797 * sysdeps/unix/bsd/ptsname.c: Likewise.
47798 * sysdeps/unix/bsd/seekdir.c: Likewise.
47799 * sysdeps/unix/bsd/setegid.c: Likewise.
47800 * sysdeps/unix/bsd/seteuid.c: Likewise.
47801 * sysdeps/unix/bsd/setgid.c: Likewise.
47802 * sysdeps/unix/bsd/setrgid.c: Likewise.
47803 * sysdeps/unix/bsd/setruid.c: Likewise.
47804 * sysdeps/unix/bsd/setsid.c: Likewise.
47805 * sysdeps/unix/bsd/setuid.c: Likewise.
47806 * sysdeps/unix/bsd/sigaction.c: Likewise.
47807 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
47808 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
47809 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
47810 * sysdeps/unix/bsd/telldir.c: Likewise.
47811 * sysdeps/unix/bsd/times.c: Likewise.
47812 * sysdeps/unix/bsd/usleep.c: Likewise.
47813
47814 * misc/Makefile (install-lib): Remove libbsd-compat.a.
47815 ($(objpfx)libbsd-compat.a): Remove rule.
47816
47817 * include/features.h (__FAVOR_BSD): Do not define.
47818 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
47819 features conflicting with POSIX.
47820 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
47821 (_BSD_SOURCE): Remove description of not being a subset of other
47822 feature test macros.
47823 * manual/job.texi (getpgrp): Do not document BSD version.
47824 (getpgid): Do not document by reference to BSD getpgrp.
47825 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
47826 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
47827 * signal/signal.h [__FAVOR_BSD]: Likewise.
47828 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
47829 instead of making contents conditional on [__FAVOR_BSD].
47830 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
47831
47832 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47833
47834 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47835
47836 2013-12-17 Joseph Myers <joseph@codesourcery.com>
47837
47838 [BZ #16314]
47839 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
47840 values below 2**-450, not 2**-500.
47841 * math/auto-libm-test-in: Don't allow spurious underflow from
47842 hypot.
47843 * math/auto-libm-test-out: Regenerated.
47844
47845 [BZ #16316]
47846 [BZ #16330]
47847 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
47848 values of ha and hb and sort them after adjusting subnormal
47849 arguments.
47850 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
47851 Likewise.
47852 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
47853 values of ea and eb and sort them after adjusting subnormal
47854 arguments.
47855 * math/auto-libm-test-in: Do not expect some hypot tests of
47856 subnormals to fail. Add more hypot tests.
47857 * math/auto-libm-test-out: Regenerated.
47858
47859 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47860
47861 [BZ #13304]
47862 * sysdeps/sh/s_fma.c: New file.
47863 * sysdeps/sh/s_fmaf.c: New file.
47864 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
47865 version.
47866 * sysdeps/sh/Implies: Add sh/soft-fp.
47867
47868 2013-12-16 Roland McGrath <roland@hack.frob.com>
47869
47870 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
47871 level of indirection to members `objname', `errstring', `malloced'.
47872 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
47873 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
47874 it as the __longjmp argument (just pass 1 instead).
47875 (_dl_catch_error): Initialize C with argument pointers and address of
47876 volatile local ERRCODE rather than copying values out of C at return.
47877
47878 2013-12-16 Joseph Myers <joseph@codesourcery.com>
47879
47880 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
47881 * math/auto-libm-test-out: Regenerated.
47882 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
47883 (hypot_test_data): Likewise.
47884 (pow_test_data): Likewise.
47885 (pow_tonearest_test_data): Likewise.
47886 * math/gen-auto-libm-tests.c (func_calc_method): Add value
47887 mpfr_ff_f.
47888 (func_calc_desc): Add mpfr_ff_f union field.
47889 (FUNC_mpfr_ff_f): New macro.
47890 (test_functions): Add atan2, hypot and pow.
47891 (special_fill_min): New function.
47892 (special_fill_minus_min): Likewise.
47893 (special_fill_min_subnorm): Likewise.
47894 (special_fill_minus_min_subnorm): Likewise.
47895 (special_real_inputs): Add min, -min, min_subnorm and
47896 -min_subnorm.
47897 (calc_generic_results): Handle mpfr_ff_f.
47898 * sysdeps/i386/fpu/libm-test-ulps: Update.
47899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47900
47901 2013-12-16 Will Newton <will.newton@linaro.org>
47902
47903 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
47904 (Aligned Memory Blocks): Add documentation for aligned_alloc
47905 and suggest it as an alternative to posix_memalign.
47906 (Hooks for Malloc): Document __memalign_hook is also called
47907 for aligned_alloc. (Summary of Malloc): Add summary for
47908 aligned alloc. Document __memalign_hook is also called
47909 for aligned_alloc.
47910
47911 2013-12-16 Will Newton <will.newton@linaro.org>
47912
47913 * manual/memory.texi (Malloc Examples): Clarify default
47914 alignment documentation. Suggest posix_memalign rather
47915 than memalign or valloc.
47916 (Aligned Memory Blocks): Remove suggestion to use memalign
47917 or valloc. Remove obsolete comment about BSD.
47918 Document memalign errno values and mark the function obsolete.
47919 Document posix_memalign returned error codes. Mark valloc
47920 as obsolete. (Hooks for Malloc): __memalign_hook is also
47921 called for posix_memalign and valloc.
47922 (Summary of Malloc): Add posix_memalign to function summary.
47923 __memalign_hook is also called for posix_memalign and valloc.
47924
47925 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
47926
47927 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
47928 TAYLOR_SIN.
47929 (__sin): Adjust.
47930 (__cos): Likewise.
47931 (sloww): Use mynumber union. Expand ternary operator into
47932 if-else statements.
47933 (cslow): use mynumber union.
47934
47935 2013-12-16 Allan McRae <allan@archlinux.org>
47936
47937 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
47938 * configure: Regenerated.
47939
47940 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
47941
47942 [BZ #14120]
47943 * configure.ac: Added --enable-maintainer-mode. Check for
47944 autoconf when enabled.
47945 * configure: Regenerated.
47946
47947 * nscd/nscd.service: New file.
47948 * nscd/nscd.tmpfiles: New file.
47949
47950 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
47951
47952 [BZ #12100]
47953 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
47954 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
47955 * sysdeps/x86_64/multiarch/strstr.c: ... here.
47956 (strstr): Add __strstr_sse2_unaligned ifunc.
47957 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
47958 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
47959 (strcasestr): Remove __strcasestr_sse42 ifunc.
47960 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
47961 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
47962 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
47963
47964 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47965
47966 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
47967 * sysdeps/sh/bits/fenv.h: ... here.
47968 * sysdeps/sh/sh4/fpu/bits: Remove directory.
47969
47970 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47971
47972 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
47973
47974 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
47975 hypotf multiarch implementations.
47976 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
47977 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
47978 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
47979 multiarch hypot for PPC64.
47980 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
47981 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
47982 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
47983 multiarch hypotf for PPC64.
47984
47985 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
47986 modff multiarch implementations.
47987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
47988 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
47989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
47990 multiarch modf for PPC64.
47991 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
47992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
47993 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
47994 multiarch modff for PPC64.
47995
47996 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
47997 and logl multiarch implementations.
47998 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
47999 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
48000 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
48001 multiarch logb for PPC64.
48002 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
48003 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
48004 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
48005 multiarch logb for PPC64.
48006 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
48007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
48008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
48009 multiarch logb for PPC64.
48010
48011 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
48012 isinff multiarch implementation.
48013 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
48014 file.
48015 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
48016 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
48017 multiarch isinf for PPC64.
48018 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
48019 file.
48020 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
48021 multiarch isinff for PPC64.
48022
48023 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
48024 finitef multiarch implementation.
48025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
48026 file.
48027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
48028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
48029 multiarch finite for PPC64.
48030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
48031 file.
48032 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
48033 multiarch finitef for PPC64.
48034
48035 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
48036 lrint multiarch implementation.
48037 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
48038 file.
48039 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
48040 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
48041 multiarch llrint for PPC64.
48042 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
48043 multiarch lrint for PPC64.
48044
48045 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
48046 copysignf multiarch implementation.
48047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
48048 file.
48049 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
48050 file.
48051 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
48052 multiarch copysign for PPC64.
48053 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
48054 multiarch copysignf for PPC64.
48055
48056 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
48057 multiarch implementation.
48058 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
48059 file.
48060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
48061 file.
48062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
48063 file.
48064 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
48065 file.
48066 multiarch llround for PPC64.
48067 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
48068 multiarch trunc for PPC64.
48069 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
48070 multiarch truncf for PPC64.
48071
48072 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
48073 multiarch implementation.
48074 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
48075 file.
48076 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
48077 file.
48078 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
48079 file.
48080 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
48081 file.
48082 multiarch llround for PPC64.
48083 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
48084 multiarch round for PPC64.
48085 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
48086 multiarch roundf for PPC64.
48087
48088 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
48089 multiarch implementation.
48090 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
48091 file.
48092 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
48093 file.
48094 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
48095 file.
48096 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
48097 file.
48098 multiarch llround for PPC64.
48099 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
48100 multiarch floor for PPC64.
48101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
48102 multiarch floorf for PPC64.
48103
48104 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
48105 multiarch implementation.
48106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
48107 file.
48108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
48109 file.
48110 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
48111 file.
48112 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
48113 file.
48114 multiarch llround for PPC64.
48115 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
48116 multiarch ceil for PPC64.
48117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
48118 multiarch ceilf for PPC64.
48119
48120 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
48121 multiarch implementation.
48122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
48123 file.
48124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
48125 file.
48126 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
48127 file.
48128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
48129 multiarch llround for PPC64.
48130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
48131 multiarch lround for PPC64.
48132
48133 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
48134 multiarch implementation.
48135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
48136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
48137 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
48138 file.
48139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
48140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
48141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
48142 multiarch isnan for PPC64.
48143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
48144 multiarch isnanf for PPC64.
48145
48146 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
48147 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
48148 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
48149 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
48150 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
48151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
48152
48153 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
48154 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48155 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48156 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48157
48158 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
48159 multiarch implementations.
48160 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48161 (__libc_ifunc_impl_list): Likewise.
48162 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
48163 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
48164 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
48165 multiarch stpcpy for PPC64.
48166
48167 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
48168 multiarch implementations.
48169 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48170 (__libc_ifunc_impl_list): Likewise.
48171 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
48172 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
48173 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
48174 multiarch strcpy for PPC64.
48175
48176 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
48177 redefine function name.
48178 (_wordcopy_fwd_dest_aligned): Likewise.
48179 (_wordcopy_bwd_aligned): Likewise.
48180 (_wordcopy_bwd_dest_aligned): Likewise.
48181 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
48182 multiarch implementations.
48183 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48184 (__libc_ifunc_impl_list): Likewise.
48185 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
48186 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
48187 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
48188 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
48189 multiarch wcscpy for PPC64.
48190
48191 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
48192 multiarch implementations.
48193 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48194 (__libc_ifunc_impl_list): Likewise.
48195 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
48196 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
48197 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
48198 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
48199 multiarch wcscpy for PPC64.
48200
48201 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
48202 multiarch implementations.
48203 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48204 (__libc_ifunc_impl_list): Likewise.
48205 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
48206 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
48207 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
48208 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
48209 multiarch wcsrchr for PPC64.
48210
48211 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
48212 multiarch implementations.
48213 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48214 (__libc_ifunc_impl_list): Likewise.
48215 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
48216 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
48217 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
48218 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
48219 multiarch wcschr for PPC64.
48220
48221 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
48222 multiarch implementations.
48223 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48224 (__libc_ifunc_impl_list): Likewise.
48225 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
48226 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
48227 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
48228 multiarch strchrnul for PPC64.
48229
48230 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
48231 implementations.
48232 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48233 (__libc_ifunc_impl_list): Likewise.
48234 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
48235 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
48236 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
48237 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
48238 strchr for PPC64.
48239
48240 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
48241 implementations.
48242 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48243 (__libc_ifunc_impl_list): Likewise.
48244 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
48245 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
48246 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
48247 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
48248 strncmp for PPC64.
48249
48250 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
48251 multiarch implementations.
48252 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48253 (__libc_ifunc_impl_list): Likewise.
48254 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
48255 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
48256 strncasecmp for PPC64.
48257 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
48258 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
48259 multiarch strncasecmp_l for PPC64.
48260
48261 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
48262 multiarch implementations.
48263 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
48264 (__libc_ifunc_impl_list): Likewise.
48265 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
48266 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
48267 multiarch strcasecmp for PPC64.
48268 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
48269 file.
48270 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
48271 multiarch strcasecmp_l for PPC64.
48272
48273 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
48274 implementations.
48275 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48276 (__libc_ifunc_impl_list): Likewise.
48277 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
48278 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
48279 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
48280 strnlen for PPC64.
48281
48282 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
48283 implementations.
48284 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48285 (__libc_ifunc_impl_list): Likewise.
48286 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
48287 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
48288 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
48289 strlen for PPC64.
48290
48291 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
48292 implementations.
48293 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48294 (__libc_ifunc_impl_list): Likewise.
48295 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
48296 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
48297 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
48298 rawmemrchr for PPC64.
48299
48300 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
48301 implementation.
48302 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48303 (__libc_ifunc_impl_list): Likewise.
48304 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
48305 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
48306 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
48307 memrchr for PPC64.
48308
48309 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
48310 implementation.
48311 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48312 (__libc_ifunc_impl_list): Likewise.
48313 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
48314 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
48315 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
48316 memchr for PPC64.
48317
48318 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
48319 implementation.
48320 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48321 (__libc_ifunc_impl_list): Likewise.
48322 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
48323 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
48324 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
48325 mempcpy for PPC64.
48326
48327 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
48328 avoid cretion of __bzero symbol.
48329 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
48330 Likewise.
48331 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
48332 Likewise.
48333 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
48334 Likewise.
48335 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
48336 multiarch implementations.
48337 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48338 (__libc_ifunc_impl_list): Likewise.
48339 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
48340 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
48341 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
48342 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
48343 bzero for PPC32.
48344 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
48345 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
48346 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
48347 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
48348 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
48349 memset for PPC64.
48350 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
48351
48352 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
48353 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
48354 implementations.
48355 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48356 (__libc_ifunc_impl_list): Likewise.
48357 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
48358 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
48359 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
48360 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
48361 memcmp for PPC64.
48362
48363 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
48364 multiarch for POWER/PPC64.
48365 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
48366 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
48367 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
48368 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
48369 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
48370 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
48371 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
48372 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
48373 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
48374 memcpy for PPC64.
48375
48376 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
48377 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
48378 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
48379 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
48380 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
48381 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
48382 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
48383 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
48384 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
48385 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
48386 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
48387 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
48388 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
48389 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
48390 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
48391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
48392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
48393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
48394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
48395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
48396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
48397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
48398
48399 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48400
48401 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
48402
48403 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
48404
48405 * benchtests/Makefile (bench): Add exp2 and log2.
48406 (LDLIBS-bench-exp2): Add -lm.
48407 (LDLIBS-bench-log2): Likewise.
48408 * benchtests/exp2-inputs: New inputs file.
48409 * benchtests/log2-inputs: New inputs file.
48410 * benchtests/log-inputs: Add new inputs.
48411 * benchtests/tan-inputs: Likewise.
48412
48413 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
48414
48415 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
48416 definition...
48417 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
48418 (csloww2): ... from here.
48419
48420 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
48421 instead of structures.
48422 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
48423 (POLYNOMIAL): Likewise.
48424 (TAYLOR_SLOW): Likewise.
48425 (__sin): Likewise.
48426 (__cos): Likewise.
48427 (slow1): Likewise.
48428 (slow2): Likewise.
48429 (sloww): Likewise.
48430 (sloww1); Likewise.
48431 (sloww2): Likewise.
48432 (bsloww1): Likewise.
48433 (bsloww2): Likewise.
48434 (cslow2): Likewise.
48435 (csloww): Likewise.
48436 (csloww1): Likewise.
48437 (csloww2): Likewise.
48438
48439 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
48440
48441 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
48442 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
48443 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
48444 * malloc/hooks.c (realloc_check): Likewise.
48445
48446 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
48447 * malloc/arena.c: Remove PER_THREAD conditional.
48448 [!PER_THREAD]: Remove code.
48449 (ptmalloc_unlock_all2): Likewise.
48450 (ptmalloc_init): Likewise.
48451 (_int_new_arena): Likewise.
48452 (arena_get2): Likewise.
48453 * malloc/hooks.c (__malloc_get_state): Likewise.
48454 (__malloc_set_state): Likewise.
48455 * malloc/malloc.c: Likewise.
48456 (struct malloc_state): Likewise.
48457 (struct malloc_par): Likewise.
48458 (__libc_realloc): Likewise.
48459 (__libc_mallopt): Likewise.
48460
48461 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48462
48463 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
48464
48465 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
48466
48467 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
48468 macro to a function. Check for zero perturb_byte.
48469 (_int_malloc, _int_free): Remove zero perturb_byte checks.
48470
48471 * malloc/malloc.c: (force_reg): Remove.
48472 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
48473 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
48474 force_reg by atomic_forced_read.
48475 * malloc/arena.c (ptmalloc_init): Likewise.
48476 * malloc/hooks.c (top_check): Likewise.
48477
48478 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48479
48480 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48481
48482 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
48483
48484 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48485
48486 2013-12-08 Joseph Myers <joseph@codesourcery.com>
48487
48488 * math/auto-libm-test-in: Add tests of lgamma.
48489 * math/auto-libm-test-out: Regenerated.
48490 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
48491 (M_LOG_2_SQRT_PIl): Likewise.
48492 (lgamma_test_data): Use AUTO_TESTS_f_f1.
48493 * math/gen-auto-libm-tests.c (func_calc_method): Add value
48494 mpfr_f_f1.
48495 (func_calc_desc): Add mpfr_f_f1 union field.
48496 (ARGS1): New macro.
48497 (ARGS2): Likewise.
48498 (ARGS3): Likewise.
48499 (ARGS4): Likewise.
48500 (RET1): Likewise.
48501 (RET2): Likewise.
48502 (CALC): Likewise.
48503 (FUNC): Likewise.
48504 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
48505 (test_functions): Add lgamma.
48506 (calc_generic_results): Handle mpfr_f_f1.
48507 * sysdeps/i386/fpu/libm-test-ulps: Update.
48508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48509
48510 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48511
48512 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
48513 __mpn_add_n for PowerPC64/POWER7.
48514 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
48515 __mpn_sub_n for PowerPC64/POWER7.
48516
48517 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
48518 __mpn_addmul_1 for PowerPC64.
48519 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
48520 __mpn_submul_1 for PowerPC64.
48521 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
48522 for PowerPC64.
48523 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
48524 for PowerPC64.
48525
48526 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
48527
48528 [BZ #15089]
48529 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
48530
48531 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48532
48533 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
48534
48535 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
48536 add multiarch folders.
48537 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
48538 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
48539 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
48540 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
48541 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
48542 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
48543 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
48544 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
48545 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
48546 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
48547 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
48548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
48549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
48550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
48551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
48552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
48553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
48554
48555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
48556 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
48557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
48558 New file.
48559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
48560 New file.
48561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
48562 multiarch __ieee754_hypot for PowerPC32.
48563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
48564 New file.
48565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
48566 New file.
48567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
48568 multiarch __ieee754_hypotf for PowerPC32.
48569
48570 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
48571 long_double_symbol only if __logbl is defined.
48572 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
48573 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
48574 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
48575 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
48576 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
48577 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
48578 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
48579 path for implementation.
48580 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
48581 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
48582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
48583 logb, and logbl multiarch implementations for PowerPC32.
48584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
48585 file.
48586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
48587 file.
48588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
48589 multiarch logb for PowerPC32.
48590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
48591 file.
48592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
48593 file.
48594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
48595 multiarch logbf for PowerPC32.
48596 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
48597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
48598 file.
48599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
48600 multiarch logbl implementation for PowerPC32.
48601
48602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
48603 and modff multiarch implementations.
48604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
48605 New file.
48606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
48607 New file.
48608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
48609 multiarch modf for PowerPC32.
48610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
48611 New file.
48612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
48613 New file.
48614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
48615 multiarch modff for PowerPC32.
48616
48617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
48618 and lrintf multiarch implementations.
48619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
48620 New file.
48621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
48622 New file.
48623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
48624 multiarch lrint for PowerPC32.
48625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
48626 file: multiarch lrintf for PowerPC32.
48627
48628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
48629 and lroundf multiarch implementations.
48630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
48631 New file.
48632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
48633 New file.
48634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
48635 New file.
48636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
48637 multiarch lround for PowerPC32.
48638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
48639 file: multiarch lroundf for PowerPC32.
48640
48641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
48642 copysign and copysignf multiarch implementations.
48643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
48644 New file.
48645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
48646 New file.
48647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
48648 file: multiarch copysign for PowerPC32.
48649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
48650 file: multiarch copysignf for PowerPC32.
48651
48652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
48653 and truncf multiarch implementations.
48654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
48655 New file.
48656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
48657 file.
48658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
48659 multiarch trunc for PowerPC32.
48660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
48661 New file.
48662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
48663 New file.
48664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
48665 multiarch truncf for PowerPC32.
48666
48667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
48668 and roundf multiarch implementations.
48669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
48670 New file.
48671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
48672 file.
48673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
48674 multiarch round for PowerPC32.
48675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
48676 New file.
48677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
48678 New file.
48679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
48680 multiarch roundf for PowerPC32.
48681
48682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
48683 and floorf multiarch implementations.
48684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
48685 New file.
48686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
48687 file.
48688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
48689 multiarch floor for PowerPC32.
48690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
48691 New file.
48692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
48693 New file.
48694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
48695 multiarch floorf for PowerPC32.
48696
48697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
48698 and ceilf multiarch implementations.
48699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
48700 New file.
48701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
48702 file.
48703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
48704 multiarch ceil for PowerPC32.
48705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
48706 New file.
48707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
48708 file.
48709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
48710 multiarch ceilf for PowerPC32.
48711
48712 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
48713 is defined.
48714 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
48715 FINITEF is defined.
48716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
48717 and finitef multiarch implementations.
48718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
48719 New file.
48720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
48721 file.
48722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
48723 multiarch finite for PowerPC32.
48724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
48725 New file.
48726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
48727 file: multiarch finitef for PowerPC32.
48728
48729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
48730 and isinff multiarch implementations.
48731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
48732 file.
48733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
48734 file.
48735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
48736 multiarch isinf for PowerPC32.
48737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
48738 New file.
48739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
48740 multiarch isinff for PowerPC32.
48741
48742 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
48743 alias when __isnan is defined.
48744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
48745 and isnanf multiarch implementations.
48746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
48747 file.
48748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
48749 file.
48750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
48751 file.
48752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
48753 file.
48754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
48755 multiarch isnan for PowerPC32.
48756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
48757 New file.
48758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
48759 New file.
48760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
48761 multiarch isnanf for PowerPC32.
48762
48763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
48764 and sqrtf multiarch implementations.
48765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
48766 file.
48767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
48768 file.
48769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
48770 multiarch sqrt for PowerPC32.
48771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
48772 file.
48773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
48774 file.
48775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
48776 multiarch sqrtf for PowerPC32.
48777
48778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
48779 and llroundf multiarch implementations.
48780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
48781 New file.
48782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
48783 New file.
48784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
48785 New file.
48786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
48787 file: multiarch llround for PowerPC32.
48788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
48789 file: multiarch llroundf for PowerPC32.
48790
48791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
48792 multiarch PowerPC32 fpu implementations.
48793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
48794 New file.
48795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
48796 New file.
48797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
48798 multiarch llrint for PowerPC32.
48799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
48800 New file.
48801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
48802 New file.
48803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
48804 file.
48805
48806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
48807
48808 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
48809 file.
48810 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
48811 file.
48812 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
48813 file.
48814 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
48815 multiarch wordcopy for PPC32.
48816 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
48817 wordcopy objects.
48818 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48819 (__libc_ifunc_impl_list): Likewise.
48820 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
48821 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
48822 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
48823 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
48824 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
48825 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
48826
48827 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
48828 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
48829 file.
48830 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
48831 file.
48832 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
48833 file.
48834 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
48835 multiarch wcscpy for PPC32.
48836 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
48837 multiarch objects.
48838 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48839 (__libc_ifunc_impl_list): Likewise.
48840 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
48841 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
48842 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
48843 sysdeps/powerpc/power6/wcscpy.c.
48844
48845 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
48846 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
48847 file.
48848 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
48849 file.
48850 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
48851 file.
48852 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
48853 multiarch wcsrchr for PPC32.
48854 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
48855 multiarch objects.
48856 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48857 (__libc_ifunc_impl_list): Likewise.
48858 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
48859 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
48860 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
48861 sysdeps/powerpc/power6/wcsrchr.c.
48862
48863 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
48864 file.
48865 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
48866 file.
48867 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
48868 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
48869 multiarch wcschr for PPc32.
48870 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
48871 multiarch objects.
48872 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48873 (__libc_ifunc_impl_list): Likewise.
48874 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
48875 * sysdeps/powerpc/power6/wcschr.c: ... to here.
48876 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
48877 sysdeps/powerpc/power6/wcschr.c.
48878
48879 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
48880 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
48881 file.
48882 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
48883 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
48884 file: multiarch strchr for PPC32.
48885 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
48886 multiarch objects.
48887 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48888 (__libc_ifunc_impl_list): Likewise.
48889
48890 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
48891 name.
48892 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
48893 file.
48894 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
48895 file.
48896 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
48897 multiarch strchrnul for PPC32.
48898 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
48899 multiarch objects.
48900 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48901 (__libc_ifunc_impl_list): Likewise.
48902
48903 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
48904 file.
48905 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
48906 multiarch strncasecmp for PPC32.
48907 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
48908 file.
48909 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
48910 multiarch strncasecmp_l for PPC32.
48911 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
48912 strncasecmp multiarch objects.
48913 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48914 (__libc_ifunc_impl_list): Likewise.
48915
48916 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
48917 file.
48918 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
48919 multiarch strncasecmp for PPC32.
48920 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
48921 New file.
48922 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
48923 multiarch strcasecmp_l for PPC32.
48924 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
48925 multiarch objects.
48926 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48927 (__libc_ifunc_impl_list): Likewise.
48928
48929 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
48930 file.
48931 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
48932 file.
48933 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
48934 multiarch strncmp for PPC32.
48935 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
48936 multiarch objects.
48937 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48938 (__libc_ifunc_impl_list): Likewise.
48939
48940 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
48941 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
48942 file.
48943 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
48944 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
48945 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
48946 multiarch objects.
48947 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48948 (__libc_ifunc_impl_list): Likewise.
48949
48950 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
48951 file.
48952 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
48953 file.
48954 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
48955 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
48956 multiarch objects.
48957 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48958 (__libc_ifunc_impl_list): Likewise.
48959
48960 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
48961 file.
48962 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
48963 file.
48964 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
48965 multiarch rawmemchr for PPC32.
48966 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
48967 multiarch objects.
48968 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48969 (__libc_ifunc_impl_list): Likewise.
48970
48971 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
48972 file.
48973 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
48974 file.
48975 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
48976 file: memrchr multiarch for PPC32.
48977 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
48978 multiarch objects.
48979 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48980 (__libc_ifunc_impl_list): Likewise.
48981
48982 * string/memchr.c (__memchr): Using macro to redefine symbol name.
48983 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
48984 file.
48985 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
48986 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
48987 multiarch memchr for PPC32.
48988 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
48989 multiarch objects.
48990 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
48991 (__libc_ifunc_impl_list): Likewise.
48992
48993 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
48994 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
48995 file.
48996 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
48997 file.
48998 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
48999 file: multiarch mempcpy for PPC32.
49000 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
49001 multiarch objects.
49002 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
49003 (__libc_ifunc_impl_list): Likewise.
49004
49005 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
49006 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
49007 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
49008 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
49009 multiarch bzero for PPC32.
49010 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
49011 file.
49012 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
49013 file.
49014 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
49015 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
49016 file: multiarch memset for PPC32.
49017 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
49018 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
49019 memset multiarch objects.
49020 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
49021 (__libc_ifunc_impl_list): Likewise.
49022
49023 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
49024 file.
49025 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
49026 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
49027 memcmp for PPC32.
49028 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
49029 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
49030 multiarch objects.
49031 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
49032 (__libc_ifunc_impl_list): Likewise.
49033
49034 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
49035 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
49036 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
49037 file.
49038 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
49039 file.
49040 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
49041 file.
49042 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
49043 multiarch memcpy for PPC32.
49044 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
49045 multiarch objects.
49046 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
49047 (__libc_ifunc_impl_list): Likewise.
49048
49049 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
49050 support multiarch for POWER/PPC32.
49051 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
49052 Likewise.
49053 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
49054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
49055 Implies file to make multiarch folder appers before the fpu and
49056 default folder for power4 configuration.
49057
49058 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
49059
49060 * scripts/bench.pl: Append volatile keyword to type.
49061
49062 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49063
49064 * sysdeps/sh/sotruss-lib.c: New file.
49065 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
49066
49067 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49068
49069 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49070
49071 2013-12-05 Joseph Myers <joseph@codesourcery.com>
49072
49073 [BZ #6810]
49074 * math/w_tgamma.c: Include <errno.h>.
49075 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
49076 * math/w_tgammaf.c: Include <errno.h>.
49077 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
49078 * math/w_tgammal.c: Include <errno.h>.
49079 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
49080 * math/auto-libm-test-in: Do not allow missing errno on tgamma
49081 underflow. Add more tgamma tests.
49082 * math/auto-libm-test-out: Regenerated.
49083 * sysdeps/i386/fpu/libm-test-ulps: Update.
49084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49085
49086 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
49087 sin, sinh, tan, tanh, tgamma, y0 and y1.
49088 * math/auto-libm-test-out: Regenerated.
49089 * math/libm-test.inc (TEST_COND_x86_64): New macro.
49090 (TEST_COND_x86): Likewise.
49091 (M_E2l): Remove macro.
49092 (M_E3l): Likewise.
49093 (M_2_SQRT_PIl): Likewise.
49094 (M_SQRT_PIl): Likewise.
49095 (M_1_DIV_El): Likewise.
49096 (log_test_data): Use AUTO_TESTS_f_f.
49097 (log10_test_data): Likewise.
49098 (log1p_test_data): Likewise.
49099 (log2_test_data): Likewise.
49100 (sin_test_data): Likewise.
49101 (sin_tonearest_test_data): Likewise.
49102 (sin_towardzero_test_data): Likewise.
49103 (sin_downward_test_data): Likewise.
49104 (sin_upward_test_data): Likewise.
49105 (sinh_test_data): Likewise.
49106 (sinh_tonearest_test_data): Likewise.
49107 (sinh_towardzero_test_data): Likewise.
49108 (sinh_downward_test_data): Likewise.
49109 (sinh_upward_test_data): Likewise.
49110 (tan_test_data): Likewise.
49111 (tan_tonearest_test_data): Likewise.
49112 (tan_towardzero_test_data): Likewise.
49113 (tan_downward_test_data): Likewise.
49114 (tan_upward_test_data): Likewise.
49115 (tanh_test_data): Likewise.
49116 (tgamma_test_data): Likewise.
49117 (y0_test_data): Likewise.
49118 (y1_test_data): Likewise.
49119 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
49120 (special_real_inputs): Add pi/4.
49121 * sysdeps/i386/fpu/libm-test-ulps: Update.
49122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49123
49124 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49125
49126 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
49127 "longjmp_target" static probes.
49128 (__longjmp): Rename to __longjmp_symbol.
49129 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
49130 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
49131 on which longjmp to generate.
49132 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
49133 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
49134 probe.
49135 (__sigsetjmp): Rename to __sigsetjmp_symbol.
49136 (__sigjmp_save): Rename to __sigjmp_save_symbol.
49137 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
49138 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
49139 and __sigjmp_save_symbol based on which sigsetjmp to generated.
49140 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
49141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
49142 __longjmp_symbol based on which __longjmp to generate.
49143 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
49144 probe.
49145 (setjmp): Rename to setjmp_symbol.
49146 (__sigsetjmp): Rename to __sigsetjmp_symbol.
49147 (_setjmp): Rename to _setjmp_symbol.
49148 (__sigsetjmp): Rename to __sigsetjmp_symbol.
49149 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
49150 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
49151 which setjmp to generate.
49152 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
49153 "longjmp_target" static probes.
49154
49155 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
49156
49157 * benchtests/README: Add note about output arguments.
49158 * benchtests/bench-sincos.c: Remove file.
49159 * benchtests/sincos-inputs: New file.
49160 * scripts/bench.pl: Identify output arguments and define
49161 static variables for them.
49162
49163 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
49164
49165 [BZ #15941]
49166 * Makefile (INSTALL): Add install-plain.texi as the primary
49167 dependency.
49168 * manual/install-plain.texi: New file.
49169 * manual/install.texi: Include node directive only for
49170 non-plaintext output.
49171
49172 2013-12-04 Joseph Myers <joseph@codesourcery.com>
49173
49174 * stdlib/longlong.h: Update from GCC.
49175
49176 [BZ #6807]
49177 [BZ #15901]
49178 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
49179 * math/w_j0f.c (y0f): Likewise.
49180 * math/w_j0l.c (__y0l): Likewise.
49181 * math/w_j1.c (y1): Likewise.
49182 * math/w_j1f.c (y1f): Likewise.
49183 * math/w_j1l.c (__y1l): Likewise.
49184 * math/w_jn.c (yn): Likewise.
49185 * math/w_jnf.c (ynf): Likewise.
49186 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
49187 Bessel function pole errors in _POSIX_ mode. Use NAN as return
49188 value for Bessel function domain errors outside _SVID_ mode.
49189 Adjust sign of return value for yn (negative integer, 0).
49190 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
49191 by zero in return for negative x and set sign appropriately for
49192 negative n.
49193 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
49194 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
49195 * math/libm-test.inc (y0_test_data): Add more tests and adjust
49196 expectations in error cases.
49197 (y1_test_data): Likewise.
49198 (yn_test_data): Likewise.
49199 * sysdeps/i386/fpu/libm-test-ulps: Update.
49200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49201
49202 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
49203
49204 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
49205 "64" to "64-v1". Add "64-v2".
49206 (abi-64-options): Rename to ...
49207 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
49208 (abi-64-condition): Rename to ...
49209 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
49210 (abi-64-ld-soname): Rename to ...
49211 (abi-64-v1-ld-soname): ... this.
49212 (abi-64-v2-options): Define.
49213 (abi-64-v2-condition): Likewise.
49214 (abi-64-v2-ld-soname): Likewise.
49215 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
49216 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
49217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
49218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
49219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
49220
49221 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
49222 Alan Modra <amodra@gmail.com>
49223
49224 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
49225 New versions for use with the ELFv2 ABI.
49226 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
49227 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
49228 declaration.
49229 (struct La_ppc64v2_retval): Likewise.
49230 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
49231 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
49232 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
49233 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
49234 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
49235 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
49236 Do not save or restore CR.
49237 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
49238 (_dl_profile_resolve): Do no save or restore CR. Support extended
49239 return values for ELFv2 ABI. Fix location of FPR return registers.
49240 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
49241 updated values for _CALL_ELF == 2.
49242 (La_regs, La_retval, int_retval): Likewise.
49243
49244 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
49245
49246 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
49247 (FRAME_MIN_SIZE_PARM): Likewise.
49248 (FRAME_BACKCHAIN): Likewise.
49249 (FRAME_CR_SAVE): Likewise.
49250 (FRAME_LR_SAVE): Likewise.
49251 (FRAME_TOC_SAVE): Likewise.
49252 (FRAME_PARM_SAVE): Likewise.
49253 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
49254 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
49255 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
49256 (call_mcount_parm_offset): New macro.
49257 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
49258 (PROF): Use symbolic stack frame offsets.
49259 (TAIL_CALL_SYSCALL_ERROR): Likewise.
49260 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
49261 Redefine in terms of FRAME_MIN_SIZE.
49262 (_dl_runtime_resolve): Use symbolic stack frame offsets.
49263 (_dl_profile_resolve): Likewise. Update comment.
49264 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
49265 symbols stack frame offsets.
49266 (__sigsetjmp): Likewise.
49267 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
49268 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
49269 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
49270 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
49271
49272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
49273 (FRAME_BACKCHAIN): Remove.
49274 (FRAME_CR_SAVE): Likewise.
49275 (FRAME_LR_SAVE): Likewise.
49276 (FRAME_COMPILER_DW): Likewise.
49277 (FRAME_LINKER_DW): Likewise.
49278 (FRAME_TOC_SAVE): Likewise.
49279 (FRAME_PARM_SAVE): Likewise.
49280 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
49281 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
49282 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
49283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
49284 (CHECK_SP): Use symbolic stack frame offsets.
49285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
49286 zone" instead of caller's parameter save area for temp storage.
49287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
49288 Likewise. Also, use symbolic stack frame offsets.
49289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
49290 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
49291 our own stack frame instead of the caller's.
49292 (__socket): Use symbolic stack frame offsets.
49293
49294 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
49295 Alan Modra <amodra@gmail.com>
49296
49297 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
49298 Define.
49299 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
49300 (PPC64_LOCAL_ENTRY_OFFSET): Define.
49301 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
49302 New function.
49303 (elf_machine_fixup_plt): Call it.
49304 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
49305 reloc arguments.
49306 (elf_machine_rela): Update call to elf_machine_plt_conflict.
49307 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
49308 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
49309 r2 before calling target.
49310
49311 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
49312 Alan Modra <amodra@gmail.com>
49313
49314 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
49315 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
49316 versions of macros to support ELFv2 ABI.
49317 (LOCALENTRY): New macro.
49318 (ENTRY, EALIGN): Use it.
49319 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
49320 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
49321 fall through into ENTRY entry point.
49322 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
49323 Only define if _CALL_ELF != 2.
49324
49325 (elf_machine_matches_host): Verify ABI version matches.
49326 (RTLD_START): Use LOCALENTRY.
49327 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
49328 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
49329 (PLT_ENTRY_WORDS): New macro.
49330 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
49331 (elf_machine_runtime_setup): Support ELFv2 ABI.
49332 (elf_machine_fixup_plt): Likewise.
49333 (elf_machine_plt_conflict): Likewise.
49334 (resolve_ifunc): Likewise.
49335 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
49336 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
49337 Likewise.
49338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
49339 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
49340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49341 (makecontext): Support ELFv2 ABI.
49342 * elf/elf.h (EF_PPC64_ABI): Define.
49343
49344 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
49345
49346 * sysdeps/powerpc/powerpc64/sysdep.h
49347 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
49348 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
49349 (ENTRY) [ASSEMBLER]: ... but instead here ...
49350 (EALIGN) [ASSEMBLER]: ... and here.
49351 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
49352 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
49353 (ENTRY_2) [!ASSEMBLER]: Use it.
49354 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
49355 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
49356 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
49357 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
49358 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
49359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
49360 Use PPC64_LOAD_FUNCPTR.
49361
49362 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
49363
49364 2013-12-04 Alan Modra <amodra@gmail.com>
49365
49366 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
49367 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
49368 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
49369 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
49370
49371 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
49372 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
49373 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
49374 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
49375 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
49376 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
49377
49378 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
49379
49380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49381 (__makecontext): Fix incorrect CFI when backtracing out of
49382 context created via makecontext.
49383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
49384 (__setcontext): Fix incorrect CFI during switch to new context.
49385 (__novec_setcontext): Likewise.
49386
49387 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
49388
49389 [BZ #4772]
49390 * time/strptime_l.c (__strptime_internal): Allow modifiers
49391 in strptime.
49392 * time/tst-strptime.c (day_tests): Add testcase.
49393
49394 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
49395
49396 * scripts/bench.pl: Skip over blank lines.
49397
49398 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
49399
49400 [BZ #926]
49401 * manual/time.texi (Calendar Time): Clarify what timezone functions
49402 use.
49403
49404 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49405
49406 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49407
49408 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
49409
49410 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
49411 implementation.
49412 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
49413 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
49414 * debug/memset_chk.c (__memset_chk): Likewise.
49415 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
49416 * debug/strncpy_chk.c: Likewise.
49417
49418 2013-12-03 Joseph Myers <joseph@codesourcery.com>
49419
49420 [BZ #15268]
49421 [BZ #15425]
49422 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
49423 (__ieee754_exp): For possibly underflowing results, check size of
49424 result and force underflow exception if required.
49425 * math/auto-libm-test-in: Add more tests of exp.
49426 * math/auto-libm-test-out: Regenerated.
49427 * sysdeps/i386/fpu/libm-test-ulps: Update.
49428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49429
49430 [BZ #16283]
49431 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
49432 * math/w_exp2f.c (__exp2f): Likewise.
49433 * math/w_exp2l.c (__exp2l): Likewise.
49434 * math/auto-libm-test-in: Do not allow missing errno on exp2
49435 underflow.
49436 * math/auto-libm-test-out: Regenerated.
49437
49438 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
49439
49440 [BZ #16274]
49441 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
49442 handle filename validation.
49443 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
49444 (do_open): Delete.
49445
49446 2013-12-03 Joseph Myers <joseph@codesourcery.com>
49447
49448 [BZ #6786]
49449 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
49450 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
49451 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
49452 <float.h>.
49453 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
49454 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
49455 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
49456 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
49457 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
49458 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
49459 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
49460 * math/auto-libm-test-in: Don't allow missing errno from erfc.
49461 Add more erfc tests.
49462 * math/auto-libm-test-out: Regenerated.
49463 * sysdeps/i386/fpu/libm-test-ulps: Update.
49464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49465
49466 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
49467 exp2, expm1, j0 and j1.
49468 * math/auto-libm-test-out: Regenerated.
49469 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
49470 (erfc_test_data): Likewise.
49471 (exp_test_data): Likewise.
49472 (exp_tonearest_test_data): Likewise.
49473 (exp_towardzero_test_data): Likewise.
49474 (exp_downward_test_data): Likewise.
49475 (exp_upward_test_data): Likewise.
49476 (exp10_test_data): Likewise.
49477 (exp2_test_data): Likewise.
49478 (expm1_test_data): Likewise.
49479 (j0_test_data): Likewise.
49480 (j1_test_data): Likewise.
49481 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
49482 (input_flag_type): Add flag_xfail_rounding.
49483 (input_flags): Add xfail-rounding.
49484 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
49485 (output_for_one_input_case): Handle flag_xfail_rounding.
49486 * sysdeps/i386/fpu/libm-test-ulps: Update.
49487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49488
49489 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
49490
49491 [BZ #16289]
49492 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
49493 division by 0.
49494
49495 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
49496
49497 [BZ #16195]
49498 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
49499 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
49500 (STAP_PROBE0): New macro.
49501 (STAP_PROBE1): Likewise.
49502 (STAP_PROBE2): Likewise.
49503 (STAP_PROBE3): Likewise.
49504 (STAP_PROBE4): Likewise.
49505
49506 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
49507
49508 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
49509
49510 2013-12-02 Steve Ellcey <sellcey@mips.com>
49511
49512 * benchtests/Makefile (bench): Add sqrt.
49513 (LDLIBS-bench-sqrt): New.
49514 * benchtests/sqrt-input: New.
49515
49516 2013-12-02 Pavel Simerda <psimerda@redhat.com>
49517
49518 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
49519 (GAIH_EAI): Likewise.
49520 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
49521 (gaih_inet): Likewise.
49522 (getaddrinfo): Don't use GAIH_EAI.
49523
49524 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
49525 (struct gaih): Remove definition.
49526
49527 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
49528
49529 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
49530 Use HERRNOP directly.
49531
49532 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49533
49534 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49535
49536 2013-11-30 Joseph Myers <joseph@codesourcery.com>
49537
49538 * math/gen-auto-libm-tests.c (test_functions): Add more
49539 single-argument functions.
49540 (special_fill_pi_2): New function.
49541 (special_fill_minus_pi_2): Likewise.
49542 (special_fill_pi_6): Likewise.
49543 (special_fill_minus_pi_6): Likewise.
49544 (special_fill_pi_3): Likewise.
49545 (special_fill_2pi_3): Likewise.
49546 (special_fill_e): Likewise.
49547 (special_fill_1_e): Likewise.
49548 (special_fill_e_minus_1): Likewise.
49549 (special_real_inputs): Add more special inputs.
49550 (output_for_one_input_case): Do not require ERANGE on underflow to
49551 zero if round-to-nearest result does not underflow to zero, unless
49552 exact results required.
49553 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
49554 atan, atanh, cbrt, cos and cosh.
49555 * math/auto-libm-test-out: Regenerated.
49556 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
49557 (acos_tonearest_test_data): Likewise.
49558 (acos_towardzero_test_data): Likewise.
49559 (acos_downward_test_data): Likewise.
49560 (acos_upward_test_data): Likewise.
49561 (acosh_test_data): Likewise.
49562 (asin_test_data): Likewise.
49563 (asin_tonearest_test_data): Likewise.
49564 (asin_towardzero_test_data): Likewise.
49565 (asin_upward_test_data): Likewise.
49566 (asinh_test_data): Likewise.
49567 (atan_test_data): Likewise.
49568 (atanh_test_data): Likewise.
49569 (cbrt_test_data): Likewise.
49570 (cos_test_data): Likewise.
49571 (cos_tonearest_test_data): Likewise.
49572 (cos_towardzero_test_data): Likewise.
49573 (cos_downward_test_data): Likewise.
49574 (cos_upward_test_data): Likewise.
49575 (cosh_test_data): Likewise.
49576 (cosh_tonearest_test_data): Likewise.
49577 (cosh_towardzero_test_data): Likewise.
49578 (cosh_downward_test_data): Likewise.
49579 (cosh_upward_test_data): Likewise.
49580 * sysdeps/i386/fpu/libm-test-ulps: Update.
49581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49582
49583 2013-11-29 Joseph Myers <joseph@codesourcery.com>
49584
49585 [BZ #6787]
49586 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
49587 * math/w_exp10f.c (__exp10f): Likewise.
49588 * math/w_exp10l.c (__exp10l): Likewise.
49589 * math/libm-test.inc (exp10_test_data): Add more tests and expect
49590 errno settings in existing tests.
49591
49592 [BZ #14032]
49593 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
49594 precision control set to double precision.
49595 * sysdeps/i386/fpu/w_sqrt.c: New file.
49596 * math/auto-libm-test-in: Add more tests.
49597 * math/auto-libm-test-out: Update.
49598
49599 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
49600 (sqrt_test_tonearest): New function.
49601 (sqrt_towardzero_test_data): New variable.
49602 (sqrt_test_towardzero): New function.
49603 (sqrt_downward_test_data): New variable.
49604 (sqrt_test_downward): New function.
49605 (sqrt_upward_test_data): New variable.
49606 (sqrt_test_upward): New function.
49607 (main): Call the new functions.
49608
49609 * math/gen-auto-libm-tests.c: New file.
49610 * math/auto-libm-test-in: Likewise.
49611 * math/auto-libm-test-out: New generated file.
49612 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
49613 variables.
49614 (%beautify): Add generated representations of zero.
49615 (top level): Set $auto_input and call parse_auto_input.
49616 (beautify): Remove trailing "f" from hex float constants.
49617 (parse_args): Handle XFAIL_TEST.
49618 (convert_condition): New function.
49619 (or_value): Likewise.
49620 (or_cond_value): Likewise.
49621 (generate_testfile): Handle AUTO_TESTS_* lines.
49622 (parse_auto_input): New function.
49623 * math/libm-test.inc (XFAIL_TEST): New macro.
49624 (ERRNO_UNCHANGED): Update value.
49625 (ERRNO_EDOM): Likewise.
49626 (ERRNO_ERANGE): Likewise.
49627 (IGNORE_RESULT): Likewise.
49628 (TEST_COND_flt_32): New macro.
49629 (TEST_COND_dbl_64): Likewise.
49630 (TEST_COND_ldbl_96_intel): Likewise.
49631 (TEST_COND_ldbl_96_m68k): Likewise.
49632 (TEST_COND_ldbl_128): Likewise.
49633 (TEST_COND_ldbl_128ibm): Likewise.
49634 (TEST_COND_long32): Likewise.
49635 (TEST_COND_long64): Likewise.
49636 (TEST_COND_before_rounding): Likewise.
49637 (TEST_COND_after_rounding): Likewise.
49638 (enable_test): Handle XFAIL_TEST flag.
49639 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
49640 with finite results.
49641 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
49642 auto-libm-test-out.
49643
49644 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
49645 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49646
49647 [BZ #16214]
49648 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
49649 __tls_get_addr_internal instead of __tls_get_offset in order to
49650 avoid GOT pointer dependency. Make rtld export
49651 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
49652 __tls_get_addr since we are a __tls_get_offset platform.
49653 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
49654 GOT pointer being set up before.
49655 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
49656
49657 2013-11-28 Joseph Myers <joseph@codesourcery.com>
49658
49659 * manual/math.texi (Errors in Math Functions): Document accuracy
49660 goals.
49661
49662 [BZ #15004]
49663 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
49664 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
49665 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
49666 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
49667 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
49668 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
49669 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
49670 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
49671 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
49672 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
49673 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
49674 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
49675 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
49676 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
49677 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
49678 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
49679
49680 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
49681 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
49682 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
49683 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
49684 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
49685 Likewise.
49686 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
49687 Likewise.
49688 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
49689 Likewise.
49690 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
49691 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
49692 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
49693 atomic-feupdateenv and flt-rounds.
49694 * sysdeps/powerpc/nofpu/Versions (libc): Add
49695 __atomic_feholdexcept, __atomic_feclearexcept,
49696 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
49697 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
49698 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
49699 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
49700 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
49701 here.
49702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
49703 Update.
49704
49705 * manual/arith.texi (FP Exceptions): Document that exceptions may
49706 not be raised when matherr is used.
49707 (Math Error Reporting): Document overflow in directed rounding
49708 modes. Document that errno may not be set when finite values are
49709 returned on overflow. Document intent to set errno on underflow
49710 only for underflow to zero.
49711
49712 [BZ #16271]
49713 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
49714 round-to-nearest then adjust result for other rounding modes.
49715 * include/fenv.h (fegetround): Use libm_hidden_proto.
49716 * math/fegetround.c (fegetround): Use libm_hidden_def.
49717 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
49718 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
49719 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
49720 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
49721 Likewise.
49722 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
49723 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
49724 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
49725 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
49726
49727 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
49728
49729 [BZ #16077]
49730 * nss/Versions (libnss_files): Add
49731 _nss_files_gethostbyname3_r.
49732 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
49733 New function.
49734 (HOST_DB_LOOKUP): Remove macro.
49735 (_nss_files_gethostbyname_r): Implement function without the
49736 HOST_DB_LOOKUP macro.
49737 (_nss_files_gethostbyname2_r): Likewise.
49738
49739 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
49740
49741 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
49742
49743 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
49744
49745 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
49746 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
49747 warning.
49748
49749 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49750
49751 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
49752 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
49753 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
49754 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
49755 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
49756 __fe_nomask_env_priv and attribute_hidden.
49757 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
49758 (libc_feupdateenv_test_ppc): Likewise.
49759 (libc_feresetround_ppc): Likewise.
49760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
49761 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
49762 compat_symbol macro.
49763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
49764 (__fe_nomask_env): Likewise.
49765 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
49766
49767 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
49768
49769 * string/Makefile: Remove ifunc tests.
49770 * string/test-string.h: Define TEST_IFUNC.
49771 * string/test-bcopy-ifunc.c: Remove.
49772 * string/test-bzero-ifunc.c: Likewise.
49773 * string/test-memccpy-ifunc.c: Likewise.
49774 * string/test-memchr-ifunc.c: Likewise.
49775 * string/test-memcmp-ifunc.c: Likewise.
49776 * string/test-memcpy-ifunc.c: Likewise.
49777 * string/test-memmem-ifunc.c: Likewise.
49778 * string/test-memmove-ifunc.c: Likewise.
49779 * string/test-mempcpy-ifunc.c: Likewise.
49780 * string/test-memrchr-ifunc.c: Likewise.
49781 * string/test-memset-ifunc.c: Likewise.
49782 * string/test-rawmemchr-ifunc.c: Likewise.
49783 * string/test-stpcpy-ifunc.c: Likewise.
49784 * string/test-stpncpy-ifunc.c: Likewise.
49785 * string/test-strcasecmp-ifunc.c: Likewise.
49786 * string/test-strcasestr-ifunc.c: Likewise.
49787 * string/test-strcat-ifunc.c: Likewise.
49788 * string/test-strchr-ifunc.c: Likewise.
49789 * string/test-strchrnul-ifunc.c: Likewise.
49790 * string/test-strcmp-ifunc.c: Likewise.
49791 * string/test-strcpy-ifunc.c: Likewise.
49792 * string/test-strcspn-ifunc.c: Likewise.
49793 * string/test-strlen-ifunc.c: Likewise.
49794 * string/test-strncasecmp-ifunc.c: Likewise.
49795 * string/test-strncat-ifunc.c: Likewise.
49796 * string/test-strncmp-ifunc.c: Likewise.
49797 * string/test-strncpy-ifunc.c: Likewise.
49798 * string/test-strnlen-ifunc.c: Likewise.
49799 * string/test-strpbrk-ifunc.c: Likewise.
49800 * string/test-strrchr-ifunc.c: Likewise.
49801 * string/test-strspn-ifunc.c: Likewise.
49802 * string/test-strstr-ifunc.c: Likewise.
49803
49804 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
49805
49806 * benchtests/Makefile: Remove ifunc tests.
49807 * benchtests/bench-string.h: Define TEST_IFUNC.
49808 * benchtests/bench-bcopy-ifunc.c: Remove.
49809 * benchtests/bench-bzero-ifunc.c: Likewise.
49810 * benchtests/bench-memccpy-ifunc.c: Likewise.
49811 * benchtests/bench-memchr-ifunc.c: Likewise.
49812 * benchtests/bench-memcmp-ifunc.c: Likewise.
49813 * benchtests/bench-memcpy-ifunc.c: Likewise.
49814 * benchtests/bench-memmem-ifunc.c: Likewise.
49815 * benchtests/bench-memmove-ifunc.c: Likewise.
49816 * benchtests/bench-mempcpy-ifunc.c: Likewise.
49817 * benchtests/bench-memrchr-ifunc.c: Likewise.
49818 * benchtests/bench-memset-ifunc.c: Likewise.
49819 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
49820 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
49821 * benchtests/bench-stpcpy-ifunc.c: Likewise.
49822 * benchtests/bench-stpncpy-ifunc.c: Likewise.
49823 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
49824 * benchtests/bench-strcasestr-ifunc.c: Likewise.
49825 * benchtests/bench-strcat-ifunc.c: Likewise.
49826 * benchtests/bench-strchr-ifunc.c: Likewise.
49827 * benchtests/bench-strchrnul-ifunc.c: Likewise.
49828 * benchtests/bench-strcmp-ifunc.c: Likewise.
49829 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
49830 * benchtests/bench-strcpy-ifunc.c: Likewise.
49831 * benchtests/bench-strcspn-ifunc.c: Likewise.
49832 * benchtests/bench-strlen-ifunc.c: Likewise.
49833 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
49834 * benchtests/bench-strncat-ifunc.c: Likewise.
49835 * benchtests/bench-strncmp-ifunc.c: Likewise.
49836 * benchtests/bench-strncpy-ifunc.c: Likewise.
49837 * benchtests/bench-strnlen-ifunc.c: Likewise.
49838 * benchtests/bench-strpbrk-ifunc.c: Likewise.
49839 * benchtests/bench-strrchr-ifunc.c: Likewise.
49840 * benchtests/bench-strsep-ifunc.c: Likewise.
49841 * benchtests/bench-strspn-ifunc.c: Likewise.
49842 * benchtests/bench-strstr-ifunc.c: Likewise.
49843
49844 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
49845
49846 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
49847
49848 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
49849
49850 * resolv/netdb.h: Use __glibc_reserved instead __unused.
49851 * rt/aio.h: Likewise.
49852 * sysdeps/gnu/bits/utmp.h: Likewise.
49853 * sysdeps/gnu/bits/utmpx.h: Likewise.
49854 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
49855 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
49856 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
49857 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
49858 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
49859 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
49860 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
49861 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
49862 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
49863 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
49864 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
49865 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
49866 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
49867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
49868 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
49869 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
49870 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
49871 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
49872 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
49873 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
49874 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
49875 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
49876 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
49877 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
49878 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
49879 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49880 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
49881 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
49882 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
49883 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
49884 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
49885 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
49886 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
49887 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
49888 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
49889 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
49890 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
49891 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
49892 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
49893 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
49894 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
49895 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
49896
49897 2013-11-25 Carlos O'Donell <carlos@redhat.com>
49898
49899 [BZ #16245]
49900 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
49901 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
49902
49903 2013-11-25 Joseph Myers <joseph@codesourcery.com>
49904
49905 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
49906 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
49907 Likewise.
49908
49909 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49910
49911 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
49912 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
49913 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
49914 (__fesetround): Remove define.
49915 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
49916 rounding and exceptions handling.
49917 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
49918 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
49919 (__fe_nomask_env): Likewise.
49920 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
49921 __fegetround instead of fegetround.
49922 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
49923 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
49924
49925 2013-11-21 Roland McGrath <roland@hack.frob.com>
49926
49927 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
49928 it's there.
49929
49930 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
49931
49932 2013-11-21 Meador Inge <meadori@codesourcery.com>
49933
49934 [BZ #11157]
49935 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
49936 (encrypt_r): Likewise.
49937 * malloc/obstack.h (obstack_free): Likewise.
49938 * posix/unistd.h (encrypt): Likewise.
49939
49940 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
49941
49942 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
49943 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
49944 DL_CALL_DT_FINI() that call the functions directly.
49945 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
49946 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
49947 * elf/dl-fini.c: Likewise.
49948
49949 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
49950
49951 * malloc/hooks.c (memalign_check): Add alignment rounding.
49952 * malloc/malloc.c (_mid_memalign): New function.
49953 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
49954 Implement by calling _mid_memalign.
49955 * manual/probes.texi (Memory Allocation Probes): Remove
49956 memory_valloc_retry and memory_pvalloc_retry.
49957
49958 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
49959
49960 * locale/programs/locarchive.c (open_archive): Add const
49961 qualifier to ARCHIVEFNAME and copy default fname to
49962 DEFAULT_FNAME.
49963
49964 [BZ #15601]
49965 * libio/tst-widetext.input: Rename Oriya to Odia.
49966 * locale/iso-639.def: Likewise.
49967
49968 * manual/probes.texi (Mathematical Function Probes): Add
49969 documentation for sin, cos, asin and acos probes.
49970 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
49971 (__sin32): Add slowasin probe.
49972 (__cos32): Add slowacos probe.
49973 (__mpsin): Add slowsin probe.
49974 (__mpcos): Add slowcos probe.
49975
49976 2013-11-19 Joseph Myers <joseph@codesourcery.com>
49977
49978 [BZ #15483]
49979 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
49980 thread-local __sim_exceptions_thread and global
49981 __sim_exceptions_global.
49982 (__sim_disabled_exceptions): Change to thread-local
49983 __sim_disabled_exceptions_thread and global
49984 __sim_disabled_exceptions_global.
49985 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
49986 and global __sim_round_mode_global.
49987 (__simulate_exceptions): Use thread-local floating-point state and
49988 set global state from it as needed.
49989 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
49990 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
49991 __sim_round_mode_thread.
49992 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
49993 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
49994 and global __sim_exceptions_global.
49995 (__sim_disabled_exceptions): Change to thread-local
49996 __sim_disabled_exceptions_thread and global
49997 __sim_disabled_exceptions_global.
49998 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
49999 and global __sim_round_mode_global.
50000 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
50001 (SIM_SET_GLOBAL): Likewise.
50002 * sysdeps/powerpc/soft-fp/sfp-machine.h
50003 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
50004 __sim_round_mode_thread.
50005 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
50006 __sim_disabled_exceptions_thread.
50007 (__sim_exceptions): Change to __sim_exceptions_thread.
50008 (__sim_disabled_exceptions): Change to
50009 __sim_disabled_exceptions_thread.
50010 (__sim_round_mode): Change to __sim_round_mode_thread.
50011 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
50012 thread-local floating-point state and set global state from it as
50013 needed.
50014 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
50015 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
50016 (__sim_disabled_exceptions): Remove extern declaration.
50017 (feenableexcept): Use thread-local floating-point state and set
50018 global state from it as needed.
50019 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
50020 extern declaration.
50021 (__sim_disabled_exceptions): Likewise.
50022 (__sim_round_mode): Likewise.
50023 (__fegetenv): Use thread-local floating-point state.
50024 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
50025 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
50026 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
50027 floating-point state and set global state from it as needed.
50028 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
50029 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
50030 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
50031 Likewise.
50032 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
50033 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
50034 Likewise.
50035 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
50036 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
50037 Use __sim_round_mode_thread.
50038 * math/test-fenv-tls.c: New file.
50039 * math/Makefile (tests): Add test-fenv-tls.
50040 ($(objpfx)test-fenv-tls): Depend on
50041 $(common-objpfx)nptl/libpthread.so.
50042
50043 2013-11-19 Andreas Schwab <schwab@suse.de>
50044
50045 * locale/programs/locale.c (show_info): Decode wordarray elements.
50046 * locale/categories.def (LC_MONETARY): Add element for
50047 _NL_MONETARY_CRNCYSTR.
50048 * locale/C-monetary.c (conversion_rate): New variable.
50049 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
50050 element.
50051
50052 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
50053
50054 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
50055 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
50056
50057 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
50058
50059 * elf/Makefile (tst-auxv): New test.
50060 * elf/tst-auxv.c: New
50061 * elf/rtld.c (dl_main): Adjust AT_EXECFN
50062
50063 2013-11-18 Joseph Myers <joseph@codesourcery.com>
50064
50065 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
50066 (hidden_proto): Caller changed.
50067 (hidden_tls_proto): New macro.
50068 (libc_hidden_tls_proto): Likewise.
50069 (rtld_hidden_tls_proto): Likewise.
50070 (libm_hidden_tls_proto): Likewise.
50071 (libresolv_hidden_tls_proto): Likewise.
50072 (librt_hidden_tls_proto): Likewise.
50073 (libdl_hidden_tls_proto): Likewise.
50074 (libnss_files_hidden_tls_proto): Likewise.
50075 (libnsl_hidden_tls_proto): Likewise.
50076 (libnss_nisplus_hidden_tls_proto): Likewise.
50077 (libutil_hidden_tls_proto): Likewise.
50078
50079 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
50080
50081 [BZ #10253]
50082 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
50083 (decompose_rpath): Defer expansion to fillin_rpath.
50084 (_dl_init_paths): Pass linkmap to fillin_rpath.
50085
50086 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
50087
50088 * benchtests/Makefile: Add strsep.
50089 * benchtests/bench-strsep.c: New file: strsep benchtest.
50090 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
50091
50092 2013-11-18 Andreas Schwab <schwab@suse.de>
50093
50094 * locale/programs/locale.c (show_info) [case byte]: Check for
50095 '\377' instead of '\177'.
50096 * locale/C-monetary.c (not_available): Always use "\377".
50097 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
50098 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
50099 detect unavailable sign_posn locale elements.
50100 * locale/localeconv.c (__localeconv): For grouping and
50101 mon_grouping handle "\177" and "\377" like no grouping.
50102 (INT_ELEM): New macro. Use it to set all numeric members.
50103 * locale/programs/ld-monetary.c (monetary_read)
50104 <tok_mon_grouping>: Normalize single -1 to the empty string.
50105 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
50106 Likewise.
50107
50108 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
50109
50110 [BZ #16055]
50111 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
50112 when we match (nil).
50113 * stdio-common/tst-sscanf.c (struct test): Add testcase.
50114
50115 2013-11-16 Joseph Myers <joseph@codesourcery.com>
50116
50117 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
50118 (NO_TEST_INLINE): Update value.
50119 (ERRNO_UNCHANGED): Likewise.
50120 (ERRNO_EDOM): Likewise.
50121 (ERRNO_ERANGE): Likewise.
50122 (IGNORE_RESULT): Likewise.
50123 (check_float_internal): Check signs of NaN results if
50124 TEST_NAN_SIGN used.
50125 (check_complex): Pass TEST_NAN_SIGN flag through to second
50126 check_float_internal call.
50127 (copysign_test_data): Add tests with quiet NaNs as second
50128 argument. Use TEST_NAN_SIGN.
50129 (fabs_test_data): Add test of negative quiet NaN argument. Use
50130 TEST_NAN_SIGN.
50131 (signbit_test_data): Add tests of quiet NaN argument.
50132 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
50133
50134 * math/gen-libm-test.pl (show_exceptions): Take extra argument
50135 $ignore_result.
50136 (parse_args): Handle function results specified as IGNORE.
50137 * math/libm-test.inc (IGNORE_RESULT): New macro.
50138 (check_float_internal): Do not check numerical result if flag
50139 IGNORE_RESULT set.
50140 (check_complex): Pass through IGNORE_RESULT to second
50141 check_float_internal call.
50142 (check_int): Do not check numerical result if flag IGNORE_RESULT
50143 set.
50144 (check_long): Likewise.
50145 (check_bool): Likewise.
50146 (check_longlong): Likewise.
50147 (lrint_test_data): Add tests of infinite and NaN arguments.
50148 (lrint_tonearest_test_data): Likewise.
50149 (lrint_towardzero_test_data): Likewise.
50150 (lrint_downward_test_data): Likewise.
50151 (lrint_upward_test_data): Likewise.
50152 (llrint_test_data): Likewise.
50153 (llrint_tonearest_test_data): Likewise.
50154 (llrint_towardzero_test_data): Likewise.
50155 (llrint_downward_test_data): Likewise.
50156 (llrint_upward_test_data): Likewise.
50157 (lround_test_data): Likewise.
50158 (llround_test_data): Likewise.
50159
50160 * math/libm-test.inc (NO_TEST_INLINE): New macro.
50161 (ERRNO_UNCHANGED): Update value.
50162 (ERRNO_EDOM): Likewise.
50163 (ERRNO_ERANGE): Likewise.
50164 (NO_TEST_INLINE_FLOAT): New macro.
50165 (NO_TEST_INLINE_DOUBLE): Likewise.
50166 (enable_test): New function.
50167 (RUN_TEST_f_f): Check enable_test before running test.
50168 (RUN_TEST_2_f): Likewise.
50169 (RUN_TEST_fff_f): Likewise.
50170 (RUN_TEST_c_f): Likewise.
50171 (RUN_TEST_f_f1): Likewise.
50172 (RUN_TEST_fF_f1): Likewise.
50173 (RUN_TEST_fI_f1): Likewise.
50174 (RUN_TEST_ffI_f1): Likewise.
50175 (RUN_TEST_c_c): Likewise.
50176 (RUN_TEST_cc_c): Likewise.
50177 (RUN_TEST_f_i): Likewise.
50178 (RUN_TEST_f_i_tg): Likewise.
50179 (RUN_TEST_ff_i_tg): Likewise.
50180 (RUN_TEST_f_b): Likewise.
50181 (RUN_TEST_f_b_tg): Likewise.
50182 (RUN_TEST_f_l): Likewise.
50183 (RUN_TEST_f_L): Likewise.
50184 (RUN_TEST_fFF_11): Likewise.
50185 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
50186 conditionals.
50187 (cosh_test_data): Likewise.
50188 (exp_test_data): Likewise.
50189 (expm1_test_data): Likewise.
50190 (hypot_test_data): Likewise.
50191 (pow_test_data): Likewise.
50192 (sinh_test_data): Likewise.
50193 (tanh_test_data): Likewise.
50194 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
50195 flags argument.
50196
50197 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
50198 tests with quiet NaN input and output.
50199 (acosh_test_data): Likewise.
50200 (asin_test_data): Likewise.
50201 (asinh_test_data): Likewise.
50202 (atan_test_data): Likewise.
50203 (atanh_test_data): Likewise.
50204 (atan2_test_data): Likewise.
50205 (cbrt_test_data): Likewise.
50206 (cos_test_data): Likewise.
50207 (cosh_test_data): Likewise.
50208 (erf_test_data): Likewise.
50209 (erfc_test_data): Likewise.
50210 (exp_test_data): Likewise.
50211 (exp10_test_data): Likewise.
50212 (exp2_test_data): Likewise.
50213 (expm1_test_data): Likewise.
50214 (hypot_test_data): Likewise.
50215 (j0_test_data): Likewise.
50216 (j1_test_data): Likewise.
50217 (jn_test_data): Likewise.
50218 (lgamma_test_data): Likewise.
50219 (log_test_data): Likewise.
50220 (log10_test_data): Likewise.
50221 (log1p_test_data): Likewise.
50222 (log2_test_data): Likewise.
50223 (pow_test_data): Likewise.
50224 (scalb_test_data): Likewise.
50225 (sin_test_data): Likewise.
50226 (sincos_test_data): Likewise.
50227 (sinh_test_data): Likewise.
50228 (tan_test_data): Likewise.
50229 (tanh_test_data): Likewise.
50230 (tgamma_test_data): Likewise.
50231 (y0_test_data): Likewise.
50232 (y1_test_data): Likewise.
50233 (yn_test_data): Likewise.
50234
50235 [BZ #16167]
50236 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
50237 argument being NaN and avoid computations with second argument in
50238 that case.
50239 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
50240 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
50241 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
50242
50243 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
50244
50245 * locale/iso-639.def: Add Chitwani Tharu (the).
50246
50247 2013-11-14 Andreas Schwab <schwab@suse.de>
50248
50249 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
50250 word instead of empty string.
50251
50252 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50253
50254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
50255 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
50256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
50257 (__fe_nomask_env): Likewise.
50258
50259 2013-11-13 Steve Ellcey <sellcey@mips.com>
50260
50261 * benchtests/bench-timing.h: Include time.h.
50262
50263 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
50264
50265 [BZ #15997]
50266 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
50267 to 3.4.0 for x32.
50268 * sysdeps/unix/sysv/linux/configure: Regenerated.
50269
50270 2013-11-13 Joseph Myers <joseph@codesourcery.com>
50271
50272 [BZ #16151]
50273 * stdlib/strtod_l.c (round_and_return): Do not consider
50274 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
50275 exponent one less than half the least subnormal exponent.
50276 * stdlib/test-strtod-round-data: Add more tests.
50277 * stdlib/tst-strtod-round.c (tests): Regenerated.
50278
50279 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50280
50281 [BZ #14143]
50282 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
50283 (__fe_mask_env): Likewise.
50284 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
50285 libm_hidden_proto and add function prototype.
50286 (__fe_mask_env): Add function prototype.
50287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
50288 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
50289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
50290 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
50291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
50292 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
50293
50294 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
50295
50296 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50297 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
50298
50299 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
50300
50301 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
50302 of htab_find_slot().
50303
50304 2013-11-11 David S. Miller <davem@davemloft.net>
50305
50306 [BZ #16150]
50307 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
50308 symbol in the non-vis3 case in static builds.
50309 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
50310 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
50311 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
50312 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
50313
50314 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
50315
50316 [BZ #387]
50317 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
50318 it is empty.
50319
50320 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50321
50322 * benchtests/Makefile: Add bench-strtod.
50323 * benchtests/bench-strtod.c: New file: strtod benchtest
50324
50325 2013-11-11 Andreas Schwab <schwab@suse.de>
50326
50327 [BZ #16153]
50328 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
50329 terminating NUL in key length.
50330
50331 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50332
50333 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
50334 Add artificial ODP entry for vDSO symbol for PPC64.
50335 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
50336 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
50337
50338 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
50339
50340 [BZ #15374]
50341 * nss/getent.c (services_keys): Recognize services starting with digit.
50342
50343 2013-11-06 David S. Miller <davem@davemloft.net>
50344
50345 [BZ #15985]
50346 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
50347 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
50348
50349 2013-11-06 Will Newton <will.newton@linaro.org>
50350
50351 * manual/memory.texi (Malloc Examples): Remove register
50352 keyword from examples.
50353
50354 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
50355
50356 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
50357
50358 2013-11-04 Joseph Myers <joseph@codesourcery.com>
50359
50360 [BZ #6981]
50361 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
50362 depending on [__GCC_IEC_559 > 0].
50363 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
50364 depending on [__GCC_IEC_559_COMPLEX > 0].
50365
50366 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
50367
50368 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
50369 to iso-639.def.
50370
50371 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
50372
50373 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
50374
50375 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
50376
50377 [BZ #16112]
50378 * malloc/malloc (malloc_info): Do not handle first bin as
50379 special case.
50380
50381 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
50382
50383 * locale/iso-639.def: Add Central Nahuatl (nhn).
50384
50385 2013-11-01 Bruno Haible <bruno@clisp.org>
50386
50387 [BZ #7003]
50388 * manual/math.texi (BSD Random): Specify range upper bound as
50389 in POSIX.
50390
50391 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
50392
50393 * locale/iso-639.def: Add Meadow Mari (mhr).
50394
50395 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
50396
50397 [BZ #14752], [BZ #15763]
50398 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
50399 Validate name.
50400 * rt/tst_shm.c: Add test for escaping directory.
50401
50402 2013-10-31 Andreas Schwab <schwab@suse.de>
50403
50404 [BZ #15917]
50405 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
50406 followed by 'x' as part of digit sequence.
50407 * stdio-common/tst-sscanf.c (double_tests2): New tests.
50408
50409 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
50410
50411 [BZ #16037]
50412 * configure.ac: allow GNU Make 4.0 and greater.
50413 * configure: Regenerated.
50414
50415 2013-10-30 Will Newton <will.newton@linaro.org>
50416
50417 [BZ #16038]
50418 * malloc/hooks.c (memalign_check): Limit alignment to the
50419 maximum representable power of two.
50420 * malloc/malloc.c (__libc_memalign): Likewise.
50421 * malloc/tst-memalign.c (do_test): Add test for very
50422 large alignment values.
50423 * malloc/tst-posix_memalign.c (do_test): Likewise.
50424
50425 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
50426
50427 [BZ #11087]
50428 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
50429 (munmap_chunk): Likewise.
50430 (mremap_chunk): Likewise.
50431
50432 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
50433
50434 [BZ #15799]
50435 * stdlib/div.c (div): Remove obsolete code.
50436 * stdlib/ldiv.c (ldiv): Likewise.
50437 * stdlib/lldiv.c (lldiv): Likewise.
50438
50439 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
50440
50441 [BZ #16071]
50442 * nss/nss_files/files-XXX.c (get_contents_ret): New
50443 enumerator.
50444 (get_contents): New function.
50445 (internal_getent): Use it. Expand size of LINEBUFLEN.
50446
50447 2013-10-30 Mike Frysinger <vapier@gentoo.org>
50448
50449 * configure.in: Moved to ...
50450 * configure.ac: ... here. Change reference to configure.in
50451 to configure.ac.
50452 * sysdeps/arm/preconfigure.ac: ... here.
50453 configure.in to configure.ac.
50454 * sysdeps/gnu/configure.in: Moved to ...
50455 * sysdeps/gnu/configure.ac: ... here.
50456 * sysdeps/i386/configure.in: Moved to ...
50457 * sysdeps/i386/configure.ac: ... here.
50458 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
50459 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
50460 * sysdeps/mach/configure.in: Moved to ...
50461 * sysdeps/mach/configure.ac: ... here.
50462 * sysdeps/mach/hurd/configure.in: Moved to ...
50463 * sysdeps/mach/hurd/configure.ac: ... here.
50464 * sysdeps/powerpc/configure.in: Moved to ...
50465 * sysdeps/powerpc/configure.ac: ... here.
50466 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
50467 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
50468 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
50469 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
50470 * sysdeps/s390/s390-32/configure.in: Moved to ...
50471 * sysdeps/s390/s390-32/configure.ac: ... here.
50472 * sysdeps/s390/s390-64/configure.in: Moved to ...
50473 * sysdeps/s390/s390-64/configure.ac: ... here.
50474 * sysdeps/sh/configure.in: Moved to ...
50475 * sysdeps/sh/configure.ac: ... here.
50476 * sysdeps/sparc/configure.in: Moved to ...
50477 * sysdeps/sparc/configure.ac: ... here.
50478 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
50479 * sysdeps/unix/sysv/linux/configure.ac: ... here.
50480 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
50481 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
50482 * sysdeps/x86_64/configure.in: Moved to ...
50483 * sysdeps/x86_64/configure.ac: ... here.
50484 * sysdeps/x86_64/preconfigure.in: Moved to ...
50485 * sysdeps/x86_64/preconfigure.ac: ... here.
50486 * aclocal.m4: Change reference to configure.in to configure.ac.
50487 * config.h.in: Likewise.
50488 * manual/install.texi: Likewise.
50489 * manual/maint.texi: Likewise.
50490 * Makefile: Likewise.
50491 * malloc/Makefile: Likewise.
50492 * nscd/Makefile: Likewise.
50493 * Makeconfig: Change reference to configure.in and
50494 preconfigure.in to configure.ac and preconfigure.ac
50495 respectively.
50496 * INSTALL: Regenerated.
50497 * configure: Likewise.
50498 * sysdeps/gnu/configure: Likewise.
50499 * sysdeps/i386/configure: Likewise.
50500 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
50501 * sysdeps/mach/configure: Likewise.
50502 * sysdeps/mach/hurd/configure: Likewise.
50503 * sysdeps/powerpc/configure: Likewise.
50504 * sysdeps/powerpc/powerpc32/configure: Likewise.
50505 * sysdeps/powerpc/powerpc64/configure: Likewise.
50506 * sysdeps/s390/s390-32/configure: Likewise.
50507 * sysdeps/s390/s390-64/configure: Likewise.
50508 * sysdeps/sh/configure: Likewise.
50509 * sysdeps/sparc/configure: Likewise.
50510 * sysdeps/unix/sysv/linux/configure: Likewise.
50511 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
50512 * sysdeps/x86_64/configure: Likewise.
50513 * sysdeps/x86_64/preconfigure: Likewise.
50514
50515 2013-10-29 Andreas Schwab <schwab@suse.de>
50516
50517 * stdio-common/Makefile (tst-swscanf-ENV): Define.
50518
50519 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
50520
50521 * benchtests/pow-inputs: Add new inputs.
50522
50523 * benchtests/exp-inputs: Add new inputs.
50524
50525 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
50526 conditional check for return value.
50527 (__cos32): Likewise.
50528
50529 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50530
50531 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
50532 to provide a boost for large inputs with word alignment.
50533 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
50534 implementation based on optimized PPC64 strcpy.
50535 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
50536 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
50537 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
50538 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
50539
50540 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
50541
50542 [BZ #2801]
50543 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
50544
50545 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
50546
50547 [BZ #14876]
50548 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
50549 * time/tst-strptime.c (day_tests): Add testcase.
50550
50551 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
50552
50553 [BZ #14029]
50554 * manual/pattern.texi: Acknowledge that fnmatch can fail.
50555
50556 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
50557
50558 [BZ #16074]
50559 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
50560 MAP_FAILED on error.
50561
50562 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
50563
50564 [BZ #16072]
50565 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
50566 heap for large requests.
50567
50568 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
50569
50570 [BZ #9954]
50571 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
50572 result if the result has no associated interface.
50573 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
50574 interface for all 127.X.Y.Z addresses.
50575
50576 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
50577
50578 * locale/iso-639.def: Add Ligurian (lij)
50579
50580 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
50581
50582 [BZ #15825]
50583 * sunrpc/rpc_main.c: Document rpcgen -5.
50584
50585 2013-10-19 Michael Stahl <mstahl@redhat.com>
50586
50587 * elf/rtld.c (do_preload): Print the reason why preloading failed.
50588
50589 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
50590
50591 [BZ #10278]
50592 * posix/glob.c: Match only directories when trailing slash is present.
50593 * posix/tst-gnuglob.c (my_opendir): Do not open files.
50594 (main): Add testcase.
50595
50596 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
50597
50598 [BZ #15670]
50599 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
50600
50601 2013-10-18 Carlos O'Donell <carlos@redhat.com>
50602
50603 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
50604 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
50605 AUTH_DES and cindex for FIPS 140-2.
50606 (DES Encryption): Add cindex FIPS 46-3.
50607
50608 * locale/locarchive.h (struct locarhandle): Add fname.
50609 * locale/programs/localedef.c (main): Pass ARGV[remaining]
50610 if an optional argument was specified to --list-archive,
50611 otherwise NULL.
50612 * locale/programs/locarchive.c (show_archive_content): Take new
50613 argument fname and pass it via ah.fname to open_archive.
50614 * locale/programs/localedef.h: Update decl.
50615 (open_archive): If AH->fname is non-null, open that file
50616 rather than the default file name, and don't ignore ENOENT.
50617 (create_archive): Set AH.fname to NULL.
50618 (delete_locales_from_archive): Likewise.
50619 (add_locales_to_archive): Likewise.
50620 * locale/programs/locfile.c (write_all_categories): Likewise.
50621
50622 2013-10-18 Joseph Myers <joseph@codesourcery.com>
50623 Aldy Hernandez <aldyh@redhat.com>
50624
50625 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
50626 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
50627 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
50628 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
50629 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
50630 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
50631 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
50632 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
50633 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
50634 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
50635 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
50636 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
50637 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
50638 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
50639 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
50640 Likewise.
50641 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
50642 Likewise.
50643 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
50644 Likewise.
50645 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
50646 Likewise.
50647 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
50648 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
50649 Likewise.
50650 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
50651 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
50652 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
50653 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
50654 Likewise.
50655 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
50656 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
50657 * sysdeps/powerpc/preconfigure: Likewise.
50658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
50659 Likewise.
50660 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
50661 Replace contents of file by #include of <fenv_libc.h>.
50662 * sysdeps/powerpc/soft-fp/sfp-machine.h
50663 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
50664 and <sys/prctl.h>.
50665 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
50666 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
50667 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
50668 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
50669 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
50670 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
50671 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
50672 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
50673 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
50674 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
50675 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
50676 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
50677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
50678 Allow copysignl PLT reference to be missing.
50679
50680 2013-10-18 Richard Sandiford <richard@codesourcery.com>
50681 Joseph Myers <joseph@codesourcery.com
50682
50683 [BZ #15948]
50684 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
50685 single character.
50686 (add_to_tablewc): Assert sequence of wide characters is nonempty.
50687
50688 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
50689
50690 * elf/tst-tls-dlinfo.c: Don't include tls.h.
50691 * elf/tst-tls1.c: Likewise.
50692 * elf/tst-tls10.h: Likewise.
50693 * elf/tst-tls14.c: Likewise.
50694 * elf/tst-tls2.c: Likewise.
50695 * elf/tst-tls3.c: Likewise.
50696 * elf/tst-tls4.c: Likewise.
50697 * elf/tst-tls5.c: Likewise.
50698 * elf/tst-tls6.c: Likewise.
50699 * elf/tst-tls7.c: Likewise.
50700 * elf/tst-tls8.c: Likewise.
50701 * elf/tst-tls9.c: Likewise.
50702 * elf/tst-tlsmod1.c: Likewise.
50703 * elf/tst-tlsmod13.c: Likewise.
50704 * elf/tst-tlsmod13a.c: Likewise.
50705 * elf/tst-tlsmod14a.c: Likewise.
50706 * elf/tst-tlsmod16a.c: Likewise.
50707 * elf/tst-tlsmod16b.c: Likewise.
50708 * elf/tst-tlsmod2.c: Likewise.
50709 * elf/tst-tlsmod3.c: Likewise.
50710 * elf/tst-tlsmod4.c: Likewise.
50711 * elf/tst-tlsmod5.c: Likewise.
50712 * elf/tst-tlsmod6.c: Likewise.
50713
50714 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
50715
50716 [BZ #12486]
50717 * malloc/malloc.c: remove checks for statistics.
50718
50719 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
50720
50721 [BZ #15277]
50722 * inet/inet_net.c (inet_network): Detect additional invalid strings.
50723 * inet/tst-network.c: Add testcase.
50724
50725 2013-10-17 Andreas Schwab <schwab@suse.de>
50726
50727 [BZ #15218]
50728 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
50729 to determine canonical name.
50730
50731 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
50732
50733 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
50734 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
50735 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50736 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
50737 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50738 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
50739 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
50740 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
50741 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
50742 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
50743 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
50744 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50745 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
50746 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
50747 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
50748 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
50749 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50750 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
50751 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
50752 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
50753 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50754 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50755 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50756 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
50757 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
50758 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
50759 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
50760 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
50761 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
50762 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
50763 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
50764 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50765 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
50766 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
50767 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
50768 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50769 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50770 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
50771 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
50772 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50773 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
50774 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
50775 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
50776 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
50777 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
50778 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50779 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
50780 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
50781 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
50782 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
50783 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
50784 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
50785 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
50786 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
50787 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50788 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
50789 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50790 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
50791
50792 2013-10-17 Joseph Myers <joseph@codesourcery.com>
50793
50794 [BZ #16041]
50795 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
50796 make result into a quiet NaN.
50797
50798 2013-10-16 Joseph Myers <joseph@codesourcery.com>
50799
50800 * soft-fp/adddf3.c: Fix horizontal whitespace.
50801 * soft-fp/addsf3.c: Likewise.
50802 * soft-fp/addtf3.c: Likewise.
50803 * soft-fp/divdf3.c: Likewise.
50804 * soft-fp/divsf3.c: Likewise.
50805 * soft-fp/divtf3.c: Likewise.
50806 * soft-fp/double.h: Likewise.
50807 * soft-fp/eqdf2.c: Likewise.
50808 * soft-fp/eqsf2.c: Likewise.
50809 * soft-fp/eqtf2.c: Likewise.
50810 * soft-fp/extenddftf2.c: Likewise.
50811 * soft-fp/extended.h: Likewise.
50812 * soft-fp/extendsfdf2.c: Likewise.
50813 * soft-fp/extendsftf2.c: Likewise.
50814 * soft-fp/extendxftf2.c: Likewise.
50815 * soft-fp/fixdfdi.c: Likewise.
50816 * soft-fp/fixdfsi.c: Likewise.
50817 * soft-fp/fixdfti.c: Likewise.
50818 * soft-fp/fixsfdi.c: Likewise.
50819 * soft-fp/fixsfsi.c: Likewise.
50820 * soft-fp/fixsfti.c: Likewise.
50821 * soft-fp/fixtfdi.c: Likewise.
50822 * soft-fp/fixtfsi.c: Likewise.
50823 * soft-fp/fixtfti.c: Likewise.
50824 * soft-fp/fixunsdfdi.c: Likewise.
50825 * soft-fp/fixunsdfsi.c: Likewise.
50826 * soft-fp/fixunsdfti.c: Likewise.
50827 * soft-fp/fixunssfdi.c: Likewise.
50828 * soft-fp/fixunssfsi.c: Likewise.
50829 * soft-fp/fixunssfti.c: Likewise.
50830 * soft-fp/fixunstfdi.c: Likewise.
50831 * soft-fp/fixunstfsi.c: Likewise.
50832 * soft-fp/fixunstfti.c: Likewise.
50833 * soft-fp/floatdidf.c: Likewise.
50834 * soft-fp/floatdisf.c: Likewise.
50835 * soft-fp/floatditf.c: Likewise.
50836 * soft-fp/floatsidf.c: Likewise.
50837 * soft-fp/floatsisf.c: Likewise.
50838 * soft-fp/floatsitf.c: Likewise.
50839 * soft-fp/floattidf.c: Likewise.
50840 * soft-fp/floattisf.c: Likewise.
50841 * soft-fp/floattitf.c: Likewise.
50842 * soft-fp/floatundidf.c: Likewise.
50843 * soft-fp/floatundisf.c: Likewise.
50844 * soft-fp/floatunditf.c: Likewise.
50845 * soft-fp/floatunsidf.c: Likewise.
50846 * soft-fp/floatunsisf.c: Likewise.
50847 * soft-fp/floatunsitf.c: Likewise.
50848 * soft-fp/floatuntidf.c: Likewise.
50849 * soft-fp/floatuntisf.c: Likewise.
50850 * soft-fp/floatuntitf.c: Likewise.
50851 * soft-fp/fmadf4.c: Likewise.
50852 * soft-fp/fmasf4.c: Likewise.
50853 * soft-fp/fmatf4.c: Likewise.
50854 * soft-fp/gedf2.c: Likewise.
50855 * soft-fp/gesf2.c: Likewise.
50856 * soft-fp/getf2.c: Likewise.
50857 * soft-fp/ledf2.c: Likewise.
50858 * soft-fp/lesf2.c: Likewise.
50859 * soft-fp/letf2.c: Likewise.
50860 * soft-fp/muldf3.c: Likewise.
50861 * soft-fp/mulsf3.c: Likewise.
50862 * soft-fp/multf3.c: Likewise.
50863 * soft-fp/negdf2.c: Likewise.
50864 * soft-fp/negsf2.c: Likewise.
50865 * soft-fp/negtf2.c: Likewise.
50866 * soft-fp/op-1.h: Likewise.
50867 * soft-fp/op-2.h: Likewise.
50868 * soft-fp/op-4.h: Likewise.
50869 * soft-fp/op-8.h: Likewise.
50870 * soft-fp/op-common.h: Likewise.
50871 * soft-fp/quad.h: Likewise.
50872 * soft-fp/single.h: Likewise.
50873 * soft-fp/soft-fp.h: Likewise.
50874 * soft-fp/sqrtdf2.c: Likewise.
50875 * soft-fp/sqrtsf2.c: Likewise.
50876 * soft-fp/sqrttf2.c: Likewise.
50877 * soft-fp/subdf3.c: Likewise.
50878 * soft-fp/subsf3.c: Likewise.
50879 * soft-fp/subtf3.c: Likewise.
50880 * soft-fp/truncdfsf2.c: Likewise.
50881 * soft-fp/trunctfdf2.c: Likewise.
50882 * soft-fp/trunctfsf2.c: Likewise.
50883 * soft-fp/trunctfxf2.c: Likewise.
50884 * soft-fp/unorddf2.c: Likewise.
50885 * soft-fp/unordsf2.c: Likewise.
50886 * soft-fp/unordtf2.c: Likewise.
50887
50888 2013-10-15 Joseph Myers <joseph@codesourcery.com>
50889
50890 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
50891 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
50892
50893 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
50894
50895 * elf/dl-libc.c: Clear initfini list after freeing.
50896
50897 2013-10-14 Joseph Myers <joseph@codesourcery.com>
50898
50899 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
50900 * soft-fp/addsf3.c: Likewise.
50901 * soft-fp/addtf3.c: Likewise.
50902 * soft-fp/divdf3.c: Likewise.
50903 * soft-fp/divsf3.c: Likewise.
50904 * soft-fp/divtf3.c: Likewise.
50905 * soft-fp/double.h: Likewise.
50906 * soft-fp/eqdf2.c: Likewise.
50907 * soft-fp/eqsf2.c: Likewise.
50908 * soft-fp/eqtf2.c: Likewise.
50909 * soft-fp/extenddftf2.c: Likewise.
50910 * soft-fp/extended.h: Likewise.
50911 * soft-fp/extendsfdf2.c: Likewise.
50912 * soft-fp/extendsftf2.c: Likewise.
50913 * soft-fp/extendxftf2.c: Likewise.
50914 * soft-fp/fixdfdi.c: Likewise.
50915 * soft-fp/fixdfsi.c: Likewise.
50916 * soft-fp/fixdfti.c: Likewise.
50917 * soft-fp/fixsfdi.c: Likewise.
50918 * soft-fp/fixsfsi.c: Likewise.
50919 * soft-fp/fixsfti.c: Likewise.
50920 * soft-fp/fixtfdi.c: Likewise.
50921 * soft-fp/fixtfsi.c: Likewise.
50922 * soft-fp/fixtfti.c: Likewise.
50923 * soft-fp/fixunsdfdi.c: Likewise.
50924 * soft-fp/fixunsdfsi.c: Likewise.
50925 * soft-fp/fixunsdfti.c: Likewise.
50926 * soft-fp/fixunssfdi.c: Likewise.
50927 * soft-fp/fixunssfsi.c: Likewise.
50928 * soft-fp/fixunssfti.c: Likewise.
50929 * soft-fp/fixunstfdi.c: Likewise.
50930 * soft-fp/fixunstfsi.c: Likewise.
50931 * soft-fp/fixunstfti.c: Likewise.
50932 * soft-fp/floatdidf.c: Likewise.
50933 * soft-fp/floatdisf.c: Likewise.
50934 * soft-fp/floatditf.c: Likewise.
50935 * soft-fp/floatsidf.c: Likewise.
50936 * soft-fp/floatsisf.c: Likewise.
50937 * soft-fp/floatsitf.c: Likewise.
50938 * soft-fp/floattidf.c: Likewise.
50939 * soft-fp/floattisf.c: Likewise.
50940 * soft-fp/floattitf.c: Likewise.
50941 * soft-fp/floatundidf.c: Likewise.
50942 * soft-fp/floatundisf.c: Likewise.
50943 * soft-fp/floatunsidf.c: Likewise.
50944 * soft-fp/floatunsisf.c: Likewise.
50945 * soft-fp/floatuntidf.c: Likewise.
50946 * soft-fp/floatuntisf.c: Likewise.
50947 * soft-fp/floatuntitf.c: Likewise.
50948 * soft-fp/fmadf4.c: Likewise.
50949 * soft-fp/fmasf4.c: Likewise.
50950 * soft-fp/fmatf4.c: Likewise.
50951 * soft-fp/gedf2.c: Likewise.
50952 * soft-fp/gesf2.c: Likewise.
50953 * soft-fp/getf2.c: Likewise.
50954 * soft-fp/ledf2.c: Likewise.
50955 * soft-fp/lesf2.c: Likewise.
50956 * soft-fp/letf2.c: Likewise.
50957 * soft-fp/muldf3.c: Likewise.
50958 * soft-fp/mulsf3.c: Likewise.
50959 * soft-fp/multf3.c: Likewise.
50960 * soft-fp/negdf2.c: Likewise.
50961 * soft-fp/negsf2.c: Likewise.
50962 * soft-fp/negtf2.c: Likewise.
50963 * soft-fp/op-1.h: Likewise.
50964 * soft-fp/op-2.h: Likewise.
50965 * soft-fp/op-4.h: Likewise.
50966 * soft-fp/op-8.h: Likewise.
50967 * soft-fp/op-common.h: Likewise.
50968 * soft-fp/quad.h: Likewise.
50969 * soft-fp/single.h: Likewise.
50970 * soft-fp/soft-fp.h: Likewise.
50971 * soft-fp/sqrtdf2.c: Likewise.
50972 * soft-fp/sqrtsf2.c: Likewise.
50973 * soft-fp/sqrttf2.c: Likewise.
50974 * soft-fp/subdf3.c: Likewise.
50975 * soft-fp/subsf3.c: Likewise.
50976 * soft-fp/subtf3.c: Likewise.
50977 * soft-fp/truncdfsf2.c: Likewise.
50978 * soft-fp/trunctfdf2.c: Likewise.
50979 * soft-fp/trunctfsf2.c: Likewise.
50980 * soft-fp/trunctfxf2.c: Likewise.
50981 * soft-fp/unorddf2.c: Likewise.
50982 * soft-fp/unordsf2.c: Likewise.
50983 * soft-fp/unordtf2.c: Likewise.
50984
50985 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
50986
50987 [BZ #15672]
50988 * misc/error.c (error_tail): Fix possible buffer overflow.
50989
50990 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
50991
50992 [BZ #13028]
50993 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
50994 address.
50995
50996 2013-10-14 P. J. McDermott <pj@pehjota.net>
50997
50998 [BZ #832]
50999 * elf/ldd.bash.in (try_trace): New function. Delete previous code
51000 testing pipefail option.
51001
51002 2013-10-12 Joseph Myers <joseph@codesourcery.com>
51003
51004 * soft-fp/double.h: Indent preprocessor directives inside #if.
51005 * soft-fp/extended.h: Likewise.
51006 * soft-fp/op-2.h: Likewise.
51007 * soft-fp/op-4.h: Likewise.
51008 * soft-fp/op-common.h: Likewise.
51009 * soft-fp/quad.h: Likewise.
51010 * soft-fp/single.h: Likewise.
51011 * soft-fp/soft-fp.h: Likewise.
51012
51013 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
51014
51015 * iconv/iconv_prog.c: Fix typos.
51016 * stdio-common/psiginfo-data.h: Likewise.
51017
51018 2013-10-12 Reuben Thomas <rrt@sc3d.org>
51019
51020 [BZ #15764]
51021 * locale/setlocale.c: Fix typo.
51022
51023 2013-10-12 Joseph Myers <joseph@codesourcery.com>
51024
51025 [BZ #16036]
51026 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
51027 signaling NaN arguments.
51028 * soft-fp/unordsf2.c (__unordsf2): Likewise.
51029 * soft-fp/unordtf2.c (__unordtf2): Likewise.
51030
51031 [BZ #14910]
51032 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
51033 unordered operands.
51034 * soft-fp/gesf2.c (__gesf2): Likewise.
51035 * soft-fp/getf2.c (__getf2): Likewise.
51036 * soft-fp/ledf2.c (__ledf2): Likewise.
51037 * soft-fp/lesf2.c (__lesf2): Likewise.
51038 * soft-fp/letf2.c (__letf2): Likewise.
51039
51040 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
51041 * soft-fp/eqsf2.c (__eqsf2): Likewise.
51042 * soft-fp/eqtf2.c (__eqtf2): Likewise.
51043 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
51044 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
51045 * soft-fp/fixdfti.c (__fixdfti): Likewise.
51046 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
51047 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
51048 * soft-fp/fixsfti.c (__fixsfti): Likewise.
51049 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
51050 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
51051 * soft-fp/fixtfti.c (__fixtfti): Likewise.
51052 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
51053 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
51054 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
51055 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
51056 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
51057 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
51058 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
51059 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
51060 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
51061 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
51062 * soft-fp/floatdisf.c (__floatdisf): Likewise.
51063 * soft-fp/floatsisf.c (__floatsisf): Likewise.
51064 * soft-fp/floattidf.c (__floattidf): Likewise.
51065 * soft-fp/floattisf.c (__floattisf): Likewise.
51066 * soft-fp/floattitf.c (__floattitf): Likewise.
51067 * soft-fp/floatundidf.c (__floatundidf): Likewise.
51068 * soft-fp/floatundisf.c (__floatundisf): Likewise.
51069 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
51070 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
51071 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
51072 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
51073 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
51074 * soft-fp/gesf2.c (__gesf2): Likewise.
51075 * soft-fp/getf2.c (__getf2): Likewise.
51076 * soft-fp/ledf2.c (__ledf2): Likewise.
51077 * soft-fp/lesf2.c (__lesf2): Likewise.
51078 * soft-fp/letf2.c (__letf2): Likewise.
51079
51080 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
51081 Undefine and redefine.
51082 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
51083 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
51084 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
51085 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
51086 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51087 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
51088 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51089 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
51090 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51091 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
51092 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51093 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
51094 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51095 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
51096 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51097
51098 [BZ #16032]
51099 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
51100 without decrementing exponent if mantissa >= that for the
51101 denominator, not >.
51102 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
51103 denominator, not >. Decrement exponent in < case instead of
51104 incrementing in >= case.
51105 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
51106 without decrementing exponent if mantissa >= that for the
51107 denominator, not >.
51108
51109 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
51110 computing saturated result for unsigned overflow.
51111
51112 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
51113 Jeff Law <law@redhat.com>
51114
51115 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
51116 (atan2Mp): Add systemtap probe marker.
51117 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
51118 (__ieee754_log): Add systemtap probe marker.
51119 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
51120 (atanMp): Add systemtap probe marker.
51121 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
51122 (tanMp): Add systemtap probe marker.
51123 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
51124 (__slowexp): Add systemtap probe marker.
51125 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
51126 (__slowpow): Add systemtap probe marker.
51127 * manual/probes.texi: Document probes.
51128
51129 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
51130
51131 [BZ #15362]
51132 * libio/fileops.c (_IO_new_file_write): Return count of bytes
51133 written.
51134 (_IO_new_file_xsputn): Don't return EOF if nothing has been
51135 written.
51136 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
51137 written to buffer but not flushed.
51138 * libio/iofwrite_u.c: Likewise.
51139 * libio/iopadn.c: Return bytes returned even if EOF was
51140 encountered.
51141 * libio/iowpadn.c: Likewise.
51142 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
51143 if _IO_padn does not write the whole buffer.
51144 [!COMPILE_WPRINTF] (PAD): Likewise.
51145
51146 2013-10-10 David S. Miller <davem@davemloft.net>
51147
51148 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
51149 directory block.
51150
51151 2013-10-10 Joseph Myers <joseph@codesourcery.com>
51152
51153 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
51154 instead of FSF address.
51155 * soft-fp/fixdfti.c: Likewise.
51156 * soft-fp/fixsfti.c: Likewise.
51157 * soft-fp/fixtfti.c: Likewise.
51158 * soft-fp/fixunsdfti.c: Likewise.
51159 * soft-fp/fixunssfti.c: Likewise.
51160 * soft-fp/fixunstfti.c: Likewise.
51161 * soft-fp/floattidf.c: Likewise.
51162 * soft-fp/floattisf.c: Likewise.
51163 * soft-fp/floattitf.c: Likewise.
51164 * soft-fp/floatuntidf.c: Likewise.
51165 * soft-fp/floatuntisf.c: Likewise.
51166 * soft-fp/floatuntitf.c: Likewise.
51167 * soft-fp/trunctfxf2.c: Likewise.
51168
51169 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
51170 * soft-fp/fixdfti.c: Likewise.
51171 * soft-fp/fixsfti.c: Likewise.
51172 * soft-fp/fixtfti.c: Likewise.
51173 * soft-fp/fixunsdfti.c: Likewise.
51174 * soft-fp/fixunssfti.c: Likewise.
51175 * soft-fp/fixunstfti.c: Likewise.
51176 * soft-fp/floattidf.c: Likewise.
51177 * soft-fp/floattisf.c: Likewise.
51178 * soft-fp/floattitf.c: Likewise.
51179 * soft-fp/floatuntidf.c: Likewise.
51180 * soft-fp/floatuntisf.c: Likewise.
51181 * soft-fp/floatuntitf.c: Likewise.
51182 * soft-fp/trunctfxf2.c: Likewise.
51183
51184 2013-10-10 David S. Miller <davem@davemloft.net>
51185
51186 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51187
51188 2013-10-10 Joseph Myers <joseph@codsourcery.com>
51189
51190 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
51191 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
51192 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
51193 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
51194 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
51195 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
51196 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
51197
51198 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
51199 for NaNs before doing comparisons on argument.
51200 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
51201 Likewise.
51202
51203 2013-10-10 Will Newton <will.newton@linaro.org>
51204
51205 * malloc/hooks.c (memalign_check): Ensure the value of bytes
51206 passed to _int_memalign does not overflow.
51207
51208 2013-10-10 Torvald Riegel <triegel@redhat.com>
51209
51210 * scripts/bench.pl: Add include-sources directive.
51211 * benchtests/README: Update documentation.
51212
51213 2013-10-10 Joseph Myers <joseph@codesourcery.com>
51214
51215 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
51216 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
51217 instead of FP_INIT_ROUNDMODE.
51218 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
51219 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
51220
51221 [BZ #16034]
51222 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
51223 copy class of input value.
51224 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
51225 not handle exceptions.
51226 * soft-fp/negsf2.c (__negsf2): Likewise.
51227 * soft-fp/negtf2.c (__negtf2): Likewise.
51228 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
51229
51230 2013-10-09 Joseph Myers <joseph@codesourcery.com>
51231
51232 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
51233 semicolon. From Linux kernel.
51234
51235 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
51236
51237 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
51238
51239 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
51240
51241 [BZ #156]
51242 * manual/socket.texi: Added statement about buffer
51243 for gethostbyname2_r.
51244
51245 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
51246
51247 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
51248 Use .p2align directive instead, throughout.
51249 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
51250 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
51251 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
51252 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
51253 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
51254 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
51255 * sysdeps/x86_64/strchr.S: Likewise.
51256 * sysdeps/x86_64/strrchr.S: Likewise.
51257
51258 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
51259
51260 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
51261
51262 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
51263
51264 * sysdeps/generic/math_private.h (__mpsin1): Remove
51265 declaration.
51266 (__mpcos1): Likewise.
51267 (__mpsin): New argument __range_reduce.
51268 (__mpcos): Likewise.
51269 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51270 (slow): Use __mpsin and __mpcos.
51271 (slow1): Likewise.
51272 (slow2): Likewise.
51273 (sloww): Likewise.
51274 (sloww1): Likewise.
51275 (sloww2): Likewise.
51276 (bsloww): Likewise.
51277 (bsloww1): Likewise.
51278 (bsloww2): Likewise.
51279 (cslow2): Likewise.
51280 (csloww): Likewise.
51281 (csloww1): Likewise.
51282 (csloww2): Likewise.
51283 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
51284 range_reduce. Merge in __mpsin1.
51285 (__mpcos): Likewise.
51286 (__mpsin1): Remove.
51287 (__mpcos1): Likewise.
51288
51289 2013-10-07 Joseph Myers <joseph@codesourcery.com>
51290
51291 * locale/loadlocale.c (_nl_intern_locale_data): Use
51292 LOCFILE_ALIGNED_P.
51293 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
51294 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
51295 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
51296 obstack data is appropriately aligned.
51297 (obstack_int32_grow_fast): Likewise.
51298 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
51299 * locale/programs/locfile.c (add_locale_uint32): Likewise.
51300 (add_locale_uint32_array): Likewise.
51301
51302 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
51303
51304 * benchtests/Makefile: Remove ARGLIST and RET variables.
51305 ($(objpfx)bench-%.c): Pass only function name to the script.
51306 * benchtests/README: Update documentation.
51307 * benchtests/acos-inputs: Add new directives.
51308 * benchtests/acosh-inputs: Likewise.
51309 * benchtests/asin-inputs: Likewise.
51310 * benchtests/asinh-inputs: Likewise.
51311 * benchtests/atan-inputs: Likewise.
51312 * benchtests/atanh-inputs: Likewise.
51313 * benchtests/cos-inputs: Likewise.
51314 * benchtests/cosh-inputs: Likewise.
51315 * benchtests/exp-inputs: Likewise.
51316 * benchtests/log-inputs: Likewise.
51317 * benchtests/pow-inputs: Likewise.
51318 * benchtests/rint-inputs: Likewise.
51319 * benchtests/sin-inputs: Likewise.
51320 * benchtests/sinh-inputs: Likewise.
51321 * benchtests/tan-inputs: Likewise.
51322 * benchtests/tanh-inputs: Likewise.
51323 * scripts/bench.pl: Add support for new directives.
51324
51325 2013-10-07 Alan Modra <amodra@gmail.com>
51326
51327 * README: Fix careless merge.
51328
51329 2013-10-05 Alan Modra <amodra@gmail.com>
51330
51331 * NEWS: Mention powerpc64le support and bugs fixed.
51332 * README: Both big-endian and little-endian powerpc64 supported.
51333
51334 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
51335
51336 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
51337 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
51338 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
51339 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
51340
51341 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
51342
51343 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
51344 match prototype.
51345
51346 2013-10-04 Joseph Myers <joseph@codesourcery.com>
51347
51348 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
51349 Move -mhard-float appending from
51350 ports/sysdeps/powerpc/powerpc32/Makefile.
51351 [$(with-fp) = yes] (ASFLAGS): Likewise.
51352 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
51353 * sysdeps/powerpc/nofpu: Move directory from
51354 ports/sysdeps/powerpc/nofpu.
51355 * sysdeps/powerpc/soft-fp: Move directory from
51356 ports/sysdeps/powerpc/soft-fp.
51357 * sysdeps/powerpc/powerpc32/405: Move directory from
51358 ports/sysdeps/powerpc/powerpc32/405.
51359 * sysdeps/powerpc/powerpc32/440: Move directory from
51360 ports/sysdeps/powerpc/powerpc32/440.
51361 * sysdeps/powerpc/powerpc32/464: Move directory from
51362 ports/sysdeps/powerpc/powerpc32/464.
51363 * sysdeps/powerpc/powerpc32/476: Move directory from
51364 ports/sysdeps/powerpc/powerpc32/476.
51365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
51366 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
51367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
51368 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
51369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
51370 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
51371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
51372 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
51373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
51374 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
51375 * README: Update for powerpc-*-linux-gnu software floating point
51376 support in libc.
51377
51378 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
51379 case to powerpc/powerpc32*.
51380 * sysdeps/unix/sysv/linux/configure: Regenerated.
51381
51382 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
51383 (_FPU_MASK_OM): Define as 0x04.
51384 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
51385 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
51386 0x00c10080.
51387 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
51388 0x0000003c.
51389 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
51390
51391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
51392 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
51393 getcontext_e500.
51394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
51395 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
51396 setcontext_e500.
51397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
51398 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
51399 and setcontext_e500.
51400
51401 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
51402
51403 * locale/iso-3166.def: Update iso-1366.def and related occurrences
51404
51405 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
51406
51407 * manual/threads.texi (Default Thread Attributes): Fix typo.
51408
51409 2013-10-04 Will Newton <will.newton@linaro.org>
51410
51411 * malloc/Makefile: Add tst-memalign.
51412 * malloc/tst-memalign.c: New file.
51413
51414 * malloc/tst-posix_memalign.c: Add comments.
51415 (do_test): Add comments and call free on all potentially
51416 allocated pointers. Add space after cast.
51417
51418 * malloc/tst-pvalloc.c: Add comments.
51419 (do_test): Add comments and call free on all potentially
51420 allocated pointers. Remove duplicate check for NULL pointer.
51421 Add space after cast.
51422
51423 * malloc/tst-valloc.c: Add comments.
51424 (do_test): Add comments and call free on all potentially
51425 allocated pointers. Remove duplicate check for NULL pointer.
51426 Add space after cast.
51427
51428 2013-10-04 Alan Modra <amodra@gmail.com>
51429
51430 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
51431 Use stdint types in rather than __attribute__((mode())).
51432 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
51433
51434 2013-10-04 Alan Modra <amodra@gmail.com>
51435
51436 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
51437 Correct handling of unaligned relocs for little-endian.
51438 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
51439
51440 2013-10-04 Alan Modra <amodra@gmail.com>
51441
51442 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
51443 * configure: Regenerate.
51444 * nptl/shlib-versions: Powerpc*le starts at 2.18.
51445 * shlib-versions: Likewise.
51446
51447 2013-10-04 Alan Modra <amodra@gmail.com>
51448
51449 * string/tester.c (test_memrchr): Increment reported test cycle.
51450
51451 2013-10-04 Alan Modra <amodra@gmail.com>
51452
51453 * string/test-memcpy.c (do_one_test): When reporting errors, print
51454 string address and don't overrun end of string.
51455
51456 2013-10-04 Alan Modra <amodra@gmail.com>
51457
51458 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
51459 insrdi. Make better use of reg selection to speed exit slightly.
51460 Schedule entry path a little better. Remove useless "are we done"
51461 checks on entry to main loop. Handle wrapping around zero address.
51462 Correct main loop count. Handle single left-over word from main
51463 loop inline rather than by using loop_small. Remove extra word
51464 case in loop_small caused by wrong loop count. Add little-endian
51465 support.
51466 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
51467 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
51468 cache hint.
51469 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
51470 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
51471 support. Avoid rlwimi.
51472 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
51473
51474 2013-10-04 Alan Modra <amodra@gmail.com>
51475
51476 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
51477 insrdi. Formatting.
51478 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
51479 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
51480 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
51481 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
51482 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
51483 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
51484
51485 2013-10-04 Alan Modra <amodra@gmail.com>
51486
51487 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
51488 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
51489 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
51490 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
51491 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
51492 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
51493 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
51494 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
51495 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
51496 use of regs. Use power7 mtocrf. Tidy function tails.
51497
51498 2013-10-04 Alan Modra <amodra@gmail.com>
51499
51500 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
51501 Formatting. Consistently use rXXX register defines or rN defines.
51502 Use early exit labels that avoid restoring unused non-volatile regs.
51503 Make cr field use more consistent with rWORDn compares. Rename
51504 regs used as shift registers for unaligned loop, using rN defines
51505 for short lifetime/multiple use regs.
51506 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
51507 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
51508 addi 1,1,64 to pop stack frame. Simplify return value code.
51509 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
51510
51511 2013-10-04 Alan Modra <amodra@gmail.com>
51512
51513 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
51514 support. Correct typos, formatting. Optimize tail. Use insrdi
51515 rather than rlwimi.
51516 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
51517 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
51518 little-endian support. Correct typos.
51519 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
51520 rather than rlwimi.
51521 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
51522 in loop and entry code to keep "and." results.
51523 (strchr): Add little-endian support. Comment. Move cntlzd
51524 earlier in tail.
51525 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
51526
51527 2013-10-04 Alan Modra <amodra@gmail.com>
51528
51529 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
51530 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
51531 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
51532 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
51533
51534 2013-10-04 Alan Modra <amodra@gmail.com>
51535
51536 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
51537 (rTMP): Define as r11.
51538 (strcmp): Add little-endian support. Optimise tail.
51539 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
51540 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
51541 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
51542 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
51543 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
51544 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51545 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
51546
51547 2013-10-04 Alan Modra <amodra@gmail.com>
51548
51549 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
51550 little-endian support. Remove unnecessary "are we done" tests.
51551 Handle "s" wrapping around zero and extremely large "size".
51552 Correct main loop count. Handle single left-over word from main
51553 loop inline rather than by using small_loop. Correct comments.
51554 Delete "zero" tail, use "end_max" instead.
51555 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
51556
51557 2013-10-04 Alan Modra <amodra@gmail.com>
51558
51559 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
51560 support. Don't branch over align.
51561 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
51562 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
51563 support. Rearrange tmp reg use to suit. Comment.
51564 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
51565
51566 2013-10-04 Alan Modra <amodra@gmail.com>
51567
51568 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
51569
51570 2013-10-04 Alan Modra <amodra@gmail.com>
51571
51572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
51573 conditional form of branch and link when obtaining pc.
51574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
51575
51576 2013-10-04 Alan Modra <amodra@gmail.com>
51577
51578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
51579 HIWORD/LOWORD.
51580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
51581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
51582
51583 2013-10-04 Alan Modra <amodra@gmail.com>
51584
51585 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
51586 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
51587 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
51588 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
51589 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
51590 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
51591 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
51592 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
51593 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
51594 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
51595
51596 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
51597 Alistair Popple <alistair@ozlabs.au.ibm.com>
51598 Alan Modra <amodra@gmail.com>
51599
51600 [BZ #15723]
51601 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
51602 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
51603 _dl_hwcap access for little-endian.
51604 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
51605 destroy vmx regs when saving unaligned.
51606 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
51607 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
51608 destroy vmx regs when saving unaligned.
51609
51610 2013-10-04 Alan Modra <amodra@gmail.com>
51611
51612 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
51613 Don't use a union to pack hi/low value.
51614
51615 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
51616
51617 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
51618 for little-endian.
51619 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
51620 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
51621 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
51622 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
51623 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
51624
51625 2013-10-04 Alan Modra <amodra@gmail.com>
51626
51627 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
51628 constants to usual value for .cst8 section, and remove redundant
51629 high address load.
51630 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
51631 constant for 0x1p52. Load little-endian words of double from
51632 correct stack offsets.
51633
51634 2013-10-04 Alan Modra <amodra@gmail.com>
51635
51636 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
51637 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
51638 words of double from correct stack offsets.
51639 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
51640 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
51641 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
51642 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
51643 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
51644 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
51645 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
51646 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
51647 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
51648 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
51649 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
51650 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
51651 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
51652 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
51653 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
51654 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
51655 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
51656
51657 2013-10-04 Alan Modra <amodra@gmail.com>
51658
51659 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
51660 64-bit int/double union.
51661 (_FPU_SETCW): Likewise.
51662 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
51663 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
51664
51665 2013-10-04 Alan Modra <amodra@gmail.com>
51666
51667 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
51668 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
51669
51670 2013-10-04 Alan Modra <amodra@gmail.com>
51671
51672 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
51673 use vector int constants.
51674 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
51675
51676 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
51677
51678 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
51679 array with long long.
51680 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
51681 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
51682 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
51683 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
51684 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
51685 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
51686 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
51687 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
51688 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
51689 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
51690 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
51691 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
51692 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
51693
51694 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
51695
51696 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
51697 (__signbit): Likewise. Correct for little-endian.
51698 (__signbitl): Call __signbit.
51699 (lrint): Correct for little-endian.
51700 (lrintf): Call lrint.
51701
51702 2013-10-04 Alan Modra <amodra@gmail.com>
51703
51704 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
51705 union 32-bit int array member with 64-bit int array.
51706 (t515, tm256): Double rather than long double.
51707 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
51708
51709 2013-10-04 Alan Modra <amodra@gmail.com>
51710
51711 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
51712 Delete.
51713 (IEEE854_LONG_DOUBLE_BIAS): Delete.
51714 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
51715 version of math_ldbl.h.
51716
51717 2013-10-04 Alan Modra <amodra@gmail.com>
51718
51719 [BZ #15734], [BZ #15735]
51720 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
51721 all uses of ieee875 long double macros and unions. Simplify test
51722 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
51723 ldbl_extract_mantissa value for ix,iy exponents. Properly
51724 normalize after ldbl_extract_mantissa, and don't add hidden bit
51725 already handled. Don't treat low word of ieee854 mantissa like
51726 low word of IBM long double and mask off bit when testing for
51727 zero.
51728 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
51729 all uses of ieee875 long double macros and unions. Simplify tests
51730 for 0.0L and inf. Correct double adjustment of k. Delete dead code
51731 adjusting ha,hb. Simplify code setting kld. Delete two600 and
51732 two1022, instead use their values. Recognise that tests for large
51733 "a" and small "b" are mutually exclusive. Rename vars. Comment.
51734 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
51735 Rewrite all uses of ieee875 long double macros and unions. Simplify
51736 test for 0.0L and nan. Correct negation.
51737 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
51738 ieee875 long double macros and unions. Correct output for large
51739 magnitude x. Correct absolute value calculation.
51740 (__erfcl): Likewise.
51741 * math/libm-test.inc: Add tests for errors discovered in IBM long
51742 double versions of fmodl, remainderl, erfl and erfcl.
51743
51744 2013-10-04 Alan Modra <amodra@gmail.com>
51745
51746 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
51747 all uses of ieee854 long double macros and unions. Simplify tests
51748 for long doubles that are fully specified by the high double.
51749 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
51750 Likewise.
51751 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
51752 Remove dead code too.
51753 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
51754 (__ieee754_ynl): Likewise.
51755 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
51756 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
51757 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
51758 Remove dead code too.
51759 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
51760 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
51761 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
51762 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
51763 Simplify.
51764 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
51765 Simplify.
51766 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
51767 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
51768 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
51769 Comment on variable precision.
51770 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
51771 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
51772 Likewise.
51773 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
51774 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
51775 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
51776 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
51777 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
51778
51779 2013-10-04 Alan Modra <amodra@gmail.com>
51780
51781 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
51782 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
51783 all uses of ieee854 long double macros and unions.
51784 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
51785 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
51786 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
51787 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
51788 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
51789 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
51790 Likewise.
51791 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
51792 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
51793 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
51794 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
51795 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
51796 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
51797 Simplify sign and nan test too.
51798 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
51799 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
51800 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
51801 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
51802 Likewise.
51803 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
51804 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
51805 Likewise.
51806 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
51807 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
51808 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
51809 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
51810 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
51811 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
51812
51813 2013-10-04 Alan Modra <amodra@gmail.com>
51814
51815 * stdio-common/printf_size.c (__printf_size): Don't use
51816 union ieee854_long_double in fpnum union.
51817 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
51818 signbit macro to retrieve sign from long double.
51819 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
51820 retrieve sign from long double.
51821 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
51822 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
51823 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
51824 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
51825 * math/test-misc.c (main): Don't use union ieee854_long_double.
51826
51827 2013-10-04 Alan Modra <amodra@gmail.com>
51828
51829 [BZ #15680]
51830 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
51831 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
51832 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
51833 calculation. Remove unnecessary test for denormal exponent.
51834 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
51835 Correct handling of denormals. Avoid undefined shift behaviour.
51836 Correct normalisation of low mantissa when low double is denormal.
51837 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
51838 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
51839 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
51840 Correct normalisation of low mantissa. Test for overflow of high
51841 mantissa and normalise.
51842 (ldbl_nearbyint): Use more readable constant for two52.
51843 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
51844 (__mpn_construct_long_double): Fix test for overflow of high
51845 mantissa and correct normalisation. Avoid undefined shift.
51846
51847 2013-10-04 Alan Modra <amodra@gmail.com>
51848
51849 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
51850 (union ibm_extended_long_double): Define as an array of ieee754_double.
51851 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
51852 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
51853 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
51854 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
51855 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
51856 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
51857 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
51858 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
51859 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
51860 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
51861 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
51862
51863 2013-10-03 Joseph Myers <joseph@codesourcery.com>
51864
51865 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
51866 page size instead of calling getpagesize.
51867
51868 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
51869 (LOCFILE_ALIGN_MASK): Likewise.
51870 (LOCFILE_ALIGN_UP): Likewise.
51871 (LOCFILE_ALIGNED_P): Likewise.
51872 * locale/programs/ld-collate.c (collate_output): Use the new
51873 macros instead of __alignof__ (int32_t).
51874 * locale/weight.h (findidx): Likewise.
51875
51876 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
51877
51878 [BZ #431]
51879 * manual/string.texi: Fix strncat and wcsncat.
51880
51881 2013-10-03 Brooks Moses <bmoses@google.com>
51882
51883 [BZ #15915]
51884 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
51885 * Makerules: ...here, and adjust associated comments.
51886
51887 2013-10-02 Will Newton <will.newton@linaro.org>
51888
51889 * malloc/Makefile: Add tst-pvalloc.
51890 * malloc/tst-pvalloc.c: New file.
51891
51892 2013-10-02 Will Newton <will.newton@linaro.org>
51893
51894 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
51895 improve test coverage.
51896
51897 2013-10-02 Will Newton <will.newton@linaro.org>
51898
51899 * malloc/Makefile: Add tst-posix_memalign.
51900 * malloc/tst-posix_memalign.c: New file.
51901
51902 2013-10-01 Eric Blake <eblake@redhat.com>
51903
51904 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
51905 Use __THROWNL rather than __THROW on static functions.
51906
51907 2013-09-30 Petr Machata <pmachata@redhat.com>
51908
51909 * elf/elf.h (R_AARCH64_ABS16): New macro.
51910 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
51911 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
51912 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
51913 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
51914 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
51915 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
51916 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
51917 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
51918 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
51919 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
51920 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
51921 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
51922 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
51923 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
51924 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
51925 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
51926 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
51927 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
51928 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
51929 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
51930 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
51931 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
51932 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
51933 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
51934 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
51935 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
51936 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
51937 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
51938 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
51939 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
51940 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
51941 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
51942 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
51943 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
51944 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
51945 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
51946 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
51947 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
51948 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
51949 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
51950 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
51951 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
51952 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
51953 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
51954 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
51955 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
51956 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
51957 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
51958 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
51959 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
51960 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
51961 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
51962 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
51963 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
51964 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
51965 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
51966 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
51967 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
51968 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
51969 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
51970 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
51971 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
51972 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
51973 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
51974 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
51975 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
51976 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
51977 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
51978 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
51979 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
51980 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
51981 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
51982 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
51983 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
51984 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
51985 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
51986 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
51987 (R_AARCH64_TLSDESC_LDR): Likewise.
51988 (R_AARCH64_TLSDESC_ADD): Likewise.
51989 (R_AARCH64_TLSDESC_CALL): Likewise.
51990
51991 2013-09-30 Andreas Schwab <schwab@suse.de>
51992
51993 [BZ #15048]
51994 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
51995 the nss database lookup.
51996 * nscd/initgrcache.c (addinitgroupsX): Likewise.
51997 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
51998
51999 2013-09-28 Mike Frysinger <vapier@gentoo.org>
52000
52001 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
52002
52003 2013-09-28 P. J. McDermott <pj@pehjota.net>
52004
52005 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
52006 ${Bash-specific parameter/pattern/string} parameter expansion.
52007 * sysdeps/unix/make-syscalls.sh: Likewise.
52008
52009 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
52010
52011 * sysdeps/sh/stackguard-macros.h: New file.
52012
52013 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
52014
52015 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
52016 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
52017 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
52018 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
52019 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
52020 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
52021
52022 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52023
52024 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
52025 Fix thread ID register.
52026
52027 2013-09-25 Joseph Myers <joseph@codesourcery.com>
52028
52029 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
52030 [POSIX || UNIX98]: Require rather than permitting all symbols from
52031 <time.h>.
52032 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
52033 element of struct sched_param.
52034 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
52035 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
52036 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
52037 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
52038 constant.
52039
52040 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
52041
52042 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
52043 argument calculation.
52044
52045 2013-09-24 Joseph Myers <joseph@codesourcery.com>
52046
52047 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
52048 Expect macro.
52049 [POSIX] (pthread_attr_t): Do not require type.
52050 [POSIX] (pthread_cond_t): Likewise.
52051 [POSIX] (pthread_condattr_t): Likewise.
52052 [POSIX] (pthread_key_t): Likewise.
52053 [POSIX] (pthread_mutex_t): Likewise.
52054 [POSIX] (pthread_mutexattr_t): Likewise.
52055 [POSIX] (pthread_once_t): Likewise.
52056 [POSIX] (pthread_t): Likewise.
52057 [POSIX-based standards] (pthread_atfork): Expect function.
52058
52059 2013-09-24 Joseph Myers <joseph@codesourcery.com>
52060 Richard Sandiford <richard@codesourcery.com>
52061
52062 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
52063 (swap_endianness_p): New extern variable.
52064 (set_big_endian): New inline function.
52065 (maybe_swap_uint32): Likewise.
52066 (maybe_swap_uint32_array): Likewise.
52067 (maybe_swap_uint32_obstack): Likewise.
52068 * locale/programs/locfile.c: Include <stdbool.h>.
52069 (swap_endianness_p): New variable.
52070 (add_locale_uint32): Call maybe_swap_uint32.
52071 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
52072 (write_locale_data): Call maybe_swap_uint32_array.
52073 * locale/programs/ld-collate.c (obstack_int32_grow): Call
52074 maybe_swap_uint32.
52075 (obstack_int32_grow_fast): Likewise.
52076 (output_weightwc): Call maybe_swap_uint32_obstack.
52077 (collate_output): Likewise.
52078 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
52079 (OPT_LITTLE_ENDIAN): Likewise.
52080 (options): Add --little-endian and --big-endian options.
52081 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
52082 * locale/programs/locarchive.c: Include "locfile.h".
52083 (GET): New macro.
52084 (SET): Likewise.
52085 (INC): Likewise.
52086 (create_archive): Use the new macros to access fields of
52087 structures directly mapped from or written to locale archives.
52088 (oldlocrecentcmp): Likewise.
52089 (enlarge_archive): Likewise.
52090 (insert_name): Likewise.
52091 (add_alias): Likewise.
52092 (add_locale): Likewise.
52093 (delete_locales_from_archive): Likewise.
52094 (show_archive_content): Likewise.
52095 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
52096 locale data.
52097
52098 2013-09-24 Roland McGrath <roland@hack.frob.com>
52099
52100 * manual/freemanuals.texi: Updated from (newly) canonical copy at
52101 http://www.gnu.org/doc/freemanuals.texi.
52102 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
52103
52104 2013-09-24 Will Newton <will.newton@linaro.org>
52105
52106 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
52107 macro.
52108
52109 2013-09-23 Joseph Myers <joseph@codesourcery.com>
52110
52111 * locale/hashval.h (compute_hashval): Interpret bytes of key as
52112 unsigned char.
52113
52114 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
52115
52116 * manual/threads.texi (POSIX Threads): Fix a typo.
52117
52118 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
52119
52120 [BZ #14547]
52121 * string/tst-strcoll-overflow.c: New test case.
52122 * string/Makefile (xtests): Add tst-strcoll-overflow.
52123 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
52124 cache if string sizes may cause integer overflow.
52125
52126 [BZ #14547]
52127 * string/strcoll_l.c (coll_seq): New members rule, idx,
52128 save_idx and back_us.
52129 (get_next_seq_nocache): New function.
52130 (do_compare_nocache): New function.
52131 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
52132 when malloc fails.
52133
52134 2013-09-23 Carlos O'Donell <carlos@redhat.com>
52135
52136 [BZ #15754]
52137 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
52138 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
52139 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
52140
52141 [BZ #15754]
52142 * elf/Makefile (tests): Add tst-ptrguard1.
52143 (tests-static): Add tst-ptrguard1-static.
52144 (tst-ptrguard1-ARGS): Define.
52145 (tst-ptrguard1-static-ARGS): Define.
52146 * elf/tst-ptrguard1.c: New file.
52147 * elf/tst-ptrguard1-static.c: New file.
52148 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
52149 * sysdeps/i386/stackguard-macros.h: Likewise.
52150 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
52151 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
52152 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
52153 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
52154 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
52155 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
52156
52157 2013-09-23 Hector Marco <hecmargi@upv.es>
52158 Ismael Ripoll <iripoll@disca.upv.es>
52159 Carlos O'Donell <carlos@redhat.com>
52160
52161 [BZ #15754]
52162 * sysdeps/generic/stackguard-macros.h: Define
52163 __pointer_chk_guard_local and POINTER_CHK_GUARD.
52164 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
52165 Define __pointer_chk_guard_local.
52166 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
52167 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
52168
52169 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
52170
52171 [BZ #15859]
52172 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
52173
52174 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
52175
52176 * include/string.h (__ffs): Declare as hidden.
52177 * string/ffs.c (__ffs): Define as hidden.
52178 * sysdeps/i386/ffs.c (__ffs): Likewise.
52179 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
52180 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
52181 * sysdeps/s390/ffs.c (__ffs): Likewise.
52182 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
52183
52184 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
52185
52186 * NEWS: Mention malloc probes.
52187
52188 * malloc/arena.c (new_heap): New memory_heap_new probe.
52189 (grow_heap): New memory_heap_more probe.
52190 (shrink_heap): New memory_heap_less probe.
52191 (heap_trim): New memory_heap_free probe.
52192 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
52193 (systrim): New memory_sbrk_less probe.
52194 * manual/probes.texi: Document them.
52195
52196 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
52197 * manual/probes.texi: Document it.
52198
52199 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
52200 (__libc_realloc): Add memory_realloc_retry probe.
52201 (__libc_memalign): Add memory_memalign_retry probe.
52202 (__libc_valloc): Add memory_valloc_retry probe.
52203 (__libc_pvalloc): Add memory_pvalloc_retry probe.
52204 (__libc_calloc): Add memory_calloc_retry probe.
52205 * manual/probes.texi: Document them.
52206
52207 * malloc/arena.c (get_free_list): Add probe
52208 memory_arena_reuse_free_list.
52209 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
52210 and memory_arena_reuse.
52211 (arena_get2) [!PER_THREAD]: Likewise.
52212 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
52213 memory_arena_reuse_realloc.
52214 * manual/probes.texi: Document them.
52215
52216 * malloc/malloc.c (__libc_free): Add
52217 memory_mallopt_free_dyn_thresholds probe.
52218 (__libc_mallopt): Add multiple memory_mallopt probes.
52219 * manual/probes.texi: Document them.
52220
52221 * malloc/malloc.c: Include stap-probe.h.
52222 (__libc_mallopt): Add memory_mallopt probe.
52223 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
52224 * manual/probes.texi: New.
52225 * manual/Makefile (chapters): Add probes.
52226 * manual/threads.texi: Set next node.
52227
52228 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
52229
52230 [BZ #15963, #13985]
52231 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
52232 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
52233 Add `Chinese' to `nan' entry name.
52234
52235 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
52236
52237 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
52238 (POLYNOMIAL): Likewise.
52239 (TAYLOR_SINCOS): Likewise.
52240 (TAYLOR_SLOW): Likewise.
52241 (__sin): Use TAYLOR_SINCOS.
52242 (__cos): Likewise.
52243 (slow): Use TAYLOR_SLOW.
52244 (sloww): Likewise.
52245 (bsloww): Likewise.
52246 (csloww): Likewise.
52247
52248 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52249
52250 * stdlib/strtod_l.c: Fix buffer overrun.
52251
52252 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
52253
52254 * benchtests/Makefile (bench): Add sincos.
52255 * benchtests/bench-sincos.c: New file.
52256
52257 * math/libm-test.inc (cos_test_data): New test inputs.
52258 (sin_test_data): Likewise.
52259
52260 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
52261 macro.
52262 (__sin): Use it.
52263 (__cos): Likewise.
52264 (slow1): Likewise.
52265 (slow2): Likewise.
52266 (sloww1): Likewise.
52267 (sloww2): Likewise.
52268 (bsloww1): Likewise.
52269 (bsloww2): Likewise.
52270 (cslow2): Likewise.
52271 (csloww1): Likewise.
52272 (csloww2): Likewise.
52273
52274 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
52275 function.
52276 (__sin): Use it.
52277 (__cos): Likewise.
52278
52279 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
52280 gotos.
52281 (__cos): Likewise.
52282
52283 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
52284
52285 * config.h.in (HAVE_MIPS_NAN2008): New macro.
52286 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
52287 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
52288 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
52289 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
52290 * elf/cache.c (print_entry): Handle the new cache flags.
52291
52292 2013-09-18 Joseph Myers <joseph@codesourcery.com>
52293 Aldy Hernandez <aldyh@redhat.com>
52294
52295 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
52296 Change condition to [_SOFT_FLOAT].
52297 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
52298 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
52299 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
52300 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
52301 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
52302 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
52303 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
52304 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
52305 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
52306 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
52307 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
52308 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
52309 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
52310 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
52311 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
52312 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
52313 declaration.
52314
52315 2013-09-18 Joseph Myers <joseph@codesourcery.com>
52316
52317 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
52318 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
52319 (__longjmp): Use LOAD_GP to load saved GPRs.
52320 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
52321 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
52322 (__sigsetjmp): Use SAVE_GP to save GPRs.
52323
52324 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
52325 Do not append -msoft-float.
52326 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
52327
52328 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
52329
52330 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
52331
52332 2013-09-17 Joseph Myers <joseph@codesourcery.com>
52333
52334 [BZ #15966]
52335 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
52336 (_FPU_GETCW): Use initial "__" on variable and field names but not
52337 on macro parameter name.
52338 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
52339 parentheses around reference to macro parameter.
52340
52341 2013-09-13 Richard Sandiford <richard@codesourcery.com>
52342
52343 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
52344 prototype.
52345 (ctype_startup): Use uint32_t in cast and sizeof for
52346 ctype->charnames.
52347
52348 2013-09-11 Jia Liu <proljc@gmail.com>
52349
52350 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
52351 __daddr_t_defined.
52352 [__FreeBSD__]: Likewise.
52353
52354 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
52355
52356 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
52357 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
52358 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
52359 (strchr): Remove __strchr_sse42 ifunc selection.
52360 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
52361 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
52362
52363 2013-09-11 Will Newton <will.newton@linaro.org>
52364
52365 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
52366 parameter to RES. Remove hardcoded 1000 value.
52367 * benchtests/bench-skeleton.c (main): Pass RES parameter
52368 to TIMING_INIT and multiply result by 1000.
52369
52370 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52371
52372 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52373
52374 2013-09-11 Andreas Schwab <schwab@suse.de>
52375
52376 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
52377 if not defined.
52378 (O_TMPFILE) [__USE_GNU]: Define.
52379 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
52380 Define.
52381
52382 2013-09-11 Will Newton <will.newton@linaro.org>
52383
52384 [BZ #15857]
52385 * malloc/malloc.c (__libc_memalign): Check the value of bytes
52386 does not overflow.
52387
52388 2013-09-11 Will Newton <will.newton@linaro.org>
52389
52390 [BZ #15856]
52391 * malloc/malloc.c (__libc_valloc): Check the value of bytes
52392 does not overflow.
52393
52394 2013-09-11 Will Newton <will.newton@linaro.org>
52395
52396 [BZ #15855]
52397 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
52398 does not overflow.
52399
52400 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
52401
52402 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
52403 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52404 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
52405 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52406 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52407
52408 2013-09-10 Allan McRae <allan@archlinux.org>
52409
52410 [BZ #15748]
52411 * manual/arith.texi (Parsing of Floats): Clarify
52412 cross-reference.
52413
52414 [BZ #15849]
52415 * manual/install.texi (Running make install): Mention
52416 --enable-pt-chown.
52417 * INSTALL: Regenerated.
52418
52419 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
52420
52421 * csu/init-first.c (_init): Remove the !SHARED condition around
52422 FPU control word initialization.
52423 * elf/dl-support.c (_dl_fpu_control): New variable.
52424 (_dl_aux_init) <AT_FPUCW>: Initialize it.
52425 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
52426 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
52427 * math/test-fpucw-static.c: New file.
52428 * math/test-fpucw-ieee.c: New file.
52429 * math/test-fpucw-ieee-static.c: New file.
52430 * math/Makefile (tests): Add `test-fpucw-ieee' and
52431 `$(tests-static)'.
52432 (tests-static): New variable.
52433 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
52434 dependency to...
52435 [($(build-shared),yes)]
52436 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
52437 ... this.
52438 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
52439 New dependency.
52440
52441 2013-09-09 Allan McRae <allan@archlinux.org>
52442
52443 [BZ #15939]
52444 * manual/string.texi (Collation Functions): Fix typo in
52445 strcoll example.
52446 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
52447
52448 [BZ #15893]
52449 * stdlib/isomac.c (get_null_defines): Fix memory leak.
52450
52451 [BZ #15892]
52452 * libio/memstream.c (open_memstream): Fix memory leak.
52453 * libio/wmemstream.c (open_wmemstream): Likewise.
52454
52455 [BZ #15895]
52456 * nscd/netgroupcache.c: Fix nesting of ifdefs.
52457
52458 2013-09-09 Will Newton <will.newton@linaro.org>
52459
52460 * malloc/Makefile: Add tst-realloc to tests.
52461 * malloc/tst-realloc.c: New file.
52462
52463 2013-09-09 Allan McRae <allan@archlinux.org>
52464
52465 [BZ #15844]
52466 * COPYING: Update from GNU website to fix FSF address.
52467 * COPYING.LIB: Likewise.
52468
52469 2013-09-06 David S. Miller <davem@davemloft.net>
52470
52471 * po/zh_TW.po: Update Chinese (traditional) translation from
52472 translation project.
52473
52474 2013-09-06 Richard Sandiford <richard@codesourcery.com>
52475 Joseph Myers <joseph@codesourcery.com>
52476
52477 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
52478 "localeinfo.h".
52479 (obstack_chunk_alloc): New macro.
52480 (obstack_chunk_free): Likewise.
52481 (record_offset): New function.
52482 (init_locale_data): Likewise.
52483 (align_locale_data): Likewise.
52484 (add_locale_empty): Likewise.
52485 (add_locale_raw_data): Likewise.
52486 (add_locale_raw_obstack): Likewise.
52487 (add_locale_string): Likewise.
52488 (add_locale_wstring): Likewise.
52489 (add_locale_uint32): Likewise.
52490 (add_locale_uint32_array): Likewise.
52491 (add_locale_char): Likewise.
52492 (start_locale_structure): Likewise.
52493 (end_locale_structure): Likewise.
52494 (start_locale_prelude): Likewise.
52495 (end_locale_prelude): Likewise.
52496 (write_locale_data): Take locale_file structure rather than an
52497 iovec.
52498 * locale/programs/locfile.h: Include "obstack.h".
52499 (struct locale_file): Change to store locale file contents instead
52500 of header.
52501 (init_locale_data): New prototype.
52502 (align_locale_data): Likewise.
52503 (add_locale_empty): Likewise.
52504 (add_locale_raw_data): Likewise.
52505 (add_locale_raw_obstack): Likewise.
52506 (add_locale_string): Likewise.
52507 (add_locale_wstring): Likewise.
52508 (add_locale_uint32): Likewise.
52509 (add_locale_uint32_array): Likewise.
52510 (add_locale_char): Likewise.
52511 (start_locale_structure): Likewise.
52512 (end_locale_structure): Likewise.
52513 (start_locale_prelude): Likewise.
52514 (end_locale_prelude): Likewise.
52515 (write_locale_data): Update prototype.
52516 * locale/programs/3level.h (struct TABLE): Remove result field.
52517 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
52518 Use new locale_file interface.
52519 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
52520 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
52521 * locale/programs/ld-address.c (address_output): Use new
52522 locale_file interface.
52523 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
52524 NO_ADD_LOCALE.
52525 (collate_finish): Don't call collseq_table_finalize.
52526 (collate_output): Use new locale_file interface.
52527 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
52528 in file.
52529 (NO_FINALIZE): Change to NO_ADD_LOCALE.
52530 (TABLE): Move defines earlier in file.
52531 (ELEMENT): Likewise.
52532 (DEFAULT): Likewise.
52533 (wctrans_table_add): Move macro and inline function earlier in
52534 file.
52535 (struct wctype_table): Move type earlier in file.
52536 (add_locale_wctype_table): New static prototype.
52537 (struct locale_ctype_t): Use logical types instead of struct iovec
52538 pointers for members.
52539 (ctype_output): Use new locale_file interface.
52540 (wctype_table_finalize): Change to add_locale_wctype_table. Use
52541 new locale_file interface.
52542 (allocate_arrays): Update for use of new locale_file interface.
52543 * locale/programs/ld-identification.c (identification_output): Use
52544 new locale_file interface.
52545 * locale/programs/ld-measurement.c (measurement_output): Likewise.
52546 * locale/programs/ld-messages.c (messages_output): Likewise.
52547 * locale/programs/ld-monetary.c (monetary_output): Likewise.
52548 * locale/programs/ld-name.c (name_output): Likewise.
52549 * locale/programs/ld-numeric.c (numeric_output): Likewise.
52550 * locale/programs/ld-paper.c (paper_output): Likewise.
52551 * locale/programs/ld-telephone.c (telephone_output): Likewise.
52552 * locale/programs/ld-time.c (time_output): Likewise.
52553
52554 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52555
52556 * benchtests/Makefile: Add memrchr benchmark.
52557 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
52558 benchmark as memrchr.
52559 * benchtests/bench-memrchr-ifunc.c: New file.
52560 * benchtests/bench-memrchr.c: New file.
52561
52562 2013-09-06 Will Newton <will.newton@linaro.org>
52563
52564 * benchtests/Makefile (string-bench): Add memcpy.
52565
52566 2013-09-05 Carlos O'Donell <carlos@redhat.com>
52567 Cong Wang <amwang@redhat.com>
52568
52569 [BZ #15850]
52570 * sysdeps/unix/sysv/linux/bits/in.h
52571 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
52572 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
52573 before __USE_KERNEL_IPV6_DEFS uses.
52574 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
52575 IPPROTO_BEETPH.
52576 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
52577 sockaddr_in6, or ipv6_mreq.
52578
52579 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52580
52581 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
52582 memory access for final bytes in some large inputs.
52583 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
52584
52585 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52586
52587 * string/test-memrchr.c: New file.
52588 * string/test-memrchr-ifunc.c: New file.
52589 * string/Makefile: Add new memrchr testcase.
52590
52591 2013-09-05 Mike Frysinger <vapier@gentoo.org>
52592
52593 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
52594 fanotify_init returns EPERM.
52595
52596 2013-09-04 Joseph Myers <joseph@codesourcery.com>
52597
52598 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
52599 errors.
52600 (top level): Treat second token from macro or constant entries for
52601 allowed headers as allowed.
52602 * include/complex.h: Condition internal declarations on
52603 [!_ISOMAC].
52604 * include/fenv.h: Condition include of <stdbool.h> and internal
52605 declarations on [!_ISOMAC].
52606
52607 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
52608
52609 [BZ #15923]
52610 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
52611
52612 2013-09-04 Joseph Myers <joseph@codesourcery.com>
52613
52614 * configure.in (--enable-versioning): Remove configure option.
52615 (libc_cv_asm_symver_directive): Remove configure test.
52616 (libc_cv_ld_version_script_option): Likewise.
52617 (VERSIONING): Remove variable and AC_SUBST.
52618 (DO_VERSIONING): Remove AC_DEFINE.
52619 * configure: Regenerated.
52620 * config.h.in (DO_VERSIONING): Remove macro.
52621 * Makerules [$(versioning) = yes]: Change conditionals to
52622 [$(build-shared) = yes].
52623 * config.make.in (versioning): Remove variable.
52624 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
52625 [$(build-shared) = yes].
52626 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
52627 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
52628 * elf/Makefile [$(versioning) = yes]: Change conditionals to
52629 [$(build-shared) = yes].
52630 * extra-lib.mk [$(versioning) = yes]: Likewise.
52631 * hurd/Makefile [$(versioning) = yes]: Likewise.
52632 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
52633 [SHARED].
52634 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
52635 [SHARED].
52636 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
52637 [SHARED && !NO_HIDDEN].
52638 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
52639 [SHARED].
52640 [SHARED && DO_VERSIONING]: Likewise..
52641 * libio/Makefile [$(versioning) = yes]: Change conditionals to
52642 [$(build-shared) = yes].
52643 * manual/install.texi (--disable-versioning): Remove
52644 documentation.
52645 * INSTALL: Regenerated.
52646 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
52647 to [SHARED].
52648 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
52649 [$(build-shared) = yes].
52650 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
52651 * sysdeps/i386/i686/multiarch/strstr-c.c
52652 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
52653 [SHARED && !NO_HIDDEN].
52654 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
52655 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
52656 * sysdeps/powerpc/powerpc32/dl-machine.c
52657 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
52658 * sysdeps/powerpc/powerpc32/sysdep.h
52659 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
52660 to [SHARED && PIC && !NO_HIDDEN].
52661 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
52662 conditional to [SHARED].
52663
52664 2013-09-04 Will Newton <will.newton@linaro.org>
52665
52666 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
52667 * benchtests/bench-string.h: Include bench-timing.h instead
52668 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
52669 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
52670 call to HP_TIMING_DIFF_INIT.
52671 * benchtests/bench-memccpy.c: Use bench-timing.h macros
52672 instead of hp-timing.h macros.
52673 * benchtests/bench-memchr.c: Likewise.
52674 * benchtests/bench-memcmp.c: Likewise.
52675 * benchtests/bench-memcpy.c: Likewise.
52676 * benchtests/bench-memmem.c: Likewise.
52677 * benchtests/bench-memmove.c: Likewise.
52678 * benchtests/bench-memset.c: Likewise.
52679 * benchtests/bench-rawmemchr.c: Likewise.
52680 * benchtests/bench-strcasecmp.c: Likewise.
52681 * benchtests/bench-strcasestr.c: Likewise.
52682 * benchtests/bench-strcat.c: Likewise.
52683 * benchtests/bench-strchr.c: Likewise.
52684 * benchtests/bench-strcmp.c: Likewise.
52685 * benchtests/bench-strcpy.c: Likewise.
52686 * benchtests/bench-strcpy_chk.c: Likewise.
52687 * benchtests/bench-strlen.c: Likewise.
52688 * benchtests/bench-strncasecmp.c: Likewise.
52689 * benchtests/bench-strncat.c: Likewise.
52690 * benchtests/bench-strncmp.c: Likewise.
52691 * benchtests/bench-strncpy.c: Likewise.
52692 * benchtests/bench-strnlen.c: Likewise.
52693 * benchtests/bench-strpbrk.c: Likewise.
52694 * benchtests/bench-strrchr.c: Likewise.
52695 * benchtests/bench-strspn.c: Likewise.
52696 * benchtests/bench-strstr.c: Likewise.
52697
52698 2013-09-04 Will Newton <will.newton@linaro.org>
52699
52700 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
52701
52702 2013-09-03 Joseph Myers <joseph@codesourcery.com>
52703
52704 [BZ #15427]
52705 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
52706 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
52707 * math/libm-test.inc (lgamma_test_data): Add more tests.
52708 * sysdeps/i386/fpu/libm-test-ulps: Update.
52709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52710
52711 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
52712
52713 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
52714 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
52715 Add ifunc.
52716 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
52717 Add strcmp-sse2-unaligned
52718 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
52719
52720 2013-09-02 Mike Frysinger <vapier@gentoo.org>
52721
52722 * Versions.def (libc): Add GLIBC_2.19.
52723
52724 2013-09-02 Mike Frysinger <vapier@gentoo.org>
52725
52726 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
52727 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
52728
52729 2013-09-02 Joseph Myers <joseph@codesourcery.com>
52730
52731 [BZ #14155]
52732 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
52733 intermediate calculations in recurrence.
52734 (__ieee754_ynf): Likewise.
52735 * math/libm-test.inc (jn_test_data): Do not allow spurious
52736 underflow exception. Add more tests.
52737 (yn_test_data): Add more tests.
52738 * sysdeps/i386/fpu/libm-test-ulps: Update.
52739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52740
52741 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
52742
52743 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
52744
52745 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
52746
52747 * csu/init-first.c: Fix then/than typos.
52748 * locale/programs/ld-collate.c: Likewise.
52749 * locale/programs/linereader.h: Likewise.
52750 * manual/charset.texi: Likewise.
52751 * manual/filesys.texi: Likewise.
52752 * manual/stdio.texi: Likewise.
52753 * manual/string.texi: Likewise.
52754 * stdlib/fmtmsg.c: Likewise.
52755 * sysdeps/i386/stpncpy.S: Likewise.
52756 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
52757 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
52758 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
52759 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
52760
52761 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
52762
52763 * elf/dl-open.c: Fix typos.
52764 * iconvdata/gbbig5.c: Likewise.
52765 * iconvdata/iso-2022-jp.c: Likewise.
52766 * iconv/gconv_int.h: Likewise.
52767 * iconv/loop.c: Likewise.
52768 * nis/rpcsvc/nis.h: Likewise.
52769 * resolv/ns_name.c: Likewise.
52770 * stdio-common/vfscanf.c: Likewise.
52771 * streams/stropts.h: Likewise.
52772 * sunrpc/rpc_thread.c: Likewise.
52773 * sysdeps/i386/strpbrk.S: Likewise.
52774 * sysdeps/ieee754/k_standard.c: Likewise.
52775 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
52776 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
52777 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
52778 * sysdeps/mach/hurd/profil.c: Likewise.
52779 * sysdeps/s390/dl-procinfo.h: Likewise.
52780 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
52781 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
52782 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
52783 * sysdeps/x86_64/dl-trampoline.S: Likewise.
52784 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
52785
52786 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
52787
52788 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
52789 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
52790
52791 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
52792
52793 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
52794 aix specific files.
52795 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
52796 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
52797 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
52798 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
52799 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
52800 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
52801 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
52802 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
52803
52804 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
52805 Roland McGrath <roland@hack.frob.com>
52806
52807 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
52808 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
52809
52810 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
52811
52812 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
52813 __executable_start symbol instead of _start.
52814
52815 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
52816
52817 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
52818 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
52819 Move macros to...
52820 * sysdeps/gnu/ldsodefs.h: ... this new file.
52821
52822 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
52823 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
52824 instead of ELFOSABI_LINUX.
52825
52826 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
52827 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
52828 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
52829 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
52830 Likewise.
52831 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
52832 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
52833 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
52834 Likewise.
52835 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
52836 (ibm_extended_long_double): Add ieee_nan member.
52837 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
52838 (do_test): New function.
52839
52840 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
52841 TEST_TRUNC.
52842 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
52843 functions, renamed from truncdfsf_test, trunctfsf_test,
52844 trunctfdf_test.
52845 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
52846 functions.
52847 (do_test): Run all these.
52848
52849 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
52850
52851 * argp/argp-help.c: Fix typos.
52852 * argp/argp-parse.c: Likewise.
52853 * debug/backtracesyms.c: Likewise.
52854 * elf/elf.h: Likewise.
52855 * malloc/malloc.c: Likewise.
52856 * nis/nis_print.c: Likewise.
52857 * resolv/res_comp.c: Likewise.
52858 * stdlib/stdlib.h: Likewise.
52859 * sunrpc/clnt_tcp.c: Likewise.
52860 * sunrpc/clnt_udp.c: Likewise.
52861 * sunrpc/clnt_unix.c: Likewise.
52862 * sysdeps/unix/bsd/ptsname.c: Likewise.
52863 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
52864 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
52865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
52866 Likewise.
52867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
52868 Likewise.
52869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
52870 Likewise.
52871 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
52872
52873 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
52874
52875 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
52876 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
52877
52878 2013-08-27 Mike Frysinger <vapier@gentoo.org>
52879
52880 [BZ #15897]
52881 * dlfcn/Makefile (tests): Add bug-dl-leaf.
52882 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
52883 ($(objpfx)bug-dl-leaf): New rule.
52884 ($(objpfx)bug-dl-leaf.so): Likewise.
52885 ($(objpfx)bug-dl-leaf.out): Likewise.
52886 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
52887 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
52888 * dlfcn/bug-dl-leaf.c: New test.
52889 * dlfcn/bug-dl-leaf-lib.c: Likewise.
52890 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
52891 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
52892 (dlclose): Likewise.
52893 (dlmopen): Likewise.
52894
52895 2013-08-27 Roland McGrath <roland@hack.frob.com>
52896
52897 * include/netdb.h [!_ISOMAC]:
52898 Don't include <tls.h>.
52899 (h_errno, __libc_h_errno): Move declaration and macros out of
52900 [_LIBC_REENTRANT].
52901
52902 * include/resolv.h [_RESOLV_H_]:
52903 Don't include <tls.h>.
52904 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
52905 * resolv/res_libc.c: Don't include <tls.h>.
52906 (_res): Use __attribute__ ((nocommon)) in place of
52907 __attribute__ ((section (".bss"))).
52908
52909 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
52910 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
52911
52912 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
52913
52914 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
52915 only under [SIOCGIFCONF && SIOCGIFNETMASK].
52916
52917 * resolv/res_mkquery.c: Include <sys/time.h>.
52918
52919 * inet/ifreq.c: Moved to ...
52920 * sysdeps/unix/ifreq.c: ... here.
52921 * inet/ifreq.c: New file, true stub version.
52922
52923 * socket/sa_len.c: New file.
52924 * socket/Makefile (aux): Add it.
52925 * sysdeps/unix/sysv/linux/Makefile
52926 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
52927 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
52928 and #include <socket/sa_len.c>.
52929 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
52930 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
52931
52932 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
52933 * bits/socket.h: ... here.
52934
52935 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
52936 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
52937 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
52938
52939 2013-08-27 Andreas Schwab <schwab@suse.de>
52940
52941 [BZ #15736]
52942 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
52943 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
52944 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
52945 * string/test-strcasecmp.c (test_main): Run tests in several
52946 locales.
52947 * string/test-strncasecmp.c (test_main): Likewise.
52948
52949 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
52950 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
52951 to __strcasecmp_nonascii and __strncasecmp_nonascii.
52952 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
52953 (__strncasecmp_ssse3) [PIC]: Likewise.
52954
52955 2013-08-26 Roland McGrath <roland@hack.frob.com>
52956
52957 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
52958
52959 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
52960 instead of explicitly declaring xdecrypt.
52961 * nis/nss_nis/nis-publickey.c: Likewise.
52962
52963 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
52964
52965 [BZ #15890]
52966 * nscd/aicache.c: Include res_hconf.h.
52967 (addhstaiX): Initialize res_hconf.
52968
52969 2013-08-26 Andreas Schwab <schwab@suse.de>
52970
52971 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
52972 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
52973
52974 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
52975
52976 * nscd/aicache.c (addhstaiX): Fix indentation.
52977
52978 2013-08-25 Mike Frysinger <vapier@gentoo.org>
52979
52980 * configure.ac: Quote $build_pt_chown test.
52981 * configure: Regenerated.
52982
52983 2013-08-23 Joseph Myers <joseph@codesourcery.com>
52984
52985 [BZ #15532]
52986 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
52987 * math/s_cexpf.c (__cexpf): Likewise.
52988 * math/s_cexpl.c (__cexpl): Likewise.
52989 * math/libm-test.inc (cexp_test_data): Correct expected return
52990 value for NaN + i0. Add another test.
52991
52992 2013-08-22 David S. Miller <davem@davemloft.net>
52993
52994 * po/ca.po: Update Catalan translation from translation project.
52995 * po/uk.po: Add Ukrainian translations from translation project.
52996
52997 2013-08-21 Joseph Myers <joseph@codesourcery.com>
52998
52999 [BZ #15797]
53000 * math/s_fdim.c (__fdim): Check for infinite arguments if result
53001 is infinite, not alongside NaN test.
53002 * math/s_fdimf.c (__fdimf): Likewise.
53003 * math/s_fdiml.c (__fdiml): Likewise.
53004 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
53005 errno is unchanged.
53006
53007 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
53008
53009 * argp/argp-help.c: Fix typos.
53010 * crypt/speeds.c: Likewise.
53011 * csu/check_fds.c: Likewise.
53012 * elf/dl-load.c: Likewise.
53013 * elf/dl-open.c: Likewise.
53014 * elf/reldep3.c: Likewise.
53015 * elf/reldep.c: Likewise.
53016 * elf/sprof.c: Likewise.
53017 * iconv/iconv_charmap.c: Likewise.
53018 * iconv/skeleton.c: Likewise.
53019 * iconv/strtab.c: Likewise.
53020 * io/lockf64.c: Likewise.
53021 * libio/libioP.h: Likewise.
53022 * resolv/gai_notify.c: Likewise.
53023 * resolv/ns_name.c: Likewise.
53024 * resolv/ns_samedomain.c: Likewise.
53025 * resolv/res_send.c: Likewise.
53026 * stdlib/random.c: Likewise.
53027 * sunrpc/rpc/xdr.h: Likewise.
53028 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
53029 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
53030 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
53031 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
53032 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
53033 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
53034 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
53035 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
53036 * sysdeps/mach/hurd/check_fds.c: Likewise.
53037 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
53038 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
53039 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
53040 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
53041 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
53042 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
53043 * sysdeps/pthread/aio_notify.c: Likewise.
53044 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
53045 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
53046 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
53047 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
53048 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
53049
53050 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53051
53052 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
53053 version if bit_Slow_SSE4_2 is set.
53054 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
53055 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
53056
53057 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53058
53059 [BZ #15867]
53060 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
53061 trampoline stack frame information.
53062 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
53063 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
53064 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
53065 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
53066 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
53067 * sysdeps/unix/sysv/linux/powerpc/init-first.c
53068 (_libc_vdso_platform_setup): Initialize the signal trampolines.
53069 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
53070 sa_flags value.
53071 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
53072 interrupting a syscall and set with option SA_SIGINFO.
53073
53074 2013-08-20 Joseph Myers <joseph@codesourcery.com>
53075
53076 [BZ #15531]
53077 * math/s_cproj.c (__cproj): Only return an infinity if one part of
53078 argument is infinite.
53079 * math/s_cprojf.c (__cprojf): Likewise.
53080 * math/s_cprojl.c (__cprojl): Likewise.
53081 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
53082 * math/libm-test.inc (cproj_test_data): Add more tests.
53083
53084 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
53085
53086 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
53087 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
53088 size. Use __ffs to determine corresponding shift.
53089
53090 2013-08-20 Joseph Myers <joseph@codesourcery.com>
53091 Roland McGrath <roland@hack.frob.com>
53092
53093 * Makefile (INSTALL): Remove trailing blank lines from output of
53094 makeinfo.
53095
53096 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53097
53098 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
53099 Align 32 bit compat elf_greg to 8 bytes.
53100
53101 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
53102
53103 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
53104
53105 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
53106
53107 * string/strcoll_l.c (coll_seq): New structure.
53108 (get_next_seq_cached): New function.
53109 (get_next_seq): New function.
53110 (do_compare): New function.
53111 (STRCOLL): Use GNU style definition. Simplify implementation
53112 by using get_next_seq, get_next_seq_cached and do_compare.
53113
53114 2013-08-16 Florian Weimer <fweimer@redhat.com>
53115
53116 [BZ #14699]
53117 CVE-2013-4237
53118 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
53119 member.
53120 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
53121 member.
53122 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
53123 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
53124 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
53125 conditional.
53126 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
53127 GETDENTS_64BIT_ALIGNED.
53128 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
53129 * manual/filesys.texi (Reading/Closing Directory): Document
53130 ENAMETOOLONG return value of readdir_r. Recommend readdir more
53131 strongly.
53132 * manual/conf.texi (Limits for Files): Add portability note to
53133 NAME_MAX, PATH_MAX.
53134 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
53135
53136 2013-08-13 Andreas Schwab <schwab@suse.de>
53137
53138 [BZ #15749]
53139 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
53140 of fabs.
53141 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
53142 LDBL_MAX_EXP >= 16384]: Add tests for it.
53143
53144 2013-08-12 David S. Miller <davem@davemloft.net>
53145
53146 * version.h (RELEASE): Set to "development".
53147 (VERSION): Set to "2.18.90".
53148 * NEWS: Add 2.19 section.
53149
53150 2013-08-03 David S. Miller <davem@davemloft.net>
53151
53152 * po/ko.po: Update Korean translation from translation project.
53153
53154 2013-08-01 David S. Miller <davem@davemloft.net>
53155
53156 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
53157 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
53158 Bilka.
53159
53160 2013-07-30 David S. Miller <davem@davemloft.net>
53161
53162 * po/fr.po: Update French translation from translation project.
53163
53164 2013-07-28 David S. Miller <davem@davemloft.net>
53165
53166 * po/cs.po: Update Czech translation from translation project.
53167
53168 * po/sv.po: Update Swedish translation from translation project.
53169
53170 2013-07-27 David S. Miller <davem@davemloft.net>
53171
53172 * po/eo.po: Update Esperanto translation from translation project.
53173
53174 * po/vi.po: Update Vietnamese translation from translation project.
53175
53176 * po/de.po: Update German translation from translation project.
53177
53178 2013-07-26 David S. Miller <davem@davemloft.net>
53179
53180 * po/bg.po: Update Bulgarian translation from translation project.
53181
53182 * po/nl.po: Update Dutch translation from translation project.
53183 * po/pl.po: Update Polish translation from translation project.
53184 * po/ru.po: Update Russian translation from translation project.
53185
53186 2013-07-24 David S. Miller <davem@davemloft.net>
53187
53188 * po/libc.pot: Update.
53189
53190 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53191
53192 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
53193 variable page size.
53194 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
53195 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
53196 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
53197
53198 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53199
53200 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
53201
53202 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
53203 Andreas Schwab <schwab@suse.de>
53204 Roland McGrath <roland@hack.frob.com>
53205 Joseph Myers <joseph@codesourcery.com>
53206 Carlos O'Donell <carlos@redhat.com>
53207
53208 [BZ #15755]
53209 * config.h.in: Define HAVE_PT_CHOWN.
53210 * config.make.in (build-pt-chown): New variable.
53211 * configure.in (--enable-pt_chown): New configure option.
53212 * configure: Regenerate.
53213 * login/Makefile: Include Makeconfig. Build pt_chown only if
53214 build-pt-chown is enabled.
53215 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
53216 pt_chown to fix pty ownership.
53217 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
53218 CLOSE_ALL_FDS.
53219 * manual/install.texi (Configuring and compiling): Mention
53220 --enable-pt_chown. Add @findex for grantpt.
53221 * INSTALL: Regenerate.
53222
53223 2013-07-20 David S. Miller <davem@davemloft.net>
53224
53225 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
53226 difference between 32-bit and 64-bit.
53227
53228 2013-07-15 Carlos O'Donell <carlos@redhat.com>
53229
53230 [BZ #15711]
53231 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
53232 Avoid system header dependency with -ffreestanding.
53233 ($(objpfx)bits/syscall%d): Likewise.
53234
53235 2013-07-13 David S. Miller <davem@davemloft.net>
53236
53237 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
53238 underflows from atanl/atan2l due to bug 15319.
53239 (casinh_test_data): Likewise.
53240
53241 2013-07-07 David S. Miller <davem@davemloft.net>
53242
53243 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
53244
53245 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
53246
53247 * sysdeps/i386/fpu/libm-test-ulps: Update.
53248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53249
53250 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
53251
53252 * configure.in (--enable-lock-elision): Fix message text.
53253 * INSTALL: Regenerate.
53254 * configure: Regenerate.
53255
53256 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53257
53258 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53259
53260 2013-07-03 Andreas Jaeger <aj@suse.de>
53261
53262 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
53263 define.
53264 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
53265 (ptrace_peeksiginfo_args): Add.
53266 (__ptrace_peeksiginfo_flags): Add.
53267 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53268 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53269 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53270
53271 2013-07-03 Allan McRae <allan@archlinux.org>
53272
53273 * sysdeps/i386/fpu/libm-test-ulps: Update.
53274
53275 2013-07-02 David S. Miller <davem@davemloft.net>
53276
53277 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53278
53279 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
53280
53281 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53282
53283 2013-07-02 Joseph Myers <joseph@codesourcery.com>
53284
53285 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
53286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53287
53288 2013-07-02 Andi Kleen <ak@linux.intel.com>
53289
53290 * config.h.in (ENABLE_LOCK_ELISION): Add.
53291 * configure.in (--enable-lock-elision): Add option.
53292 * manual/install.texi: Document --enable lock elision.
53293 * configure: Regenerate
53294 * INSTALL: Regenerate.
53295
53296 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
53297
53298 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
53299 SSE4.2 strcasecmp for libc.a.
53300 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
53301
53302 2013-07-02 Joseph Myers <joseph@codesourcery.com>
53303
53304 [BZ #13304]
53305 * soft-fp/op-common.h (_FP_FMA): New macro.
53306 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
53307 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
53308 (_FP_MUL_MEAT_1_imm): ... here.
53309 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
53310 (_FP_MUL_MEAT_1_wide): ... here.
53311 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
53312 (_FP_MUL_MEAT_1_hard): ... here.
53313 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
53314 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
53315 (_FP_MUL_MEAT_2_wide): ... here.
53316 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
53317 (_FP_MUL_MEAT_2_wide_3mul): ... here.
53318 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
53319 (_FP_MUL_MEAT_2_gmp): ... here.
53320 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
53321 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
53322 (_FP_MUL_MEAT_4_wide): ... here.
53323 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
53324 (_FP_MUL_MEAT_4_gmp): ... here.
53325 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
53326 (_FP_WFRACBITS_DW_S): Likewise.
53327 (_FP_WFRACXBITS_DW_S): Likewise.
53328 (_FP_HIGHBIT_DW_S): Likewise.
53329 (FP_FMA_S): Likewise.
53330 (_FP_FRAC_HIGH_DW_S): Likewise.
53331 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
53332 (_FP_WFRACBITS_DW_D): Likewise.
53333 (_FP_WFRACXBITS_DW_D): Likewise.
53334 (_FP_HIGHBIT_DW_D): Likewise.
53335 (FP_FMA_D): Likewise.
53336 (_FP_FRAC_HIGH_DW_D): Likewise.
53337 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
53338 (_FP_WFRACBITS_DW_E): Likewise.
53339 (_FP_WFRACXBITS_DW_E): Likewise.
53340 (_FP_HIGHBIT_DW_E): Likewise.
53341 (FP_FMA_E): Likewise.
53342 (_FP_FRAC_HIGH_DW_E): Likewise.
53343 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
53344 (_FP_WFRACBITS_DW_Q): Likewise.
53345 (_FP_WFRACXBITS_DW_Q): Likewise.
53346 (_FP_HIGHBIT_DW_Q): Likewise.
53347 (FP_FMA_Q): Likewise.
53348 (_FP_FRAC_HIGH_DW_Q): Likewise.
53349 * soft-fp/fmasf4.c: New file.
53350 * soft-fp/fmadf4.c: Likewise.
53351 * soft-fp/fmatf4.c: Likewise.
53352
53353 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53354
53355 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
53356 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
53357 Silvermont.
53358 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
53359 macro.
53360 (index_Slow_SSE4_2): Likewise.
53361 (index_Prefer_PMINUB_for_stringop): Likewise.
53362 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
53363 bit_Slow_SSE4_2 is set.
53364 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
53365 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
53366
53367 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
53368
53369 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
53370 rtld_global._dl_hwcap2.
53371 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
53372 POWER8.
53373 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
53374 POWER8 feature descriptions defined in _dl_hwcap2.
53375 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
53376 string handling for POWER8 feature bits.
53377 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
53378 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
53379 _dl_powerpc_cap_flags.
53380 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
53381 * sysdeps/powerpc/rtld-global-offsets.sym
53382 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
53383 _dl_hwcap2 in the rtld_global_ro structure.
53384
53385 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
53386
53387 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
53388 hardware capabilities in support of AT_HWCAP2.
53389 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
53390 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
53391 GLRO(dl_hwcap2).
53392 (_dl_show_auxv): Add support for calling _dl_procinfo to display
53393 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
53394 explicitly the unknown a_type display mechanism is used.
53395 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
53396 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
53397 struct member.
53398 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
53399 to macro prototype for AT_HWCAP2 support.
53400 * sysdeps/i386/dl-procinfo.h: Likewise.
53401 * sysdeps/s390/dl-procinfo.h: Likewise.
53402 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
53403 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
53404 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
53405 return -1 for unknown a_type display fallback.
53406 * sysdeps/sparc/dl-procinfo.h: Likewise.
53407 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
53408 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
53409
53410 2013-06-28 Joseph Myers <joseph@codesourcery.com>
53411
53412 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
53413 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
53414
53415 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
53416
53417 [BZ #12492]
53418 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
53419 mprotect making __stack_prot writable.
53420
53421 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
53422 Joseph Myers <joseph@codesourcery.com>
53423
53424 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
53425 as being properly aligned.
53426
53427 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
53428
53429 * dlfcn/modstatic5.c: New file.
53430 * dlfcn/tststatic5.c: New file.
53431 * dlfcn/Makefile (tests): Add tststatic5.
53432 (tests-static): Likewise.
53433 (modules-names): Add modstatic5.
53434 (tststatic5-ENV): New variable.
53435 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
53436
53437 [BZ #15022]
53438 * elf/dl-support.c (_dl_main_map): New variable.
53439 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
53440 (_dl_nns, _dl_load_adds): Set to 1.
53441 (_dl_initial_searchlist): Refer to _dl_main_map.
53442 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
53443 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
53444 call to _dl_get_origin.
53445 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
53446 around call_map.
53447 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
53448 * dlfcn/modstatic3.c: New file.
53449 * dlfcn/tststatic3.c: New file.
53450 * dlfcn/tststatic4.c: New file.
53451 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
53452 (tests-static): Likewise.
53453 (modules-names): Add modstatic3.
53454 (tststatic3-ENV, tststatic4-ENV): New variables.
53455 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
53456 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
53457
53458 2013-06-26 Joseph Myers <joseph@codesourcery.com>
53459
53460 * configure.in (CC): Require GCC version 4.4 or later.
53461 * configure: Regenerated.
53462 * manual/install.texi (Tools for Compilation): Update GCC version
53463 requirement.
53464 * INSTALL: Regenerated.
53465
53466 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53467
53468 [BZ #15674]
53469 * string/test-memcmp.c (check2): New.
53470 (main): Call check2.
53471
53472 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
53473
53474 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
53475
53476 [BZ #15022]
53477 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
53478 over to...
53479 (dl_open_worker) [!SHARED]: ... here.
53480
53481 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
53482
53483 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
53484
53485 2013-06-25 Richard Henderson <rth@redhat.com>
53486
53487 * locale/programs/locarchive.c: Include <libc-internal.h>
53488
53489 2013-06-25 Joseph Myers <joseph@codesourcery.com>
53490
53491 * manual/texinfo.tex: Update to version 2013-06-21.17, with
53492 trailing whitespace removed.
53493
53494 2013-06-24 Mike Frysinger <vapier@gentoo.org>
53495
53496 [BZ #10283]
53497 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
53498 * locale/programs/locarchive.c: Include libc-mmap.h.
53499 (prepare_address_space): Take two new outputs (the mmap base and len).
53500 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
53501 values.
53502 (create_archive): Declare new mmap base and len values for
53503 prepare_address_space, and store the result in ah.
53504 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
53505 (enlarge_archive): If ah->mmap_base is not NULL, use that and
53506 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
53507 Declare new mmap base and len values for
53508 prepare_address_space, and store the result in new_ah.
53509 (open_archive): Declare new mmap base and len values for
53510 prepare_address_space, and store the result in ah.
53511 (close_archive): If ah->mmap_base is not NULL, use that and
53512 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
53513 * sysdeps/generic/libc-mmap.h: New file.
53514
53515 2013-06-24 Mike Frysinger <vapier@gentoo.org>
53516
53517 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
53518 (ALIGN_UP): Likewise.
53519 (PTR_ALIGN_DOWN): Likewise.
53520 (PTR_ALIGN_UP): Likewise.
53521
53522 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
53523
53524 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
53525 entry mapped to PPC_PLATFORM_POWER8.
53526 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
53527 POWER8.
53528 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
53529 (_dl_string_platform): Add case for exporting platform position for
53530 POWER8.
53531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
53532 search path to sysdeps/powerpc/powerpc32/power8 directory.
53533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
53534 search path to sysdeps/powerpc/powerpc64/power8 directory.
53535 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
53536 power7 directories.
53537 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
53538 power7 directories.
53539
53540 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
53541
53542 * INSTALL: Regenerate.
53543
53544 * nscd/connections.c (nscd_init): Fix comment.
53545
53546 2013-06-22 Joseph Myers <joseph@codesourcery.com>
53547
53548 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
53549
53550 [BZ #15667]
53551 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
53552 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
53553
53554 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
53555
53556 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
53557 DL_DST_REQ_STATIC.
53558 (DL_DST_REQ_STATIC): Remove macro.
53559
53560 2013-06-21 Joseph Myers <joseph@codesourcery.com>
53561
53562 [BZ #7006]
53563 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
53564 with a shift of 0 bits.
53565
53566 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
53567
53568 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
53569 $(tststatic-ENV).
53570
53571 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
53572
53573 [BZ #15655]
53574 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
53575
53576 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53577
53578 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
53579 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
53580 accepts -fno-tree-loop-distribute-patterns.
53581 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
53582 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
53583 recursive call.
53584 * string/memset.c (memset): Likewise.
53585 * string/test-memmove.c (simple_memmove): Disable loop transformation
53586 to library calls.
53587 * string/test-memset.c (simple_memset): Likewise.
53588 * benchtests/bench-memmove.c (simple_memmove): Likewise.
53589 * benchtests/bench-memset.c (simple_memset): Likewise.
53590 * configure: Regenerated.
53591
53592 2013-06-20 Joseph Myers <joseph@codesourcery.com>
53593
53594 * math/test-misc.c (main): Ignore fesetround failure when failures
53595 of subsequent rounding tests would be ignored.
53596
53597 [BZ #15654]
53598 * math/fedisblxcpt.c (fedisableexcept): Return 0.
53599 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
53600 * math/fegetenv.c (__fegetenv): Return 0.
53601 * math/fegetexcept.c (fegetexcept): Return 0.
53602 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
53603 FE_TONEAREST.
53604 * math/feholdexcpt.c (feholdexcept): Return 0.
53605 * math/fesetenv.c (__fesetenv): Return 0.
53606 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
53607 argument FE_TONEAREST.
53608 * math/feupdateenv.c (__feupdateenv): Return 0.
53609 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
53610
53611 2013-06-18 Roland McGrath <roland@hack.frob.com>
53612
53613 * elf/rtld-Rules (rtld-compile-command.S): New variable.
53614 (rtld-compile-command.s, rtld-compile-command.c): New variables.
53615 ($(objpfx)rtld-%.os rules): Use them.
53616
53617 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53618
53619 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
53620 fields.
53621
53622 2013-06-17 Roland McGrath <roland@hack.frob.com>
53623
53624 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
53625 length of target pattern, then descending length of dependency pattern.
53626 * configure.in (AWK): Require gawk 3.1.2 or newer.
53627 * manual/install.texi (Tools for Compilation): Say that we do.
53628 * configure: Regenerated.
53629
53630 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
53631 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
53632 * scripts/sysd-rules.awk: ... this new script.
53633 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
53634 than a glob-style pattern.
53635
53636 2013-06-17 Joseph Myers <joseph@codesourcery.com>
53637
53638 * math/test-misc.c (main): Do not treat incorrectly rounded
53639 conversions as failure unless ROUNDING_TESTS passes.
53640
53641 2013-06-15 Joseph Myers <joseph@codesourcery.com>
53642
53643 [BZ #15631]
53644 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
53645 restore exception state around main square root computation, then
53646 check for inexactness explicitly.
53647
53648 * math/libm-test.inc (fma_test_data): Add another test.
53649
53650 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
53651
53652 * manual/threads.texi (Non-POSIX Extensions): New document
53653 node. Document pthread_getattr_default_np and
53654 pthread_setattr_default_np.
53655
53656 * Versions.def (libpthread): Add GLIBC_2.18.
53657 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
53658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
53659 Likewise.
53660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
53661 Likewise.
53662 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
53663 Likewise.
53664 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
53665 Likewise.
53666 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
53667 Likewise.
53668 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
53669 Likewise.
53670 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
53671 Likewise.
53672 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
53673 Likewise.
53674 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
53675 Likewise.
53676
53677 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53678
53679 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53680 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
53681
53682 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
53683 H.J. Lu <hjl.tools@gmail.com>
53684
53685 [BZ #15627]
53686 * sysdeps/x86_64/rtld-memset.c: Remove file.
53687 * sysdeps/x86_64/rtld-memset.S: New file.
53688
53689 2013-06-14 Joseph Myers <joseph@codesourcery.com>
53690
53691 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
53692 (test_in_one_mode): Take arguments for whether the rounding mode
53693 is supported for each floating-point type.
53694 (do_test): Pass new arguments to test_in_one_mode using
53695 ROUNDING_TESTS.
53696
53697 2013-06-13 Roland McGrath <roland@hack.frob.com>
53698
53699 * posix/tst-waitid.c (do_test): Distinguish different instances of
53700 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
53701 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
53702 before entering the kernel for waitpid.
53703
53704 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
53705
53706 * NEWS: Fix note on clock function precision. Text by Roland
53707 McGrath.
53708
53709 2013-06-13 Roland McGrath <roland@hack.frob.com>
53710
53711 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
53712 it into place only when and if the sanity check passes.
53713
53714 2013-06-13 Joseph Myers <joseph@codesourcery.com>
53715
53716 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
53717 output for whether conversion result is exact. Take argument
53718 indicating whether type is IBM long double.
53719 (round_for_all): Change need_exact field to ibm_ld.
53720 * stdlib/tst-strtod-round.c (struct exactness): New type.
53721 (struct test): Change bool ld_ok field to struct exactness exact.
53722 (TEST): Update all definitions for change to field.
53723 (tests): Regenerate array contents.
53724 (test_in_one_mode): Take pointer to new field instead of old ld_ok
53725 field value. Check for IBM long double here.
53726 (do_test): Update calls to test_in_one_mode.
53727
53728 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
53729
53730 [BZ #12515]
53731 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
53732 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
53733
53734 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53735
53736 [BZ #15605]
53737 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
53738 generated by the compiler on loop optimizations.
53739 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
53740 general definitions.
53741
53742 2013-06-12 Joseph Myers <joseph@codesourcery.com>
53743
53744 * math/bug-nextafter.c: Include <math-tests.h>.
53745 (main): Only test for exceptions if EXCEPTION_TESTS is true for
53746 the relevant type.
53747 * math/bug-nexttoward.c: Include <math-tests.h>.
53748 (main): Only test for exceptions if EXCEPTION_TESTS is true for
53749 the relevant type.
53750 * math/test-misc.c: Include <math-tests.h>.
53751 (main): Only test for exceptions if EXCEPTION_TESTS is true for
53752 the relevant type.
53753
53754 2013-06-12 Andreas Jaeger <aj@suse.de>
53755
53756 * po/ia.po: Update Interlingua translation from translation
53757 project.
53758
53759 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
53760
53761 * include/fenv.h: Include stdbool.h.
53762 (struct rm_ctx): New structure.
53763 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
53764 Define macro.
53765 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
53766 (SET_RESTORE_ROUNDF): Likewise.
53767 (SET_RESTORE_ROUNDL): Likewise.
53768 (SET_RESTORE_ROUND_NOEX): Likewise.
53769 (SET_RESTORE_ROUND_NOEXF): Likewise.
53770 (SET_RESTORE_ROUND_NOEXL): Likewise.
53771 (SET_RESTORE_ROUND_53BIT): Likewise.
53772 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
53773 (libc_feresetround_noexf_ctx): Likewise.
53774 (libc_feresetround_noexl_ctx): Likewise.
53775 (libc_feholdsetround_53bit_ctx): Likewise.
53776 (libc_feresetround_53bit_ctx): Likewise.
53777 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
53778 (libc_feholdexcept_setround_sse_ctx): New function.
53779 (libc_fesetenv_sse_ctx): Likewise.
53780 (libc_feupdateenv_sse_ctx): Likewise.
53781 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
53782 (libc_feholdexcept_setround_387_ctx): Likewise.
53783 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
53784 (libc_feholdsetround_387_prec_ctx): Likewise.
53785 (libc_feholdsetround_387_ctx): Likewise.
53786 (libc_feholdsetround_387_53bit_ctx): Likewise.
53787 (libc_feholdsetround_sse_ctx): Likewise.
53788 (libc_feresetround_sse_ctx): Likewise.
53789 (libc_feresetround_387_ctx): Likewise.
53790 (libc_feupdateenv_387_ctx): Likewise.
53791 (libc_feholdexcept_setroundf_ctx): Define macro.
53792 (libc_fesetenvf_ctx): Likewise.
53793 (libc_feupdateenvf_ctx): Likewise.
53794 (libc_feholdsetroundf_ctx): Likewise.
53795 (libc_feresetroundf_ctx): Likewise.
53796 (libc_feholdexcept_setround_ctx): Likewise.
53797 (libc_fesetenv_ctx): Likewise.
53798 (libc_feupdateenv_ctx): Likewise.
53799 (libc_feholdsetround_ctx): Likewise.
53800 (libc_feresetround_ctx): Likewise.
53801 (libc_feholdexcept_setroundl_ctx): Likewise.
53802 (libc_feupdateenvl_ctx): Likewise.
53803 (libc_feholdsetroundl_ctx): Likewise.
53804 (libc_feresetroundl_ctx): Likewise.
53805 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
53806 (libc_feresetround_53bit_ctx): Likewise.
53807
53808 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
53809
53810 * locale/iso-639.def: Convert to UTF-8.
53811
53812 2013-06-11 Joseph Myers <joseph@codesourcery.com>
53813
53814 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
53815 (EXCEPTION_TESTS_double): Likewise.
53816 (EXCEPTION_TESTS_long_double): Likewise.
53817 (EXCEPTION_TESTS): Likewise.
53818 * math/libm-test.inc (test_exceptions): Only test exceptions if
53819 EXCEPTION_TESTS (FLOAT).
53820
53821 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
53822
53823 * benchtests/Makefile (string-bench): Add strcpy_chk and
53824 stpcpy_chk.
53825 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
53826 * benchtests/bench-stpcpy_chk.c: New file.
53827 * benchtests/bench-strcpy_chk-ifunc.c: New file.
53828 * benchtests/bench-strcpy_chk.c: New file.
53829 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
53830 code.
53831 (do_test): Likewise.
53832
53833 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
53834
53835 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
53836 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
53837 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
53838 with tabs where appropriate.
53839 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
53840 dl-procinfo.h.
53841 [PPC_PLATFORM_PPC440]: Likewise.
53842 [PPC_PLATFORM_PPC464]: Likewise.
53843 [PPC_PLATFORM_PPC476]: Likewise.
53844 (_dl_string_platform): Add support for detecting ppc405, ppc440,
53845 ppc464, and ppc476 platform strings merging from ports/
53846 dl-procinfo.h.
53847
53848 2013-06-11 Andreas Schwab <schwab@suse.de>
53849
53850 [BZ #14991]
53851 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
53852 (from_ucs4_idx): Regenerate.
53853 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
53854 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
53855 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
53856 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
53857 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
53858 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
53859 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
53860 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
53861 from FROM_LOOP and TO_LOOP specific macros.
53862 (BODY): Handle combining characters.
53863 * iconvdata/BIG5HKSCS.irreversible: Update.
53864 * iconvdata/BIG5HKSCS.precomposed: New file.
53865 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
53866 characters.
53867 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
53868
53869 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
53870
53871 * include/sys/time.h: Fix indentation and add copyright header.
53872
53873 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
53874 (do_test): Likewise.
53875 * string/test-memchr.c (do_one_test): Likewise.
53876 (do_test): Likewise.
53877 * string/test-memcmp.c (do_one_test): Likewise.
53878 (do_test): Likewise.
53879 * string/test-memcpy.c (do_one_test): Likewise.
53880 (do_test): Likewise.
53881 * string/test-memmem.c (do_one_test): Likewise.
53882 (do_test): Likewise.
53883 (do_random_tests): Likewise.
53884 * string/test-memmove.c (do_one_test): Likewise.
53885 (do_test): Likewise.
53886 * string/test-memset.c (do_one_test): Likewise.
53887 (do_test): Likewise.
53888 * string/test-rawmemchr.c (do_one_test): Likewise.
53889 (do_test): Likewise.
53890 * string/test-strcasecmp.c (do_one_test): Likewise.
53891 (do_test): Likewise.
53892 * string/test-strcasestr.c (do_one_test): Likewise.
53893 (do_test): Likewise.
53894 * string/test-strcat.c (do_one_test): Likewise.
53895 (do_test): Likewise.
53896 * string/test-strchr.c (do_one_test): Likewise.
53897 (do_test): Likewise.
53898 * string/test-strcmp.c (do_one_test): Likewise.
53899 (do_test): Likewise.
53900 * string/test-strcpy.c (do_one_test): Likewise.
53901 (do_test): Likewise.
53902 * string/test-string.h: Likewise.
53903 (test_init): Likewise.
53904 * string/test-strlen.c (do_one_test): Likewise.
53905 (do_test): Likewise.
53906 * string/test-strncasecmp.c (do_one_test): Likewise.
53907 (do_test): Likewise.
53908 * string/test-strncat.c (do_one_test): Likewise.
53909 (do_test): Likewise.
53910 * string/test-strncmp.c (do_one_test): Likewise.
53911 (do_test_limit): Likewise.
53912 (do_test): Likewise.
53913 * string/test-strncpy.c (do_one_test): Likewise.
53914 (do_test): Likewise.
53915 * string/test-strnlen.c (do_one_test): Likewise.
53916 (do_test): Likewise.
53917 * string/test-strpbrk.c (do_one_test): Likewise.
53918 (do_test): Likewise.
53919 * string/test-strrchr.c (do_one_test): Likewise.
53920 (do_test): Likewise.
53921 * string/test-strspn.c (do_one_test): Likewise.
53922 (do_test): Likewise.
53923 * string/test-strstr.c (do_one_test): Likewise.
53924 (do_test): Likewise.
53925
53926 * benchtests/Makefile (string-bench): Add string benchmarks.
53927 * benchtests/bench-bcopy-ifunc.c: New file.
53928 * benchtests/bench-bcopy.c: New file.
53929 * benchtests/bench-bzero-ifunc.c: New file.
53930 * benchtests/bench-bzero.c: New file.
53931 * benchtests/bench-memccpy-ifunc.c: New file.
53932 * benchtests/bench-memccpy.c: New file.
53933 * benchtests/bench-memchr-ifunc.c: New file.
53934 * benchtests/bench-memchr.c: New file.
53935 * benchtests/bench-memcmp-ifunc.c: New file.
53936 * benchtests/bench-memcmp.c: New file.
53937 * benchtests/bench-memmem-ifunc.c: New file.
53938 * benchtests/bench-memmem.c: New file.
53939 * benchtests/bench-memmove-ifunc.c: New file.
53940 * benchtests/bench-memmove.c: New file.
53941 * benchtests/bench-mempcpy-ifunc.c: New file.
53942 * benchtests/bench-mempcpy.c: New file.
53943 * benchtests/bench-memset-ifunc.c: New file.
53944 * benchtests/bench-memset.c: New file.
53945 * benchtests/bench-rawmemchr-ifunc.c: New file.
53946 * benchtests/bench-rawmemchr.c: New file.
53947 * benchtests/bench-stpcpy-ifunc.c: New file.
53948 * benchtests/bench-stpcpy.c: New file.
53949 * benchtests/bench-stpncpy-ifunc.c: New file.
53950 * benchtests/bench-stpncpy.c: New file.
53951 * benchtests/bench-strcasecmp-ifunc.c: New file.
53952 * benchtests/bench-strcasecmp.c: New file.
53953 * benchtests/bench-strcasestr-ifunc.c: New file.
53954 * benchtests/bench-strcasestr.c: New file.
53955 * benchtests/bench-strcat-ifunc.c: New file.
53956 * benchtests/bench-strcat.c: New file.
53957 * benchtests/bench-strchr-ifunc.c: New file.
53958 * benchtests/bench-strchr.c: New file.
53959 * benchtests/bench-strchrnul-ifunc.c: New file.
53960 * benchtests/bench-strchrnul.c: New file.
53961 * benchtests/bench-strcmp-ifunc.c: New file.
53962 * benchtests/bench-strcmp.c: New file.
53963 * benchtests/bench-strcpy-ifunc.c: New file.
53964 * benchtests/bench-strcpy.c: New file.
53965 * benchtests/bench-strcspn-ifunc.c: New file.
53966 * benchtests/bench-strcspn.c: New file.
53967 * benchtests/bench-strlen-ifunc.c: New file.
53968 * benchtests/bench-strlen.c: New file.
53969 * benchtests/bench-strncasecmp-ifunc.c: New file.
53970 * benchtests/bench-strncasecmp.c: New file.
53971 * benchtests/bench-strncat-ifunc.c: New file.
53972 * benchtests/bench-strncat.c: New file.
53973 * benchtests/bench-strncmp-ifunc.c: New file.
53974 * benchtests/bench-strncmp.c: New file.
53975 * benchtests/bench-strncpy-ifunc.c: New file.
53976 * benchtests/bench-strncpy.c: New file.
53977 * benchtests/bench-strnlen-ifunc.c: New file.
53978 * benchtests/bench-strnlen.c: New file.
53979 * benchtests/bench-strpbrk-ifunc.c: New file.
53980 * benchtests/bench-strpbrk.c: New file.
53981 * benchtests/bench-strrchr-ifunc.c: New file.
53982 * benchtests/bench-strrchr.c: New file.
53983 * benchtests/bench-strspn-ifunc.c: New file.
53984 * benchtests/bench-strspn.c: New file.
53985 * benchtests/bench-strstr-ifunc.c: New file.
53986 * benchtests/bench-strstr.c: New file.
53987
53988 * benchtests/Makefile: Disable parallel execution of targets.
53989 (string-bench): Add memcpy.
53990 (benchset): New variable to store a list of benchmark sets.
53991 (bench-func): Renamed from bench.
53992 (bench-set): New target.
53993 (bench): Depend on bench-func and bench-set.
53994 * benchtests/README: Add section on benchmark sets.
53995 * benchtests/bench-memcpy-ifunc.c: New file.
53996 * benchtests/bench-memcpy.c: New file.
53997 * benchtests/bench-string.h: New file.
53998
53999 2013-06-11 Andreas Schwab <schwab@suse.de>
54000
54001 [BZ #15577]
54002 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
54003 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
54004 values in the triple.
54005 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
54006 terminator in the group key.
54007
54008 2013-06-11 Andreas Jaeger <aj@suse.de>
54009
54010 * po/zh_TW.po: Update Chinese (traditional) translation from
54011 translation project.
54012
54013 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
54014
54015 * include/time.h (__clock_gettime): Add libc_hidden_proto.
54016 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
54017 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
54018 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
54019 (clock_getcpuclockid): Likewise.
54020 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
54021 Add weak_alias and libc_hidden_def.
54022 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
54023 * rt/clock_gettime.c (clock_gettime): Rename to
54024 __clock_gettime. Add weak_alias and libc_hidden_def.
54025 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
54026 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
54027 __clock_nanosleep. Add weak_alias and libc_hidden_def.
54028 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
54029 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
54030 Likewise.
54031 * rt/clock_settime.c (clock_settime): Rename to
54032 __clock_settime. Add weak_alias and libc_hidden_def.
54033 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
54034
54035 2013-06-10 Joseph Myers <joseph@codesourcery.com>
54036
54037 * mach/err_boot.sub: Remove trailing whitespace.
54038 * mach/err_ipc.sub: Likewise.
54039 * mach/err_mach.sub: Likewise.
54040
54041 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
54042 (ROUNDING_TESTS_double): Likewise.
54043 (ROUNDING_TESTS_long_double): Likewise.
54044 (ROUNDING_TESTS): Likewise.
54045 * math/libm-test.inc: Include <math-tests.h>.
54046 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
54047 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
54048 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
54049 (IF_ROUND_INIT_FE_UPWARD): Likewise.
54050
54051 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
54052
54053 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
54054 of assigning.
54055
54056 2013-06-08 Joseph Myers <joseph@codesourcery.com>
54057
54058 * sysdeps/gnu/errlist.awk: Do not generate space at end of
54059 otherwise empty TRANS lines.
54060 * sysdeps/gnu/errlist.c: Regenerated.
54061
54062 * catgets/gencat.c (error_print): Use (void) in function
54063 definition.
54064 * crypt/crypt_util.c (__init_des): Likewise.
54065 * crypt/speeds.c (Stop): Likewise.
54066 (main): Likewise.
54067 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
54068 * inet/ruserpass.c (token): Likewise.
54069 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
54070 * intl/localealias.c (extend_alias_table): Likewise.
54071 * intl/plural-exp.c (init_germanic_plural): Likewise.
54072 * libio/fcloseall.c (__fcloseall): Likewise.
54073 * libio/genops.c (_IO_flush_all): Likewise.
54074 (_IO_flush_all_linebuffered): Likewise.
54075 (_IO_cleanup): Likewise.
54076 (_IO_iter_begin): Likewise.
54077 (_IO_iter_end): Likewise.
54078 (_IO_list_lock): Likewise.
54079 (_IO_list_unlock): Likewise.
54080 (_IO_list_resetlock): Likewise.
54081 * libio/getchar.c (getchar): Likewise.
54082 * libio/getchar_u.c (getchar_unlocked): Likewise.
54083 * libio/getwchar.c (getwchar): Likewise.
54084 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
54085 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
54086 * login/getpt.c (__getpt): Likewise.
54087 * login/tst-utmp.c (main): Likewise.
54088 * malloc/hooks.c (__malloc_check_init): Likewise.
54089 * malloc/malloc.c (__malloc_stats): Likewise.
54090 * malloc/mtrace.c (tr_break): Likewise.
54091 (mtrace): Likewise.
54092 (muntrace): Likewise.
54093 * misc/fstab.c (endfsent): Likewise.
54094 * misc/getclktck.c (__getclktck): Likewise.
54095 * misc/getdtsz.c (__getdtablesize): Likewise.
54096 * misc/gethostid.c (gethostid): Likewise.
54097 * misc/getpagesize.c (__getpagesize): Likewise.
54098 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
54099 (__get_nprocs): Likewise.
54100 (__get_phys_pages): Likewise.
54101 (__get_avphys_pages): Likewise.
54102 * misc/getttyent.c (getttyent): Likewise.
54103 (setttyent): Likewise.
54104 (endttyent): Likewise.
54105 * misc/getusershell.c (getusershell): Likewise.
54106 (endusershell): Likewise.
54107 (setusershell): Likewise.
54108 (initshells): Likewise.
54109 * misc/hsearch.c (__hdestroy): Likewise.
54110 * misc/sync.c (sync): Likewise.
54111 * misc/syslog.c (closelog_internal): Likewise.
54112 (closelog): Likewise.
54113 * misc/ttyslot.c (ttyslot): Likewise.
54114 * misc/vhangup.c (vhangup): Likewise.
54115 * posix/fork.c (__fork): Likewise.
54116 * posix/getegid.c (__getegid): Likewise.
54117 * posix/geteuid.c (__geteuid): Likewise.
54118 * posix/getgid.c (__getgid): Likewise.
54119 * posix/getpid.c (__getpid): Likewise.
54120 * posix/getppid.c (__getppid): Likewise.
54121 * posix/getuid.c (__getuid): Likewise.
54122 * posix/pause.c (pause): Likewise.
54123 * posix/setpgrp.c (setpgrp): Likewise.
54124 * posix/setsid.c (__setsid): Likewise.
54125 * posix/test-vfork.c (noop): Likewise.
54126 * resolv/gethnamaddr.c (_endhtent): Likewise.
54127 (_gethtent): Likewise.
54128 (ht_endhostent): Likewise.
54129 (gethostent): Likewise.
54130 (dns_service): Likewise.
54131 * stdlib/drand48.c (drand48): Likewise.
54132 * stdlib/lrand48.c (lrand48): Likewise.
54133 * stdlib/mrand48.c (mrand48): Likewise.
54134 * stdlib/rand.c (rand): Likewise.
54135 * stdlib/random.c (__random): Likewise.
54136 * stdlib/setenv.c (clearenv): Likewise.
54137 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
54138 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
54139 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
54140 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
54141 (__get_nprocs): Likewise.
54142 (__get_phys_pages): Likewise.
54143 (__get_avphys_pages): Likewise.
54144 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
54145 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
54146 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
54147 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
54148 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
54149 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
54150 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
54151 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
54152 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
54153 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
54154 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
54155 * sysdeps/mach/hurd/sync.c (sync): Likewise.
54156 * sysdeps/posix/clock.c (clock): Likewise.
54157 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
54158 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
54159 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
54160 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
54161 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
54162 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
54163 (__get_nprocs_conf): Likewise.
54164 (__get_phys_pages): Likewise.
54165 (__get_avphys_pages): Likewise.
54166 * time/clock.c (clock): Likewise.
54167 * time/tzset.c (__tzname_max): Likewise.
54168
54169 2013-06-07 Joseph Myers <joseph@codesourcery.com>
54170
54171 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
54172 (__bswap_32): Do not use "register".
54173 * crypt/crypt.c (_ufc_doit_r): Likewise.
54174 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
54175 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
54176 * gmon/gmon.c (__monstartup): Likewise.
54177 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
54178 * hurd/hurdmalloc.c (more_memory): Likewise.
54179 (malloc): Likewise.
54180 (free): Likewise.
54181 (realloc): Likewise.
54182 (malloc_fork_prepare): Likewise.
54183 (malloc_fork_parent): Likewise.
54184 (malloc_fork_child): Likewise.
54185 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
54186 (_svcauth_des): Likewise.
54187 * inet/inet_lnaof.c (inet_lnaof): Likewise.
54188 * inet/inet_net.c (inet_network): Likewise.
54189 * inet/inet_netof.c (inet_netof): Likewise.
54190 * inet/rcmd.c (__validuser2_sa): Likewise.
54191 * io/fts.c (fts_open): Likewise.
54192 (fts_load): Likewise.
54193 (fts_close): Likewise.
54194 (fts_read): Likewise.
54195 (fts_children): Likewise.
54196 (fts_build): Likewise.
54197 (fts_stat): Likewise.
54198 (fts_sort): Likewise.
54199 (fts_alloc): Likewise.
54200 (fts_lfree): Likewise.
54201 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
54202 (_IO_file_xsgetn): Likewise.
54203 (_IO_file_xsgetn_mmap): Likewise.
54204 * libio/iofopncook.c (_IO_cookie_read): Likewise.
54205 (_IO_cookie_write): Likewise.
54206 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
54207 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
54208 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
54209 * malloc/obstack.c (_obstack_begin): Likewise.
54210 (_obstack_begin_1): Likewise.
54211 (_obstack_newchunk): Likewise.
54212 (_obstack_allocated_p): Likewise.
54213 (obstack_free): Likewise.
54214 (_obstack_memory_used): Likewise.
54215 * misc/getttyent.c (getttynam): Likewise.
54216 (getttyent): Likewise.
54217 (skip): Likewise.
54218 (value): Likewise.
54219 * misc/getusershell.c (initshells): Likewise.
54220 * misc/syslog.c (__vsyslog_chk): Likewise.
54221 * misc/ttyslot.c (ttyslot): Likewise.
54222 * nis/nis_hash.c (__nis_hash): Likewise.
54223 * posix/fnmatch_loop.c (FCT): Likewise.
54224 * posix/getconf.c (print_all): Likewise.
54225 (main): Likewise.
54226 * posix/getopt.c (exchange): Likewise.
54227 * posix/glob.c (globfree): Likewise.
54228 (prefix_array): Likewise.
54229 (__glob_pattern_type): Likewise.
54230 * resolv/arpa/nameser.h (NS_GET16): Likewise.
54231 (NS_GET32): Likewise.
54232 (NS_PUT16): Likewise.
54233 (NS_PUT32): Likewise.
54234 * resolv/gethnamaddr.c (getanswer): Likewise.
54235 (gethostbyname2): Likewise.
54236 (gethostbyaddr): Likewise.
54237 (_gethtent): Likewise.
54238 (_gethtbyname2): Likewise.
54239 (_gethtbyaddr): Likewise.
54240 * resolv/ns_print.c (dst_s_get_int16): Likewise.
54241 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
54242 * resolv/res_init.c (__res_vinit): Likewise.
54243 (net_mask): Likewise.
54244 * resolv/res_mkquery.c (outchar): Likewise.
54245 (PRINT): Likewise.
54246 * stdio-common/printf_fp.c (outchar): Likewise.
54247 (PRINT): Likewise.
54248 * stdio-common/printf_fphex.c (outchar): Likewise.
54249 (PRINT): Likewise.
54250 * stdio-common/printf_size.c (outchar): Likewise.
54251 (PRINT): Likewise.
54252 * stdio-common/test_rdwr.c (main): Likewise.
54253 * stdio-common/tfformat.c (matches): Likewise.
54254 * stdio-common/vfprintf.c (outchar): Likewise.
54255 (printf_unknown): Likewise.
54256 (buffered_vfprintf): Likewise.
54257 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
54258 * stdio-common/xbug.c (AppendToBuffer): Likewise.
54259 (ReadFile): Likewise.
54260 * stdlib/qsort.c (SWAP): Likewise.
54261 (_quicksort): Likewise.
54262 * stdlib/setenv.c (__add_to_environ): Likewise.
54263 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
54264 * stdlib/strtol_l.c (__strtol_l): Likewise.
54265 * stdlib/tst-strtod.c (main): Likewise.
54266 * stdlib/tst-strtol.c (main): Likewise.
54267 * stdlib/tst-strtoll.c (main): Likewise.
54268 * string/bits/string2.h (__strcmp_cc): Likewise.
54269 (__strcmp_cg): Likewise.
54270 (__strcspn_c1): Likewise.
54271 (__strcspn_c2): Likewise.
54272 (__strcspn_c3): Likewise.
54273 (__strspn_c1): Likewise.
54274 (__strspn_c2): Likewise.
54275 (__strspn_c3): Likewise.
54276 (__strsep_1c): Likewise.
54277 (__strsep_2c): Likewise.
54278 (__strsep_3c): Likewise.
54279 * string/memccpy.c (__memccpy): Likewise.
54280 * string/stpcpy.c (__stpcpy): Likewise.
54281 * string/strcmp.c (strcmp): Likewise.
54282 * string/strrchr.c (strrchr): Likewise.
54283 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
54284 Likewise.
54285 * sysdeps/mach/hurd/getcwd.c
54286 (_hurd_canonicalize_directory_name_internal): Likewise.
54287 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
54288 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
54289 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
54290 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
54291 Likewise, in both definitions.
54292 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
54293 definitions.
54294 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
54295 64] (__bswap_64): Likewise.
54296 * time/test_time.c (main): Likewise.
54297 * time/tzfile.c (__tzfile_read): Likewise.
54298 (__tzfile_compute): Likewise.
54299 * time/tzset.c (__tzset_parse_tz): Likewise.
54300 (tzset_internal): Likewise.
54301 (compute_change): Likewise.
54302 * wcsmbs/wcscat.c (__wcscat): Likewise.
54303 * wcsmbs/wcschr.c (wcschr): Likewise.
54304 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
54305 * wcsmbs/wcscspn.c (wcscspn): Likewise.
54306 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
54307 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
54308 * wcsmbs/wcsspn.c (wcsspn): Likewise.
54309 * wcsmbs/wcsstr.c (wcsstr): Likewise.
54310 * wcsmbs/wmemchr.c (wmemchr): Likewise.
54311 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
54312 * wcsmbs/wmemset.c (wmemset): Likewise.
54313
54314 2013-06-06 Joseph Myers <joseph@codesourcery.com>
54315
54316 * scripts/config.guess: Update to version 2013-05-16.
54317 * scripts/config.sub: Update to version 2013-04-24.
54318 * scripts/install-sh: Update to version 2011-11-20.07.
54319 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
54320 * scripts/move-if-change: Update to version 2012-01-06 07:23.
54321
54322 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
54323
54324 * debug/fgetws_u_chk.c: Fix leading whitespaces.
54325 * elf/sln.c: Likewise.
54326 * hurd/hurd/ioctl.h: Likewise.
54327 * hurd/hurdmalloc.c: Likewise.
54328 * hurd/xattr.c: Likewise.
54329 * include/shlib-compat.h: Likewise.
54330 * inet/ruserpass.c: Likewise.
54331 * libio/iofgets_u.c: Likewise.
54332 * libio/iofgetws_u.c: Likewise.
54333 * locale/programs/ld-identification.c: Likewise.
54334 * locale/programs/ld-time.c: Likewise.
54335 * mach/msg-destroy.c: Likewise.
54336 * nss/nss_files/files-netgrp.c: Likewise.
54337 * resolv/res_data.c: Likewise.
54338 * soft-fp/op-1.h: Likewise.
54339 * soft-fp/op-2.h: Likewise.
54340 * soft-fp/op-4.h: Likewise.
54341 * soft-fp/op-common.h: Likewise.
54342 * stdio-common/printf_fphex.c: Likewise.
54343 * stdlib/strtod_l.c: Likewise.
54344 * sunrpc/rpc/clnt.h: Likewise.
54345 * sysdeps/generic/framestate.c: Likewise.
54346 * sysdeps/i386/bsd-_setjmp.S: Likewise.
54347 * sysdeps/i386/bsd-setjmp.S: Likewise.
54348 * sysdeps/i386/__longjmp.S: Likewise.
54349 * sysdeps/i386/setjmp.S: Likewise.
54350 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54351 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
54352 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54353 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
54354 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
54355 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
54356 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
54357 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
54358 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
54359 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
54360 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
54361 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
54362 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
54363 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
54364 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
54365 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
54366 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
54367 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
54368 * sysdeps/ieee754/support.c: Likewise.
54369 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
54370 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
54371 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
54372 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
54373 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
54374 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
54375 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
54376 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
54377 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
54378 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
54379 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
54380 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
54381 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
54382 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
54383 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
54384 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
54385 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
54386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
54387
54388 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
54389
54390 * posix/transbug.c: Remove executable mode.
54391
54392 2013-06-05 Joseph Myers <joseph@codesourcery.com>
54393
54394 * crypt/speeds.c: Remove trailing whitespace.
54395 * dlfcn/default.c: Likewise.
54396 * elf/ifuncdep2.c: Likewise.
54397 * elf/ifuncmain1.c: Likewise.
54398 * elf/ifuncmain1vis.c: Likewise.
54399 * elf/testobj.h: Likewise.
54400 * elf/tst-stackguard1.c: Likewise.
54401 * gmon/sys/gmon.h: Likewise.
54402 * hurd/hurdmsg.c: Likewise.
54403 * hurd/new-fd.c: Likewise.
54404 * hurd/ports-get.c: Likewise.
54405 * iconvdata/ibm1008_420.c: Likewise.
54406 * inet/tst-getni1.c: Likewise.
54407 * inet/tst-getni2.c: Likewise.
54408 * libio/ioungetc.c: Likewise.
54409 * libio/wfiledoalloc.c: Likewise.
54410 * manual/libm-err-tab.pl: Likewise.
54411 * math/w_dremf.c: Likewise.
54412 * misc/ftruncate.c: Likewise.
54413 * posix/bug-glob2.c: Likewise.
54414 * posix/tst-pcre.c: Likewise.
54415 * posix/wait4.c: Likewise.
54416 * resolv/README: Likewise.
54417 * resolv/res_debug.h: Likewise.
54418 * resolv/tst-inet_ntop.c: Likewise.
54419 * setjmp/bug269-setjmp.c: Likewise.
54420 * soft-fp/extended.h: Likewise.
54421 * soft-fp/op-1.h: Likewise.
54422 * soft-fp/op-2.h: Likewise.
54423 * soft-fp/op-4.h: Likewise.
54424 * soft-fp/op-8.h: Likewise.
54425 * soft-fp/testit.c: Likewise.
54426 * stdio-common/bug16.c: Likewise.
54427 * stdlib/random.c: Likewise.
54428 * sunrpc/rpcsvc/rquota.x: Likewise.
54429 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
54430 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
54431 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54432 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
54433 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
54434 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
54435 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
54436 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
54437 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
54438 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
54439 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
54440 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
54441 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
54442 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
54443 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
54444 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
54445 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
54446 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
54447 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
54448 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
54449 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
54450 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
54451 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
54452 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
54453 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
54454 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
54455 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
54456 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
54457 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
54458 * sysdeps/ieee754/s_lib_version.c: Likewise.
54459 * sysdeps/mach/hurd/check_fds.c: Likewise.
54460 * sysdeps/mach/hurd/getsockname.c: Likewise.
54461 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
54462 * sysdeps/mach/hurd/recvfrom.c: Likewise.
54463 * sysdeps/powerpc/bits/link.h: Likewise.
54464 * sysdeps/powerpc/dl-procinfo.c: Likewise.
54465 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
54466 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
54467 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
54468 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
54469 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
54470 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
54471 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
54472 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
54473 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
54474 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
54475 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
54476 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
54477 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
54478 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
54479 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
54480 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
54481 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
54482 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
54483 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
54484 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
54485 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
54486 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
54487 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
54488 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
54489 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
54490 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
54491 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
54492 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
54493 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
54494 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
54495 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
54496 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
54497 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
54498 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
54499 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
54500 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
54501 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
54502 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
54503 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
54504 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
54505 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
54506 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
54507 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
54508 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
54509 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
54510 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
54511 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
54512 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
54513 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
54514 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
54515 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
54516 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
54517 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
54518 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
54519 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
54520 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
54521 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
54522 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
54523 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
54524 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
54525 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
54526 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
54527 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
54528 * sysdeps/powerpc/sysdep.h: Likewise.
54529 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
54530 * sysdeps/s390/s390-64/sub_n.S: Likewise.
54531 * sysdeps/sh/dl-trampoline.S: Likewise.
54532 * sysdeps/sh/memset.S: Likewise.
54533 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
54534 * sysdeps/sh/strlen.S: Likewise.
54535 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
54536 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
54537 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
54538 * sysdeps/sparc/sparc32/rem.S: Likewise.
54539 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
54540 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
54541 * sysdeps/sparc/sparc32/strchr.S: Likewise.
54542 * sysdeps/sparc/sparc32/udiv.S: Likewise.
54543 * sysdeps/sparc/sparc32/urem.S: Likewise.
54544 * sysdeps/sparc/sparc64/add_n.S: Likewise.
54545 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
54546 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
54547 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
54548 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
54549 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
54550 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
54551 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
54552 * sysdeps/unix/bsd/times.c: Likewise.
54553 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
54554 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
54555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
54556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
54557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
54558 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
54559 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
54560 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
54561 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
54562 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
54563 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
54564 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
54565 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
54566 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
54567 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
54568 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
54569 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
54570 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
54571 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
54572 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
54573 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
54574 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
54575 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
54576 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
54577 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
54578 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
54579 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
54580 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
54581 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
54582 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
54583 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
54584 * sysdeps/x86_64/strcspn.S: Likewise.
54585
54586 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
54587
54588 * locale/C-translit.h: Revert #include <stdint.h> because this is a
54589 generated file. Regenerate properly from gen-translit.pl.
54590 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
54591 locale/C-translit.h.
54592
54593 2013-06-05 Andreas Schwab <schwab@suse.de>
54594
54595 [BZ #15100]
54596 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
54597 week as 6 instead of -1.
54598 * time/tst-strptime.c (day_tests): Add test case.
54599
54600 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
54601
54602 * sysdeps/generic/math_private.h
54603 (libc_feholdexcept_setround_53bit): Replace with
54604 libc_feholdsetround_53bit.
54605 (libc_feupdateenv_53bit): Replace with
54606 libc_feresetround_53bit.
54607 (SET_RESTORE_ROUND_53BIT): Adjust.
54608
54609 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
54610
54611 * string/test-strchrnul.c: Add copyright header.
54612
54613 * posix/tst-getaddrinfo4.c: Increase test timeout.
54614
54615 2013-06-03 Carlos O'Donell <carlos@redhat.com>
54616
54617 [BZ #15536]
54618 * math/libm-test.inc (MAX_EXP): Remove
54619 (MIN_EXP): Define.
54620 (ulp): Use MIN_EXP - MANT_DIG.
54621 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
54622
54623 2013-05-31 Carlos O'Donell <carlos@redhat.com>
54624
54625 * po/be.po: Revert last change.
54626 * po/zh_CN.po: Likewise.
54627 * po/header.pot: Likewise.
54628
54629 2013-05-31 Joseph Myers <joseph@codesourcery.com>
54630
54631 * Makefile ($(common-objpfx)linkobj/libc.so): Define
54632 link-libc-deps to empty as target-specific variable.
54633 * Makerules (link-libc-args): New variable.
54634 (libc-for-link): Likewise.
54635 (link-libc-deps): Likewise.
54636 (lib%.so): Depend on $(link-libc-deps). Link with
54637 $(link-libc-args).
54638 (build-module): Link with $(link-libc-args).
54639 (build-module-asneeded): Likewise.
54640 (build-module-helper-objlist): Filter out $(link-libc-deps) from
54641 list of objects.
54642 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
54643 target-specific variable.
54644 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
54645 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
54646 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
54647 libc.
54648 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
54649 libc and ld.so.
54650 ($(objpfx)libpcprofile.so): Likewise.
54651 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
54652 libc_nonshared.a.
54653 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
54654 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
54655 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
54656 $(link-libc-deps).
54657 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
54658 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
54659 * login/Makefile ($(objpfx)libutil.so): Likewise.
54660 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
54661 * math/Makefile ($(objpfx)libm.so): Likewise.
54662 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
54663 $(objpfx)libnsl.so): Define libc-for-link as target-specific
54664 variable instead of depending directly on libc.
54665 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
54666 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
54667 $(link-libc-deps).
54668 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
54669 libc.
54670 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
54671 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
54672 ($(objpfx)libanl.so): Likewise.
54673 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
54674 ld.so.
54675 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
54676 $(link-libc-deps).
54677 * sysdeps/i386/fpu/Makefile: Remove file.
54678 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
54679 ($(objpfx)libm.so): Remove dependency on ld.so.
54680
54681 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
54682
54683 [BZ # 15553]
54684 * nis/yp_xdr.c (XDRMAXNAME): Define.
54685 (XDRMAXRECORD): Define.
54686 (xdr_domainname): Use XDRMAXNAME.
54687 (xdr_mapname): Likewise.
54688 (xdr_peername): Likewise.
54689 (xdr_keydat): Use XDRMAXRECORD.
54690 (xdr_valdat): Likewise.
54691
54692 2013-05-30 Jeff Law <law@redhat.com>
54693
54694 [BZ #14256]
54695 * manual/errno.texi (ESTALE): Update to account for more than
54696 just NFS file systems.
54697 * sysdeps/gnu/errlist.c: Regenerated.
54698
54699 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
54700
54701 [BZ #15465]
54702 * elf/Makefile (tests): Add tst-null-argv.
54703 (modules-names): Add tst-null-argv-lib.
54704 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
54705 (tst-null-argv-ENV): Set environment for tst-null-argv.
54706 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
54707 (RTLD_PROGNAME): New macro.
54708 * elf/tst-null-argv.c: New test case.
54709 * elf/tst-null-argv-lib.c: Library for test case.
54710 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
54711 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
54712 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
54713 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
54714 * elf/dl-init.c (call_init): Likewise.
54715 (_dl_init): Likewise.
54716 * elf/dl-load.c (print_search_path): Likewise.
54717 (_dl_map_object): Likewise.
54718 * elf/dl-lookup.c (do_lookup_x): Likewise.
54719 (add_dependency): Likewise.
54720 (_dl_lookup_symbol_x): Likewise.
54721 (_dl_debug_bindings): Likewise.
54722 * elf/dl-open.c (_dl_show_scope): Likewise.
54723 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
54724 * elf/dl-version.c (match_symbol): Likewise.
54725 (_dl_check_map_versions): Likewise.
54726 * elf/rtld.c (dl_main): Likewise.
54727 (print_unresolved): Use RTLD_PROGNAME.
54728 (print_missing_version): Likewise.
54729 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
54730 (elf_machine_rela): Likewise.
54731 * sysdeps/powerpc/powerpc32/dl-machine.c
54732 (__process_machine_rela): Likewise.
54733 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
54734 Likewise.
54735 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
54736 Likewise.
54737 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
54738 Likewise.
54739 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
54740 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
54741 Likewise.
54742 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
54743 Likewise.
54744 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
54745
54746 2013-05-28 Carlos O'Donell <carlos@redhat.com>
54747
54748 * po/be.po: Add descriptive title.
54749 * po/zh_CN.po: Likewise.
54750 * po/header.pot: Likewise.
54751
54752 2013-05-28 Mike Frysinger <vapier@gentoo.org>
54753
54754 * locale/programs/locarchive.c (create_archive): Inlucde fname in
54755 error message.
54756 (enlarge_archive): Likewise.
54757
54758 2013-05-28 Ben North <ben@redfrontdoor.org>
54759
54760 * manual/arith.texi (frexp): It is the magnitude of the return
54761 value which lies in [0.5, 1), not the return value itself.
54762
54763 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54764
54765 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54766
54767 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
54768
54769 * stdio-common/bug26.c (main): Correct fscanf template.
54770
54771 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
54772 declare _dl_skip_args.
54773
54774 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
54775 Don't declare.
54776
54777 * manual/platform.texi: Add missing @end deftypefun.
54778
54779 2013-05-24 Joseph Myers <joseph@codesourcery.com>
54780
54781 [BZ #15529]
54782 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
54783 bit of mantissa of 2^16382.
54784 * math/libm-test.inc (hypot_test_data): Add more tests.
54785
54786 * math/libm-test.inc: Add drem and pow10 to list of tested
54787 functions.
54788 (pow10_test): New function.
54789 (drem_test): Likewise.
54790 (drem_test_tonearest): Likewise.
54791 (drem_test_towardzero): Likewise.
54792 (drem_test_downward): Likewise.
54793 (drem_test_upward): Likewise.
54794 (main): Call the new functions.
54795
54796 * math/libm-test.inc (finite_test_data): Remove.
54797 (finite_test): Run tests from isfinite_test_data.
54798 (gamma_test_data): Remove.
54799 (gamma_test): Run tests from lgamma_test_data.
54800 * sysdeps/i386/fpu/libm-test-ulps: Update.
54801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54802
54803 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54804
54805 * manual/platform.texi: Add PowerPC PPR function set documentation.
54806 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
54807 implementation.
54808
54809 2013-05-24 Carlos O'Donell <carlos@redhat.com>
54810
54811 * math/libm-test.inc (MAX_EXP): Define.
54812 (ULPDIFF): Define.
54813 (ulp): New function.
54814 (check_float_internal): Use ULPDIFF.
54815 (cpow_test): Disable failing test.
54816 (check_ulp): Test ulp() implementation.
54817 (main): Call check_ulp before starting tests.
54818
54819 2013-05-24 Joseph Myers <joseph@codesourcery.com>
54820
54821 * math/gen-libm-test.pl (generate_testfile): Do not handle
54822 START_DATA and END_DATA.
54823 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
54824 END_DATA.
54825 (acos_tonearest_test_data): Likewise.
54826 (acos_towardzero_test_data): Likewise.
54827 (acos_downward_test_data): Likewise.
54828 (acos_upward_test_data): Likewise.
54829 (acosh_test_data): Likewise.
54830 (asin_test_data): Likewise.
54831 (asin_tonearest_test_data): Likewise.
54832 (asin_towardzero_test_data): Likewise.
54833 (asin_downward_test_data): Likewise.
54834 (asin_upward_test_data): Likewise.
54835 (asinh_test_data): Likewise.
54836 (atan_test_data): Likewise.
54837 (atanh_test_data): Likewise.
54838 (atan2_test_data): Likewise.
54839 (cabs_test_data): Likewise.
54840 (cacos_test_data): Likewise.
54841 (cacosh_test_data): Likewise.
54842 (carg_test_data): Likewise.
54843 (casin_test_data): Likewise.
54844 (casinh_test_data): Likewise.
54845 (catan_test_data): Likewise.
54846 (catanh_test_data): Likewise.
54847 (cbrt_test_data): Likewise.
54848 (ccos_test_data): Likewise.
54849 (ccosh_test_data): Likewise.
54850 (ceil_test_data): Likewise.
54851 (cexp_test_data): Likewise.
54852 (cimag_test_data): Likewise.
54853 (clog_test_data): Likewise.
54854 (clog10_test_data): Likewise.
54855 (conj_test_data): Likewise.
54856 (copysign_test_data): Likewise.
54857 (cos_test_data): Likewise.
54858 (cos_tonearest_test_data): Likewise.
54859 (cos_towardzero_test_data): Likewise.
54860 (cos_downward_test_data): Likewise.
54861 (cos_upward_test_data): Likewise.
54862 (cosh_test_data): Likewise.
54863 (cosh_tonearest_test_data): Likewise.
54864 (cosh_towardzero_test_data): Likewise.
54865 (cosh_downward_test_data): Likewise.
54866 (cosh_upward_test_data): Likewise.
54867 (cpow_test_data): Likewise.
54868 (cproj_test_data): Likewise.
54869 (creal_test_data): Likewise.
54870 (csin_test_data): Likewise.
54871 (csinh_test_data): Likewise.
54872 (csqrt_test_data): Likewise.
54873 (ctan_test_data): Likewise.
54874 (ctan_tonearest_test_data): Likewise.
54875 (ctan_towardzero_test_data): Likewise.
54876 (ctan_downward_test_data): Likewise.
54877 (ctan_upward_test_data): Likewise.
54878 (ctanh_test_data): Likewise.
54879 (ctanh_tonearest_test_data): Likewise.
54880 (ctanh_towardzero_test_data): Likewise.
54881 (ctanh_downward_test_data): Likewise.
54882 (ctanh_upward_test_data): Likewise.
54883 (erf_test_data): Likewise.
54884 (erfc_test_data): Likewise.
54885 (exp_test_data): Likewise.
54886 (exp_tonearest_test_data): Likewise.
54887 (exp_towardzero_test_data): Likewise.
54888 (exp_downward_test_data): Likewise.
54889 (exp_upward_test_data): Likewise.
54890 (exp10_test_data): Likewise.
54891 (exp2_test_data): Likewise.
54892 (expm1_test_data): Likewise.
54893 (fabs_test_data): Likewise.
54894 (fdim_test_data): Likewise.
54895 (finite_test_data): Likewise.
54896 (floor_test_data): Likewise.
54897 (fma_test_data): Likewise.
54898 (fma_towardzero_test_data): Likewise.
54899 (fma_downward_test_data): Likewise.
54900 (fma_upward_test_data): Likewise.
54901 (fmax_test_data): Likewise.
54902 (fmin_test_data): Likewise.
54903 (fmod_test_data): Likewise.
54904 (fpclassify_test_data): Likewise.
54905 (frexp_test_data): Likewise.
54906 (gamma_test_data): Likewise.
54907 (hypot_test_data): Likewise.
54908 (ilogb_test_data): Likewise.
54909 (isfinite_test_data): Likewise.
54910 (isgreater_test_data): Likewise.
54911 (isgreaterequal_test_data): Likewise.
54912 (isinf_test_data): Likewise.
54913 (isless_test_data): Likewise.
54914 (islessequal_test_data): Likewise.
54915 (islessgreater_test_data): Likewise.
54916 (isnan_test_data): Likewise.
54917 (isnormal_test_data): Likewise.
54918 (issignaling_test_data): Likewise.
54919 (isunordered_test_data): Likewise.
54920 (j0_test_data): Likewise.
54921 (j1_test_data): Likewise.
54922 (jn_test_data): Likewise.
54923 (ldexp_test_data): Likewise.
54924 (lgamma_test_data): Likewise.
54925 (lrint_test_data): Likewise.
54926 (lrint_tonearest_test_data): Likewise.
54927 (lrint_towardzero_test_data): Likewise.
54928 (lrint_downward_test_data): Likewise.
54929 (lrint_upward_test_data): Likewise.
54930 (llrint_test_data): Likewise.
54931 (llrint_tonearest_test_data): Likewise.
54932 (llrint_towardzero_test_data): Likewise.
54933 (llrint_downward_test_data): Likewise.
54934 (llrint_upward_test_data): Likewise.
54935 (log_test_data): Likewise.
54936 (log10_test_data): Likewise.
54937 (log1p_test_data): Likewise.
54938 (log2_test_data): Likewise.
54939 (logb_test_data): Likewise.
54940 (logb_downward_test_data): Likewise.
54941 (lround_test_data): Likewise.
54942 (llround_test_data): Likewise.
54943 (modf_test_data): Likewise.
54944 (nearbyint_test_data): Likewise.
54945 (nextafter_test_data): Likewise.
54946 (nexttoward_test_data): Likewise.
54947 (pow_test_data): Likewise.
54948 (pow_tonearest_test_data): Likewise.
54949 (pow_towardzero_test_data): Likewise.
54950 (pow_downward_test_data): Likewise.
54951 (pow_upward_test_data): Likewise.
54952 (remainder_test_data): Likewise.
54953 (remainder_tonearest_test_data): Likewise.
54954 (remainder_towardzero_test_data): Likewise.
54955 (remainder_downward_test_data): Likewise.
54956 (remainder_upward_test_data): Likewise.
54957 (remquo_test_data): Likewise.
54958 (rint_test_data): Likewise.
54959 (rint_tonearest_test_data): Likewise.
54960 (rint_towardzero_test_data): Likewise.
54961 (rint_downward_test_data): Likewise.
54962 (rint_upward_test_data): Likewise.
54963 (round_test_data): Likewise.
54964 (scalb_test_data): Likewise.
54965 (scalbn_test_data): Likewise.
54966 (scalbln_test_data): Likewise.
54967 (signbit_test_data): Likewise.
54968 (sin_test_data): Likewise.
54969 (sin_tonearest_test_data): Likewise.
54970 (sin_towardzero_test_data): Likewise.
54971 (sin_downward_test_data): Likewise.
54972 (sin_upward_test_data): Likewise.
54973 (sincos_test_data): Likewise.
54974 (sinh_test_data): Likewise.
54975 (sinh_tonearest_test_data): Likewise.
54976 (sinh_towardzero_test_data): Likewise.
54977 (sinh_downward_test_data): Likewise.
54978 (sinh_upward_test_data): Likewise.
54979 (sqrt_test_data): Likewise.
54980 (tan_test_data): Likewise.
54981 (tan_tonearest_test_data): Likewise.
54982 (tan_towardzero_test_data): Likewise.
54983 (tan_downward_test_data): Likewise.
54984 (tan_upward_test_data): Likewise.
54985 (tanh_test_data): Likewise.
54986 (tgamma_test_data): Likewise.
54987 (trunc_test_data): Likewise.
54988 (y0_test_data): Likewise.
54989 (y1_test_data): Likewise.
54990 (yn_test_data): Likewise.
54991 (significand_test_data): Likewise.
54992
54993 * math/gen-libm-test.pl (@functions): Remove variable.
54994 (generate_testfile): Don't handle START and END lines.
54995 * math/libm-test.inc (START): New macro.
54996 (END): Likewise.
54997 (END_COMPLEX): Likewise.
54998 (acos_test): Use END macro without arguments.
54999 (acos_test_tonearest): Likewise.
55000 (acos_test_towardzero): Likewise.
55001 (acos_test_downward): Likewise.
55002 (acos_test_upward): Likewise.
55003 (acosh_test): Likewise.
55004 (asin_test): Likewise.
55005 (asin_test_tonearest): Likewise.
55006 (asin_test_towardzero): Likewise.
55007 (asin_test_downward): Likewise.
55008 (asin_test_upward): Likewise.
55009 (asinh_test): Likewise.
55010 (atan_test): Likewise.
55011 (atanh_test): Likewise.
55012 (atan2_test): Likewise.
55013 (cabs_test): Likewise.
55014 (cacos_test): Use END_COMPLEX macro without arguments.
55015 (cacosh_test): Likewise.
55016 (carg_test): Use END macro without arguments.
55017 (casin_test): Use END_COMPLEX macro without arguments.
55018 (casinh_test): Likewise.
55019 (catan_test): Likewise.
55020 (catanh_test): Likewise.
55021 (cbrt_test): Use END macro without arguments.
55022 (ccos_test): Use END_COMPLEX macro without arguments.
55023 (ccosh_test): Likewise.
55024 (ceil_test): Use END macro without arguments.
55025 (cexp_test): Use END_COMPLEX macro without arguments.
55026 (cimag_test): Use END macro without arguments.
55027 (clog_test): Use END_COMPLEX macro without arguments.
55028 (clog10_test): Likewise.
55029 (conj_test): Likewise.
55030 (copysign_test): Use END macro without arguments.
55031 (cos_test): Likewise.
55032 (cos_test_tonearest): Likewise.
55033 (cos_test_towardzero): Likewise.
55034 (cos_test_downward): Likewise.
55035 (cos_test_upward): Likewise.
55036 (cosh_test): Likewise.
55037 (cosh_test_tonearest): Likewise.
55038 (cosh_test_towardzero): Likewise.
55039 (cosh_test_downward): Likewise.
55040 (cosh_test_upward): Likewise.
55041 (cpow_test): Use END_COMPLEX macro without arguments.
55042 (cproj_test): Likewise.
55043 (creal_test): Use END macro without arguments.
55044 (csin_test): Use END_COMPLEX macro without arguments.
55045 (csinh_test): Likewise.
55046 (csqrt_test): Likewise.
55047 (ctan_test): Likewise.
55048 (ctan_test_tonearest): Likewise.
55049 (ctan_test_towardzero): Likewise.
55050 (ctan_test_downward): Likewise.
55051 (ctan_test_upward): Likewise.
55052 (ctanh_test): Likewise.
55053 (ctanh_test_tonearest): Likewise.
55054 (ctanh_test_towardzero): Likewise.
55055 (ctanh_test_downward): Likewise.
55056 (ctanh_test_upward): Likewise.
55057 (erf_test): Use END macro without arguments.
55058 (erfc_test): Likewise.
55059 (exp_test): Likewise.
55060 (exp_test_tonearest): Likewise.
55061 (exp_test_towardzero): Likewise.
55062 (exp_test_downward): Likewise.
55063 (exp_test_upward): Likewise.
55064 (exp10_test): Likewise.
55065 (exp2_test): Likewise.
55066 (expm1_test): Likewise.
55067 (fabs_test): Likewise.
55068 (fdim_test): Likewise.
55069 (finite_test): Likewise.
55070 (floor_test): Likewise.
55071 (fma_test): Likewise.
55072 (fma_test_towardzero): Likewise.
55073 (fma_test_downward): Likewise.
55074 (fma_test_upward): Likewise.
55075 (fmax_test): Likewise.
55076 (fmin_test): Likewise.
55077 (fmod_test): Likewise.
55078 (fpclassify_test): Likewise.
55079 (frexp_test): Likewise.
55080 (gamma_test): Likewise.
55081 (hypot_test): Likewise.
55082 (ilogb_test): Likewise.
55083 (isfinite_test): Likewise.
55084 (isgreater_test): Likewise.
55085 (isgreaterequal_test): Likewise.
55086 (isinf_test): Likewise.
55087 (isless_test): Likewise.
55088 (islessequal_test): Likewise.
55089 (islessgreater_test): Likewise.
55090 (isnan_test): Likewise.
55091 (isnormal_test): Likewise.
55092 (issignaling_test): Likewise.
55093 (isunordered_test): Likewise.
55094 (j0_test): Likewise.
55095 (j1_test): Likewise.
55096 (jn_test): Likewise.
55097 (ldexp_test): Likewise.
55098 (lgamma_test): Likewise.
55099 (lrint_test): Likewise.
55100 (lrint_test_tonearest): Likewise.
55101 (lrint_test_towardzero): Likewise.
55102 (lrint_test_downward): Likewise.
55103 (lrint_test_upward): Likewise.
55104 (llrint_test): Likewise.
55105 (llrint_test_tonearest): Likewise.
55106 (llrint_test_towardzero): Likewise.
55107 (llrint_test_downward): Likewise.
55108 (llrint_test_upward): Likewise.
55109 (log_test): Likewise.
55110 (log10_test): Likewise.
55111 (log1p_test): Likewise.
55112 (log2_test): Likewise.
55113 (logb_test): Likewise.
55114 (logb_test_downward): Likewise.
55115 (lround_test): Likewise.
55116 (llround_test): Likewise.
55117 (modf_test): Likewise.
55118 (nearbyint_test): Likewise.
55119 (nextafter_test): Likewise.
55120 (nexttoward_test): Likewise.
55121 (pow_test): Likewise.
55122 (pow_test_tonearest): Likewise.
55123 (pow_test_towardzero): Likewise.
55124 (pow_test_downward): Likewise.
55125 (pow_test_upward): Likewise.
55126 (remainder_test): Likewise.
55127 (remainder_test_tonearest): Likewise.
55128 (remainder_test_towardzero): Likewise.
55129 (remainder_test_downward): Likewise.
55130 (remainder_test_upward): Likewise.
55131 (remquo_test): Likewise.
55132 (rint_test): Likewise.
55133 (rint_test_tonearest): Likewise.
55134 (rint_test_towardzero): Likewise.
55135 (rint_test_downward): Likewise.
55136 (rint_test_upward): Likewise.
55137 (round_test): Likewise.
55138 (scalb_test): Likewise.
55139 (scalbn_test): Likewise.
55140 (scalbln_test): Likewise.
55141 (signbit_test): Likewise.
55142 (sin_test): Likewise.
55143 (sin_test_tonearest): Likewise.
55144 (sin_test_towardzero): Likewise.
55145 (sin_test_downward): Likewise.
55146 (sin_test_upward): Likewise.
55147 (sincos_test): Likewise.
55148 (sinh_test): Likewise.
55149 (sinh_test_tonearest): Likewise.
55150 (sinh_test_towardzero): Likewise.
55151 (sinh_test_downward): Likewise.
55152 (sinh_test_upward): Likewise.
55153 (sqrt_test): Likewise.
55154 (tan_test): Likewise.
55155 (tan_test_tonearest): Likewise.
55156 (tan_test_towardzero): Likewise.
55157 (tan_test_downward): Likewise.
55158 (tan_test_upward): Likewise.
55159 (tanh_test): Likewise.
55160 (tgamma_test): Likewise.
55161 (trunc_test): Likewise.
55162 (y0_test): Likewise.
55163 (y1_test): Likewise.
55164 (yn_test): Likewise.
55165 (significand_test): Likewise.
55166
55167 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
55168
55169 [BZ #15381]
55170 * libio/genops.c (_IO_no_init): Initialize wide struct info.
55171
55172 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
55173
55174 [BZ #14894]
55175 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
55176 __ppc_mdoio and __ppc_mdoom.
55177 * manual/platform.texi: Document new functions __ppc_yield,
55178 __ppc_mdoio and __ppc_mdoom.
55179
55180 2013-05-22 Carlos O'Donell <carlos@redhat.com>
55181
55182 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
55183 (main): Mention "tls" pseudo-hwcap is legacy.
55184 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
55185
55186 2013-05-22 Joseph Myers <joseph@codesourcery.com>
55187
55188 * math/gen-libm-test.pl (parse_args): Output only string of
55189 arguments as text for test name, not full call or descriptions of
55190 tests for extra outputs.
55191 (generate_testfile): Do not pass function name to parse_args.
55192 Generate this_func variable from START.
55193 * math/libm-test.inc (struct test_f_f_data): Rename test_name
55194 field to arg_str.
55195 (struct test_ff_f_data): Likewise.
55196 (test_ff_f_data_nexttoward): Likewise.
55197 (struct test_fi_f_data): Likewise.
55198 (struct test_fl_f_data): Likewise.
55199 (struct test_if_f_data): Likewise.
55200 (struct test_fff_f_data): Likewise.
55201 (struct test_c_f_data): Likewise.
55202 (struct test_f_f1_data): Likewise. Remove field extra_name.
55203 (struct test_fF_f1_data): Likewise.
55204 (struct test_ffI_f1_data): Likewise.
55205 (struct test_c_c_data): Rename test_name field to arg_str.
55206 (struct test_cc_c_data): Likewise.
55207 (struct test_f_i_data): Likewise.
55208 (struct test_ff_i_data): Likewise.
55209 (struct test_f_l_data): Likewise.
55210 (struct test_f_L_data): Likewise.
55211 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
55212 and extra2_name.
55213 (COMMON_TEST_SETUP): New macro.
55214 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
55215 (COMMON_TEST_CLEANUP): Likewise.
55216 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
55217 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
55218 macros.
55219 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
55220 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
55221 macros.
55222 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
55223 (RUN_TEST_fff_f): Take argument string. Call new setup and
55224 cleanup macros.
55225 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
55226 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
55227 macros.
55228 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
55229 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
55230 macros.
55231 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
55232 (RUN_TEST_fF_f1): Take argument string. Call new setup and
55233 cleanup macros.
55234 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
55235 (RUN_TEST_fI_f1): Take argument string. Call new setup and
55236 cleanup macros.
55237 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
55238 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
55239 cleanup macros.
55240 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
55241 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
55242 macros.
55243 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
55244 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
55245 macros.
55246 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
55247 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
55248 macros.
55249 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
55250 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
55251 cleanup macros.
55252 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
55253 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
55254 cleanup macros.
55255 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
55256 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
55257 macros.
55258 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
55259 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
55260 cleanup macros.
55261 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
55262 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
55263 macros.
55264 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
55265 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
55266 macros.
55267 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
55268 (RUN_TEST_fFF_11): Take argument string. Call new setup and
55269 cleanup macros.
55270 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
55271
55272 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
55273
55274 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
55275 to _sifields.sigfault.
55276 (si_addr_lsb): Define new macro.
55277 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
55278 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55279 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
55280
55281 2013-05-03 Carlos O'Donell <carlos at redhat.com>
55282
55283 [BZ #15441]
55284 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
55285 returns -1.
55286 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
55287 null return -1.
55288 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
55289 loading the domain.
55290
55291 2013-05-22 Joseph Myers <joseph@codesourcery.com>
55292
55293 * math/gen-libm-test.pl (parse_args): Do not include expected
55294 result in test name.
55295 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
55296 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55297 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
55298 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
55299 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
55300 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55301
55302 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
55303
55304 * benchtests/Makefile: Sort function entries.
55305
55306 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
55307 tanh, asinh, acosh, atanh.
55308 * benchtests/acos-inputs: New file.
55309 * benchtests/acosh-inputs: New file.
55310 * benchtests/asin-inputs: New file.
55311 * benchtests/asinh-inputs: New file.
55312 * benchtests/atanh-inputs: New file.
55313 * benchtests/cosh-inputs: New file.
55314 * benchtests/log-inputs: New file.
55315 * benchtests/sinh-inputs: New file.
55316 * benchtests/tanh-inputs: New file.
55317
55318 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
55319
55320 [BZ #15339]
55321 * posix/tst-getaddrinfo4.c: New test.
55322 * posix/Makefile (tests): Add it.
55323
55324 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
55325
55326 [BZ #15339]
55327 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
55328 when no services were used.
55329 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
55330 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
55331
55332 2013-05-21 Andreas Schwab <schwab@suse.de>
55333
55334 [BZ #15014]
55335 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
55336 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
55337 successful.
55338 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
55339 redundant variable declarations and reallocation of buffer when
55340 parsing as IPv6 address. Always set NSS status when called from
55341 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
55342 buffer too small. Correct computation of needed size.
55343 * nss/Makefile (tests): Add test-digits-dots.
55344 * nss/test-digits-dots.c: New test.
55345
55346 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
55347
55348 * benchtests/Makefile: Remove instructions for adding
55349 benchmark tests.
55350 * benchtests/README: New file to explain how to execute and
55351 enhance the benchmark tests.
55352
55353 2013-05-21 Andreas Schwab <schwab@suse.de>
55354
55355 [BZ #15493]
55356 * setjmp/Makefile (tests): Add tst-sigsetjmp.
55357 * setjmp/tst-sigsetjmp.c: New test.
55358
55359 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
55360
55361 * sysdeps/x86_64/memset.S (memset): New implementation.
55362 (__bzero): Likewise.
55363 (__memset_tail): New function.
55364
55365 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
55366
55367 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
55368 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
55369 __memcpy_sse2_unaligned ifunc selection.
55370 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
55371 Add memcpy-sse2-unaligned.S.
55372 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
55373 Add: __memcpy_sse2_unaligned.
55374
55375 2013-05-19 Joseph Myers <joseph@codesourcery.com>
55376
55377 [BZ #15490]
55378 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
55379 math_force_eval before restoring floating-point envrionment.
55380 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
55381 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
55382 Likewise.
55383 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
55384 <math_private.h>.
55385 (__nearbyintl): Use math_force_eval before restoring
55386 floating-point environment.
55387 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
55388
55389 * math/gen-libm-test.pl (special_functions): Remove.
55390 (parse_args): Don't handle TEST_extra. Handle functions with no
55391 return value.
55392 * math/libm-test.inc (struct test_sincos_data): Replace with
55393 struct test_fFF_11_data.
55394 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
55395 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
55396 (sincos_test_data): Change element type to struct
55397 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
55398 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
55399 RUN_TEST_LOOP_sincos.
55400 * math/README.libm-test: Don't mention special handling of
55401 individual functions.
55402 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
55403 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55404 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
55405 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
55406 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
55407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55408
55409 * math/gen-libm-test.pl (get_variable): Remove function.
55410 (parse_args): Don't show pointer parameters to call in test
55411 names. Use "extra output N" in test names for extra outputs
55412 rather than naming variables.
55413
55414 2013-05-18 Joseph Myers <joseph@codesourcery.com>
55415
55416 [BZ #15488]
55417 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
55418 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
55419 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
55420 double tests.
55421 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
55422 disable.
55423 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
55424 check_long_double.
55425
55426 * math/gen-libm-test.pl (@tests): Remove variable.
55427 ($count): Likewise.
55428 (new_test): Remove function.
55429 (show_exceptions): New function.
55430 (special_functions): Use show_exceptions instead of new_test.
55431 (parse_args): Likewise.
55432 (generate_testfile): Pass only function name in generated call to
55433 print_max_error or print_complex_max_error.
55434 (get_ulps): Do not handle complex tests specially.
55435 (output_test): Rename to ...
55436 (get_all_ulps_for_test): ... this. Return a string rather than
55437 printing to a file. Require ulps to be present.
55438 (output_ulps): Generate arrays rather than #defines.
55439 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
55440 (struct ulp_data): New type.
55441 (BUILD_COMPLEX_ULP): Remove macro.
55442 (compare_ulp_data): New function.
55443 (find_ulps): Likewise.
55444 (find_test_ulps): Likewise.
55445 (find_function_ulps): Likewise.
55446 (find_complex_function_ulps): Likewise.
55447 (print_max_error): Determine allowed ulps using
55448 find_function_ulps.
55449 (print_complex_max_error): Determine allowed ulps using
55450 find_complex_function_ulps.
55451 (check_float_internal): Determine max ulps using find_test_ulps.
55452 (check_float): Do not take max_ulp parameter. Update call to
55453 check_float_internal.
55454 (check_complex): Likewise.
55455 (check_int): Do not take max_ulp parameter.
55456 (check_long): Likewise.
55457 (check_bool): Likewise.
55458 (check_longlong): Likewise.
55459 (struct test_f_f_data): Remove max_ulp field.
55460 (struct test_ff_f_data): Likewise.
55461 (struct test_ff_f_data_nexttoward): Likewise.
55462 (struct test_fi_f_data): Likewise.
55463 (struct test_fl_f_data): Likewise.
55464 (struct test_if_f_data): Likewise.
55465 (struct test_fff_f_data): Likewise.
55466 (struct test_c_f_data): Likewise.
55467 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
55468 (struct test_fF_f1_data): Likewise.
55469 (struct test_ffI_f1_data): Likewise.
55470 (struct test_c_c_data): Remove max_ulp field.
55471 (struct test_cc_c_data): Likewise.
55472 (struct test_f_i_data): Likewise.
55473 (struct test_ff_i_data): Likewise.
55474 (struct test_f_l_data): Likewise.
55475 (struct test_f_L_data): Likewise.
55476 (struct test_sincos_data): Likewise.
55477 (RUN_TEST_f_f): Do not handle ulps.
55478 (RUN_TEST_LOOP_f_f): Likewise.
55479 (RUN_TEST_2_f): Likewise.
55480 (RUN_TEST_LOOP_2_f): Likewise.
55481 (RUN_TEST_fff_f): Likewise.
55482 (RUN_TEST_LOOP_fff_f): Likewise.
55483 (RUN_TEST_c_f): Likewise.
55484 (RUN_TEST_LOOP_c_f): Likewise.
55485 (RUN_TEST_f_f1): Likewise.
55486 (RUN_TEST_LOOP_f_f1): Likewise.
55487 (RUN_TEST_fF_f1): Likewise.
55488 (RUN_TEST_LOOP_fF_f1): Likewise.
55489 (RUN_TEST_fI_f1): Likewise.
55490 (RUN_TEST_LOOP_fI_f1): Likewise.
55491 (RUN_TEST_ffI_f1): Likewise.
55492 (RUN_TEST_LOOP_ffI_f1): Likewise.
55493 (RUN_TEST_c_c): Likewise.
55494 (RUN_TEST_LOOP_c_c): Likewise.
55495 (RUN_TEST_cc_c): Likewise.
55496 (RUN_TEST_LOOP_cc_c): Likewise.
55497 (RUN_TEST_f_i): Likewise.
55498 (RUN_TEST_LOOP_f_i): Likewise.
55499 (RUN_TEST_f_i_tg): Likewise.
55500 (RUN_TEST_LOOP_f_i_tg): Likewise.
55501 (RUN_TEST_ff_i_tg): Likewise.
55502 (RUN_TEST_LOOP_ff_i_tg): Likewise.
55503 (RUN_TEST_f_b): Likewise.
55504 (RUN_TEST_LOOP_f_b): Likewise.
55505 (RUN_TEST_f_b_tg): Likewise.
55506 (RUN_TEST_LOOP_f_b_tg): Likewise.
55507 (RUN_TEST_f_l): Likewise.
55508 (RUN_TEST_LOOP_f_l): Likewise.
55509 (RUN_TEST_f_L): Likewise.
55510 (RUN_TEST_LOOP_f_L): Likewise.
55511 (RUN_TEST_sincos): Likewise.
55512 (RUN_TEST_LOOP_sincos): Likewise.
55513
55514 2013-05-17 Joseph Myers <joseph@codesourcery.com>
55515
55516 [BZ #15480]
55517 [BZ #15485]
55518 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
55519 main case of finite arguments, set rounding mode to FE_TONEAREST
55520 and discard exceptions.
55521 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
55522 exceptions.
55523 (remainder_tonearest_test_data): New variable.
55524 (remainder_test_tonearest): New function.
55525 (remainder_towardzero_test_data): New variable.
55526 (remainder_test_towardzero): New function.
55527 (remainder_downward_test_data): New variable.
55528 (remainder_test_downward): New function.
55529 (remainder_upward_test_data): New variable.
55530 (remainder_test_upward): New function.
55531 (main): Call the new test functions.
55532
55533 * math/libm-test.inc (struct test_f_f1_data): Remove field
55534 extra_init.
55535 (struct test_fF_f1_data): Likewise.
55536 (struct test_ffI_f1_data): Likewise.
55537 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
55538 based on value of EXTRA_EXPECTED.
55539 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
55540 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
55541 EXTRA_VAR based on value of EXTRA_EXPECTED.
55542 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
55543 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
55544 EXTRA_VAR based on value of EXTRA_EXPECTED.
55545 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
55546 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
55547 EXTRA_VAR based on value of EXTRA_EXPECTED.
55548 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
55549 * math/gen-libm-test.pl (parse_args): Don't output initializers
55550 for extra output values.
55551
55552 * math/libm-test.inc (check_int): Expect result to be exactly
55553 equal to expected value and do not handle ulps.
55554 (check_long): Likewise.
55555 (check_longlong): Likewise.
55556
55557 * math/libm-test.inc (ceil_test_data): Test for "inexact"
55558 exceptions.
55559 (cimag_test_data): Likewise.
55560 (conj_test_data): Likewise.
55561 (copysign_test_data): Likewise.
55562 (cproj_test_data): Likewise.
55563 (creal_test_data): Likewise.
55564 (fabs_test_data): Likewise.
55565 (fdim_test_data): Likewise.
55566 (finite_test_data): Likewise.
55567 (floor_test_data): Likewise.
55568 (fmax_test_data): Likewise.
55569 (fmin_test_data): Likewise.
55570 (fmod_test_data): Likewise.
55571 (fpclassify_test_data): Likewise.
55572 (frexp_test_data): Likewise.
55573 (ilogb_test_data): Likewise.
55574 (isfinite_test_data): Likewise.
55575 (isgreater_test_data): Likewise.
55576 (isgreaterequal_test_data): Likewise.
55577 (isinf_test_data): Likewise.
55578 (isless_test_data): Likewise.
55579 (islessequal_test_data): Likewise.
55580 (islessgreater_test_data): Likewise.
55581 (isnan_test_data): Likewise.
55582 (isnormal_test_data): Likewise.
55583 (issignaling_test_data): Likewise.
55584 (isunordered_test_data): Likewise.
55585 (ldexp_test_data): Likewise.
55586 (lrint_test_data): Likewise.
55587 (lrint_test_data) [TEST_FLOAT]: Disable one test.
55588 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
55589 (lrint_tonearest_test_data): Test for "inexact" exceptions.
55590 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
55591 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
55592 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
55593 test input.
55594 (lrint_towardzero_test_data): Test for "inexact" exceptions.
55595 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
55596 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
55597 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
55598 that test input.
55599 (lrint_downward_test_data): Test for "inexact" exceptions.
55600 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
55601 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
55602 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
55603 test input.
55604 (lrint_upward_test_data): Test for "inexact" exceptions.
55605 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
55606 test input.
55607 (llrint_test_data): Test for "inexact" exceptions.
55608 (llrint_test_data) [TEST_FLOAT]: Disable one test.
55609 (llrint_tonearest_test_data): Test for "inexact" exceptions.
55610 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
55611 (llrint_towardzero_test_data): Test for "inexact" exceptions.
55612 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
55613 (llrint_downward_test_data): Test for "inexact" exceptions.
55614 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
55615 (llrint_upward_test_data): Test for "inexact" exceptions.
55616 (logb_test_data): Likewise.
55617 (logb_downward_test_data): Likewise.
55618 (nextafter_test_data): Likewise.
55619 (nexttoward_test_data): Likewise.
55620 (remainder_test_data): Likewise.
55621 (remquo_test_data): Likewise.
55622 (scalbn_test_data): Likewise.
55623 (scalbln_test_data): Likewise.
55624 (signbit_test_data): Likewise.
55625 (sqrt_test_data): Likewise.
55626 (significand_test_data): Likewise.
55627
55628 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
55629
55630 [BZ #15424]
55631 * benchtests/bench-modf.c (struct args): Mark arg0 as
55632 volatile.
55633 * scripts/bench.pl: Mark members of struct args as volatile.
55634
55635 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55636
55637 [BZ # 15497]
55638 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
55639 negative infinity on POWER6 or lower.
55640 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
55641
55642 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
55643
55644 [BZ #15442]
55645 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
55646 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
55647 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
55648 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
55649 (_FP_SETQNAN): New macro.
55650 (_FP_SETQNAN_SEMIRAW): Likewise.
55651 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
55652 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
55653 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
55654 (FP_EXTEND): Use _FP_FRAC_SNANP.
55655 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
55656 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
55657 into account.
55658 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
55659 New macro.
55660 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
55661 Likewise.
55662
55663 2013-05-16 Joseph Myers <joseph@codesourcery.com>
55664
55665 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
55666 with DIVIDE_BY_ZERO_EXCEPTION.
55667 (gamma_test_data): Likewise.
55668 (lgamma_test_data): Likewise.
55669 (log_test_data): Likewise.
55670 (log10_test_data): Likewise.
55671 (log2_test_data): Likewise.
55672 (tgamma_test_data): Likewise.
55673
55674 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
55675 (acos_test_tonearest): Likewise.
55676 (acos_test_towardzero): Likewise.
55677 (acos_test_downward): Likewise.
55678 (acos_test_upward): Likewise.
55679 (acosh_test): Likewise.
55680 (asin_test): Likewise.
55681 (asin_test_tonearest): Likewise.
55682 (asin_test_towardzero): Likewise.
55683 (asin_test_downward): Likewise.
55684 (asin_test_upward): Likewise.
55685 (asinh_test): Likewise.
55686 (atan_test): Likewise.
55687 (atanh_test): Likewise.
55688 (atan2_test): Likewise.
55689 (cabs_test): Likewise.
55690 (cacos_test): Likewise.
55691 (cacosh_test): Likewise.
55692 (casin_test): Likewise.
55693 (casinh_test): Likewise.
55694 (catan_test): Likewise.
55695 (catanh_test): Likewise.
55696 (cbrt_test): Likewise.
55697 (ccos_test): Likewise.
55698 (ccosh_test): Likewise.
55699 (cexp_test): Likewise.
55700 (clog_test): Likewise.
55701 (clog10_test): Likewise.
55702 (cos_test): Likewise.
55703 (cos_test_tonearest): Likewise.
55704 (cos_test_towardzero): Likewise.
55705 (cos_test_downward): Likewise.
55706 (cos_test_upward): Likewise.
55707 (cosh_test): Likewise.
55708 (cosh_test_tonearest): Likewise.
55709 (cosh_test_towardzero): Likewise.
55710 (cosh_test_downward): Likewise.
55711 (cosh_test_upward): Likewise.
55712 (cpow_test): Likewise.
55713 (csin_test): Likewise.
55714 (csinh_test): Likewise.
55715 (csqrt_test): Likewise.
55716 (ctan_test): Likewise.
55717 (ctan_test_tonearest): Likewise.
55718 (ctan_test_towardzero): Likewise.
55719 (ctan_test_downward): Likewise.
55720 (ctan_test_upward): Likewise.
55721 (ctanh_test): Likewise.
55722 (ctanh_test_tonearest): Likewise.
55723 (ctanh_test_towardzero): Likewise.
55724 (ctanh_test_downward): Likewise.
55725 (ctanh_test_upward): Likewise.
55726 (erf_test): Likewise.
55727 (erfc_test): Likewise.
55728 (exp_test): Likewise.
55729 (exp_test_tonearest): Likewise.
55730 (exp_test_towardzero): Likewise.
55731 (exp_test_downward): Likewise.
55732 (exp_test_upward): Likewise.
55733 (exp10_test): Likewise.
55734 (exp2_test): Likewise.
55735 (expm1_test): Likewise.
55736 (fmod_test): Likewise.
55737 (gamma_test): Likewise.
55738 (hypot_test): Likewise.
55739 (j0_test): Likewise.
55740 (j1_test): Likewise.
55741 (jn_test): Likewise.
55742 (lgamma_test): Likewise.
55743 (log_test): Likewise.
55744 (log10_test): Likewise.
55745 (log1p_test): Likewise.
55746 (log2_test): Likewise.
55747 (logb_test_downward): Likewise.
55748 (pow_test): Likewise.
55749 (pow_test_tonearest): Likewise.
55750 (pow_test_towardzero): Likewise.
55751 (pow_test_downward): Likewise.
55752 (pow_test_upward): Likewise.
55753 (remainder_test): Likewise.
55754 (remquo_test): Likewise.
55755 (sin_test): Likewise.
55756 (sin_test_tonearest): Likewise.
55757 (sin_test_towardzero): Likewise.
55758 (sin_test_downward): Likewise.
55759 (sin_test_upward): Likewise.
55760 (sincos_test): Likewise.
55761 (sinh_test): Likewise.
55762 (sinh_test_tonearest): Likewise.
55763 (sinh_test_towardzero): Likewise.
55764 (sinh_test_downward): Likewise.
55765 (sinh_test_upward): Likewise.
55766 (sqrt_test): Likewise.
55767 (tan_test): Likewise.
55768 (tan_test_tonearest): Likewise.
55769 (tan_test_towardzero): Likewise.
55770 (tan_test_downward): Likewise.
55771 (tan_test_upward): Likewise.
55772 (tanh_test): Likewise.
55773 (tgamma_test): Likewise.
55774 (y0_test): Likewise.
55775 (y1_test): Likewise.
55776 (yn_test): Likewise.
55777
55778 * math/gen-libm-test.pl (adjust_arg): Remove function.
55779 (special_function): Remove argument $in_func. Only handle
55780 generating output for tables of tests, not inside functions.
55781 (parse_args): Likewise.
55782 (generate_testfile): Remove variable $in_func. Update call to
55783 parse_args.
55784 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
55785 (MINUS_ZERO_INIT): Rename macro to minus_zero.
55786 (PLUS_INFTY_INIT): Rename macro to plus_infty.
55787 (MINUS_INFTY_INIT): Rename macro to minus_infty.
55788 (QNAN_VALUE_INIT): Rename macro to qnan_value.
55789 (MAX_VALUE_INIT): Rename macro to max_value.
55790 (MIN_VALUE_INIT): Rename macro to min_value.
55791 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
55792 (plus_zero): Remove variable.
55793 (minus_zero): Likewise.
55794 (plus_infty): Likewise.
55795 (minus_infty): Likewise.
55796 (qnan_value): Likewise.
55797 (max_value): Likewise.
55798 (min_value): Likewise.
55799 (min_subnorm_value): Likewise.
55800
55801 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
55802
55803 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
55804 uint64_t or uint32_t usage.
55805 * crypt/sha256-block.c: Likewise.
55806 * crypt/sha256-crypt.c: Likewise.
55807 * crypt/sha256.c: Likewise.
55808 * crypt/sha512-block.c: Likewise.
55809 * crypt/sha512-crypt.c: Likewise.
55810 * crypt/sha512.c: Likewise.
55811 * debug/backtrace-tst.c: Likewise.
55812 * debug/pcprofiledump.c: Likewise.
55813 * elf/cache.c: Likewise.
55814 * elf/dl-cache.c: Likewise.
55815 * elf/dl-misc.c: Likewise.
55816 * elf/dl-profile.c: Likewise.
55817 * elf/dl-support.c: Likewise.
55818 * elf/ldconfig.c: Likewise.
55819 * elf/sprof.c: Likewise.
55820 * iconv/dummy-repertoire.c: Likewise.
55821 * iconv/iconv_charmap.c: Likewise.
55822 * iconv/skeleton.c: Likewise.
55823 * iconvdata/8bit-generic.c: Likewise.
55824 * iconvdata/cp737.h: Likewise.
55825 * iconvdata/cp775.h: Likewise.
55826 * iconvdata/ibm1008.h: Likewise.
55827 * iconvdata/ibm1025.h: Likewise.
55828 * iconvdata/ibm1046.h: Likewise.
55829 * iconvdata/ibm1097.h: Likewise.
55830 * iconvdata/ibm1112.h: Likewise.
55831 * iconvdata/ibm1122.h: Likewise.
55832 * iconvdata/ibm1123.h: Likewise.
55833 * iconvdata/ibm1124.h: Likewise.
55834 * iconvdata/ibm1129.h: Likewise.
55835 * iconvdata/ibm1130.h: Likewise.
55836 * iconvdata/ibm1132.h: Likewise.
55837 * iconvdata/ibm1133.h: Likewise.
55838 * iconvdata/ibm1137.h: Likewise.
55839 * iconvdata/ibm1140.h: Likewise.
55840 * iconvdata/ibm1141.h: Likewise.
55841 * iconvdata/ibm1142.h: Likewise.
55842 * iconvdata/ibm1143.h: Likewise.
55843 * iconvdata/ibm1144.h: Likewise.
55844 * iconvdata/ibm1145.h: Likewise.
55845 * iconvdata/ibm1146.h: Likewise.
55846 * iconvdata/ibm1147.h: Likewise.
55847 * iconvdata/ibm1148.h: Likewise.
55848 * iconvdata/ibm1149.h: Likewise.
55849 * iconvdata/ibm1153.h: Likewise.
55850 * iconvdata/ibm1154.h: Likewise.
55851 * iconvdata/ibm1155.h: Likewise.
55852 * iconvdata/ibm1156.h: Likewise.
55853 * iconvdata/ibm1157.h: Likewise.
55854 * iconvdata/ibm1158.h: Likewise.
55855 * iconvdata/ibm1160.h: Likewise.
55856 * iconvdata/ibm1161.h: Likewise.
55857 * iconvdata/ibm1162.h: Likewise.
55858 * iconvdata/ibm1163.h: Likewise.
55859 * iconvdata/ibm1164.h: Likewise.
55860 * iconvdata/ibm1166.h: Likewise.
55861 * iconvdata/ibm1167.h: Likewise.
55862 * iconvdata/ibm12712.h: Likewise.
55863 * iconvdata/ibm1390.h: Likewise.
55864 * iconvdata/ibm1399.h: Likewise.
55865 * iconvdata/ibm16804.h: Likewise.
55866 * iconvdata/ibm4517.h: Likewise.
55867 * iconvdata/ibm4899.h: Likewise.
55868 * iconvdata/ibm4909.h: Likewise.
55869 * iconvdata/ibm4971.h: Likewise.
55870 * iconvdata/ibm5347.h: Likewise.
55871 * iconvdata/ibm803.h: Likewise.
55872 * iconvdata/ibm856.h: Likewise.
55873 * iconvdata/ibm901.h: Likewise.
55874 * iconvdata/ibm902.h: Likewise.
55875 * iconvdata/ibm9030.h: Likewise.
55876 * iconvdata/ibm9066.h: Likewise.
55877 * iconvdata/ibm921.h: Likewise.
55878 * iconvdata/ibm922.h: Likewise.
55879 * iconvdata/ibm9448.h: Likewise.
55880 * iconvdata/isiri-3342.h: Likewise.
55881 * iconvdata/jis0201.h: Likewise.
55882 * include/link.h: Likewise.
55883 * include/netdb.h: Likewise.
55884 * inet/check_native.c: Likewise.
55885 * inet/check_pf.c: Likewise.
55886 * inet/getipv4sourcefilter.c: Likewise.
55887 * inet/getnameinfo.c: Likewise.
55888 * inet/getsourcefilter.c: Likewise.
55889 * inet/htonl.c: Likewise.
55890 * inet/setipv4sourcefilter.c: Likewise.
55891 * inet/setsourcefilter.c: Likewise.
55892 * inet/test-inet6_opt.c: Likewise.
55893 * inet/tst-network.c: Likewise.
55894 * locale/C-collate.c: Likewise.
55895 * locale/C-ctype.c: Likewise.
55896 * locale/C-time.c: Likewise.
55897 * locale/C-translit.h: Likewise.
55898 * locale/loadarchive.c: Likewise.
55899 * locale/programs/3level.h: Likewise.
55900 * locale/programs/charmap.c: Likewise.
55901 * locale/programs/charmap.h: Likewise.
55902 * locale/programs/ld-address.c: Likewise.
55903 * locale/programs/ld-collate.c: Likewise.
55904 * locale/programs/ld-ctype.c: Likewise.
55905 * locale/programs/ld-identification.c: Likewise.
55906 * locale/programs/ld-measurement.c: Likewise.
55907 * locale/programs/ld-messages.c: Likewise.
55908 * locale/programs/ld-monetary.c: Likewise.
55909 * locale/programs/ld-name.c: Likewise.
55910 * locale/programs/ld-numeric.c: Likewise.
55911 * locale/programs/ld-paper.c: Likewise.
55912 * locale/programs/ld-telephone.c: Likewise.
55913 * locale/programs/ld-time.c: Likewise.
55914 * locale/programs/linereader.c: Likewise.
55915 * locale/programs/locale.c: Likewise.
55916 * locale/programs/locarchive.c: Likewise.
55917 * locale/programs/locfile.h: Likewise.
55918 * locale/programs/repertoire.c: Likewise.
55919 * locale/programs/simple-hash.c: Likewise.
55920 * locale/programs/simple-hash.h: Likewise.
55921 * malloc/memusage.c: Likewise.
55922 * malloc/memusagestat.c: Likewise.
55923 * nis/nis_defaults.c: Likewise.
55924 * nis/nis_hash.c: Likewise.
55925 * nis/nis_print.c: Likewise.
55926 * nis/nis_xdr.c: Likewise.
55927 * nscd/connections.c: Likewise.
55928 * nscd/hstcache.c: Likewise.
55929 * nscd/nscd_gethst_r.c: Likewise.
55930 * nscd/nscd_getserv_r.c: Likewise.
55931 * nscd/nscd_helper.c: Likewise.
55932 * nscd/servicescache.c: Likewise.
55933 * nss/makedb.c: Likewise.
55934 * nss/nss_db/db-XXX.c: Likewise.
55935 * nss/nss_db/db-initgroups.c: Likewise.
55936 * nss/nss_db/db-netgrp.c: Likewise.
55937 * nss/nss_files/files-network.c: Likewise.
55938 * nss/nss_files/files-parse.c: Likewise.
55939 * posix/bug-regex5.c: Likewise.
55940 * posix/fnmatch_loop.c: Likewise.
55941 * posix/regcomp.c: Likewise.
55942 * posix/regexec.c: Likewise.
55943 * posix/tst-rfc3484-2.c: Likewise.
55944 * posix/tst-rfc3484-3.c: Likewise.
55945 * posix/tst-rfc3484.c: Likewise.
55946 * resolv/nss_dns/dns-canon.c: Likewise.
55947 * resolv/nss_dns/dns-network.c: Likewise.
55948 * resolv/res_init.c: Likewise.
55949 * resolv/res_mkquery.c: Likewise.
55950 * resolv/tst-aton.c: Likewise.
55951 * stdlib/cxa_atexit.c: Likewise.
55952 * stdlib/cxa_finalize.c: Likewise.
55953 * stdlib/gen-fpioconst.c: Likewise.
55954 * stdlib/strtol_l.c: Likewise.
55955 * string/tst-endian.c: Likewise.
55956 * sunrpc/auth_des.c: Likewise.
55957 * sunrpc/clnt_udp.c: Likewise.
55958 * sunrpc/rtime.c: Likewise.
55959 * sunrpc/svcauth_des.c: Likewise.
55960 * sunrpc/xdr.c: Likewise.
55961 * sunrpc/xdr_intXX_t.c: Likewise.
55962 * sunrpc/xdr_rec.c: Likewise.
55963 * sysdeps/generic/ldconfig.h: Likewise.
55964 * sysdeps/generic/ldsodefs.h: Likewise.
55965 * sysdeps/generic/memusage.h: Likewise.
55966 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
55967 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
55968 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
55969 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
55970 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
55971 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
55972 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
55973 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
55974 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
55975 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
55976 * sysdeps/posix/getaddrinfo.c: Likewise.
55977 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
55978 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
55979 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
55980 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
55981 * sysdeps/powerpc/test-gettimebase.c: Likewise.
55982 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
55983 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
55984 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
55985 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
55986 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
55987 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
55988 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
55989 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
55990 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
55991 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
55992 * sysdeps/x86_64/dl-tls.h: Likewise.
55993 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
55994 * time/alt_digit.c: Likewise.
55995 * time/era.c: Likewise.
55996 * wcsmbs/tst-c16c32-1.c: Likewise.
55997
55998 2013-05-16 Joseph Myers <joseph@codesourcery.com>
55999
56000 * math/libm-test.inc (struct test_sincos_data): New type.
56001 (RUN_TEST_LOOP_sincos): New macro.
56002 (sincos_test_data): New variable.
56003 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
56004
56005 2013-05-16 Richard Henderson <rth@redhat.com>
56006
56007 * math/atest-exp2.c (LIMB64): New macro.
56008 (CONSTSZ): New macro.
56009 (mp_exp1, mp_exp_m1, mp_log2): New variables.
56010 (hexdig): Move ...
56011 (print_mpn_fp): ... to function scope.
56012 (read_mpn_hex): Remove.
56013 (get_log2): Remove.
56014 (exp2_mpn): Use mp_log2.
56015 (main): Use mp_exp1.
56016
56017 2013-05-16 Joseph Myers <joseph@codesourcery.com>
56018
56019 * math/libm-test.inc: Remove comment about not testing "inexact"
56020 exceptions.
56021 (INEXACT_EXCEPTION): New macro.
56022 (NO_INEXACT_EXCEPTION): Likewise.
56023 (INVALID_EXCEPTION_OK): Update value.
56024 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
56025 (OVERFLOW_EXCEPTION_OK): Likewise.
56026 (UNDERFLOW_EXCEPTION_OK): Likewise.
56027 (IGNORE_ZERO_INF_SIGN): Likewise.
56028 (ERRNO_UNCHANGED): Likewise.
56029 (ERRNO_EDOM): Likewise.
56030 (ERRNO_ERANGE): Likewise.
56031 (test_exceptions): Handle testing "inexact" exceptions.
56032 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
56033 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
56034 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
56035 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
56036 INEXACT_EXCEPTION.
56037 (rint_towardzero_test_data): Likewise.
56038 (rint_downward_test_data): Likewise.
56039 (rint_upward_test_data): Likewise.
56040
56041 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
56042 with OVERFLOW_EXCEPTION.
56043 (exp10_test_data): Likewise.
56044 (exp2_test_data): Likewise.
56045 (expm1_test_data): Likewise.
56046 (lgamma_test_data): Likewise.
56047 (pow_test_data): Likewise.
56048 (tgamma_test_data): Likewise.
56049 (yn_test_data): Remove duplicate test of overflow.
56050
56051 * math/libm-test.inc (struct test_cc_c_data): New type.
56052 (RUN_TEST_LOOP_cc_c): New macro.
56053 (cpow_test_data): New variable.
56054 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
56055
56056 * math/libm-test.inc (struct test_f_L_data): New type.
56057 (RUN_TEST_LOOP_f_L): New macro.
56058 (llrint_test_data): New variable.
56059 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
56060 (llrint_tonearest_test_data): New variable.
56061 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
56062 (llrint_towardzero_test_data): New variable.
56063 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
56064 (llrint_downward_test_data): New variable.
56065 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
56066 (llrint_upward_test_data): New variable.
56067 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
56068 (llround_test_data): New variable.
56069 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
56070
56071 2013-05-13 Peter Collingbourne <pcc@google.com>
56072
56073 * math/atest-exp2.c (get_log2): Remove const attribute.
56074
56075 2013-05-15 Joseph Myers <joseph@codesourcery.com>
56076
56077 * math/libm-test.inc (struct test_f_l_data): New type.
56078 (RUN_TEST_LOOP_f_l): New macro.
56079 (lrint_test_data): New variable.
56080 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
56081 (lrint_tonearest_test_data): New variable.
56082 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
56083 (lrint_towardzero_test_data): New variable.
56084 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
56085 (lrint_downward_test_data): New variable.
56086 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
56087 (lrint_upward_test_data): New variable.
56088 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
56089 (lround_test_data): New variable.
56090 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
56091
56092 2013-05-15 Peter Collingbourne <pcc@google.com>
56093
56094 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
56095 (EXTRACT_WORDS64) Use where appropriate.
56096 (INSERT_WORDS64) Likewise.
56097
56098 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
56099 constraints with x constraints.
56100 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
56101
56102 * malloc/obstack.c (_obstack_compat): Add initializer.
56103
56104 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
56105
56106 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
56107 si_trapno and add si_addr_lsb to _sifields.sigfault.
56108 (si_trapno): Remove macro.
56109 (si_addr_lsb): Define new macro.
56110 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
56111
56112 2013-05-15 Joseph Myers <joseph@codesourcery.com>
56113
56114 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
56115 instead of TEST_f_l.
56116 (llrint_test_tonearest): Likewise.
56117 (llrint_test_towardzero): Likewise.
56118 (llrint_test_downward): Likewise.
56119 (llrint_test_upward): Likewise.
56120 (llround_test): Likewise.
56121
56122 * math/libm-test.inc (struct test_f_i_data): Add comment.
56123 (RUN_TEST_LOOP_f_b): New macro.
56124 (RUN_TEST_LOOP_f_b_tg): Likewise.
56125 (finite_test_data): New variable.
56126 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
56127 (isfinite_test_data): New variable.
56128 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56129 (isinf_test_data): New variable.
56130 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56131 (isnan_test_data): New variable.
56132 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56133 (isnormal_test_data): New variable.
56134 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56135 (issignaling_test_data): New variable.
56136 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56137 (signbit_test_data): New variable.
56138 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56139
56140 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
56141 with INVALID_EXCEPTION.
56142 (acosh_test_data): Likewise.
56143 (asin_test_data): Likewise.
56144 (atanh_test_data): Likewise.
56145 (fmod_test_data): Likewise.
56146 (log_test_data): Likewise.
56147 (log10_test_data): Likewise.
56148 (log2_test_data): Likewise.
56149 (pow_test_data): Likewise.
56150 (sqrt_test_data): Likewise.
56151 (y0_test_data): Likewise.
56152 (y1_test_data): Likewise.
56153 (yn_test_data): Likewise.
56154
56155 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
56156 function contents.
56157
56158 * math/libm-test.inc (struct test_ff_i_data): New type.
56159 (RUN_TEST_LOOP_ff_i_tg): New macro.
56160 (isgreater_test_data): New variable.
56161 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56162 (isgreaterequal_test_data): New variable.
56163 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56164 (isless_test_data): New variable.
56165 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56166 (islessequal_test_data): New variable.
56167 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56168 (islessgreater_test_data): New variable.
56169 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56170 (isunordered_test_data): New variable.
56171 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56172
56173 2013-05-14 David S. Miller <davem@davemloft.net>
56174
56175 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56176
56177 2013-05-14 Joseph Myers <joseph@codesourcery.com>
56178
56179 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
56180
56181 * math/libm-test.inc (struct test_fF_f1_data): Change type of
56182 extra_test to int.
56183 (struct test_f_i_data): Change type of max_ulp to int.
56184
56185 * math/libm-test.inc (test_ffI_f1_data): New type.
56186 (RUN_TEST_LOOP_ffI_f1): New macro.
56187 (remquo_test_data): New variable.
56188 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
56189
56190 * setjmp/tst-setjmp-fp.c: New file.
56191 * setjmp/Makefile (tests): Add tst-setjmp-fp.
56192 (link-libm): New variable.
56193 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
56194
56195 * math/libm-test.inc (struct test_f_i_data): New type.
56196 (RUN_TEST_LOOP_f_i): New macro.
56197 (RUN_TEST_LOOP_f_i_tg): Likewise.
56198 (fpclassify_test_data): New variable.
56199 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
56200 (ilogb_test_data): New variable.
56201 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
56202
56203 * math/libm-test.inc (scalbln_test): Correct function name in END
56204 call.
56205
56206 * math/libm-test.inc (struct test_f_f1_data): Add comment.
56207 (RUN_TEST_LOOP_fI_f1): New macro.
56208 (frexp_test_data): New variable.
56209 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
56210
56211 * math/libm-test.inc (struct test_fF_f1_data): New type.
56212 (RUN_TEST_LOOP_fF_f1): New macro.
56213 (modf_test_data): New variable.
56214 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
56215
56216 * math/libm-test.inc (struct test_f_f1_data): New type.
56217 (RUN_TEST_LOOP_f_f1): New macro.
56218 (gamma_test_data): New variable.
56219 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
56220 (lgamma_test_data): New variable.
56221 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
56222
56223 2013-05-13 Carlos O'Donell <carlos@redhat.com>
56224
56225 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
56226 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
56227 (main): Comment "tls" pseudo-hwcap.
56228
56229 2013-05-13 Joseph Myers <joseph@codesourcery.com>
56230
56231 * math/libm-test.inc (struct test_fl_f_data): New type.
56232 (RUN_TEST_LOOP_fl_f): New variable.
56233 (scalbln_test_data): New variable.
56234 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
56235
56236 * math/libm-test.inc (struct test_fi_f_data): New type.
56237 (RUN_TEST_LOOP_fi_f): New macro.
56238 (ldexp_test_data): New variable.
56239 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
56240 (scalbn_test_data): New variable.
56241 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
56242
56243 * math/libm-test.inc (struct test_c_f_data): New type.
56244 (RUN_TEST_LOOP_c_f): New macro.
56245 (cabs_test_data): New variable.
56246 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
56247 (carg_test_data): New variable.
56248 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
56249 (cimag_test_data): New variable.
56250 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
56251 (creal_test_data): New variable.
56252 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
56253
56254 * math/libm-test.inc (struct test_if_f_data): New type.
56255 (RUN_TEST_LOOP_if_f): New macro.
56256 (jn_test_data): New variable.
56257 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
56258 (yn_test_data): New variable.
56259 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
56260
56261 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
56262
56263 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56264
56265 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
56266 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
56267
56268 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
56269
56270 * benchtests/Makefile (CPPFLAGS-nonlib): Add
56271 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
56272 (bench-deps): Add bench-timing.h.
56273 * benchtests-bench-skeleton.c: Include bench-timing.h.
56274 (main): Use TIMING_* macros instead of clock_gettime.
56275 * benchtests/bench-timing.h: New file.
56276
56277 [BZ #14582]
56278 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
56279 Renamed from _LIB_VERSION.
56280 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
56281
56282 2013-05-12 Joseph Myers <joseph@codesourcery.com>
56283
56284 * math/libm-test.inc (struct test_fff_f_data): New type.
56285 (RUN_TEST_LOOP_fff_f): New macro.
56286 (fma_test_data): New variable.
56287 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
56288 (fma_towardzero_test_data): New variable.
56289 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
56290 (fma_downward_test_data): New variable.
56291 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
56292 (fma_upward_test_data): New variable.
56293 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
56294
56295 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
56296 (struct test_c_c_data): New type.
56297 (RUN_TEST_LOOP_c_c): New macro.
56298 (cacos_test_data): New variable.
56299 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
56300 (cacosh_test_data): New variable.
56301 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
56302 (casin_test_data): New variable.
56303 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
56304 (casinh_test_data): New variable.
56305 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
56306 (catan_test_data): New variable.
56307 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
56308 (catanh_test_data): New variable.
56309 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
56310 (ccos_test_data): New variable.
56311 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
56312 (ccosh_test_data): New variable.
56313 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
56314 (cexp_test_data): New variable.
56315 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
56316 (clog_test_data): New variable.
56317 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
56318 (clog10_test_data): New variable.
56319 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
56320 (conj_test_data): New variable.
56321 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
56322 (cproj_test_data): New variable.
56323 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
56324 (csin_test_data): New variable.
56325 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
56326 (csinh_test_data): New variable.
56327 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
56328 (csqrt_test_data): New variable.
56329 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
56330 (ctan_test_data): New variable.
56331 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
56332 (ctan_tonearest_test_data): New variable.
56333 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
56334 (ctan_towardzero_test_data): New variable.
56335 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
56336 (ctan_downward_test_data): New variable.
56337 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
56338 (ctan_upward_test_data): New variable.
56339 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
56340 (ctanh_test_data): New variable.
56341 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
56342 (ctanh_tonearest_test_data): New variable.
56343 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
56344 (ctanh_towardzero_test_data): New variable.
56345 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
56346 (ctanh_downward_test_data): New variable.
56347 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
56348 (ctanh_upward_test_data): New variable.
56349 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
56350 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
56351 of BUILD_COMPLEX.
56352
56353 * math/libm-test.inc (struct test_ff_f_data): New type.
56354 (struct test_ff_f_data_nexttoward): Likewise.
56355 (RUN_TEST_LOOP_2_f): New macro.
56356 (RUN_TEST_LOOP_ff_f): Likewise.
56357 (atan2_test_data): New variable.
56358 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
56359 (copysign_test_data): New variable.
56360 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
56361 (fdim_test_data): New variable.
56362 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
56363 (fmax_test_data): New variable.
56364 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
56365 (fmin_test_data): New variable.
56366 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
56367 (fmod_test_data): New variable.
56368 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
56369 (hypot_test_data): New variable.
56370 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
56371 (nextafter_test_data): New variable.
56372 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
56373 (nexttoward_test_data): New variable.
56374 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
56375 (pow_test_data): New variable.
56376 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
56377 (pow_tonearest_test_data): New variable.
56378 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
56379 (pow_towardzero_test_data): New variable.
56380 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
56381 (pow_downward_test_data): New variable.
56382 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
56383 (pow_upward_test_data): New variable.
56384 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
56385 (remainder_test_data): New variable.
56386 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
56387 (scalb_test_data): New variable.
56388 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
56389 * sysdeps/i386/fpu/libm-test-ulps: Update.
56390
56391 2013-05-11 Joseph Myers <joseph@codesourcery.com>
56392
56393 * math/libm-test.inc (fma_test): Use max_value instead of local
56394 variable fltmax.
56395 (nextafter_test): Likewise.
56396
56397 * math/libm-test.inc (acos_towardzero_test_data): New variable.
56398 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56399 (acos_downward_test_data): New variable.
56400 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56401 (acos_upward_test_data): New variable.
56402 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56403 (acosh_test_data): New variable.
56404 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
56405 (asin_test_data): New variable.
56406 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
56407 (asin_tonearest_test_data): New variable.
56408 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56409 (asin_towardzero_test_data): New variable.
56410 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56411 (asin_downward_test_data): New variable.
56412 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56413 (asin_upward_test_data): New variable.
56414 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56415 (asinh_test_data): New variable.
56416 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
56417 (atan_test_data): New variable.
56418 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
56419 (atanh_test_data): New variable.
56420 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
56421 (cbrt_test_data): New variable.
56422 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
56423 (ceil_test_data): New variable.
56424 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
56425 (cos_test_data): New variable.
56426 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
56427 (cos_tonearest_test_data): New variable.
56428 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56429 (cos_towardzero_test_data): New variable.
56430 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56431 (cos_downward_test_data): New variable.
56432 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56433 (cos_upward_test_data): New variable.
56434 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56435 (cosh_test_data): New variable.
56436 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
56437 (cosh_tonearest_test_data): New variable.
56438 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56439 (cosh_towardzero_test_data): New variable.
56440 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56441 (cosh_downward_test_data): New variable.
56442 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56443 (cosh_upward_test_data): New variable.
56444 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56445 (erf_test_data): New variable.
56446 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
56447 (erfc_test_data): New variable.
56448 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
56449 (exp_test_data): New variable.
56450 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
56451 (exp_tonearest_test_data): New variable.
56452 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56453 (exp_towardzero_test_data): New variable.
56454 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56455 (exp_downward_test_data): New variable.
56456 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56457 (exp_upward_test_data): New variable.
56458 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56459 (exp10_test_data): New variable.
56460 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
56461 (exp2_test_data): New variable.
56462 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
56463 (expm1_test_data): New variable.
56464 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
56465 (fabs_test_data): New variable.
56466 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
56467 (floor_test_data): New variable.
56468 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
56469 (j0_test_data): New variable.
56470 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
56471 (j1_test_data): New variable.
56472 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
56473 (log_test_data): New variable.
56474 (log_test): Run tests with RUN_TEST_LOOP_f_f.
56475 (log10_test_data): New variable.
56476 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
56477 (log1p_test_data): New variable.
56478 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
56479 (log2_test_data): New variable.
56480 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
56481 (logb_test_data): New variable.
56482 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
56483 (logb_downward_test_data): New variable.
56484 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56485 (nearbyint_test_data): New variable.
56486 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
56487 (rint_test_data): New variable.
56488 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
56489 (rint_tonearest_test_data): New variable.
56490 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56491 (rint_towardzero_test_data): New variable.
56492 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56493 (rint_downward_test_data): New variable.
56494 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56495 (rint_upward_test_data): New variable.
56496 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56497 (round_test_data): New variable.
56498 (round_test): Run tests with RUN_TEST_LOOP_f_f.
56499 (sin_test_data): New variable.
56500 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
56501 (sin_tonearest_test_data): New variable.
56502 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56503 (sin_towardzero_test_data): New variable.
56504 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56505 (sin_downward_test_data): New variable.
56506 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56507 (sin_upward_test_data): New variable.
56508 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56509 (sinh_test_data): New variable.
56510 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
56511 (sinh_tonearest_test_data): New variable.
56512 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56513 (sinh_towardzero_test_data): New variable.
56514 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56515 (sinh_downward_test_data): New variable.
56516 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56517 (sinh_upward_test_data): New variable.
56518 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56519 (sqrt_test_data): New variable.
56520 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
56521 (tan_test_data): New variable.
56522 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
56523 (tan_tonearest_test_data): New variable.
56524 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56525 (tan_towardzero_test_data): New variable.
56526 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56527 (tan_downward_test_data): New variable.
56528 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56529 (tan_upward_test_data): New variable.
56530 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56531 (tanh_test_data): New variable.
56532 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
56533 (tgamma_test_data): New variable.
56534 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
56535 (trunc_test_data): New variable.
56536 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
56537 (y0_test_data): New variable.
56538 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
56539 (y1_test_data): New variable.
56540 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
56541 (significand_test_data): New variable.
56542 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
56543
56544 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
56545
56546 [BZ #12387]
56547 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
56548
56549 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
56550
56551 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
56552
56553 2013-05-10 Andreas Jaeger <aj@suse.de>
56554
56555 [BZ #15448]
56556 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
56557 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
56558
56559 2013-05-10 Joseph Myers <joseph@codesourcery.com>
56560
56561 * math/gen-libm-test.pl (adjust_arg): New function.
56562 (special_functions): Handle generating output in both functions
56563 and arrays.
56564 (parse_args): Likewise.
56565 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
56566 $in_func argument to parse_args.
56567 * math/libm-test.inc (struct test_f_f_data): New type.
56568 (IF_ROUND_INIT_): New macro.
56569 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
56570 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
56571 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
56572 (IF_ROUND_INIT_FE_UPWARD): Likewise.
56573 (ROUND_RESTORE_): Likewise.
56574 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
56575 (ROUND_RESTORE_FE_TONEAREST): Likewise.
56576 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
56577 (ROUND_RESTORE_FE_UPWARD): Likewise.
56578 (RUN_TEST_LOOP_f_f): New macro.
56579 (acos_test_data): New variable.
56580 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
56581 (acos_tonearest_test_data): New variable.
56582 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56583
56584 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
56585
56586 * benchtests/bench-skeleton.c (startup): Fix coding style.
56587
56588 2013-05-10 Joseph Myers <joseph@codesourcery.com>
56589
56590 [BZ #6809]
56591 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
56592 negative infinity argument.
56593 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
56594 negative infinity argument.
56595 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
56596 negative infinity argument.
56597 * math/libm-test.inc (tgamma_test): Expect errno to be set for
56598 domain errors.
56599
56600 2013-05-10 Florian Weimer <fweimer@redhat.com>
56601
56602 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
56603 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
56604 * iconv/iconv_prog.c (main): Likewise.
56605 * locale/programs/charmap-dir.c (charmap_readdir)
56606 (fopen_uncompressed): Likewise.
56607 * locale/programs/locfile.c (siblings_uncached)
56608 (write_locale_data): Use lstat64 instead of lstat.
56609 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
56610 stat.
56611
56612 2013-05-10 Andreas Jaeger <aj@suse.de>
56613
56614 [BZ #15395]
56615 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
56616 localization.
56617 Include <locale.h>.
56618
56619 2013-05-09 Carlos O'Donell <carlos@redhat.com>
56620
56621 * elf/dl-close.c (_dl_close_worker): Add comments.
56622
56623 2013-05-09 Joseph Myers <joseph@codesourcery.com>
56624
56625 [BZ #15359]
56626 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
56627 high part of pi/2.
56628 (__ieee754_rem_pio2l): Update comments.
56629
56630 [BZ #15429]
56631 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
56632 high part of pi/2.
56633 (__ieee754_rem_pio2l): Update comments.
56634
56635 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
56636 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
56637
56638 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
56639 M_PI_4l.
56640
56641 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
56642 (M_PI_34_LOG10El): Likewise.
56643 (M_PI2_LOG10El): Likewise.
56644 (M_PI4_LOG10El): Likewise.
56645 (M_PI_LOG10El): Likewise.
56646
56647 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56648
56649 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56650
56651 2013-05-08 Joseph Myers <joseph@codesourcery.com>
56652
56653 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
56654 (MINUS_ZERO_INIT): Likewise.
56655 (PLUS_INFTY_INIT): Likewise.
56656 (MINUS_INFTY_INIT): Likewise.
56657 (QNAN_VALUE_INIT): Likewise.
56658 (MAX_VALUE_INIT): Likewise.
56659 (MIN_VALUE_INIT): Likewise.
56660 (MIN_SUBNORM_VALUE_INIT): Likewise.
56661 (plus_zero): Initialize with PLUS_ZERO_INIT.
56662 (minus_zero): Initialize with MINUS_ZERO_INIT.
56663 (plus_infty): Initialize with PLUS_INFTY_INIT.
56664 (minus_infty): Initialize with MINUS_INFTY_INIT.
56665 (qnan_value): Initialize with QNAN_VALUE_INIT.
56666 (max_value): Initialize with MAX_VALUE_INIT.
56667 (min_value): Initialize with MIN_VALUE_INIT.
56668 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
56669
56670 * math/libm-test.inc (RUN_TEST_if_f): New macro.
56671 (jn_test): Use TEST_if_f instead of TEST_ff_f.
56672 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
56673 (yn_test): Use TEST_if_f instead of TEST_ff_f.
56674
56675 * math/libm-test.inc (RUN_TEST_f_f): New macro.
56676 (RUN_TEST_2_f): Likewise.
56677 (RUN_TEST_ff_f): Likewise.
56678 (RUN_TEST_fi_f): Likewise.
56679 (RUN_TEST_fl_f): Likewise.
56680 (RUN_TEST_fff_f): Likewise.
56681 (RUN_TEST_c_f): Likewise.
56682 (RUN_TEST_f_f1): Likewise.
56683 (RUN_TEST_fF_f1): Likewise.
56684 (RUN_TEST_fI_f1): Likewise.
56685 (RUN_TEST_ffI_f1): Likewise.
56686 (RUN_TEST_c_c): Likewise.
56687 (RUN_TEST_cc_c): Likewise.
56688 (RUN_TEST_f_i): Likewise.
56689 (RUN_TEST_f_i_tg): Likewise.
56690 (RUN_TEST_ff_i_tg): Likewise.
56691 (RUN_TEST_f_b): Likewise.
56692 (RUN_TEST_f_b_tg): Likewise.
56693 (RUN_TEST_f_l): Likewise.
56694 (RUN_TEST_f_L): Likewise.
56695 (RUN_TEST_sincos): Likewise.
56696 * math/gen-libm-test.pl (new_test): Take new argument to indicate
56697 whether to show exceptions. Do not include ");\n" in return
56698 value.
56699 (special_functions): Output call to RUN_TEST_sincos instead of
56700 check_float calls. Update calls to new_test.
56701 (parse_args): Output call to single RUN_TEST_* macro instead of
56702 check_* calls and other assignments. Update calls to new_test.
56703
56704 [BZ #2546]
56705 [BZ #2560]
56706 [BZ #5159]
56707 [BZ #15426]
56708 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
56709 input to result for tgamma overflow.
56710 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
56711 (gamma_coeff): New variable.
56712 (NCOEFF): New macro.
56713 (gamma_positive): New function.
56714 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
56715 underflow here. Use gamma_positive instead of exp (lgamma) for
56716 other arguments.
56717 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
56718 (gamma_coeff): New variable.
56719 (NCOEFF): New macro.
56720 (gammaf_positive): New function.
56721 (__ieee754_gammaf_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-128/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, NaN, overflow and
56729 underflow here. Use gamma_positive instead of exp (lgamma) for
56730 other arguments.
56731 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
56732 (gamma_coeff): New variable.
56733 (NCOEFF): New macro.
56734 (gammal_positive): New function.
56735 (__ieee754_gammal_r): Handle positive infinity, overflow and
56736 underflow here. Handle NaN the same as positive infinity. Remove
56737 check x < 0xffffffff for negative integers. Use gamma_positive
56738 instead of exp (lgamma) for other arguments.
56739 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
56740 (gamma_coeff): New variable.
56741 (NCOEFF): New macro.
56742 (gammal_positive): New function.
56743 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
56744 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
56745 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
56746 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
56747 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
56748 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
56749 * sysdeps/generic/math_private.h (__gamma_productf): New
56750 prototype.
56751 (__gamma_product): Likewise.
56752 (__gamma_productl): Likewise.
56753 * math/Makefile (libm-calls): Add gamma_product.
56754 * math/libm-test.inc (tgamma_test): Add more tests.
56755 * sysdeps/i386/fpu/libm-test-ulps: Update.
56756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56757
56758 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
56759
56760 * benchtests/bench-skeleton.c (main): Preheat CPU.
56761
56762 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
56763
56764 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
56765
56766 2013-05-07 Roland McGrath <roland@hack.frob.com>
56767
56768 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
56769 and _dl_skip_args_internal.
56770
56771 2013-05-07 Carlos O'Donell <carlos@redhat.com>
56772
56773 * manual/message.texi (Message Translation): Talk about users.
56774 Message to key mapping impacts design.
56775
56776 2013-05-06 Roland McGrath <roland@hack.frob.com>
56777
56778 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
56779
56780 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
56781
56782 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
56783 * sysdeps/wordsize-64/glob64.c: ... here.
56784
56785 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
56786 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
56787 New macros.
56788
56789 * debug/getlogin_r_chk.c: Moved to ...
56790 * login/getlogin_r_chk.c: ... here.
56791 * debug/Makefile (routines): Move getlogin_r_chk to ...
56792 * login/Makefile (routines): ... here.
56793 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
56794 * login/Versions (libc: GLIBC_2.4): ... here.
56795
56796 * io/poll.c (__poll): Renamed from poll.
56797 Add libc_hidden_def.
56798 (poll): Define as weak alias.
56799
56800 * debug/ptsname_r_chk.c: Moved to ...
56801 * login/ptsname_r_chk.c: ... here.
56802 * debug/Makefile (routines): Move ptsname_r_chk to ...
56803 * login/Makefile (routines): ... here.
56804 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
56805 * login/Versions (libc: GLIBC_2.4): ... here.
56806
56807 * posix/getlogin.c: Moved to ...
56808 * login/getlogin.c: ... here.
56809 * posix/getlogin_r.c: Moved to ...
56810 * login/getlogin_r.c: ... here.
56811 * posix/getlogin_r.c: Moved to ...
56812 * login/getlogin_r.c: ... here.
56813 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
56814 * login/Makefile (routines): ... here.
56815 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
56816 * login/Versions (libc: GLIBC_2.0): ... here.
56817
56818 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
56819 (setrlimit): Define as weak alias.
56820
56821 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
56822 Call __ names for open, ftruncate, and close.
56823 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
56824 (truncate): Define as weak alias.
56825
56826 2013-05-06 Joseph Myers <joseph@codesourcery.com>
56827
56828 * math/gen-libm-test.pl (parse_args): Initialize x before each
56829 test of frexp, modf and remquo.
56830
56831 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
56832 test signgam value.
56833
56834 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56835
56836 [BZ #15418]
56837 [BZ #15419]
56838 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
56839 internal tests.
56840 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
56841
56842 2013-05-06 Roland McGrath <roland@hack.frob.com>
56843
56844 * elf/dl-writev.h: New file.
56845 * elf/dl-misc.c: Include it.
56846 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
56847 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
56848
56849 2013-05-04 Joseph Myers <joseph@codesourcery.com>
56850
56851 * math/libm-test.inc (noXFails): Remove variable.
56852 (noXPasses): Likewise.
56853 (BUILD_COMPLEX_INT): Remove macro.
56854 (print_screen): Remove xfail argument.
56855 (print_screen_max_error): Likewise.
56856 (update_stats): Likewise.
56857 (print_max_error): Likewise. Update calls to other affected
56858 functions.
56859 (print_complex_max_error): Likewise.
56860 (test_single_exception): Update calls to print_screen.
56861 (test_single_errno): Likewise.
56862 (check_float_internal): Remove xfail argument. Update calls to
56863 other affected functions.
56864 (check_float): Likewise.
56865 (check_complex): Likewise.
56866 (check_int): Likewise.
56867 (check_long): Likewise.
56868 (check_bool): Likewise.
56869 (check_longlong): Likewise.
56870 (main): Don't print noXFails and noXPasses.
56871 * math/gen-libm-test.pl (top level): Don't mention expected
56872 failure handling in comment.
56873 (new_test): Don't handle expected failures.
56874 (parse_args): Don't mention expected failure handling in comment.
56875 (generate_testfile): Don't handle expected failures.
56876 (parse_ulps): Likewise.
56877 (print_ulps_file): Likewise.
56878 (get_failure): Remove function.
56879 (output_test): Don't handle expected failures.
56880 * make/README.libm-test: Don't mention expected failure handling.
56881
56882 * math/libm-test.inc (plus_zero): Make const. Add initializer.
56883 (minus_zero): Likewise.
56884 (plus_infty): Likewise.
56885 (minus_infty): Likewise.
56886 (qnan_value): Likewise.
56887 (max_value): Likewise.
56888 (min_value): Likewise.
56889 (min_subnorm_value): Likewise.
56890 (initialize): Do not initialize those variables dynamically.
56891
56892 2013-05-03 Roland McGrath <roland@hack.frob.com>
56893
56894 * io/open.c (__open_2): Moved to ...
56895 * io/open_2.c: ... this new file.
56896 * io/open64.c (__open64_2): Moved to ...
56897 * io/open64_2.c: ... this new file.
56898 * io/openat.c (__openat_2): Moved to ...
56899 * io/openat_2.c: ... this new file.
56900 * io/openat64.c (__openat64_2): Moved to ...
56901 * io/openat64_2.c: ... this new file.
56902 * io/Makefile (routines): Add them.
56903 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
56904 * sysdeps/unix/sysv/linux/open_2.c: File removed.
56905 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
56906 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
56907 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
56908 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
56909 (__openat64): Add hidden_ver.
56910 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
56911 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
56912
56913 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
56914 Separately conditionalize setting of GLRO(dl_sysinfo) so
56915 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
56916 as well, but the actual setting is only under [NEED_DL_SYSINFO].
56917
56918 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56919
56920 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
56921 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
56922 definition.
56923 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
56924 * sysdeps/unix/sysv/linux/powerpc/init-first.c
56925 (_libc_vdso_platform_setup): Add __vdso_time initialization.
56926 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
56927 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
56928
56929 2013-05-03 Joseph Myers <joseph@codesourcery.com>
56930
56931 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
56932 test signgam value.
56933
56934 * math/libm-test.inc (hypot_test): Do not use
56935 IGNORE_ZERO_INF_SIGN.
56936
56937 2013-05-03 Andreas Jaeger <aj@suse.de>
56938
56939 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
56940 Linux 3.9.
56941 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
56942 (PF_MAX): Adjust for VSOCK change.
56943
56944 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56945
56946 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56947
56948 2013-05-02 Carlos O'Donell <carlos@redhat.com>
56949
56950 [BZ #15264]
56951 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
56952 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
56953 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
56954
56955 2013-05-02 David S. Miller <davem@davemloft.net>
56956
56957 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56958
56959 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
56960
56961 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
56962
56963 2013-05-01 Roland McGrath <roland@hack.frob.com>
56964
56965 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
56966
56967 2013-05-01 Richard Smith <richard@metafoo.co.uk>
56968
56969 [BZ #14952]
56970 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
56971 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
56972 Use __attribute__ ((__gnu_inline__)).
56973 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
56974 Don't use __attribute__ ((__gnu_inline__)).
56975
56976 2013-05-01 Joseph Myers <joseph@codesourcery.com>
56977
56978 [BZ #15423]
56979 * math/s_catan.c (__catan): Handle small real or imaginary part of
56980 input specially to avoid spurious underflow.
56981 * math/s_catanf.c (__catanf): Likewise.
56982 * math/s_catanh.c (__catanh): Likewise.
56983 * math/s_catanhf.c (__catanhf): Likewise.
56984 * math/s_catanhl.c (__catanhl): Likewise.
56985 * math/s_catanl.c (__catanl): Likewise.
56986 * math/libm-test.inc (catan_test): Add more tests.
56987 (catanh_test): Likewise.
56988 * sysdeps/i386/fpu/libm-test-ulps: Update.
56989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56990
56991 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56992
56993 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56994
56995 2013-04-30 Joseph Myers <joseph@codesourcery.com>
56996
56997 [BZ #15416]
56998 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
56999 accurately for denominator in atan2.
57000 * math/s_catanf.c (__catanf): Likewise.
57001 * math/s_catanh.c (__catanh): Likewise.
57002 * math/s_catanhf.c (__catanhf): Likewise.
57003 * math/s_catanhl.c (__catanhl): Likewise.
57004 * math/s_catanl.c (__catanl): Likewise.
57005 * math/libm-test.inc (catan_test): Add more tests.
57006 (catanh_test): Likewise.
57007 * sysdeps/i386/fpu/libm-test-ulps: Update.
57008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57009
57010 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
57011
57012 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
57013
57014 * benchtests/Makefile (bench): Remove slow benchmarks.
57015 * benchtests/atan-inputs: Add slow benchmark inputs.
57016 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
57017 (BENCH_FUNC): Accept variant offset.
57018 (VARIANT): Define.
57019 * benchtests/bench-skeleton.c (main): Run benchmark for each
57020 variant.
57021 * benchtests/cos-inputs: Add slow benchmark inputs.
57022 * benchtests/exp-inputs: Likewise.
57023 * benchtests/pow-inputs: Likewise.
57024 * benchtests/sin-inputs: Likewise.
57025 * benchtests/slowatan-inputs: Remove.
57026 * benchtests/slowatan.c: Remove.
57027 * benchtests/slowcos-inputs: Remove.
57028 * benchtests/slowcos.c: Remove.
57029 * benchtests/slowexp-inputs: Remove.
57030 * benchtests/slowexp.c: Remove.
57031 * benchtests/slowpow-inputs: Remove.
57032 * benchtests/slowpow.c: Remove.
57033 * benchtests/slowsin-inputs: Remove.
57034 * benchtests/slowsin.c: Remove.
57035 * benchtests/slowtan-inputs: Remove.
57036 * benchtests/slowtan.c: Remove.
57037 * benchtests/tan-inputs: Add slow benchmark inputs.
57038 * scripts/bench.pl: Parse comments and directives.
57039
57040 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
57041 in CPPFLAGS.
57042 ($(objpfx)bench-%.c): Remove *-ITER.
57043 * benchtests/bench-modf.c: Remove definition of ITER.
57044 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
57045 (main): Loop for DURATION seconds instead of fixed number of
57046 iterations.
57047 * scripts/bench.pl: Don't expect iterations in parameters.
57048
57049 2013-04-29 Roland McGrath <roland@hack.frob.com>
57050
57051 * io/fchdir.c (__fchdir): Renamed from fchdir.
57052 (fchdir): Define as weak alias.
57053
57054 2013-04-29 Joseph Myers <joseph@codesourcery.com>
57055
57056 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
57057 (ERRNO_EDOM): Likewise.
57058 (ERRNO_ERANGE): Likewise.
57059 (noErrnoTests): New variable.
57060 (init_max_error): Set errno to 0.
57061 (test_single_errno): New function.
57062 (test_errno): Likewise.
57063 (check_float_internal): Call test_errno. Set errno to 0.
57064 (check_complex): Refer to errno tests in comment.
57065 (check_int): Call test_errno. Set errno to 0.
57066 (check_long): Likewise.
57067 (check_bool): Likewise.
57068 (check_longlong): Likewise.
57069 (cos_test): Use ERRNO_* flags for errno tests instead of
57070 check_int.
57071 (expm1_test): Likewise.
57072 (fmod_test): Likewise.
57073 (ilogb_test): Likewise.
57074 (lgamma_test): Likewise.
57075 (pow_test): Likewise.
57076 (remainder_test): Likewise.
57077 (sin_test): Likewise.
57078 (tan_test): Likewise.
57079 (yn_test): Likewise.
57080 (initialize): Set errno to 0.
57081 (main): Print number of errno tests.
57082 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
57083
57084 2013-04-29 Andreas Jaeger <aj@suse.de>
57085
57086 [BZ #15084]
57087 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
57088 and RES_USEVC.
57089
57090 [BZ #15085]
57091 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
57092 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
57093 unimplemented.
57094
57095 [BZ #15380]
57096 * stdlib/random.c (__initstate): Return NULL if
57097 __initstate fails.
57098
57099 [BZ #15086]
57100 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
57101 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
57102 RES_SNGLKUPREOP.
57103
57104 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57105
57106 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57107
57108 2013-04-29 Joseph Myers <joseph@codesourcery.com>
57109
57110 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
57111 of individual tests.
57112 (casin_test): Likewise.
57113 (casinh_test): Likewise.
57114
57115 2013-04-27 Joseph Myers <joseph@codesourcery.com>
57116
57117 [BZ #15409]
57118 * math/s_catan.c (__catan): Handle arguments with large real or
57119 imaginary part separately without squaring.
57120 * math/s_catanf.c (__catanf): Likewise.
57121 * math/s_catanh.c (__catanh): Likewise.
57122 * math/s_catanhf.c (__catanhf): Likewise.
57123 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
57124 and redefine.
57125 (__catanhl): Handle arguments with large real or imaginary part
57126 separately without squaring.
57127 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
57128 and redefine.
57129 (__catanl): Handle arguments with large real or imaginary part
57130 separately without squaring.
57131 * math/libm-test.inc (catan_test): Add more tests.
57132 (catanh_test): Likewise.
57133 * sysdeps/i386/fpu/libm-test-ulps: Update.
57134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57135
57136 2013-04-27 Andreas Jaeger <aj@suse.de>
57137
57138 [BZ #15007]
57139 * stdlib/stdlib.h: Update guards for qecvt.
57140 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
57141 <stdlib.h>.
57142
57143 2013-04-27 Allan McRae <allan@archlinux.org>
57144
57145 * sysdeps/i386/fpu/libm-test-ulps: Update.
57146
57147 2013-04-26 Joseph Myers <joseph@codesourcery.com>
57148
57149 [BZ #15406]
57150 * math/s_catan.c: Include <float.h>.
57151 (__catan): Ensure underflow exception occurs for underflowed
57152 result.
57153 * math/s_catanf.c: Include <float.h>.
57154 (__catanf): Ensure underflow exception occurs for underflowed
57155 result.
57156 * math/s_catanh.c: Include <float.h>.
57157 (__catanh): Ensure underflow exception occurs for underflowed
57158 result.
57159 * math/s_catanhf.c: Include <float.h>.
57160 (__catanhf): Ensure underflow exception occurs for underflowed
57161 result.
57162 * math/s_catanhl.c: Include <float.h>.
57163 (__catanhl): Ensure underflow exception occurs for underflowed
57164 result.
57165 * math/s_catanl.c: Include <float.h>.
57166 (__catanl): Ensure underflow exception occurs for underflowed
57167 result.
57168 * math/libm-test.inc (catan_test): Add more tests.
57169 (catanh_test): Likewise.
57170
57171 [BZ #15405]
57172 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
57173 underflowed result.
57174 * math/s_ccoshf.c (__ccoshf): Likewise.
57175 * math/s_ccoshl.c (__ccoshl): Likewise.
57176 * math/s_csin.c (__csin): Likewise.
57177 * math/s_csinf.c (__csinf): Likewise.
57178 * math/s_csinh.c (__csinh): Likewise.
57179 * math/s_csinhf.c (__csinhf): Likewise.
57180 * math/s_csinhl.c (__csinhl): Likewise.
57181 * math/s_csinl.c (__csinl): Likewise.
57182 * math/libm-test.inc (ccos_test): Add more tests.
57183 (ccosh_test): Likewise.
57184 (csin_test): Likewise.
57185 (csinh_test): Likewise.
57186
57187 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57188
57189 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
57190 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
57191 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
57192 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
57193 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
57194 powerpc/power5+/fpu folders.
57195 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
57196
57197
57198 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
57199
57200 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57201
57202 2013-04-25 Joseph Myers <joseph@codesourcery.com>
57203
57204 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
57205 additions to variable.
57206 [$(config-machine) = x86_64] (modules-names): Likewise.
57207 ($(objpfx)tst-audit3): Remove dependency.
57208 ($(objpfx)tst-audit3.out): Likewise.
57209 ($(objpfx)tst-audit4): Likewise.
57210 ($(objpfx)tst-audit4.out): Likewise.
57211 ($(objpfx)tst-audit5): Likewise.
57212 ($(objpfx)tst-audit5.out): Likewise.
57213 ($(objpfx)tst-audit6): Likewise.
57214 ($(objpfx)tst-audit6.out): Likewise.
57215 ($(objpfx)tst-audit7): Likewise.
57216 ($(objpfx)tst-audit7.out): Likewise.
57217 (tst-audit3-ENV): Remove variable.
57218 (tst-audit4-ENV): Likewise.
57219 (tst-audit5-ENV): Likewise.
57220 (tst-audit6-ENV): Likewise.
57221 (tst-audit7-ENV): Likewise.
57222 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
57223 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
57224 addition to variable.
57225 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
57226 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
57227 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
57228 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
57229 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
57230 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
57231 tst-audit3, tst-audit4 and tst-audit5.
57232 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
57233 tst-audit6 and tst-audit7.
57234 [$(subdir) = elf] (modules-names): Add audit modules for those
57235 tests.
57236 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
57237 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
57238 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
57239 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
57240 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
57241 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
57242 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
57243 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
57244 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
57245 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
57246 [$(subdir) = elf] (tst-audit3-ENV): New variable.
57247 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
57248 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
57249 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
57250 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
57251 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
57252 Likewise.
57253 [$(subdir) = elf && $(config-cflags-avx) = yes]
57254 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
57255 [$(subdir) = elf && $(config-cflags-avx) = yes]
57256 (CFLAGS-tst-auditmod4a.c): Likewise.
57257 [$(subdir) = elf && $(config-cflags-avx) = yes]
57258 (CFLAGS-tst-auditmod4b.c): Likewise.
57259 [$(subdir) = elf && $(config-cflags-avx) = yes]
57260 (CFLAGS-tst-auditmod6b.c): Likewise.
57261 [$(subdir) = elf && $(config-cflags-avx) = yes]
57262 (CFLAGS-tst-auditmod6c.c): Likewise.
57263 [$(subdir) = elf && $(config-cflags-avx) = yes]
57264 (CFLAGS-tst-auditmod7b.c): Likewise.
57265 * elf/tst-audit3.c: Move to ...
57266 * sysdeps/x86_64/tst-audit3.c: ... here.
57267 * elf/tst-audit4.c: Move to ...
57268 * sysdeps/x86_64/tst-audit4.c: ... here.
57269 * elf/tst-audit5.c: Move to ...
57270 * sysdeps/x86_64/tst-audit5.c: ... here.
57271 * elf/tst-audit6.c: Move to ...
57272 * sysdeps/x86_64/tst-audit6.c: ... here.
57273 * elf/tst-audit7.c: Move to ...
57274 * sysdeps/x86_64/tst-audit7.c: ... here.
57275 * elf/tst-auditmod3a.c: Move to ...
57276 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
57277 * elf/tst-auditmod3b.c: Move to ...
57278 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
57279 * elf/tst-auditmod4a.c: Move to ...
57280 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
57281 * elf/tst-auditmod4b.c: Move to ...
57282 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
57283 * elf/tst-auditmod5a.c: Move to ...
57284 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
57285 * elf/tst-auditmod5b.c: Move to ...
57286 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
57287 * elf/tst-auditmod6a.c: Move to ...
57288 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
57289 * elf/tst-auditmod6b.c: Move to ...
57290 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
57291 * elf/tst-auditmod6c.c: Move to ...
57292 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
57293 * elf/tst-auditmod7a.c: Move to ...
57294 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
57295 * elf/tst-auditmod7b.c: Move to ...
57296 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
57297
57298 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
57299
57300 [BZ #15366]
57301 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
57302 define unconditionally.
57303 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
57304 define unconditionally.
57305 (INT8_C, INT16_C, etc.): Likewise.
57306
57307 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
57308
57309 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
57310 __ehdr_start with hidden visibility.
57311
57312 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
57313
57314 2013-04-24 Carlos O'Donell <carlos@redhat.com>
57315
57316 * math/libm-test.inc (cos_test): Use accurate hex constants.
57317 (sincost_test): Likewise.
57318
57319 2013-04-24 Joseph Myers <joseph@codesourcery.com>
57320
57321 * math/libm-test.inc (catan_test): Add more tests.
57322 (catanh_test): Likewise.
57323
57324 * math/s_catanf.c (__catanf): Use suffixed floating-point
57325 constants.
57326 * math/s_catanhf.c (__catanhf): Likewise.
57327 * math/s_catanhl.c (__catanhl): Likewise.
57328 * math/s_catanl.c (__catanl): Likewise.
57329
57330 [BZ #15394]
57331 * math/s_catan.c (__catan): Calculate imaginary part of result
57332 with log1p not log unless computing log of number close to 0.
57333 * math/s_catanf.c (__catanf): Likewise.
57334 * math/s_catanl.c (__catanl): Likewise.
57335 * math/s_catanh.c (__catanh): Calculate real part of result with
57336 log1p not log unless computing log of number close to 0.
57337 * math/s_catanhf.c (__catanhf): Likewise.
57338 * math/s_catanhl.c (__catanhl): Likewise.
57339 * math/libm-test.inc (catan_test): Add more tests.
57340 (catanh_test): Likewise.
57341 * sysdeps/i386/fpu/libm-test-ulps: Update.
57342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57343
57344 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
57345
57346 * benchtests/Makefile: Mention files in which fast and slow
57347 paths of math functions are implemented.
57348
57349 2013-04-23 Roland McGrath <roland@hack.frob.com>
57350
57351 * sysdeps/posix/timespec_get.c: New file.
57352
57353 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57354
57355 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
57356 POWER.
57357 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
57358 for POWER.
57359 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
57360 powerpc/power5/fpu folders.
57361 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
57362 * benchtests/Makefile: Add modf testcase.
57363 * benchtests/bench-modf.c: New file: Benchmark test for mo
57364
57365 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
57366
57367 [BZ #14888]
57368 * time/Makefile (tests): Add tst-strptime-whitespace.
57369 * time/strptime_l.c (get_number): Use ISSPACE.
57370 (__strptime_internal): Likewise.
57371 * time/tst-strptime-whitespace.c: New test case.
57372
57373 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
57374
57375 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
57376 member.
57377 (_nss_files_init): Set it here.
57378
57379 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
57380
57381 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
57382 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
57383 unsigned.
57384
57385 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
57386
57387 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
57388
57389 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
57390
57391 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
57392 size just once.
57393
57394 2013-04-21 David S. Miller <davem@davemloft.net>
57395
57396 * po/ru.po: Update Russion translation from translation project.
57397
57398 2013-04-17 Adam Conrad <adconrad@0c3.net>
57399
57400 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
57401 and setfsgid.
57402
57403 2013-04-17 Carlos O'Donell <carlos@redhat.com>
57404
57405 * configure.in: Remove i386 configure warning. Remove i386 case.
57406 * configure: Regenerate.
57407 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
57408 Add example to error message.
57409 * sysdeps/i386/configure: Regenerate.
57410
57411 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
57412
57413 * benchtests/Makefile (bench): Add cos, tan, slowcos and
57414 slowtan.
57415 * benchtests/cos-inputs: New file.
57416 * benchtests/slowcos-inputs: New file.
57417 * benchtests/slowcos.c: New file.
57418 * benchtests/slowtan-inputs: New file.
57419 * benchtests/slowtan.c: New file.
57420 * benchtests/tan-inputs: New file.
57421
57422 2013-04-16 Roland McGrath <roland@hack.frob.com>
57423
57424 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
57425 considered kosher.
57426
57427 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
57428
57429 * benchtests/Makefile: Include cppflags-iterator.mk to add
57430 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
57431
57432 * Makefile.in (bench-clean): New target.
57433 * benchtests/Makefile (bench-clean): Likewise.
57434
57435 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
57436
57437 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
57438
57439 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
57440
57441 * stdio-common/tstdiomisc.c: Fix coding-style violation.
57442
57443 2013-04-15 Andreas Schwab <schwab@suse.de>
57444
57445 * nscd/grpcache.c (cache_addgr): Properly check for short write.
57446 * nscd/initgrcache.c (addinitgroupsX): Likewise.
57447 * nscd/pwdcache.c (cache_addpw): Likewise.
57448 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
57449 more than recsize.
57450
57451 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
57452
57453 * benchtests/Makefile (bench): Write all output to
57454 bench-out.tmp together.
57455
57456 2013-04-15 Andreas Schwab <schwab@suse.de>
57457
57458 * nscd/nscd.c (main): Don't fork again after closing files.
57459
57460 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
57461
57462 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
57463
57464 * benchtests/Rules (bench-deps): Collect dependencies into a
57465 single variable. Add Makefile to dependencies.
57466 ($(objpfx)bench-%.c): Depend on bench-deps.
57467
57468 2013-04-12 Roland McGrath <roland@hack.frob.com>
57469 Xavier Roche <roche+kml2@exalead.com>
57470
57471 [BZ #15361]
57472 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
57473 just that it's a file descriptor.
57474 * manual/llio.texi (Synchronizing AIO Operations): Update description
57475 for EBADF error from aio_fsync.
57476
57477 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
57478
57479 * Rules (bench): Move target definition...
57480 * benchtests/Makefile: ... here.
57481
57482 2013-04-11 Carlos O'Donell <carlos@redhat.com>
57483
57484 * math/libm-test.inc (cos_test): Fix PI/2 test.
57485 (sincos_test): Likewise.
57486 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
57487 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
57488
57489 2013-04-11 Andreas Schwab <schwab@suse.de>
57490
57491 [BZ #13988]
57492 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
57493 accept exponent character only when digits were seen.
57494 * stdio-common/Makefile (tests): Add bug26.
57495 * stdio-common/bug26.c: New file.
57496
57497 [BZ #14293]
57498 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
57499 non-freeable.
57500
57501 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
57502
57503 * Makeconfig (rtld-prefix): Define built linker prefix.
57504 * Rules (run-bench): Use it.
57505 * math/Makefile (run-regen-ulps): Likewise.
57506
57507 * Rules (bench): Remove eval.
57508
57509 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
57510 Roland McGrath <roland@hack.frob.com>
57511 Ondrej Bilka <neleai@seznam.cz>
57512
57513 [BZ #15346]
57514 * time/getdate.c: Include ctype.h and alloca.h.
57515 (__getdate_r): Trim leading and trailing spaces of input.
57516 * time/tst-getdate.c (tests): Add tests with leading and
57517 trailing spaces.
57518
57519 2013-04-08 Roland McGrath <roland@hack.frob.com>
57520
57521 [BZ #14280]
57522 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
57523 when computing value.
57524
57525 2013-04-06 Carlos O'Donell <carlos@redhat.com>
57526
57527 * math/README.libm-test (How can I generate "libm-test-ulps"?):
57528 Use testrun.sh to run libm tests.
57529
57530 [BZ #15309]
57531 * elf/dl-open.c (dl_open_worker): memset all of seen array.
57532
57533 2013-04-06 Marko Myllynen <myllynen@redhat.com>
57534
57535 [BZ #15264]
57536 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
57537
57538 2013-04-06 Carlos O'Donell <carlos@redhat.com>
57539
57540 * Makefile.in (regen-ulps): New target.
57541 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
57542 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
57543 [ifneq (no,$(PERL)] (regen-ulps): New target.
57544 [ifeq (no,$(PERL)] (regen-ulps): New target.
57545 * math/libm-test.inc (ulps_file_name): Define.
57546 (output_dir): New variable.
57547 (options): Add "output-dir" option.
57548 (parse_opt): Handle 'o' case.
57549 (main): If output_dir is non-NULL use it as a prefix
57550 otherwise use "".
57551 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
57552
57553 2013-04-06 Carlos O'Donell <carlos@redhat.com>
57554
57555 [BZ #10060, #10062]
57556 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
57557 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
57558 fail configure if __sync_val_compare_and_swap is not inlined.
57559 * sysdeps/i386/configure: Regenerate.
57560 * configure.in: Build for i686 when configured for i386.
57561 * configure: Regenerate.
57562 * README: Remove i386 reference.
57563
57564 2013-04-06 Carlos O'Donell <carlos@redhat.com>
57565
57566 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
57567 * sysdeps/s390/s390-64/sysdep.h: Likewise.
57568
57569 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
57570
57571 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
57572 (lmsnanval): New variables.
57573 (F): Add conversion tests.
57574 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
57575 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
57576
57577 * stdio-common/tstdiomisc.c (F): Properly collect individual
57578 tests' results.
57579
57580 [BZ #14686, #15336]
57581 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
57582 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
57583 Instead, use input NaN values or generate a qNaN by arithmetic
57584 operation. Also fix bugs to comply with the standard.
57585 * math/libm-test.inc (remainder_test): Add more tests.
57586
57587 [BZ #15335, #15342]
57588 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
57589 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
57590 input NaN values or generate a qNaN by arithmetic operation.
57591
57592 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
57593 unreachable code.
57594
57595 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
57596 definitions.
57597
57598 2013-04-03 Joseph Myers <joseph@codesourcery.com>
57599
57600 [BZ #14478]
57601 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
57602 underflowed result.
57603 * math/s_cexpf.c (__cexpf): Likewise.
57604 * math/s_cexpl.c (__cexpl): Likewise.
57605 * math/libm-test.inc (cexp_test): Add more tests.
57606
57607 2013-04-03 Andreas Schwab <schwab@suse.de>
57608
57609 [BZ #15330]
57610 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
57611 order arrays from heap if bigger than alloca cutoff.
57612
57613 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
57614
57615 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
57616 (SNAN_TESTS_double): Refer to GCC PR56831.
57617 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
57618 GCC PR56828.
57619
57620 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
57621
57622 * Rules (bench): Move bench.out after the run is complete.
57623
57624 * Rules (bench): Echo currently running benchmark.
57625
57626 * benchtests/Makefile (bench): Add atan and slowatan.
57627 * benchtests/atan-inputs: New file.
57628 * benchtests/slowatan-inputs: New file.
57629 * benchtests/slowatan.c: New file.
57630
57631 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
57632 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
57633 its value.
57634
57635 [BZ #15305]
57636 * sysdeps/unix/sysv/linux/kernel-features.h
57637 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
57638 __ASSUME_XFS_RESTRICTED_CHOWN.
57639 * sysdeps/unix/sysv/linux/pathconf.c
57640 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
57641 Save and restore errno.
57642
57643 2013-04-02 Joseph Myers <joseph@codesourcery.com>
57644
57645 [BZ #15327]
57646 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
57647 arguments using __kernel_casinh.
57648 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
57649 arguments using __kernel_casinhf.
57650 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
57651 arguments using __kernel_casinhl.
57652 * math/libm-test.inc (cacosh_test): Add more tests.
57653 * sysdeps/i386/fpu/libm-test-ulps: Update.
57654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57655
57656 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
57657
57658 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
57659 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
57660
57661 * bench/Makefile (bench): Add sin and slowsin.
57662 * benchtests/sin-inputs: New file.
57663 * benchtests/slowsin-inputs: New file.
57664 * benchtests/slowsin.c: New file.
57665
57666 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
57667 (bench): Add slowexp and slowpow.
57668 (exp-ITER): Increase iterations.
57669 (pow-ITER): Likewise.
57670 * benchtests/exp-inputs: Change input.
57671 * benchtests/pow-inputs: Likewise.
57672 * benchtests/slowexp-inputs: New file.
57673 * benchtests/slowexp.c: New file.
57674 * benchtests/slowpow-inputs: New file.
57675 * benchtests/slowpow.c: New file.
57676
57677 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57678
57679 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
57680 instructions.
57681 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
57682 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
57683 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
57684 * benchtests/Makefile: Add rint benchtest.
57685 * benchtests/rint-inputs: Input for rint benchtest.
57686
57687 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
57688
57689 * Versions.def (libm): Add GLIBC_2.18.
57690 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
57691 hidden libm prototypes.
57692 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
57693 * math/Makefile (libm-calls): Add s_issignaling.
57694 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
57695 __issignalingf, __issignalingl. Adjust all libm.abilist files.
57696 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
57697 declaration.
57698 * math/math.h [__USE_GNU] (issignaling): New macro.
57699 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
57700 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
57701 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
57702 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
57703 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
57704 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
57705 * manual/arith.texi (issignaling): New section.
57706 * manual/libm-err-tab.pl (@all_functions): Update comment.
57707 * math/gen-libm-test.pl (parse_args): Apply special handling for
57708 issignaling.
57709 * math/libm-test.inc (print_float, issignaling_test): New
57710 functions.
57711 (check_float_internal): Add issignaling checks.
57712 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
57713 default definition.
57714 * sysdeps/powerpc/math-tests.h: New file.
57715 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
57716 tests.
57717 * math/test-snan.c (TEST_FUNC): Likewise.
57718
57719 2013-03-30 David S. Miller <davem@davemloft.net>
57720
57721 * po/de.po: Update from translation team.
57722
57723 2013-03-30 Joseph Myers <joseph@codesourcery.com>
57724
57725 [BZ #10357]
57726 * math/k_casinh.c (__kernel_casinh): Handle arguments with
57727 imaginary part less than 1.0 and real part less than 0.5
57728 specially.
57729 * math/k_casinhf.c (__kernel_casinhf): Likewise.
57730 * math/k_casinhl.c (__kernel_casinhl): Likewise.
57731 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
57732 (cacos_test): Add more tests.
57733 (casin_test): Likewise.
57734 (casinh_test): Likewise.
57735 * sysdeps/i386/fpu/libm-test-ulps: Update.
57736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57737
57738 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
57739
57740 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
57741 ONE with its value.
57742
57743 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
57744 (__pow_mp): Replace ONE and MONE with their values.
57745 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
57746 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
57747 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
57748 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
57749 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
57750 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
57751
57752 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
57753
57754 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
57755 (__pow_mp): Replace ZERO and MZERO with their values.
57756 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
57757 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
57758 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
57759 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
57760 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
57761 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
57762 (__sqr): Likewise.
57763
57764 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
57765
57766 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
57767
57768 2013-03-28 Roland McGrath <roland@hack.frob.com>
57769
57770 * include/stdlib.h [!SHARED] (__call_tls_dtors):
57771 Declare with __attribute__ ((weak)).
57772 * stdlib/exit.c (__libc_atexit) [!SHARED]:
57773 Call __call_tls_dtors only if it's not NULL.
57774
57775 2013-03-28 Roland McGrath <roland@hack.frob.com>
57776
57777 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
57778 didn't do it already, then set _dl_phdr and _dl_phnum based on the
57779 magic __ehdr_start linker symbol if it's defined.
57780 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
57781 them up here if it was already done.
57782
57783 * elf/dl-support.c (_dl_phdr): Make pointer to const.
57784 (_dl_aux_init): Use const in cast when setting it.
57785 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
57786 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
57787 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
57788
57789 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
57790 Declare them here.
57791 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
57792 * csu/libc-tls.c: Nor here.
57793 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
57794
57795 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
57796 (__libc_message): Never call vsyslog.
57797
57798 2013-03-28 Alan Modra <amodra@gmail.com>
57799
57800 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
57801 Define as empty.
57802 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
57803 Likewise.
57804
57805 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57806
57807 [BZ #15214]
57808 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
57809 underflow.
57810 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57811
57812 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
57813
57814 [BZ #15304]
57815 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
57816 Don't add gid passed as argument.
57817
57818 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
57819
57820 2013-03-27 Joseph Myers <joseph@codesourcery.com>
57821
57822 [BZ #15307]
57823 * math/k_casinh.c (__kernel_casinh): Handle arguments with
57824 imaginary part between 1.0 and 1.5 and real part less than 0.5
57825 specially.
57826 * math/k_casinhf.c (__kernel_casinhf): Likewise.
57827 * math/k_casinhl.c (__kernel_casinhl): Likewise.
57828 * math/libm-test.inc (cacos_test): Add more tests.
57829 (casin_test): Likewise.
57830 (casinh_test): Likewise.
57831 * sysdeps/i386/fpu/libm-test-ulps: Update.
57832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57833
57834 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
57835
57836 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
57837 constants.
57838 (norm): Likewise.
57839 (denorm): Likewise.
57840 (__dbl_mp): Likewise.
57841 (add_magnitudes): Likewise.
57842 (sub_magnitudes): Likewise.
57843 (__add): Likewise.
57844 (__sub): Likewise.
57845 (__mul): Likewise.
57846 (__sqr): Likewise.
57847 (__inv): Likewise.
57848 (__dvd): Likewise.
57849
57850 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
57851 commented code.
57852 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
57853 (__dubcos): Likewise.
57854 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
57855 (__ieee754_acos): Likewise.
57856 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
57857 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
57858 (__exp1): Likewise.
57859 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
57860 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
57861 (log1): Likewise.
57862 (my_log2): Likewise.
57863 (checkint): Likewise.
57864 * sysdeps/ieee754/dbl-64/e_remainder.c
57865 (__ieee754_remainder): Likewise.
57866 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
57867 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
57868 (bsloww): Likewise.
57869 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
57870
57871 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
57872 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
57873 MANTISSA_STORE_T to store computations on mantissa. Use
57874 macros for rounding and division.
57875 (denorm): Likewise.
57876 (__dbl_mp): Likewise.
57877 (add_magnitudes): Likewise.
57878 (sub_magnitudes): Likewise.
57879 (__mul): Likewise.
57880 (__sqr): Likewise.
57881 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
57882 powers of two in terms of TWOPOW macro.
57883 (mp_no): Make type of mantissa as MANTISSA_T.
57884 [!RADIXI]: Define RADIXI.
57885 [!TWO52]: Define TWO52.
57886 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
57887
57888 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57889
57890 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
57891 llroundl symbol when building for PPC32.
57892
57893 2013-03-24 Mark H Weaver <mhw@netris.org>
57894
57895 * manual/arith.texi (Normalization Functions): Fix prototypes for
57896 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
57897
57898 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57899
57900 [BZ #13889]
57901 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
57902 high value to check if expl overflow.
57903 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
57904 to check for underflow and overflow.
57905 * math/libm-test.inc: Add exp test.
57906
57907 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
57908
57909 [BZ #11120]
57910 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
57911 with NOT_IN_libc.
57912
57913 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57914
57915 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
57916 symbol.
57917
57918 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
57919
57920 * math/gen-libm-test.pl (parse_args, special_functions): Properly
57921 wrap blocks consisting of several statements.
57922
57923 * sysdeps/generic/math-tests.h: New file.
57924 * sysdeps/i386/fpu/math-tests.h: Likewise.
57925 * math/test-snan.c: Include it.
57926 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
57927
57928 2013-03-21 Joseph Myers <joseph@codesourcery.com>
57929
57930 [BZ #15285]
57931 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
57932 (__ieee754_j0l): Do not improve calculations using cos of twice
57933 input for inputs above LDBL_MAX / 2.0L.
57934 (__ieee754_y0l): Likewise.
57935 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
57936 (__ieee754_j1l): Do not improve calculations using cos of twice
57937 input for inputs above LDBL_MAX / 2.0L.
57938 (__ieee754_y1l): Likewise.
57939 * math/libm-test.inc (j0_test): Add another test.
57940 (j1_test): Likewise.
57941 (y0_test): Likewise.
57942 (y1_test): Likewise.
57943 * sysdeps/i386/fpu/libm-test-ulps: Update.
57944
57945 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
57946
57947 * Rules ($(objpfx)bench-%.c): Include code from a C source
57948 file.
57949
57950 2013-03-21 Joseph Myers <joseph@codesourcery.com>
57951
57952 [BZ #15287]
57953 * math/k_casinh.c (__kernel_casinh): Handle arguments with
57954 imaginary part 1.0 and real part less than 0.5 specially.
57955 * math/k_casinhf.c (__kernel_casinhf): Likewise.
57956 * math/k_casinhl.c (__kernel_casinhl): Likewise.
57957 * math/libm-test.inc (cacos_test): Add more tests.
57958 (casin_test): Likewise.
57959 (casinh_test): Likewise.
57960 * sysdeps/i386/fpu/libm-test-ulps: Update.
57961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57962
57963 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
57964
57965 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
57966 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
57967
57968 2013-03-20 Joseph Myers <joseph@codesourcery.com>
57969
57970 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
57971 * config.make.in (config-cflags-sse4): Remove variable.
57972 (config-cflags-avx): Likewise.
57973 (config-cflags-sse2avx): Likewise.
57974 (config-cflags-novzeroupper): Likewise.
57975 (config-asflags-i686): Likewise.
57976 (have-mfma4): Likewise.
57977 (have-as-vis3): Likewise.
57978 (MIG): Likewise.
57979 * configure.in (MIG): Do not AC_SUBST.
57980 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
57981 (libc_cv_cc_sse4): Do not AC_SUBST.
57982 (libc_cv_cc_avx): Likewise.
57983 (libc_cv_cc_sse2avx): Likewise.
57984 (libc_cv_cc_novzeroupper): Likewise.
57985 (libc_cv_cc_fma4): Likewise.
57986 (libc_cv_as_i686): Likewise.
57987 (libc_cv_sparc_as_vis3): Likewise.
57988 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
57989 LIBC_CONFIG_VAR.
57990 (config-asflags-i686): Likewise.
57991 (config-cflags-avx): Likewise.
57992 (config-cflags-sse2avx): Likewise.
57993 (have-mfma4): Likewise.
57994 (config-cflags-novzeroupper): Likewise.
57995 * sysdeps/mach/configure.in (MIG): Likewise.
57996 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
57997 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
57998 LIBC_CONFIG_VAR.
57999 (config-cflags-avx): Likewise.
58000 (config-cflags-sse2avx): Likewise.
58001 (have-mfma4): Likewise.
58002 (config-cflags-novzeroupper): Likewise.
58003 * configure: Regenerated.
58004 * sysdeps/i386/configure: Likewise.
58005 * sysdeps/mach/configure: Likewise.
58006 * sysdeps/sparc/configure: Likewise.
58007 * sysdeps/x86_64/configure: Likewise.
58008
58009 2013-03-20 Roland McGrath <roland@hack.frob.com>
58010
58011 [BZ #14812]
58012 * locale/programs/localedef.c (options): Put N_ translation marker
58013 on argument names, not just descriptions.
58014
58015 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
58016
58017 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
58018
58019 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
58020
58021 [BZ #14176]
58022 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
58023
58024 2013-03-19 Roland McGrath <roland@hack.frob.com>
58025
58026 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
58027 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
58028 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
58029 [!BEFORE_ABORT] (before_abort): New function.
58030 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
58031 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
58032 (writev_for_fatal): New function.
58033 (WRITEV_FOR_FATAL): New macro; call that.
58034 (backtrace_and_maps): New function.
58035 (BEFORE_ABORT): New macro; call that.
58036 (struct str_list): Type removed.
58037 (__libc_message, __libc_fatal): Functions removed.
58038 Include <sysdeps/posix/libc_fatal.c> instead.
58039
58040 2013-03-19 Joseph Myers <joseph@codesourcery.com>
58041
58042 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
58043 constants.
58044 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
58045 double constants.
58046
58047 2013-03-19 Andreas Schwab <schwab@suse.de>
58048
58049 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
58050 * sysdeps/gnu/configure: Regenerate.
58051
58052 * configure.in: Substitute libc_cv_rtlddir.
58053 * configure: Regenerate.
58054 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
58055 * Makeconfig (rtlddir, inst_rtlddir): New variables.
58056 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
58057 * elf/Makefile (install-others, CFLAGS-interp.c)
58058 (ldso_install, common-ldd-rewrite): Likewise.
58059 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
58060 $(inst_slibdir)/$(rtld-installed-name).
58061 * scripts/rellns-sh: Add -p option.
58062 * Makerules (make-shlib-link): Use rellns-sh to get relative name
58063 for source.
58064
58065 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
58066
58067 * manual/nptl.texi: Renamed to ...
58068 * manual/threads.texi: ... this.
58069 * manual/Makefile (chapters): Update.
58070
58071 2013-03-18 Roland McGrath <roland@hack.frob.com>
58072
58073 [BZ #14812]
58074 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
58075 on argument names, not just descriptions.
58076 * malloc/memusagestat.c (options): Likewise.
58077 * nss/getent.c (options): Likewise.
58078
58079 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
58080
58081 [BZ #14812]
58082 * iconv/iconv_prog.c (options): Put N_ translation marker
58083 on argument names, not just descriptions.
58084 * iconv/iconvconfig.c (options): Likewise.
58085
58086 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
58087
58088 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
58089 implementation which is faster on all x86_64 architectures.
58090 Tested on AMD, Intel Nehalem, SNB, IVB.
58091 * sysdeps/x86_64/strnlen.S: Likewise.
58092
58093 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
58094 Remove all multiarch strlen and strnlen versions.
58095 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
58096 Remove strlen and strnlen related parts.
58097
58098 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
58099 Inline strlen part.
58100 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
58101
58102 * sysdeps/x86_64/multiarch/strlen.S: Remove.
58103 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
58104 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
58105 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
58106 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
58107 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
58108
58109 2013-03-17 Carlos O'Donell <carlos@redhat.com>
58110
58111 * manual/memory.texi (Malloc Tunable Parameters):
58112 Sort parameters alphabetically. Add comments for missing entries.
58113
58114 2013-03-17 David S. Miller <davem@davemloft.net>
58115
58116 * sysdeps/sparc/fpu/libm-test-ulps: Update.
58117
58118 2013-03-16 Joseph Myers <joseph@codesourcery.com>
58119
58120 [BZ #15283]
58121 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
58122 for arguments at most half maximum finite value.
58123 * math/libm-test.inc (j0_test): Add more tests.
58124 (j1_test): Likewise.
58125 (y0_test): Likewise.
58126 (y1_test): Likewise.
58127 * sysdeps/i386/fpu/libm-test-ulps: Update.
58128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58129
58130 [BZ #14155]
58131 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
58132 1 / x and functions P and Q for arguments above 0x1p256L.
58133 (__ieee754_y0l): Likewise.
58134 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
58135 (__ieee754_y1l): Likewise.
58136 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
58137 (j1_test): Likewise.
58138 (y0_test): Likewise.
58139 (y1_test): Likewise.
58140
58141 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
58142
58143 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
58144 variable.
58145
58146 2013-03-15 Roland McGrath <roland@hack.frob.com>
58147
58148 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
58149 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
58150 zero since it's initialized to EXEC_PAGESIZE.
58151
58152 * sysdeps/unix/sysv/linux/ldsodefs.h
58153 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
58154 * sysdeps/generic/ldsodefs.h: ... here.
58155
58156 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
58157
58158 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
58159
58160 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
58161 math/test-snan.c.
58162 * math/test-snan.c: Renamed from
58163 sysdeps/powerpc/fpu/test-powerpc-snan.c.
58164 * math/Makefile (tests): Add test-snan.
58165 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
58166 test-powerpc-snan.
58167
58168 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
58169 SUFFIX. Initialize qNaN_var with __builtin_nan family of
58170 functions.
58171 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
58172 __builtin_nan family of functions.
58173 * math/libm-test.inc (initialize): Initialize qnan_value with
58174 __builtin_nan family of functions.
58175 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
58176 Remove variables.
58177 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
58178 Remove functions.
58179 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
58180 storage class. Initialize qNaN_var and sNaN_var with
58181 __builtin_nan and __builtin_nans families of functions,
58182 respectively.
58183
58184 * math/libm-test.inc (acosh_test): Also test with qNaN input.
58185 (sqrt_test): Remove duplicate test with qNaN input.
58186 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
58187 (round_test, signbit_test, significand_test): Note missing +/-Inf
58188 as well as qNaN tests.
58189
58190 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
58191 qNaN_var. Fix a few strings, too.
58192 * math/libm-test.inc (nan_value): Rename to qnan_value.
58193 * math/gen-libm-test.pl (%beautify): Adjust to that.
58194 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
58195 * math/test-misc.c (main): Likewise.
58196 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
58197 to __qnan_bytes, and __qnan_union, respectively.
58198 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
58199 Likewise.
58200 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
58201 and lqnanval, respectively.
58202 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
58203 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
58204 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
58205 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
58206
58207 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
58208 * math/test-misc.c (main) [__x86_64__]: Enable test for long
58209 doubles.
58210
58211 * math/test-misc.c (main): Fix copy'n'pastos.
58212 * misc/tst-efgcvt.c (special): Likewise.
58213
58214 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
58215 Remove declarations.
58216
58217 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
58218
58219 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
58220 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
58221 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
58222 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
58223
58224 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58225
58226 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
58227 macro to return vdso values correctly in IFUNC implementations.
58228 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
58229 Optimization by using IFUNC.
58230
58231 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
58232 Richard Henderson <rth@redhat.com>
58233 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
58234
58235 * Makefile.in (bench): New target.
58236 * NEWS: Mention the benchmark framework.
58237 * Rules (bench): Likewise.
58238 (binaries-bench): Generate binaries for functions to
58239 benchmark.
58240 * benchtests/Makefile: New makefile for benchmark tests.
58241 * benchtests/bench-skeleton.c: New skeleton file for benchmark
58242 programs.
58243 * benchtests/exp-inputs: New input file for EXP function.
58244 * benchtests/pow-inputs: New input file for POW function.
58245 * scripts/bench.pl: New script to generate source files for
58246 benchmark programs.
58247
58248 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
58249
58250 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
58251 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
58252 computations on mantissa. Use macros for rounding and
58253 division.
58254 (denorm): Likewise.
58255 (__dbl_mp): Likewise.
58256 (add_magnitudes): Likewise.
58257 (sub_magnitudes): Likewise.
58258 (__mul): Likewise.
58259 (__sqr): Likewise.
58260 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
58261 powers of two in terms of TWOPOW macro.
58262 (mp_no): Make type of mantissa as MANTISSA_T.
58263 [!RADIXI]: Define RADIXI.
58264 [!TWO52]: Define TWO52.
58265 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
58266
58267 * manual/nptl.texi (cindex): Modify threads to pthreads.
58268
58269 2013-03-15 Joseph Myers <joseph@codesourcery.com>
58270
58271 * sysdeps/x86_64/preconfigure: Regenerated.
58272
58273 2013-03-14 Joseph Myers <joseph@codesourcery.com>
58274
58275 [BZ #14155]
58276 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
58277 0x1p28 and above.
58278 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
58279 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
58280 0x1p28 and above.
58281 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
58282 * math/libm-test.inc (j0_test): Do not allow one spurious
58283 underflow exception.
58284 (y1_test): Likewise.
58285
58286 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
58287
58288 * manual/Makefile (chapters): Add nptl.
58289 * manual/debug.texi (Debugging Support): Add link to Threads
58290 chapter.
58291 * manual/nptl.texi: New file.
58292
58293 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
58294
58295 2013-03-14 Petr Baudis <pasky@ucw.cz>
58296
58297 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
58298 for non-NULL pointer before the memory validity test. Pointed
58299 out by Holger Brunck <holger.brunck@keymile.com>.
58300
58301 2013-03-13 Andreas Schwab <schwab@suse.de>
58302
58303 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
58304 instead of .os.
58305
58306 2013-03-13 Joseph Myers <joseph@codesourcery.com>
58307
58308 * timezone/zic.c: Update from tzcode 2013b.
58309
58310 2013-03-12 Carlos O'Donell <carlos@redhat.com>
58311
58312 * manual/install.texi (Configuring and compiling):
58313 Mention i686 and i586.
58314 * INSTALL: Regenerate.
58315
58316 2013-03-12 Roland McGrath <roland@hack.frob.com>
58317
58318 * sysdeps/init_array/elf-init.c: New file.
58319 * csu/elf-init.c
58320 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
58321 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
58322
58323 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
58324 __gmon_start__ as global, but as static with a .preinit_array pointer.
58325 * sysdeps/init_array/gmon-start.c: New file. Use that.
58326 * sysdeps/init_array/crti.S: New file, empty except for comments.
58327 * sysdeps/init_array/crtn.S: Likewise.
58328
58329 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
58330
58331 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
58332 definining bcopy.
58333 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58334 Remove Prefer_SSE_for_memop.
58335 * sysdeps/x86_64/multiarch/init-arch.h: Remove
58336 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
58337 HAS_PREFER_SSE_FOR_MEMOP.
58338 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
58339 memset-x86-64.
58340 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
58341 Remove bzero, memset ifunc support.
58342 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
58343 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
58344 * sysdeps/x86_64/multiarch/memset.S: Likewise.
58345 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
58346
58347 2013-03-11 Andreas Schwab <schwab@suse.de>
58348
58349 [BZ #15234]
58350 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
58351 by SHLIB_COMPAT.
58352 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
58353 (GLIBC_2.16): Remove pthread_atfork.
58354
58355 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
58356
58357 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
58358 (ptestcases.h): Likewise.
58359
58360 2013-03-08 Roland McGrath <roland@hack.frob.com>
58361
58362 * Makeconfig ($(common-objpfx)config.status): Depend on
58363 sysdeps/*/preconfigure{,.in} too.
58364
58365 2013-03-08 Joseph Myers <joseph@codesourcery.com>
58366
58367 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
58368 (__free_hook): Use void * instead of __malloc_ptr_t.
58369 (__malloc_hook): Likewise.
58370 (__realloc_hook): Likewise.
58371 (__memalign_hook): Likewise.
58372 (__after_morecore_hook): Likewise.
58373 * malloc/arena.c (save_malloc_hook): Likewise.
58374 (save_free_hook): Likewise.
58375 * malloc/hooks.c (malloc_hook_ini): Likewise.
58376 (realloc_hook_ini): Likewise.
58377 (memalign_hook_ini): Likewise.
58378 * malloc/malloc.c (malloc_hook_ini): Likewise.
58379 (realloc_hook_ini): Likewise.
58380 (memalign_hook_ini): Likewise.
58381 (__free_hook): Likewise.
58382 (__malloc_hook): Likewise.
58383 (__realloc_hook): Likewise.
58384 (__memalign_hook): Likewise.
58385 (__libc_malloc): Likewise.
58386 (__libc_free): Likewise.
58387 (__libc_realloc): Likewise.
58388 (__libc_memalign): Likewise.
58389 (__libc_valloc): Likewise.
58390 (__libc_pvalloc): Likewise.
58391 (__libc_calloc): Likewise.
58392 (__posix_memalign): Likewise.
58393 * malloc/morecore.c (__sbrk): Likewise.
58394 (__default_morecore): Likewise.
58395
58396 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
58397
58398 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
58399 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
58400 __malloc_ptrdiff_t.
58401
58402 * malloc/malloc.h (__malloc_size_t): Remove macro.
58403 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
58404 __malloc_size_t.
58405 (old_memalign_hook): Likewise.
58406 (old_realloc_hook): Likewise.
58407 (struct hdr): Likewise.
58408 (flood): Likewise.
58409 (mallochook): Likewise.
58410 (memalignhook): Likewise.
58411 (reallochook): Likewise.
58412 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
58413 (tr_old_realloc_hook): Likewise.
58414 (tr_old_memalign_hook): Likewise.
58415 (tr_mallochook): Likewise.
58416 (tr_reallochook): Likewise.
58417 (tr_memalignhook): Likewise.
58418
58419 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58420
58421 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
58422 default_ldbl_pack and using as default implementation.
58423 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
58424 implementation.
58425 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
58426 redundant definition.
58427 (ldbl_insert_mantissa): Likewise.
58428 (ldbl_canonicalize): Likewise.
58429 (ldbl_nearbyint): Likewise.
58430 (ldbl_pack): Rename to ldbl_pack_ppc.
58431 (ldbl_unpack): Rename to ldbl_unpack_ppc.
58432 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
58433 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
58434
58435 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
58436
58437 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
58438 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
58439 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
58440 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
58441 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
58442 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
58443 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
58444 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
58445
58446 2013-03-07 Andreas Jaeger <aj@suse.de>
58447
58448 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58449 bits/mman-linux.h.
58450
58451 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
58452
58453 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
58454 Include mpa.h and declare __MPEXP.
58455 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
58456 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
58457 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
58458 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
58459 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
58460 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
58461 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
58462
58463 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
58464 (__slowpow): Use long double EXPL and LOGL functions to
58465 compute POW.
58466 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
58467 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
58468 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
58469 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
58470 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
58471 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
58472
58473 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
58474 intermediate variable to calculate exponent.
58475 (__sqr): Likewise.
58476 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
58477 Likewise.
58478 (__sqr): Likewise.
58479
58480 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
58481 [!NO__SQR]: Define __sqr.
58482 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
58483 and NO__SQR. Remove all code except __mul and __sqr. Include
58484 sysdeps/ieee754/dbl-64/mpa.c.
58485 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
58486
58487 [BZ #12723]
58488 * posix/Makefile (tests): Add tst-pathconf.
58489 * posix/tst-pathconf.c: New test case.
58490 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
58491 _PC_PIPE_BUF.
58492 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
58493
58494 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
58495
58496 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
58497
58498 2013-03-06 Andreas Jaeger <aj@suse.de>
58499
58500 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
58501 definition via __MAP_ANONYMOUS.
58502
58503 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
58504 it's not part of Linux headers.
58505
58506 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
58507 (MAP_HUGE_MASK): Define.
58508
58509 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
58510 Define.
58511 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
58512 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
58513 Define.
58514 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
58515 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
58516 Define.
58517 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
58518 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
58519 Define.
58520 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
58521
58522 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
58523 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
58524 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
58525 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
58526 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
58527 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
58528
58529 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
58530 Handle f2fs.
58531
58532 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
58533 Handle f2fs and efivarfs.
58534
58535 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
58536 f2fs.
58537
58538 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
58539 (EFIVARFS_MAGIC): Add.
58540 (F2FS_LINK_MAX): Add.
58541
58542 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
58543
58544 * stdio-common/vfprintf.c: Replace __builtin_expect with
58545 __glibc_unlikely.
58546
58547 2013-03-06 Joseph Myers <joseph@codesourcery.com>
58548
58549 [BZ #13550]
58550 * sysdeps/generic/bp-sym.h: Remove file.
58551 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
58552 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
58553 <bp-sym.h> and <bp-asm.h>.
58554 (__longjmp): Don't use BP_SYM.
58555 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
58556 and <bp-asm.h>.
58557 (memcpy): Don't use BP_SYM.
58558 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
58559 <bp-sym.h> and <bp-asm.h>.
58560 (memcpy): Don't use BP_SYM.
58561 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
58562 <bp-asm.h>.
58563 (memcpy): Don't use BP_SYM.
58564 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
58565 <bp-asm.h>.
58566 (memset): Don't use BP_SYM.
58567 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
58568 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
58569 (__bzero): Don't use BP_SYM.
58570 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
58571 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
58572 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
58573 <bp-sym.h> and <bp-asm.h>.
58574 (memcmp): Don't use BP_SYM. Remove comment about bounded
58575 pointers.
58576 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
58577 <bp-sym.h> and <bp-asm.h>.
58578 (memcpy): Don't use BP_SYM.
58579 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
58580 <bp-sym.h> and <bp-asm.h>.
58581 (memset): Don't use BP_SYM.
58582 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
58583 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
58584 (__bzero): Don't use BP_SYM.
58585 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
58586 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
58587 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
58588 <bp-sym.h> and <bp-asm.h>.
58589 (strncmp): Don't use BP_SYM. Remove comment about bounded
58590 pointers.
58591 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
58592 <bp-sym.h> and <bp-asm.h>.
58593 (memcpy): Don't use BP_SYM.
58594 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
58595 <bp-sym.h> and <bp-asm.h>.
58596 (memset): Don't use BP_SYM.
58597 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
58598 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
58599 (__bzero): Don't use BP_SYM.
58600 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
58601 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
58602 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
58603 <bp-sym.h> and <bp-asm.h>.
58604 (__memchr): Don't use BP_SYM.
58605 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
58606 <bp-sym.h> and <bp-asm.h>.
58607 (memcmp): Don't use BP_SYM. Remove comment about bounded
58608 pointers.
58609 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
58610 <bp-sym.h> and <bp-asm.h>.
58611 (memcpy): Don't use BP_SYM.
58612 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
58613 <bp-sym.h> and <bp-asm.h>.
58614 (__mempcpy): Don't use BP_SYM.
58615 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
58616 <bp-sym.h> and <bp-asm.h>.
58617 (__memrchr): Don't use BP_SYM.
58618 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
58619 <bp-sym.h> and <bp-asm.h>.
58620 (memset): Don't use BP_SYM.
58621 (__bzero): Likewise.
58622 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
58623 <bp-sym.h> and <bp-asm.h>.
58624 (__rawmemchr): Don't use BP_SYM.
58625 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
58626 <bp-sym.h> and <bp-asm.h>.
58627 (__STRCMP): Don't use BP_SYM.
58628 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
58629 <bp-sym.h> and <bp-asm.h>.
58630 (strchr): Don't use BP_SYM.
58631 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
58632 <bp-sym.h> and <bp-asm.h>.
58633 (__strchrnul): Don't use BP_SYM.
58634 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
58635 <bp-sym.h> and <bp-asm.h>.
58636 (strlen): Don't use BP_SYM.
58637 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
58638 <bp-sym.h> and <bp-asm.h>.
58639 (strncmp): Don't use BP_SYM. Remove comment about bounded
58640 pointers.
58641 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
58642 <bp-sym.h> and <bp-asm.h>.
58643 (__strnlen): Don't use BP_SYM.
58644 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
58645 <bp-sym.h> and <bp-asm.h>.
58646 (__GI__setjmp): Don't use BP_SYM.
58647 (_setjmp): Likewise.
58648 (__sigsetjmp): Likewise.
58649 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
58650 (L(start_addresses)): Don't use BP_SYM.
58651 (_start): Likewise.
58652 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
58653 <bp-asm.h>.
58654 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
58655 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
58656 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
58657 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
58658 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
58659 <bp-asm.h>.
58660 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
58661 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
58662 about bounded pointers.
58663 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
58664 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
58665 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
58666 <bp-asm.h>.
58667 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
58668 about bounded pointers. Remove GKM FIXME comments.
58669 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
58670 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
58671 <bp-asm.h>.
58672 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
58673 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
58674 Remove GKM FIXME comments.
58675 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
58676 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
58677 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
58678 <bp-asm.h>.
58679 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
58680 about bounded pointers. Remove GKM FIXME comment.
58681 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
58682 and <bp-asm.h>.
58683 (strncmp): Don't use BP_SYM. Remove comment about bounded
58684 pointers.
58685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
58686 <bp-sym.h> and <bp-asm.h>.
58687 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
58688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
58689 <bp-sym.h> and <bp-asm.h>.
58690 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
58691 comment.
58692
58693 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
58694
58695 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
58696 call free(NULL).
58697
58698 2013-03-05 David S. Miller <davem@davemloft.net>
58699
58700 * po/es.po: Update from translation team.
58701
58702 2013-03-05 Andreas Jaeger <aj@suse.de>
58703
58704 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
58705 <bits/mman-linux.h>.
58706 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
58707 is fine.
58708 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
58709 <bits/mman-linux.h> to end of file.
58710 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
58711 is fine.
58712 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
58713 <bits/mman-linux.h> to end of file.
58714 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
58715 is fine.
58716 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
58717 <bits/mman-linux.h> to end of file.
58718
58719 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
58720 (MCL_CURRENT, MCL_FUTURE): Define here.
58721
58722 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58723
58724 [BZ #15232]
58725 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
58726 attribute_hidden.
58727 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
58728
58729 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58730
58731 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
58732 fourth parameter needed for rt_sigprocmask syscall.
58733 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
58734 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
58735 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
58736 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
58737 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
58738 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
58739
58740 2013-03-04 Joseph Myers <joseph@codesourcery.com>
58741
58742 [BZ #13550]
58743 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
58744 comment about bounded pointers.
58745 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
58746 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
58747
58748 2013-03-04 Andreas Jaeger <aj@suse.de>
58749
58750 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
58751 common definitions.
58752
58753 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
58754 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
58755 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
58756 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
58757 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
58758 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
58759
58760 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58761
58762 [BZ #15055]
58763 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
58764 __ieee754_sqrl instead of __sqrl.
58765
58766 2013-03-01 Joseph Myers <joseph@codesourcery.com>
58767
58768 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
58769 * sysdeps/powerpc/fpu_control.h: ... here.
58770 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
58771 * sysdeps/powerpc/bits/fenvinline.h: ... here.
58772 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
58773 * sysdeps/powerpc/bits/mathinline.h: ... here.
58774
58775 2013-03-01 Roland McGrath <roland@hack.frob.com>
58776
58777 * elf/dl-hwcaps.c (_dl_important_hwcaps):
58778 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
58779 to just [NEED_DL_SYSINFO_DSO].
58780 * elf/dl-support.c: Likewise.
58781 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
58782 * elf/rtld.c (dl_main): Likewise.
58783 * elf/setup-vdso.h (setup_vdso): Likewise.
58784 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
58785 * sysdeps/unix/sysv/linux/dl-sysdep.c
58786 (_dl_discover_osversion): Likewise.
58787
58788 2013-03-01 Carlos O'Donell <carlos@redhat.com>
58789
58790 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
58791 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
58792
58793 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
58794
58795 * NEWS: Mention libm performance improvements and non-x86 PI
58796 futex support.
58797
58798 * csu/libc-start.c (__pthread_initialize_minimal): Change
58799 function arguments.
58800 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
58801
58802 2013-02-28 Joseph Myers <joseph@codesourcery.com>
58803
58804 [BZ #13550]
58805 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
58806 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
58807 <bp-sym.h> and <bp-asm.h>.
58808 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
58809 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
58810 and <bp-asm.h>.
58811 (memcpy): Don't use BP_SYM.
58812 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
58813 <bp-asm.h>.
58814 (__mpn_add_n): Don't use BP_SYM.
58815 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
58816 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
58817 and <bp-asm.h>.
58818 (__mpn_addmul_1): Don't use BP_SYM.
58819 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
58820 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
58821 <bp-sym.h>.
58822 (_setjmp): Don't use BP_SYM.
58823 (__novmx_setjmp): Likewise.
58824 (__GI__setjmp): Likewise.
58825 (__vmx_setjmp): Likewise.
58826 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
58827 <bp-sym.h>.
58828 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
58829 (__bzero): Don't use BP_SYM.
58830 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
58831 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
58832 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
58833 <bp-sym.h> and <bp-asm.h>.
58834 (memcpy): Don't use BP_SYM.
58835 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
58836 <bp-sym.h> and <bp-asm.h>.
58837 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
58838 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
58839 <bp-sym.h> and <bp-asm.h>.
58840 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
58841 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
58842 <bp-asm.h>.
58843 (__mpn_lshift): Don't use BP_SYM.
58844 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
58845 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
58846 <bp-asm.h>.
58847 (memset): Don't use BP_SYM.
58848 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
58849 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
58850 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
58851 <bp-asm.h>.
58852 (__mpn_mul_1): Don't use BP_SYM.
58853 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
58854 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
58855 <bp-sym.h> and <bp-asm.h>.
58856 (memcmp): Don't use BP_SYM.
58857 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
58858 <bp-sym.h> and <bp-asm.h>.
58859 (memcpy): Don't use BP_SYM.
58860 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
58861 <bp-sym.h> and <bp-asm.h>.
58862 (memset): Don't use BP_SYM.
58863 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
58864 <bp-sym.h> and <bp-asm.h>.
58865 (strncmp): Don't use BP_SYM.
58866 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
58867 <bp-sym.h> and <bp-asm.h>.
58868 (memcpy): Don't use BP_SYM.
58869 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
58870 <bp-sym.h> and <bp-asm.h>.
58871 (memset): Don't use BP_SYM.
58872 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
58873 <bp-sym.h> and <bp-asm.h>.
58874 (__memchr): Don't use BP_SYM.
58875 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
58876 <bp-sym.h> and <bp-asm.h>.
58877 (memcmp): Don't use BP_SYM.
58878 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
58879 <bp-sym.h> and <bp-asm.h>.
58880 (memcpy): Don't use BP_SYM.
58881 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
58882 <bp-sym.h> and <bp-asm.h>.
58883 (__mempcpy): Don't use BP_SYM.
58884 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
58885 <bp-sym.h> and <bp-asm.h>.
58886 (__memrchr): Don't use BP_SYM.
58887 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
58888 <bp-sym.h> and <bp-asm.h>.
58889 (memset): Don't use BP_SYM.
58890 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
58891 <bp-sym.h> and <bp-asm.h>.
58892 (__rawmemchr): Don't use BP_SYM.
58893 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
58894 <bp-sym.h> and <bp-asm.h>.
58895 (__STRCMP): Don't use BP_SYM.
58896 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
58897 <bp-sym.h> and <bp-asm.h>.
58898 (strchr): Don't use BP_SYM.
58899 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
58900 <bp-sym.h> and <bp-asm.h>.
58901 (__strchrnul): Don't use BP_SYM.
58902 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
58903 <bp-sym.h> and <bp-asm.h>.
58904 (strlen): Don't use BP_SYM.
58905 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
58906 <bp-sym.h> and <bp-asm.h>.
58907 (strncmp): Don't use BP_SYM.
58908 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
58909 <bp-sym.h> and <bp-asm.h>.
58910 (__strnlen): Don't use BP_SYM.
58911 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
58912 <bp-asm.h>.
58913 (__mpn_rshift): Don't use BP_SYM.
58914 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
58915 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
58916 <bp-sym.h> and <bp-asm.h>.
58917 (__sigsetjmp): Don't use BP_SYM.
58918 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
58919 (L(start_addresses)): Don't use BP_SYM.
58920 (_start): Likewise.
58921 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
58922 <bp-asm.h>.
58923 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
58924 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
58925 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
58926 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
58927 <bp-asm.h>.
58928 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
58929 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
58930 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
58931 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
58932 <bp-asm.h>.
58933 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
58934 comments.
58935 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
58936 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
58937 <bp-asm.h>.
58938 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
58939 FIXME comments.
58940 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
58941 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
58942 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
58943 <bp-asm.h>.
58944 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
58945 comment.
58946 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
58947 and <bp-asm.h>.
58948 (strncmp): Don't use BP_SYM,
58949 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
58950 <bp-asm.h>.
58951 (__mpn_sub_n): Don't use BP_SYM.
58952 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
58953 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
58954 and <bp-asm.h>.
58955 (__mpn_submul_1): Don't use BP_SYM.
58956 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
58957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
58958 <bp-sym.h> and <bp-asm.h>.
58959 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
58960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
58961 <bp-sym.h> and <bp-asm.h>.
58962 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
58963 comment.
58964
58965 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
58966
58967 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
58968 Use ZK to minimize writes to Z.
58969 (sub_magnitudes): Simplify code a bit.
58970 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
58971 Use ZK to minimize writes to Z.
58972 (sub_magnitudes): Simplify code a bit.
58973
58974 2013-02-27 Roland McGrath <roland@hack.frob.com>
58975
58976 * csu/gmon-start.c: Add special exception to license text.
58977
58978 2013-02-27 Richard Henderson <rth@redhat.com>
58979
58980 * scripts/config.guess: Update from config.git.
58981 * scripts/config.sub: Likewise.
58982
58983 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
58984
58985 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
58986
58987 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
58988
58989 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
58990
58991 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
58992
58993 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
58994
58995 2013-02-26 Roland McGrath <roland@hack.frob.com>
58996
58997 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
58998 [$(build-shared = yes].
58999
59000 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
59001
59002 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
59003 (__mul): Reduce iterations for calculating mantissa.
59004
59005 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
59006 MPTWO.
59007 (__mpranred): Likewise.
59008
59009 [BZ #15160]
59010 * malloc/memusagestat.c (main): Draw graphs for heap and stack
59011 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
59012
59013 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
59014
59015 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
59016 Define __attribute__.
59017
59018 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
59019
59020 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
59021 unused.
59022 * posix/regex_internal.h (__attribute): Remove.
59023 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
59024 (re_string_context_at): Likewise.
59025 (bitset_not): Use __attribute__ and mark function as possibly
59026 unused.
59027 (bitset_merge): Likewise.
59028 (bitset_mask): Likewise.
59029 (re_string_char_size_at): Likewise.
59030 (re_string_wchar_at): Likewise.
59031 (re_string_elem_size_at): Likewise.
59032
59033 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
59034
59035 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
59036 code.
59037 (cc32): Likewise.
59038
59039 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
59040 (__acr): Likewise.
59041 (__cpy): Likewise.
59042 (norm): Likewise.
59043 (denorm): Likewise.
59044 (__dbl_mp): Likewise.
59045 (add_magnitudes): Likewise.
59046 (sub_magnitudes): Likewise.
59047 (__mul): Likewise.
59048 (__inv): Likewise.
59049
59050 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
59051 style.
59052
59053 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
59054 style.
59055
59056 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
59057 code.
59058
59059 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
59060 up changes with default code.
59061 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
59062 Likewise.
59063
59064 2013-02-24 Allan McRae <allan@archlinux.org>
59065
59066 * manual/socket.texi (The Internet Namespace): Order menu items
59067 to match that in the file.
59068
59069 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
59070 node listing of the info page menu.
59071
59072 2013-02-21 Joseph Myers <joseph@codesourcery.com>
59073
59074 [BZ #13550]
59075 * sysdeps/i386/bp-asm.h: Remove file.
59076 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
59077 (PARMS): Do not use macros from bp-asm.h.
59078 (S1): Likewise.
59079 (S2): Likewise.
59080 (SIZE): Likewise.
59081 (__mpn_add_n): Do not use BP_SYM
59082 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
59083 "bp-asm.h".
59084 (PARMS): Do not use macros from bp-asm.h.
59085 (S1): Likewise.
59086 (SIZE): Likewise.
59087 (__mpn_addmul_1): Do not use BP_SYM
59088 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
59089 "bp-asm.h".
59090 (PARMS): Do not use macros from bp-asm.h.
59091 (SIGMSK): Likewise.
59092 (_setjmp): Likewise. Do not use BP_SYM.
59093 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
59094 "bp-asm.h".
59095 (PARMS): Do not use macros from bp-asm.h.
59096 (SIGMSK): Likewise.
59097 (setjmp): Likewise. Do not use BP_SYM.
59098 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
59099 "bp-asm.h".
59100 (PARMS): Do not use macros from bp-asm.h.
59101 (__frexp): Do not use BP_SYM.
59102 (frexp): Likewise.
59103 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
59104 "bp-asm.h".
59105 (PARMS): Do not use macros from bp-asm.h.
59106 (__frexpf): Do not use BP_SYM.
59107 (frexpf): Likewise.
59108 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
59109 "bp-asm.h".
59110 (PARMS): Do not use macros from bp-asm.h.
59111 (__frexpl): Do not use BP_SYM.
59112 (frexpl): Likewise.
59113 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
59114 "bp-asm.h".
59115 (PARMS): Do not use macros from bp-asm.h.
59116 (__remquo): Do not use BP_SYM.
59117 (remquo): Likewise.
59118 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
59119 "bp-asm.h".
59120 (PARMS): Do not use macros from bp-asm.h.
59121 (__remquof): Do not use BP_SYM.
59122 (remquof): Likewise.
59123 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
59124 "bp-asm.h".
59125 (PARMS): Do not use macros from bp-asm.h.
59126 (__remquol): Do not use BP_SYM.
59127 (remquol): Likewise.
59128 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
59129 "bp-asm.h".
59130 (PARMS): Do not use macros from bp-asm.h.
59131 (DEST): Likewise.
59132 (SRC): Likewise.
59133 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
59134 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
59135 "bp-asm.h".
59136 (PARMS): Do not use macros from bp-asm.h.
59137 (strlen): Do not use BP_SYM.
59138 * sysdeps/i386/i586/add_n.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 (S2): Likewise.
59143 (SIZE): Likewise.
59144 (__mpn_add_n): Do not use BP_SYM.
59145 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
59146 "bp-asm.h".
59147 (PARMS): Do not use macros from bp-asm.h.
59148 (S1): Likewise.
59149 (SIZE): Likewise.
59150 (__mpn_addmul_1): Do not use BP_SYM.
59151 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
59152 weak_alias.
59153 (bzero): Likewise.
59154 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
59155 "bp-asm.h".
59156 (PARMS): Do not use macros from bp-asm.h.
59157 (S): Likewise.
59158 (SIZE): Likewise.
59159 (__mpn_lshift): Do not use BP_SYM.
59160 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
59161 "bp-asm.h".
59162 (PARMS): Do not use macros from bp-asm.h.
59163 (DEST): Likewise.
59164 (SRC): Likewise.
59165 (LEN): Likewise.
59166 (memcpy): Likewise. Do not use BP_SYM.
59167 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
59168 libc_hidden_def and weak_alias.
59169 (mempcpy): Do not use BP_SYM in weak_alias.
59170 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
59171 "bp-asm.h".
59172 (PARMS): Do not use macros from bp-asm.h.
59173 (DEST): Likewise.
59174 (LEN): Likewise.
59175 [!BZERO_P] (CHR): Likewise.
59176 (memset): Likewise. Do not use BP_SYM.
59177 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
59178 "bp-asm.h".
59179 (PARMS): Do not use macros from bp-asm.h.
59180 (S1): Likewise.
59181 (SIZE): Likewise.
59182 (__mpn_mul_1): Do not use BP_SYM.
59183 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
59184 "bp-asm.h".
59185 (PARMS): Do not use macros from bp-asm.h.
59186 (S): Likewise.
59187 (SIZE): Likewise.
59188 (__mpn_rshift): Do not use BP_SYM.
59189 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
59190 "bp-asm.h".
59191 (PARMS): Do not use macros from bp-asm.h.
59192 (STR): Likewise.
59193 (CHR): Likewise.
59194 (strchr): Likewise. Do not use BP_SYM.
59195 (index): Do not use BP_SYM in weak_alias.
59196 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
59197 "bp-asm.h".
59198 (PARMS): Do not use macros from bp-asm.h.
59199 (DEST): Likewise.
59200 (SRC): Likewise.
59201 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
59202 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
59203 "bp-asm.h".
59204 (PARMS): Do not use macros from bp-asm.h.
59205 (strlen): Do not use BP_SYM.
59206 * sysdeps/i386/i586/sub_n.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 (S2): Likewise.
59211 (SIZE): Likewise.
59212 (__mpn_sub_n): Do not use BP_SYM.
59213 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
59214 "bp-asm.h".
59215 (PARMS): Do not use macros from bp-asm.h.
59216 (S1): Likewise.
59217 (SIZE): Likewise.
59218 (__mpn_submul_1): Do not use BP_SYM.
59219 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
59220 "bp-asm.h".
59221 (PARMS): Do not use macros from bp-asm.h.
59222 (S1): Likewise.
59223 (S2): Likewise.
59224 (SIZE): Likewise.
59225 (__mpn_add_n): Do not use BP_SYM.
59226 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
59227 weak_alias.
59228 (bzero): Likewise.
59229 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
59230 "bp-asm.h".
59231 (PARMS): Do not use macros from bp-asm.h.
59232 (BLK2): Likewise.
59233 (LEN): Likewise.
59234 (memcmp): Do not use BP_SYM.
59235 (bcmp): Do not use BP_SYM in weak_alias.
59236 * sysdeps/i386/i686/memcpy.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 (memcpy): Likewise. Do not use BP_SYM.
59243 * sysdeps/i386/i686/memmove.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 (memmove): Likewise. Do not use BP_SYM.
59250 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
59251 "bp-asm.h".
59252 (PARMS): Do not use macros from bp-asm.h.
59253 (DEST): Likewise.
59254 (SRC): Likewise.
59255 (LEN): Likewise.
59256 (__mempcpy): Likewise. Do not use BP_SYM.
59257 (mempcpy): Do not use BP_SYM in weak_alias.
59258 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
59259 "bp-asm.h".
59260 (PARMS): Do not use macros from bp-asm.h.
59261 (DEST): Likewise.
59262 (LEN): Likewise.
59263 [!BZERO_P] (CHR): Likewise.
59264 (memset): Likewise. Do not use BP_SYM.
59265 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
59266 "bp-asm.h".
59267 (PARMS): Do not use macros from bp-asm.h.
59268 (STR2): Likewise.
59269 (strcmp): Do not use BP_SYM.
59270 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
59271 "bp-asm.h".
59272 (PARMS): Do not use macros from bp-asm.h.
59273 (STR): Likewise.
59274 (DELIM): Likewise.
59275 [USE_AS_STRTOK_R] (SAVE): Likewise.
59276 (FUNCTION): Likewise. Do not use BP_SYM.
59277 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
59278 aliases.
59279 (strtok_r): Likewise.
59280 (__GI___strtok_r): Likewise.
59281 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
59282 (PARMS): Do not use macros from bp-asm.h.
59283 (S): Likewise.
59284 (SIZE): Likewise.
59285 (__mpn_lshift): Do not use BP_SYM.
59286 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
59287 (PARMS): Do not use macros from bp-asm.h.
59288 (STR): Likewise.
59289 (CHR): Likewise.
59290 (__memchr): Do not use BP_SYM.
59291 (memchr): Do not use BP_SYM in weak_alias.
59292 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
59293 (PARMS): Do not use macros from bp-asm.h.
59294 (BLK2): Likewise.
59295 (LEN): Likewise.
59296 (memcmp): Do not use BP_SYM.
59297 (bcmp): Do not use BP_SYM in weak_alias.
59298 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
59299 (PARMS): Do not use macros from bp-asm.h.
59300 (S1): Likewise.
59301 (SIZE): Likewise.
59302 (__mpn_mul_1): Do not use BP_SYM.
59303 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
59304 "bp-asm.h".
59305 (PARMS): Do not use macros from bp-asm.h.
59306 (STR): Likewise.
59307 (CHR): Likewise.
59308 (__rawmemchr): Do not use BP_SYM.
59309 (rawmemchr): Do not use BP_SYM in weak_alias.
59310 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
59311 (PARMS): Do not use macros from bp-asm.h.
59312 (S): Likewise.
59313 (SIZE): Likewise.
59314 (__mpn_rshift): Do not use BP_SYM.
59315 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
59316 (PARMS): Do not use macros from bp-asm.h.
59317 (SIGMSK): Likewise.
59318 (__sigsetjmp): Likewise. Do not use BP_SYM.
59319 * sysdeps/i386/start.S: Do not include "bp-sym.h".
59320 (_start): Do not use BP_SYM.
59321 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
59322 (PARMS): Do not use macros from bp-asm.h.
59323 (DEST): Likewise.
59324 (SRC): Likewise.
59325 (__stpcpy): Likewise. Do not use BP_SYM.
59326 (stpcpy): Do not use BP_SYM in weak_alias.
59327 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
59328 "bp-asm.h".
59329 (PARMS): Do not use macros from bp-asm.h.
59330 (DEST): Likewise.
59331 (SRC): Likewise.
59332 (LEN): Likewise.
59333 (__stpncpy): Likewise. Do not use BP_SYM.
59334 (stpncpy): Do not use BP_SYM in weak_alias.
59335 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
59336 (PARMS): Do not use macros from bp-asm.h.
59337 (STR): Likewise.
59338 (CHR): Likewise.
59339 (strchr): Likewise. Do not use BP_SYM.
59340 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
59341 "bp-asm.h".
59342 (PARMS): Do not use macros from bp-asm.h.
59343 (STR): Likewise.
59344 (CHR): Likewise.
59345 (__strchrnul): Likewise. Do not use BP_SYM.
59346 (strchrnul): Do not use BP_SYM in weak_alias.
59347 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
59348 "bp-asm.h".
59349 (PARMS): Do not use macros from bp-asm.h.
59350 (STOP): Likewise.
59351 (strcspn): Do not use BP_SYM.
59352 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
59353 "bp-asm.h".
59354 (PARMS): Do not use macros from bp-asm.h.
59355 (STR): Likewise.
59356 (STOP): Likewise.
59357 (strpbrk): Likewise. Do not use BP_SYM.
59358 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
59359 "bp-asm.h".
59360 (PARMS): Do not use macros from bp-asm.h.
59361 (STR): Likewise.
59362 (CHR): Likewise.
59363 (strrchr): Likewise. Do not use BP_SYM.
59364 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
59365 (PARMS): Do not use macros from bp-asm.h.
59366 (SKIP): Likewise.
59367 (strspn): Do not use BP_SYM.
59368 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
59369 (PARMS): Do not use macros from bp-asm.h.
59370 (STR): Likewise.
59371 (DELIM): Likewise.
59372 (SAVE): Likewise.
59373 (FUNCTION): Likewise. Do not use BP_SYM.
59374 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
59375 aliases.
59376 (strtok_r): Likewise.
59377 (__GI___strtok_r): Likewise.
59378 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
59379 (PARMS): Do not use macros from bp-asm.h.
59380 (S1): Likewise.
59381 (S2): Likewise.
59382 (SIZE): Likewise.
59383 (__mpn_sub_n): Do not use BP_SYM.
59384 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
59385 "bp-asm.h".
59386 (PARMS): Do not use macros from bp-asm.h.
59387 (S1): Likewise.
59388 (SIZE): Likewise.
59389 (__mpn_submul_1): Do not use BP_SYM.
59390 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
59391 <bp-sym.h>.
59392 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
59393 and <bp-asm.h>.
59394 (PARMS): Do not use macros from bp-asm.h.
59395 (FLAGS): Likewise.
59396 (PTID): Likewise.
59397 (TLS): Likewise.
59398 (CTID): Likewise.
59399 (__clone): Do not use BP_SYM.
59400 (clone): Do not use BP_SYM in weak_alias.
59401 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
59402 and <bp-asm.h>.
59403 (PARMS): Do not use macros from bp-asm.h.
59404 (LEN): Likewise.
59405 (__mmap64): Do not use BP_SYM.
59406 (mmap64): Do not use BP_SYM in weak_alias.
59407 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
59408 <bp-sym.h> and <bp-asm.h>.
59409 (PARMS): Do not use macros from bp-asm.h.
59410 (__posix_fadvise64_l64): Do not use BP_SYM.
59411 * sysdeps/unix/sysv/linux/i386/semtimedop.S
59412 (PARMS): Do not use macros from bp-asm.h.
59413 (NSOPS): Likewise.
59414 (semtimedop): Do not use BP_SYM.
59415 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
59416 and <bp-asm.h>.
59417
59418 2013-02-21 Allan McRae <allan@archlinux.org>
59419
59420 * manual/message.texi (Charset conversion in gettext):
59421 Move @end statement to beginning of line.
59422
59423 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
59424
59425 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
59426 static.
59427 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
59428 Likewise.
59429
59430 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
59431 (denorm): Likewise.
59432 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
59433 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
59434
59435 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59436
59437 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
59438 tail-call to the resolved function if pltexit isn't needed.
59439
59440 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
59441
59442 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
59443 or Y being zero as being unlikely.
59444 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
59445 Likewise.
59446
59447 2013-02-20 Carlos O'Donell <carlos@redhat.com>
59448
59449 * manual/nss.texi (System Databases and Name Service Switch):
59450 Remove frobnicate @pxref.
59451
59452 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
59453
59454 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
59455 __attribute__ ((unused)) to __attribute__ ((__unused__)).
59456
59457 2013-02-20 Petr Machata <pmachata@redhat.com>
59458
59459 * elf/elf.h (R_ARM_TARGET1): New macro.
59460 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
59461 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
59462 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
59463 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
59464 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
59465 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
59466 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
59467 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
59468 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
59469 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
59470 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
59471 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
59472 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
59473 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
59474 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
59475 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
59476 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
59477 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
59478 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
59479 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
59480 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
59481 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
59482 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
59483 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
59484 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
59485 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
59486 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
59487 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
59488 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
59489 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
59490 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
59491 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
59492 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
59493 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
59494 (R_ARM_THM_GOT_BREL12): Likewise.
59495 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
59496 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
59497 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
59498 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
59499 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
59500 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
59501 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
59502 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
59503 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
59504
59505 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
59506
59507 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
59508 __attribute_used__ to __attribute__ ((unused)).
59509
59510 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
59511
59512 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
59513 powerpc mpa.c.
59514 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
59515 comment formatting.
59516 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
59517
59518 2013-02-19 Joseph Myers <joseph@codesourcery.com>
59519
59520 [BZ #13550]
59521 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
59522 Remove macro.
59523 (ENTER): Remove both macro definitions.
59524 (LEAVE): Likewise.
59525 (CHECK_BOUNDS_LOW): Likewise.
59526 (CHECK_BOUNDS_HIGH): Likewise.
59527 (CHECK_BOUNDS_BOTH): Likewise.
59528 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
59529 (RETURN_BOUNDED_POINTER): Likewise.
59530 (RETURN_NULL_BOUNDED_POINTER): Likewise.
59531 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
59532 (POP_ERRNO_LOCATION_RETURN): Likewise.
59533 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
59534 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
59535 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
59536 macros.
59537 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59538 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
59539 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
59540 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
59541 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
59542 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
59543 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
59544 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
59545 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
59546 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
59547 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
59548 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
59549 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
59550 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
59551 removed macros.
59552 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59553 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
59554 macros.
59555 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
59556 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
59557 * sysdeps/i386/i586/memset.S (memset): Likewise.
59558 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
59559 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59560 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
59561 macros.
59562 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
59563 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
59564 Change uses of L(2) to L(out).
59565 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
59566 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
59567 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
59568 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
59569 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
59570 removed macros.
59571 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59572 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
59573 macros.
59574 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
59575 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
59576 (RETURN): Do not use macro LEAVE.
59577 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
59578 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
59579 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
59580 * sysdeps/i386/i686/memset.S (memset): Likewise.
59581 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
59582 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
59583 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
59584 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
59585 Likewise.
59586 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
59587 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
59588 L(1_2) and L(1_3) into L(1).
59589 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
59590 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
59591 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
59592 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
59593 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
59594 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
59595 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
59596 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59597 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
59598 macros.
59599 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
59600 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
59601 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
59602 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
59603 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
59604 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
59605 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
59606 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
59607 * sysdeps/i386/strcspn.S (strcspn): Likewise.
59608 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
59609 * sysdeps/i386/strrchr.S (strrchr): Likewise.
59610 * sysdeps/i386/strspn.S (strspn): Likewise.
59611 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
59612 conditional code.
59613 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
59614 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
59615 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
59616 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
59617 L(1_3) into L(1_1).
59618 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
59619 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
59620 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
59621 macros.
59622 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59623
59624 2013-02-19 Jakub Jelinek <jakub@redhat.com>
59625
59626 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
59627 macro.
59628
59629 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
59630
59631 * math/atest-exp.c (exp_mpn): Remove ROUND.
59632 * math/atest-exp2.c (exp_mpn): Likewise.
59633 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
59634
59635 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
59636 * stdlib/tst-tls-atexit-lib.c: Likewise.
59637 * stdlib/tst-tls-atexit.c: Likewise.
59638
59639 2013-02-18 Mike Frysinger <vapier@gentoo.org>
59640
59641 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
59642 and __attribute_alloc_size__.
59643
59644 2013-02-18 Mike Frysinger <vapier@gentoo.org>
59645
59646 * include/programs/xmalloc.h: Change __attribute_alloc_size to
59647 __attribute_alloc_size__.
59648 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
59649 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
59650
59651 2013-02-18 Mike Frysinger <vapier@gentoo.org>
59652
59653 * include/programs/xmalloc.h: New file.
59654 * catgets/gencat.c: Include it.
59655 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
59656 * elf/pldd.c: Likewise.
59657 * iconv/iconv_charmap.c: Likewise.
59658 * iconv/iconvconfig.c: Likewise.
59659 * iconv/strtab.c: Likewise.
59660 * locale/programs/locale.c: Likewise.
59661 * locale/programs/localedef.h: Likewise.
59662 * locale/programs/simple-hash.c: Likewise.
59663 * nscd/nscd.h: Likewise.
59664 * nss/makedb.c: Likewise.
59665 * sysdeps/generic/ldconfig.h: Likewise.
59666
59667 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
59668
59669 * Versions.def: Add GLIBC_2.18.
59670 * include/link.h (struct link_map): New member l_tls_dtor_count.
59671 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
59672 (__call_tls_dtors): Likewise.
59673 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
59674 __cxa_thread_atexit_impl.
59675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59676 Likewise.
59677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59678 Likewise.
59679 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
59680 Likewise.
59681 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
59682 Likewise.
59683 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
59684 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
59685 Likewise.
59686 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
59687 Likewise.
59688 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
59689 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
59690 Likewise.
59691 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
59692 (tests): Add test case tst-tls-atexit.
59693 (modules-names): Add shared library for tst-tls-atexit.
59694 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
59695 (GLIBC_PRIVATE): Add __call_tls_dtors.
59696 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
59697 for libstdc++.
59698 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
59699 * stdlib/tst-tls-atexit.c: New test case.
59700 * stdlib/tst-tls-atexit-lib.c: New test case.
59701
59702 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
59703
59704 * elf/Versions (ld): Add _dl_find_dso_for_object.
59705 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
59706 * elf/dl-open.c (_dl_find_dso_for_object): New function.
59707 (dl_open_worker): Use _dl_find_dso_for_object.
59708 * elf/dl-sym.c (do_sym): Likewise.
59709 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
59710
59711 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59712
59713 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
59714 Syntactic changes only.
59715 (_dl_runtime_profile): Do a tail-call to the resolved function.
59716
59717 2013-02-17 Joseph Myers <joseph@codesourcery.com>
59718
59719 [BZ #13550]
59720 * sysdeps/x86_64/bp-asm.h: Remove file.
59721 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
59722 <bp-sym.h> and <bp-asm.h>.
59723 (__clone): Do not use BP_SYM.
59724 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
59725 <bp-sym.h> and <bp-asm.h>.
59726 * sysdeps/unix/x86_64/sysdep.S: Likewise.
59727 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
59728 "bp-asm.h".
59729 (_setjmp): Do not use BP_SYM.
59730 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
59731 "bp-asm.h".
59732 (setjmp): Do not use BP_SYM.
59733 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
59734 libc_hidden_def.
59735 (mempcpy): Do not use BP_SYM in weak_alias.
59736 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
59737 "bp-asm.h".
59738 (strchr): Do not use BP_SYM.
59739 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
59740 "bp-asm.h".
59741 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
59742 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
59743 (_start): Do not use BP_SYM.
59744 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
59745 "bp-asm.h".
59746 (strcat): Do not use BP_SYM.
59747 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
59748 "bp-asm.h".
59749 (STRCMP): Do not use BP_SYM.
59750 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
59751 "bp-asm.h".
59752 (STRCPY): Do not use BP_SYM.
59753 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
59754 "bp-asm.h".
59755 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
59756 "bp-asm.h".
59757 (FUNCTION): Do not use BP_SYM.
59758 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
59759 weak_alias.
59760 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
59761
59762 2013-02-17 Andreas Jaeger <aj@suse.de>
59763
59764 * time/Versions: Sort entries.
59765 * string/Versions: Likewise.
59766 * resolv/Versions: Likewise.
59767 * posix/Versions: Likewise.
59768 * iconv/Versions: Likewise.
59769 * elf/Versions: Likewise.
59770 * wcsmbs/Versions: Likewise.
59771
59772 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
59773
59774 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
59775 loop termination condition.
59776
59777 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
59778 variable to calculate EZ.
59779 (__sqr): Likewise.
59780
59781 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
59782 the lower precision input.
59783
59784 2013-02-15 Joseph Myers <joseph@codesourcery.com>
59785
59786 [BZ #13550]
59787 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
59788 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
59789 (run-via-rtld-prefix): Do not handle %-bp tests.
59790 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
59791 (all-object-suffixes): Remove .ob.
59792 (bppfx): Remove variable.
59793 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
59794 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
59795 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
59796 [$(build-bounded) = yes] (libtype.ob): Likewise.
59797 * Makerules (elide-routines.ob): Remove variable.
59798 (do-tests-clean): Do not handle *-bp.out.
59799 (common-mostlyclean): Do not handle *-bp and *-bp.out.
59800 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
59801 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
59802 (tests): Do not include $(tests-bp.out).
59803 (xtests): Do not include $(xtests-bp.out).
59804 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
59805 [$(build-bounded) = yes] ($(addprefix
59806 $(objpfx),$(binaries-bounded))): Remove rule.
59807 ($(objpfx)%-bp.out): Remove rule.
59808 * config.make.in (build-bounded): Remove variable.
59809 * crypt/Makefile [$(build-bounded) = yes]
59810 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
59811 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
59812 append to variable.
59813 [$(build-bounded) = yes] (install-lib): Likewise.
59814 [$(build-bounded) = yes] (generated): Likewise.
59815 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
59816 Remove rule.
59817 * intl/Makefile [$(build-bounded) = yes]
59818 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
59819 * math/Makefile [$(build-bounded) = yes]
59820 ($(tests:%=$(objpfx)%-bp): Likewise.
59821 * misc/Makefile [$(build-bounded) = yes]
59822 ($(objpfx)tst-tsearch-bp): Likewise.
59823 * nptl/Makeconfig (bounded-thread-library): Remove variable.
59824 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
59825 Remove dependency.
59826 * string/Makefile (o-objects.ob): Remove variable.
59827 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
59828 (CFLAGS-.ob): Remove variable.
59829 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
59830 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
59831 both definitions of variable.
59832 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
59833 (ASFLAGS-.ob): Remove variable.
59834
59835 2013-02-14 Joseph Myers <joseph@codesourcery.com>
59836
59837 [BZ #13550]
59838 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
59839 Remove __BOUNDED_POINTERS__ from condition.
59840 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
59841 * string/bits/string2.h [!__NO_STRING_INLINES &&
59842 !__BOUNDED_POINTERS__]: Likewise.
59843 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
59844 Likewise.
59845 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
59846 Remove conditional code.
59847 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
59848 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
59849 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
59850 condition.
59851
59852 [BZ #13550]
59853 * csu/libc-start.c: Do not include <bp-sym.h>.
59854 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
59855 * elf/dl-open.c: Do not include <bp-sym.h>.
59856 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
59857 * math/fegetenv.c: Do not include <bp-sym.h>.
59858 (fegetenv): Do not use BP_SYM in versioned symbols.
59859 * nptl/sysdeps/pthread/bits/libc-lockP.h
59860 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
59861 <bp-sym.h>.
59862 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59863 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
59864 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59865 (__pthread_mutex_destroy): Likewise.
59866 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59867 (__pthread_mutex_lock): Likewise.
59868 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59869 (__pthread_mutex_trylock): Likewise.
59870 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59871 (__pthread_mutex_unlock): Likewise.
59872 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59873 (__pthread_mutexattr_init): Likewise.
59874 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59875 (__pthread_mutexattr_destroy): Likewise.
59876 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59877 (__pthread_mutexattr_settype): Likewise.
59878 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59879 (__pthread_rwlock_init): Likewise.
59880 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59881 (__pthread_rwlock_destroy): Likewise.
59882 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59883 (__pthread_rwlock_rdlock): Likewise.
59884 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59885 (__pthread_rwlock_tryrdlock): Likewise.
59886 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59887 (__pthread_rwlock_wrlock): Likewise.
59888 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59889 (__pthread_rwlock_trywrlock): Likewise.
59890 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59891 (__pthread_rwlock_unlock): Likewise.
59892 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59893 (__pthread_key_create): Likewise.
59894 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59895 (__pthread_setspecific): Likewise.
59896 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59897 (__pthread_getspecific): Likewise.
59898 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
59899 Likewise.
59900 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59901 (_pthread_cleanup_push_defer): Likewise.
59902 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59903 (_pthread_cleanup_pop_restore): Likewise.
59904 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59905 (pthread_setcancelstate): Likewise.
59906 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
59907 <bp-sym.h>.
59908 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
59909 (memchr): Do not use BP_SYM in weak_alias.
59910 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
59911 (fegetenv): Do not use BP_SYM in versioned symbols.
59912 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
59913 (fesetenv): Do not use BP_SYM in versioned symbols.
59914 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
59915 (feupdateenv): Do not use BP_SYM in versioned symbols.
59916 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
59917 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
59918 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
59919 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
59920 (open64): Do not use BP_SYM in weak_alias.
59921 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
59922 (fegetenv): Do not use BP_SYM in versioned symbols.
59923 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
59924 (fesetenv): Do not use BP_SYM in versioned symbols.
59925 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
59926 (feupdateenv): Do not use BP_SYM in versioned symbols.
59927 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
59928 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
59929 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
59930 (feraiseexcept): Do not use BP_SYM in versioned symbols.
59931 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
59932 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
59933 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
59934 <bp-sym.h>.
59935 (__libc_start_main): Do not use BP_SYM.
59936
59937 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
59938
59939 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
59940 redundant return line.
59941 (norm): Likewise.
59942 (denorm): Likewise.
59943 (dbl_mp): Likewise.
59944 (sub_magnitudes): Likewise.
59945 (__add): Likewise.
59946 (__sub): Likewise.
59947 (__mul): Likewise.
59948 (__inv): Likewise.
59949 (__dvd): Likewise.
59950 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
59951 (norm): Likewise.
59952 (denorm): Likewise.
59953 (dbl_mp): Likewise.
59954 (sub_magnitudes): Likewise.
59955 (__add): Likewise.
59956 (__sub): Likewise.
59957 (__mul): Likewise.
59958 (__inv): Likewise.
59959 (__dvd): Likewise.
59960
59961 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
59962 instead of __mul.
59963 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
59964 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
59965 (cc32): Likewise.
59966
59967 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
59968 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
59969 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
59970 of __mul for squares.
59971 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
59972 function
59973 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
59974 Likewise.
59975 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
59976 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
59977
59978 2013-02-13 Joseph Myers <joseph@codesourcery.com>
59979
59980 [BZ #13550]
59981 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
59982 code.
59983 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
59984 prototype or function definition. Rename ubp_* variables and
59985 parameters. Remove argv definitions conditional on
59986 [__BOUNDED_POINTERS__].
59987 * debug/backtrace.c (__backtrace): Do not use __unbounded.
59988 * elf/dl-runtime.c (_dl_fixup): Likewise.
59989 * include/set-hooks.h (RUN_HOOK): Likewise.
59990 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
59991 definition.
59992 * string/strcpy.c (strcpy): Do not use __unbounded.
59993 * sysdeps/generic/frame.h (struct layout): Likewise.
59994 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
59995 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
59996 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
59997 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
59998 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
59999 (__backtrace): Likewise.
60000 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
60001 use __ptrvalue.
60002 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
60003 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
60004 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
60005 Likewise.
60006 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
60007 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
60008 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
60009 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
60010 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
60011 Do not use __unbounded.
60012 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
60013 Rename __unboundedrlimits parameter to rlimits in prototype.
60014 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
60015 Do not use __unbounded.
60016 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
60017 not use __ptrvalue.
60018 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
60019 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
60020 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
60021 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
60022 __ptrvalue or __unbounded.
60023 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
60024 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
60025 use __unbounded.
60026 (__new_msgctl): Do not use __ptrvalue.
60027 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
60028 __unbounded.
60029 (__libc_msgrcv): Do not use __ptrvalue.
60030 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
60031 startup_info): Do not use __unbounded.
60032 (__libc_start_main): Likewise. Rename ubp_* variables and
60033 parameters. Remove argv definitions conditional on
60034 [__BOUNDED_POINTERS__].
60035 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
60036 __ptrvalue.
60037 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
60038 use __unbounded.
60039 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
60040 or __ptrvalue.
60041 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
60042 use __unbounded.
60043 (__new_shmctl): Do not use __ptrvalue.
60044 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
60045 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
60046 Likewise.
60047 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
60048 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
60049 (__libc_sigaction): Likewise.
60050 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
60051 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
60052 Likewise.
60053 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
60054
60055 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
60056
60057 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
60058
60059 * string/mempcpy.c: Implement by calling memcpy.
60060
60061 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
60062
60063 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
60064
60065 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
60066 evaluation.
60067
60068 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
60069 values in the mantissa.
60070
60071 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
60072 minimize writes to Z.
60073 (sub_magnitudes): Simplify code a bit.
60074
60075 2013-02-12 Roland McGrath <roland@hack.frob.com>
60076
60077 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
60078 from the message. The linker prefixes all warnings with that already.
60079
60080 2013-02-12 Andreas Schwab <schwab@suse.de>
60081
60082 [BZ #15078]
60083 * posix/regexec.c (extend_buffers): Add parameter min_len.
60084 (check_matching): Pass minimum needed length.
60085 (clean_state_log_if_needed): Likewise.
60086 (get_subexp): Likewise.
60087 * posix/Makefile (tests): Add bug-regex34.
60088 (bug-regex34-ENV): Define.
60089 * posix/bug-regex34.c: New file.
60090
60091 [BZ #11561]
60092 * posix/regcomp.c (parse_bracket_exp): When looking up collating
60093 elements compare against the byte sequence of it, not its name.
60094 * posix/Makefile (tests): Add bug-regex35.
60095 (bug-regex35-ENV): Define.
60096 * posix/bug-regex35.c: New file.
60097
60098 2013-02-11 Tom de Vries <tom@codesourcery.com>
60099
60100 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
60101 comment.
60102 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
60103 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
60104 (CHECK_EOL): Add undef.
60105
60106 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
60107
60108 * bits/stdlib-bsearch.h: New file.
60109 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
60110 * stdlib/stdlib.h: Likewise.
60111
60112 2013-02-11 Roland McGrath <roland@hack.frob.com>
60113
60114 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
60115 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
60116 declaration.
60117 * manual/search.texi (Array Search Function): Add missing const in
60118 lfind prototype.
60119 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
60120 declaration to use rlim_t.
60121 (Basic Scheduling Functions): Remove erroneous const from
60122 sched_getparam prototype. Remove erroneous * from
60123 sched_get_priority_max and sched_get_priority_min prototypes.
60124 (Resource Usage): Fix summary @comment on vtimes to refer to
60125 sys/vtimes.h rather than vtimes.h.
60126 Add missing *s in vtimes prototype.
60127 (Limits on Resources): Fix ulimit prototype to return long int.
60128 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
60129 prototypes to use long int rather than double.
60130 (BSD Random): Fix initstate and setstate to use char *, not void *.
60131 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
60132 prototype to make second argument 'struct aiocb64 *const[]'.
60133 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
60134 (Status of AIO Operations): Remove erroneous const in aio_return and
60135 aio_return64 prototypes.
60136 (Synchronizing I/O): Fix sync prototype to return void.
60137 * manual/startup.texi (Suboptions): Remove an erroneous const in
60138 getsubopt prototype.
60139 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
60140 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
60141 use size_t rather than int.
60142 (Scanning All Users): Likewise for getpwent_r.
60143 (Setting Groups): Add missing const to setgroups prototype.
60144 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
60145 * manual/socket.texi (Host Names): Fix gethostbyaddr and
60146 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
60147 'const void *' rather than 'const char *'.
60148 (Host Address Functions): Likewise for inet_ntop.
60149 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
60150 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
60151 ssize_t for return value.
60152 (Sending Data): Likewise for send, sendto, sendmsg.
60153 (Socket Option Functions): Add a missing const in setsockopt prototype.
60154 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
60155 use wchar_t for the argument.
60156 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
60157 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
60158 take no arguments.
60159 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
60160 double/float/long double for second argument.
60161 Fix return types of significand, significandf, significandl.
60162 * manual/filesys.texi (Setting Permissions): Use mode_t for second
60163 argument in fchmod prototype.
60164 (File Owner): Use uid_t and gid_t in fchown prototype.
60165 (File Times): Add const to utimes, futimes, and lutimes prototypes.
60166 (Making Special Files): Use mode_t and dev_t in mknod prototype.
60167 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
60168 use 'const struct dirent **' as argument types to CMP function pointer
60169 argument.
60170 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
60171 (File Times): Fix summary magic @comment for struct utimbuf and utime
60172 to refer to utime.h, not time.h.
60173 * manual/string.texi (Argz Functions): Add missing const in
60174 argz_extract and argz_next prototypes.
60175 (Finding Tokens in a String): Likewise for basename.
60176 (String/Array Comparison): Fix typo in wcscasecmp prototype.
60177 (Copying and Concatenation): Fix typo in wmemmove prototype.
60178 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
60179 (Signal Stack): Remove erroneous const in sigstack prototype.
60180 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
60181 prototype.
60182 (Simple Calendar Time): Likewise for stime.
60183 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
60184 prototype.
60185 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
60186 say sys/sysctl.h instead.
60187 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
60188 and vsyslog prototypes.
60189
60190 2013-02-11 Tom de Vries <tom@codesourcery.com>
60191
60192 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
60193 Remove.
60194
60195 2013-02-11 Roland McGrath <roland@hack.frob.com>
60196
60197 * misc/sys/mman.h: Fix typo in mremap comment.
60198
60199 2013-02-08 Roland McGrath <roland@hack.frob.com>
60200
60201 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
60202 the '\0' terminator.
60203
60204 2013-02-08 Joseph Myers <joseph@codesourcery.com>
60205
60206 [BZ #13550]
60207 * debug/segfault.c: Don't include <bp-checks.h>.
60208 * sysdeps/generic/bp-checks.h: Remove file.
60209 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
60210 (__GETDENTS): Don't use CHECK_N.
60211 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
60212 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
60213 (__getgroups): Don't use CHECK_N.
60214 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
60215 (setgroups): Don't use CHECK_N.
60216 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
60217 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
60218 (__libc_msgrcv): Don't use CHECK_N.
60219 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
60220 (__libc_msgsnd): Don't use CHECK_N.
60221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
60222 <bp-checks.h>.
60223 (__libc_pread): Don't use CHECK_N.
60224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
60225 include <bp-checks.h>.
60226 (__libc_pread64): Don't use CHECK_N.
60227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
60228 include <bp-checks.h>.
60229 (__libc_pwrite): Don't use CHECK_N.
60230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
60231 include <bp-checks.h>.
60232 (__libc_pwrite64): Don't use CHECK_N.
60233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
60234 <bp-checks.h>.
60235 (__libc_pread): Don't use CHECK_N.
60236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
60237 include <bp-checks.h>.
60238 (__libc_pread64): Don't use CHECK_N.
60239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
60240 include <bp-checks.h>.
60241 (__libc_pwrite): Don't use CHECK_N.
60242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
60243 include <bp-checks.h>.
60244 (__libc_pwrite64): Don't use CHECK_N.
60245 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
60246 (do_pread): Don't use CHECK_N.
60247 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
60248 (do_pread64): Don't use CHECK_N.
60249 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
60250 (do_pwrite): Don't use CHECK_N.
60251 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
60252 (do_pwrite64): Don't use CHECK_N.
60253 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
60254 (__libc_readv): Don't use CHECK_N.
60255 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
60256 (semop): Don't use CHECK_N.
60257 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
60258 <bp-checks.h>.
60259 (semtimedop): Don't use CHECK_N.
60260 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
60261 (__libc_pread): Don't use CHECK_N.
60262 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
60263 <bp-checks.h>.
60264 (__libc_pread64): Don't use CHECK_N.
60265 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
60266 <bp-checks.h>.
60267 (__libc_pwrite): Don't use CHECK_N.
60268 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
60269 <bp-checks.h>.
60270 (__libc_pwrite64): Don't use CHECK_N.
60271 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
60272 <bp-checks.h>.
60273 (__libc_msgrcv): Don't use CHECK_N.
60274 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
60275 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
60276 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
60277 (__libc_writev): Don't use CHECK_N.
60278
60279 2013-02-08 Roland McGrath <roland@hack.frob.com>
60280
60281 * string/strcpy.c: Removed unused variable.
60282
60283 * Makeconfig (+sysdep-includes): Define with := rather than =.
60284 Use an existing include/ subdir of each sysdeps dir before it.
60285
60286 2013-02-08 Carlos O'Donell <carlos@redhat.com>
60287
60288 * nscd/connection.c (register_traced_file): Comment function.
60289 [HAVE_INOTIFY] (union __inev): Define.
60290 [HAVE_INOTIFY] (inotify_check_files): New function.
60291 [HAVE_INOTIFY] (clear_db_cache): Likewise.
60292 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
60293 clear_db_cache.
60294 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
60295
60296 2013-02-08 Carlos O'Donell <carlos@redhat.com>
60297
60298 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
60299 loaded if not already and that a failure is permanent.
60300
60301 2013-02-08 Carlos O'Donell <carlos@redhat.com>
60302
60303 [BZ #15006]
60304 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
60305 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
60306
60307 2013-02-08 Joseph Myers <joseph@codesourcery.com>
60308
60309 [BZ #13550]
60310 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
60311 (CHECK_1_NULL_OK): Likewise.
60312 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
60313 (__fxstat): Do not use CHECK_1.
60314 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
60315 <bp-checks.h>.
60316 (___fxstat64): Do not use CHECK_1.
60317 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
60318 <bp-checks.h>.
60319 (__fxstatat): Do not use CHECK_1.
60320 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
60321 <bp-checks.h>.
60322 (__fxstatat64): Do not use CHECK_1.
60323 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
60324 <bp-checks.h>.
60325 (__fxstat): Do not use CHECK_1.
60326 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
60327 <bp-checks.h>.
60328 (__fxstatat): Do not use CHECK_1.
60329 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
60330 <bp-checks.h>.
60331 (__getresgid): Do not use CHECK_1.
60332 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
60333 <bp-checks.h>.
60334 (__getresuid): Do not use CHECK_1.
60335 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
60336 <bp-checks.h>.
60337 (__lxstat): Do not use CHECK_1.
60338 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
60339 <bp-checks.h>.
60340 (__old_msgctl): Do not use CHECK_1.
60341 (__new_msgctl): Likewise.
60342 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
60343 <bp-checks.h>.
60344 (__new_setrlimit): Do not use CHECK_1.
60345 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
60346 <bp-checks.h>.
60347 (__old_shmctl): Do not use CHECK_1.
60348 (__new_shmctl): Likewise.
60349 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
60350 <bp-checks.h>.
60351 (__xstat): Do not use CHECK_1.
60352 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
60353 (__lxstat): Do not use CHECK_1.
60354 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
60355 <bp-checks.h>.
60356 (___lxstat64): Do not use CHECK_1.
60357 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
60358 (__old_msgctl): Do not use CHECK_1.
60359 (__new_msgctl): Likewise.
60360 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
60361 <bp-checks.h>.
60362 (__gettimeofday): Do not use CHECK_1.
60363 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
60364 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
60365 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
60366 <bp-checks.h>.
60367 (__gettimeofday): Do not use CHECK_1.
60368 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
60369 (__old_shmctl): Do not use CHECK_1_NULL_OK.
60370 (__new_shmctl): Do not use CHECK_1.
60371 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
60372 <bp-checks.h>.
60373 (do_sigtimedwait): Do not use CHECK_1.
60374 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
60375 <bp-checks.h>.
60376 (do_sigwaitinfo): Do not use CHECK_1.
60377 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
60378 <bp-checks.h>.
60379 (msgctl): Do not use CHECK_1.
60380 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
60381 <bp-checks.h>.
60382 (shmctl): Do not use CHECK_1.
60383 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
60384 (ustat): Do not use CHECK_1.
60385 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
60386 <bp-checks.h>.
60387 (__fxstat): Do not use CHECK_1.
60388 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
60389 <bp-checks.h>.
60390 (__fxstatat): Do not use CHECK_1.
60391 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
60392 <bp-checks.h>.
60393 (__lxstat): Do not use CHECK_1.
60394 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
60395 <bp-checks.h>.
60396 (__xstat): Do not use CHECK_1.
60397 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
60398 (__xstat): Do not use CHECK_1.
60399 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
60400 (___xstat64): Do not use CHECK_1.
60401
60402 [BZ #13550]
60403 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
60404 definitions.
60405 (CHECK_BOUNDS_HIGH): Likewise.
60406 * string/strcpy.c: Do not include <bp-checks.h>.
60407 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
60408
60409 2013-02-07 Roland McGrath <roland@hack.frob.com>
60410
60411 * nscd/nscd-client.h (__nscd_drop_map_ref):
60412 Add __attribute__ ((unused)).
60413 * nis/nss-nisplus.h (niserr2nss): Likewise.
60414
60415 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
60416 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
60417
60418 * csu/libc-tls.c (init_static_tls, init_slotinfo):
60419 Remove inline keyword.
60420 * include/rounding-mode.h (round_away): Likewise.
60421 * libio/wfileops.c (adjust_wide_data): Likewise.
60422 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
60423 (__m128i_strloadu_tolower): Likewise.
60424 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
60425 (__m128i_strloadu_tolower): Likewise.
60426 * time/mktime.c (ydhms_diff): Likewise.
60427 * locale/elem-hash.h (elem_hash): Likewise.
60428 * locale/setlocale.c (setdata): Likewise.
60429 * posix/regex_internal.h (re_string_char_size_at): Likewise.
60430 (re_string_wchar_at): Likewise.
60431 (bitset_not, bitset_merge, bitset_mask): Likewise.
60432 [!(__GNUC__ > 3)] (inline): Remove macro.
60433 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
60434 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
60435 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
60436 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
60437 * string/memcmp.c (memcmp_bytes): Likewise.
60438 * locale/programs/locarchive.c (compute_hashval): Likewise.
60439 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
60440 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
60441 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
60442 * nss/getent.c (print_rpc, print_protocols): Likewise.
60443 (print_passwd, print_group, print_aliases): Likewise.
60444 * nis/nss-nisplus.h (niserr2nss): Likewise.
60445 * nscd/connections.c (restart_p): Likewise.
60446 Change return type to bool.
60447
60448 2013-02-05 Roland McGrath <roland@hack.frob.com>
60449
60450 * Makeconfig (all-Depend-files): Add existing
60451 $(sorted-subdirs:=/Depend) files.
60452 (all-subdirs): Remove nss.
60453 * sysdeps/unix/inet/Subdirs: Add it here instead.
60454 * hesiod/Depend: New file.
60455
60456 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
60457 instead of calling alloca.
60458
60459 * io/lseek.c (__lseek): Rename to __libc_lseek.
60460 Define __lseek as an alias.
60461
60462 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
60463
60464 2013-02-04 Carlos O'Donell <carlos@redhat.com>
60465
60466 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
60467 else clause and remove check for non-standard endianness.
60468
60469 2013-02-04 David S. Miller <davem@davemloft.net>
60470
60471 * sysdeps/sparc/fpu/libm-test-ulps: Update.
60472
60473 2013-02-04 Joseph Myers <joseph@codesourcery.com>
60474
60475 [BZ #13550]
60476 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
60477 (__ubp_memchr): Remove prototype.
60478 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
60479 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
60480 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
60481 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
60482 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
60483 Remove alias.
60484 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
60485 (__ubp_memchr): Likewise.
60486 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
60487 (__ubp_memchr): Likewise.
60488 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
60489 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
60490 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
60491 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
60492 CHECK_STRING.
60493 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
60494 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
60495 (__getcwd): Do not use CHECK_STRING.
60496 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
60497 <bp-checks.h>.
60498 (__real_chown): Do not use CHECK_STRING.
60499 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
60500 <bp-checks.h>.
60501 (fchownat): Do not use CHECK_STRING.
60502 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
60503 CHECK_STRING.
60504 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
60505 <bp-checks.h>.
60506 (__lchown): Do not use CHECK_STRING.
60507 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
60508 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
60509 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
60510 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
60511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
60512 include <bp-checks.h>.
60513 (truncate64): Do not use CHECK_STRING.
60514 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
60515 <bp-checks.h>.
60516 (__real_chown): Do not use CHECK_STRING.
60517 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
60518 <bp-checks.h>.
60519 (__lchown): Do not use CHECK_STRING.
60520 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
60521 <bp-checks.h>.
60522 (__chown): Do not use CHECK_STRING.
60523 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
60524 <bp-checks.h>.
60525 (truncate64): Do not use CHECK_STRING.
60526 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
60527 Likewise.
60528 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
60529 (__xmknod): Do not use CHECK_STRING.
60530 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
60531 <bp-checks.h>.
60532 (__xmknodat): Do not use CHECK_STRING.
60533 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
60534 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
60535
60536 2013-02-04 Andreas Schwab <schwab@suse.de>
60537
60538 [BZ #14142]
60539 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
60540 * include/netdb.h: Likewise for h_errno.
60541 * elf/tst-stackguard1.c: Include <tls.h>.
60542
60543 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
60544
60545 * elf/link.h (struct link_map): Extend the l_addr comment.
60546 * include/link.h (struct link_map): Likewise.
60547
60548 2013-02-01 Joseph Myers <joseph@codesourcery.com>
60549
60550 [BZ #13550]
60551 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
60552 (BOUNDED_1): Remove macro.
60553 * debug/backtrace.c: Don't include <bp-checks.h>.
60554 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
60555 (__backtrace): Likewise.
60556 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
60557 <bp-checks.h>.
60558 (__backtrace): Don't use BOUNDED_1.
60559 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
60560 <bp-checks.h>.
60561 (__backtrace): Don't use BOUNDED_1.
60562 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
60563 (__backtrace): Don't use BOUNDED_1.
60564 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
60565 (shmat): Don't use BOUNDED_N.
60566
60567 2013-01-31 Joseph Myers <joseph@codesourcery.com>
60568
60569 [BZ #13550]
60570 * sysdeps/generic/bp-start.h: Remove file.
60571 * csu/libc-start.c: Don't include <bp-start.h>.
60572 (LIBC_START_MAIN): Set up __environ directly instead of using
60573 INIT_ARGV_and_ENVIRON.
60574 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
60575 <bp-start.h>.
60576
60577 [BZ #13550]
60578 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
60579 definitions.
60580 (CHECK_FCNTL): Likewise.
60581 (CHECK_N_PAGES): Likewise.
60582
60583 [BZ #13550]
60584 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
60585 definitions.
60586 (CHECK_SIGSET_NULL_OK): Likewise.
60587 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
60588 <bp-checks.h>.
60589 (sigpending): Don't use CHECK_SIGSET.
60590 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
60591 <bp-checks.h>.
60592 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
60593 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
60594 <bp-checks.h>.
60595 (do_sigsuspend): Don't use CHECK_SIGSET.
60596 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
60597 use CHECK_SIGSET.
60598 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
60599 (do_sigwait): Don't use CHECK_SIGSET.
60600 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
60601 use CHECK_SIGSET.
60602 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
60603 include <bp-checks.h>.
60604 (sigpending): Don't use CHECK_SIGSET.
60605 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
60606 include <bp-checks.h>.
60607 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
60608 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
60609 <bp-checks.h>.
60610 (sigpending): Don't use CHECK_SIGSET.
60611 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
60612 <bp-checks.h>.
60613 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
60614
60615 [BZ #13550]
60616 * sysdeps/generic/bp-semctl.h: Remove file.
60617 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
60618 <bp-checks.h> and <bp-semctl.h>.
60619 (__old_semctl): Don't use CHECK_SEMCTL.
60620 (__new_semctl): Likewise.
60621 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
60622 and <bp-semctl.h>.
60623 (__old_semctl): Don't use CHECK_SEMCTL.
60624 (__new_semctl): Likewise.
60625 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
60626 <bp-checks.h> and <bp-semctl.h>.
60627 (__old_semctl): Don't use CHECK_SEMCTL.
60628 (__new_semctl): Likewise.
60629 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
60630 <bp-checks.h> and <bp-semctl.h>.
60631 (semctl): Don't use CHECK_SEMCTL.
60632
60633 [BZ #13550]
60634 * Makerules (elide-bp-thunks): Remove variable.
60635 (elide-routines.oS): Don't use $(elide-bp-thunks).
60636 (elide-routines.os): Likewise.
60637 (elide-routines.o): Likewise.
60638 (elide-routines.op): Likewise.
60639 (elide-routines.og): Likewise.
60640 (objects): Don't use $(bp-thunks).
60641 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
60642 include.
60643 (common-generated): Do not add s-proto-bp.d.
60644 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
60645 (int): Likewise.
60646 (typ): Likewise.
60647 Do not generate makefile rules for bounded-pointer thunks.
60648 * sysdeps/generic/bp-thunks.h: Remove file.
60649 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
60650 * sysdeps/unix/s-proto-bp.S: Likewise.
60651
60652 [BZ #15062]
60653 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
60654 parts of result separately when argument is not close to line from
60655 -i to i and one part of argument is small.
60656 * math/k_casinhf.c (__kernel_casinhf): Likewise.
60657 * math/k_casinhl.c (__kernel_casinhl): Likewise.
60658 * math/libm-test.inc (cacos_test): Add more tests.
60659 (casin_test): Likewise.
60660 (casinh_test): Likewise.
60661 * sysdeps/i386/fpu/libm-test-ulps: Update.
60662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60663
60664 2013-01-31 David S. Miller <davem@davemloft.net>
60665
60666 * po/de.po: Update from translation team.
60667
60668 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
60669
60670 * time/tzfile.c: Include stdint.h for SIZE_MAX.
60671
60672 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
60673
60674 * configure.in (_AC_PROG_CC_C89): New definition.
60675 * configure: Regenerate.
60676
60677 * configure.in (AC_PROG_CPP): New definition.
60678 * configure: Regenerate.
60679
60680 2013-01-23 Joseph Myers <joseph@codesourcery.com>
60681
60682 * debug/tst-backtrace.h: New file.
60683 * debug/tst-backtrace2.c: Include tst-backtrace.h.
60684 (ret): Remove variable.
60685 (x): Likewise.
60686 (FAIL): Remove macro.
60687 (NO_INLINE): Likewise.
60688 (fn1): Use match function instead of strstr.
60689 * debug/tst-backtrace3.c: Include tst-backtrace.h.
60690 (ret): Remove variable.
60691 (x): Likewise.
60692 (FAIL): Remove macro.
60693 (NO_INLINE): Likewise.
60694 (fn): Use match function instead of strstr.
60695 * debug/tst-backtrace4.c: Include tst-backtrace.h.
60696 (ret): Remove variable.
60697 (x): Likewise.
60698 (FAIL): Remove macro.
60699 (NO_INLINE): Likewise.
60700 (handle_signal): Use match function instead of strstr.
60701 * debug/tst-backtrace5.c: Include tst-backtrace.h.
60702 (ret): Remove variable.
60703 (x): Likewise.
60704 (FAIL): Remove macro.
60705 (NO_INLINE): Likewise.
60706 (handle_signal): Use match function instead of strstr.
60707
60708 2013-01-23 Roland McGrath <roland@hack.frob.com>
60709
60710 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
60711
60712 2013-01-23 David S. Miller <davem@davemloft.net>
60713
60714 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
60715 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
60716 argument of CAS if possible.
60717 * sysdeps/sparc/sparc64/bits/atomic.h
60718 (__arch_compare_and_exchange_val_32_acq): Likewise.
60719 (__arch_compare_and_exchange_val_64_acq): Likewise.
60720
60721 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
60722
60723 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
60724 * sysdeps/posix/ulimit.c: ... this.
60725 Include <limits.h>.
60726 * sysdeps/unix/bsd/ulimit.c: Remove file.
60727
60728 2013-01-23 Adam Conrad <adconrad@0c3.net>
60729
60730 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
60731 (LDFLAGS-tst-array5): Likewise.
60732
60733 2013-01-23 Joseph Myers <joseph@codesourcery.com>
60734
60735 [BZ #15036]
60736 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
60737 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
60738 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
60739 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
60740
60741 2013-01-21 David S. Miller <davem@davemloft.net>
60742
60743 * sysdeps/sparc/backtrace.c: New file.
60744 * sysdeps/sparc/sparc32/backtrace.h: New file.
60745 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
60746 * sysdeps/sparc/sparc64/backtrace.h: New file.
60747 * sysdeps/sparc/sparc64/backtrace.c: Delete.
60748 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
60749 -funwind-tables.
60750
60751 2013-01-21 Andreas Schwab <schwab@suse.de>
60752
60753 [BZ #15020]
60754 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
60755 closed its stdout.
60756
60757 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
60758
60759 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
60760 "mpa2.h".
60761 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
60762
60763 2013-01-18 Joseph Myers <joseph@codesourcery.com>
60764 Mark Mitchell <mark@codesourcery.com>
60765 Tom de Vries <tom@codesourcery.com>
60766 Paul Pluzhnikov <ppluzhnikov@google.com>
60767
60768 * debug/tst-backtrace2.c: New file.
60769 * debug/tst-backtrace3.c: Likewise.
60770 * debug/tst-backtrace4.c: Likewise.
60771 * debug/tst-backtrace5.c: Likewise.
60772 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
60773 (CFLAGS-tst-backtrace3.c): Likewise.
60774 (CFLAGS-tst-backtrace4.c): Likewise.
60775 (CFLAGS-tst-backtrace5.c): Likewise.
60776 (LDFLAGS-tst-backtrace2): Likewise.
60777 (LDFLAGS-tst-backtrace3): Likewise.
60778 (LDFLAGS-tst-backtrace4): Likewise.
60779 (LDFLAGS-tst-backtrace5): Likewise.
60780 (tests): Add new tests tst-backtrace2, tst-backtrace3,
60781 tst-backtrace4 and tst-backtrace5.
60782
60783 2013-01-18 Anton Blanchard <anton@samba.org>
60784 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
60785
60786 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
60787 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
60788 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
60789 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
60790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
60791 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
60792 "+r" and remove output regs list as redundant. Add explicit inline
60793 asm to specify register of return val to work around compiler codegen
60794 bug. Remove (int) cast on return value. Add return type parameter to
60795 use in macro so that this macro does not truncate return value for
60796 64-bit values.
60797 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
60798 pass to INTERNAL_VSYSCALL_NCS.
60799 (INLINE_VSYSCALL): Add 'long int' as return type to
60800 INTERNAL_VSYSCALL_NCS macro invocation.
60801 (INTERNAL_VSYSCALL): Add 'long int' as return type to
60802 INTERNAL_VSYSCALL_NCS macro invocation.
60803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
60804
60805 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
60806
60807 [BZ #14496]
60808 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
60809 Fix application of SIMD FP exception mask.
60810
60811 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
60812 mp_no from a power of two.
60813 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
60814 __mpexp_twomm1. Use __pow_mp.
60815
60816 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
60817 multiplication.
60818
60819 2013-01-17 David S. Miller <davem@davemloft.net>
60820
60821 * sysdeps/sparc/fpu/libm-test-ulps: Update.
60822
60823 2013-01-17 Joseph Myers <joseph@codesourcery.com>
60824
60825 [BZ #15023]
60826 * include/complex.h: Condition contents on [!_COMPLEX_H].
60827 (__kernel_casinhf): New prototype.
60828 (__kernel_casinh): Likewise.
60829 (__kernel_casinhl): Likewise.
60830 * math/Makefile (libm_calls): Add k_casinh.
60831 * math/k_casinh.c: New file.
60832 * math/k_casinhf.c: Likewise.
60833 * math/k_casinhl.c: Likewise.
60834 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
60835 finite nonzero arguments.
60836 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
60837 finite nonzero arguments.
60838 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
60839 finite nonzero arguments.
60840 * math/s_casinh.c: Do not include <float.h>.
60841 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
60842 * math/s_casinhf.c: Do not include <float.h>.
60843 (__casinhf): Move code for finite nonzero arguments to
60844 k_casinhf.c.
60845 * math/s_casinhl.c: Do not include <float.h>.
60846 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
60847 redefine.
60848 (__casinhl): Move code for finite nonzero arguments to
60849 k_casinhl.c.
60850 * math/libm-test.inc (cacos_test): Add more tests.
60851 * sysdeps/i386/fpu/libm-test-ulps: Update.
60852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60853
60854 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
60855
60856 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
60857 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
60858 [!HAVE_MREMAP]: Remove [defined linux] case.
60859 * malloc/arena.c: Do not include <malloc-sysdep.h>.
60860
60861 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
60862
60863 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
60864
60865 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
60866
60867 * elf/elf.h (R_386_SIZE32): New relocation.
60868 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
60869 R_386_SIZE32.
60870 (elf_machine_rela): Likewise.
60871 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
60872 R_X86_64_SIZE64 and R_X86_64_SIZE32.
60873
60874 2013-01-17 Joseph Myers <joseph@codesourcery.com>
60875
60876 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
60877 (FP_FAST_FMA): Do not define.
60878 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
60879 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
60880 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
60881 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
60882 !_SOFT_FLOAT]: Likewise.
60883 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
60884 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
60885 value.
60886 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
60887 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
60888 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
60889 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
60890 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
60891 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
60892 file.
60893
60894 2013-01-16 Andreas Schwab <schwab@suse.de>
60895
60896 [BZ #14327]
60897 * include/stdlib.h (__mktemp): Add declaration.
60898 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
60899 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
60900
60901 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
60902
60903 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
60904 definitions.
60905 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
60906 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
60907 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
60908 definitions here.
60909 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
60910 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
60911 definitions.
60912 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
60913 and ONE.
60914 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
60915 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
60916 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
60917 definitions.
60918 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
60919 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
60920 definitions.
60921 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
60922
60923 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
60924
60925 2013-01-15 David S. Miller <davem@davemloft.net>
60926
60927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
60928 trunc{,f} to libm-sysdep_routes.
60929 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
60930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
60931 file.
60932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
60933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
60934 file.
60935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
60936 file.
60937 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
60938 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
60939 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
60940 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
60941 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
60942 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
60943 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
60944 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
60945
60946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
60947 nearbyint{,f} to libm-sysdep_routes.
60948 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
60949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
60950 New file.
60951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
60952 file.
60953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
60954 New file.
60955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
60956 file.
60957 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
60958 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
60959 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
60960 file.
60961 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
60962 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
60963 file.
60964 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
60965 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
60966 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
60967
60968 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
60969 libc_feholdexcept and libc_fesetenv.
60970
60971 2013-01-15 Mike Frysinger <vapier@gentoo.org>
60972
60973 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
60974
60975 2013-01-14 David S. Miller <davem@davemloft.net>
60976
60977 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
60978 (SPARC_ASM_VIS2_IFUNC): Likewise.
60979 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
60980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
60981 use of 'siam' instruction.
60982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
60983 Likewise.
60984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
60985 Likewise.
60986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
60987 Likewise.
60988 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
60989 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
60990 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
60991 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
60992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
60993 file.
60994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
60995 file.
60996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
60997 file.
60998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
60999 file.
61000 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
61001 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
61002 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
61003 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
61004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
61005 new VIS2 routines.
61006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
61007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
61008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
61009 Likewise.
61010 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
61011 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
61012 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
61013 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
61014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
61015 routines to libm-sysdep_routines.
61016 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
61017
61018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
61019 fdim/fdimf to libm-sysdep_routines.
61020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
61021 file.
61022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
61023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
61024 file.
61025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
61026 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
61027 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
61028 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
61029 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
61030 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
61031 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
61032
61033 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
61034
61035 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
61036 to optimize copies.
61037
61038 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
61039 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
61040 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
61041
61042 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
61043 local variable MPTWO.
61044 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
61045 Likewise.
61046
61047 2013-01-13 Mike Frysinger <vapier@gentoo.org>
61048
61049 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
61050 GLOB_NOESCAPE.
61051
61052 2013-01-13 Mike Frysinger <vapier@gentoo.org>
61053
61054 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
61055
61056 2013-01-13 Mike Frysinger <vapier@gentoo.org>
61057
61058 * manual/pattern.texi (glob_t): Document gl_flags.
61059 (glob64_t): Likewise.
61060
61061 2013-01-11 David S. Miller <davem@davemloft.net>
61062
61063 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
61064 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
61065 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
61066 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
61067 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
61068 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
61069 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
61070 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
61071 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
61072 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
61073 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
61074 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
61075 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
61076
61077 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
61078 sparc V9 rather than using V8 code.
61079 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
61080 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
61081
61082 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
61083 Move to...
61084 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
61085 Here.
61086
61087 2013-01-11 Roland McGrath <roland@hack.frob.com>
61088
61089 [BZ #14941]
61090 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
61091 not in the main loop.
61092 * configure: Regenerated.
61093
61094 2013-01-11 Joseph Myers <joseph@codesourcery.com>
61095
61096 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
61097 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
61098 to just #else.
61099 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
61100 [!__GLIBC_HAVE_LONG_LONG] case.
61101 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
61102 condition to just #else.
61103 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
61104 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
61105 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
61106 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
61107 unconditional.
61108 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
61109 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
61110 #elif condition to just #else.
61111 * sysdeps/unix/sysv/linux/sys/sysmacros.h
61112 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
61113 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
61114 #elif condition to just #else.
61115
61116 2013-01-11 Steve Ellcey <sellcey@mips.com>
61117
61118 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
61119 (EF_MIPS_ARCH_64): Fix value.
61120 (EF_MIPS_ARCH_32R2): New.
61121 (EF_MIPS_ARCH_64R2): New.
61122
61123 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
61124
61125 * Makeconfig (+link-pie-before-libc): New.
61126 (+link-pie-after-libc): Likewise.
61127 (+link-pie-tests): Likewise.
61128 (+link-pie): Rewritten.
61129 (link-before-libc): Remove $(config-LDFLAGS).
61130 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
61131 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
61132 (config-LDFLAGS): Renamed to ...
61133 (rtld-LDFLAGS): This.
61134 (rtld-tests-LDFLAGS): New macro.
61135 (link-libc-rpath-link): Likewise.
61136 (link-libc-tests-rpath-link): Likewise.
61137 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
61138 (link-libc): Prepand $(link-libc-rpath-link).
61139 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
61140 (test-program-prefix): New macro.
61141 (test-via-rtld-prefix): Likewise.
61142 (test-program-cmd): Likewise.
61143 (host-test-program-cmd): Likewise.
61144 * Makefile ($(common-objpfx)testrun.sh): Replace
61145 $(run-program-prefix) with $(test-program-prefix).
61146 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
61147 $(rtld-LDFLAGS).
61148 ($(common-objpfx)shlib.lds): Likewise.
61149 (build-module-helper): Likewise.
61150 ($(common-objpfx)format.lds): Likewise.
61151 * Rules (binaries-pie-tests): New.
61152 (binaries-pie-notests): Likewise.
61153 (binaries-pie): Rewritten.
61154 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
61155 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
61156 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
61157 (make-test-out): Replace $(host-built-program-cmd) with
61158 $(host-test-program-cmd).
61159 * config.make.in (build-hardcoded-path-in-tests): New variable.
61160 * configure.in (--enable-hardcoded-path-in-tests): New configure
61161 option.
61162 (hardcoded_path_in_tests): New AC_SUBST.
61163 * configure: Regenerated.
61164 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
61165 $(built-program-cmd) with $(test-program-cmd).
61166 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
61167 (test_program_cmd): This.
61168 * elf/Makefile ($(objpfx)order.out): Run test with
61169 $(test-program-prefix).
61170 ($(objpfx)order2.out): Likewise.
61171 ($(objpfx)tst-initorder.out): Likewise.
61172 ($(objpfx)tst-initorder2.out): Likewise.
61173 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
61174 $(test-program-cmd).
61175 ($(objpfx)tst-array1-static.out): Likewise.
61176 ($(objpfx)tst-array2.out): Likewise.
61177 ($(objpfx)tst-array3.out): Likewise.
61178 ($(objpfx)tst-array4.out): Likewise.
61179 ($(objpfx)tst-array5.out): Likewise.
61180 ($(objpfx)tst-array5-static.out): Likewise.
61181 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
61182 $(test-program-cmd).
61183 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
61184 $(run-program-prefix) with $(test-program-prefix).
61185 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
61186 (test_program_prefix): This.
61187 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
61188 $(run-program-prefix) with $(test-program-prefix).
61189 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
61190 (test_program_prefix): This.
61191 * iconvdata/tst-tables.sh: Likewise.
61192 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
61193 $(run-program-prefix) with $(test-program-prefix).
61194 ($(objpfx)tst-translit.out): Likewise.
61195 ($(objpfx)tst-gettext2.out): Likewise.
61196 ($(objpfx)tst-gettext4.out): Likewise.
61197 ($(objpfx)tst-gettext6.out): Likewise.
61198 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
61199 (test_program_prefix): This.
61200 * intl/tst-gettext2.sh: Likewise.
61201 * intl/tst-gettext4.sh Likewise.
61202 * intl/tst-gettext6.sh: Likewise.
61203 * intl/tst-translit.sh: Likewise.
61204 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
61205 with $(test-program-cmd).
61206 * libio/Makefile ($(objpfx)test-freopen.out): Replace
61207 $(run-program-prefix) with $(test-program-prefix).
61208 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
61209 (test_program_prefix): This.
61210 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
61211 $(run-program-prefix) with $(test-program-prefix).
61212 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
61213 (test_program_prefix): This.
61214 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
61215 * posix/Makefile ($(objpfx)globtest.out): Replace
61216 $(run-via-rtld-prefix) and $(test-wrapper) with
61217 $(test-program-prefix) and $(test-via-rtld-prefix).
61218 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
61219 $(test-program-prefix).
61220 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
61221 $(host-test-program-cmd).
61222 (tst-spawn-ARGS): Likewise.
61223 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
61224 $(test-program-prefix).
61225 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
61226 (test_via_rtld_prefix): This.
61227 (test_wrapper): Renamed to ...
61228 (test_program_prefix): This.
61229 (run_program_prefix): Replaced by test_program_prefix.
61230 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
61231 (test_program_prefix): This.
61232 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
61233 with $(host-test-program-cmd).
61234 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
61235 $(run-program-prefix) with $(test-program-prefix).
61236 ($(objpfx)tst-printf.out): Likewise.
61237 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
61238 $(test-program-cmd).
61239 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
61240 (test_program_prefix): This.
61241 * stdio-common/tst-unbputc.sh: Likewise.
61242 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
61243 $(run-program-prefix) with $(test-program-prefix).
61244 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
61245 (test_program_prefix): This.
61246 * string/Makefile ($(objpfx)tst-svc.out): Replace
61247 $(built-program-cmd) with $(test-program-cmd).
61248
61249 2013-01-11 Andreas Jaeger <aj@suse.de>
61250
61251 [BZ #15003]
61252 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
61253 value. Sync with Linux 3.7.
61254
61255 2013-01-10 David S. Miller <davem@davemloft.net>
61256
61257 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
61258 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
61259 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
61260
61261 2013-01-10 Roland McGrath <roland@hack.frob.com>
61262
61263 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
61264 never set.
61265 * configure: Regenerated.
61266
61267 2013-01-10 David S. Miller <davem@davemloft.net>
61268
61269 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
61270 sparc V9 rather than using V8 code.
61271 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
61272 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
61273
61274 2013-01-10 Roland McGrath <roland@hack.frob.com>
61275
61276 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
61277 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
61278 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
61279 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
61280 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
61281 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
61282 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
61283 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
61284 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
61285 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
61286 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
61287 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
61288 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
61289 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
61290 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
61291 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
61292 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
61293 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
61294 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
61295 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
61296 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
61297 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
61298 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
61299 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
61300 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
61301 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
61302 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
61303
61304 2013-01-10 David S. Miller <davem@davemloft.net>
61305
61306 * sysdeps/sparc/fpu/libm-test-ulps: Update.
61307
61308 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
61309
61310 * posix/Makefile (tests-static): New variable.
61311 (tests): Add $(tests-static).
61312 (tst-exec-static-ARGS): New variable.
61313 (tst-spawn-static-ARGS): Likewise.
61314 * posix/tst-exec-static.c: New file.
61315 * posix/tst-spawn-static.c: Likewise.
61316 * posix/tst-exec.c: Support run directly.
61317 * posix/tst-spawn.c: Likewise.
61318
61319 2013-01-10 Joseph Myers <joseph@codesourcery.com>
61320
61321 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
61322 long.
61323 * math/bits/mathcalls.h (llrint): Likewise.
61324 (llround): Likewise.
61325 * stdlib/stdlib.h (struct drand48_data): Likewise.
61326 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
61327 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
61328 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
61329 Likewise.
61330 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
61331 Likewise.
61332 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
61333 (elf_greg_t): Likewise.
61334 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
61335 (__jmp_buf): Likewise.
61336 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
61337 definitions.
61338 (llrint): Likewise, for all definitions.
61339 (llrintl): Likewise.
61340
61341 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
61342 Remove [__GNUC__] condition.
61343 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
61344 condition to just [__USE_ISOC99].
61345 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
61346
61347 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
61348
61349 [BZ #14200]
61350 * sysdeps/unix/sysv/linux/x86/bits/environments.h
61351 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
61352 defined.
61353 (_POSIX_V6_ILP32_OFF32): Likewise.
61354 (_XBS5_ILP32_OFF32): Likewise.
61355 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
61356 (__ILP32_OFFBIG_LDFLAGS): Likewise.
61357
61358 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
61359
61360 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
61361
61362 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
61363 doubles __mpexp_twomm1. Adjust usage.
61364 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
61365 Remove.
61366
61367 2013-01-10 Andreas Schwab <schwab@suse.de>
61368
61369 [BZ #14964]
61370 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
61371 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
61372
61373 2013-01-09 David S. Miller <davem@davemloft.net>
61374
61375 [BZ #15003]
61376 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
61377 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
61378 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
61379 (TCP_FASTOPEN): Define.
61380 (tcp_repair_opt): New structure.
61381 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
61382 enum values.
61383 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
61384 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
61385 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
61386 (tcp_cookie_transactions): New structure.
61387
61388 2013-01-09 Anton Blanchard <anton@samba.org>
61389
61390 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
61391 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
61392 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
61393 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
61394
61395 2013-01-09 Joseph Myers <joseph@codesourcery.com>
61396
61397 * include/features.h (__USE_ANSI): Remove.
61398
61399 2013-01-09 Roland McGrath <roland@hack.frob.com>
61400
61401 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
61402
61403 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
61404
61405 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
61406
61407 * sysdeps/s390/fpu/libm-test-ulps: Update.
61408
61409 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61410
61411 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
61412 (__acr): Likewise.
61413 (__cpy): Likewise.
61414 (norm): Likewise.
61415 (denorm): Likewise.
61416 (__mp_dbl): Likewise.
61417 (__dbl_mp): Likewise.
61418 (add_magnitudes): Likewise.
61419 (sub_magnitudes): Likewise.
61420 (__add): Likewise.
61421 (__sub): Likewise.
61422 (__mul): Likewise.
61423 (__inv): Likewise.
61424 (__dvd): Likewise.
61425 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
61426 (__acr): Likewise.
61427 (__cpy): Likewise.
61428 (norm): Likewise.
61429 (denorm): Likewise.
61430 (__mp_dbl): Likewise.
61431 (__dbl_mp): Likewise.
61432 (add_magnitudes): Likewise.
61433 (sub_magnitudes): Likewise.
61434 (__add): Likewise.
61435 (__sub): Likewise.
61436 (__mul): Likewise.
61437 (__inv): Likewise.
61438 (__dvd): Likewise.
61439 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
61440 (__acr): Likewise.
61441 (__cpy): Likewise.
61442 (norm): Likewise.
61443 (denorm): Likewise.
61444 (__mp_dbl): Likewise.
61445 (__dbl_mp): Likewise.
61446 (add_magnitudes): Likewise.
61447 (sub_magnitudes): Likewise.
61448 (__add): Likewise.
61449 (__sub): Likewise.
61450 (__mul): Likewise.
61451 (__inv): Likewise.
61452 (__dvd): Likewise.
61453
61454 2013-01-08 Joseph Myers <joseph@codesourcery.com>
61455
61456 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
61457 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
61458 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
61459 2 && __USE_EXTERN_INLINES]: Likewise.
61460
61461 2013-01-08 Andreas Jaeger <aj@suse.de>
61462
61463 [BZ# 14985]
61464 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
61465 Remove.
61466 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
61467 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
61468
61469 2013-01-07 Anton Blanchard <anton@samba.org>
61470
61471 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
61472 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
61473 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
61474 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
61475 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
61476 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
61477 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
61478 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
61479 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
61480 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
61481 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
61482 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
61483 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
61484 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
61485 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
61486 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
61487 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
61488 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
61489 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
61490 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
61491 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
61492 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
61493 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
61494 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
61495 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
61496 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
61497 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
61498 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
61499 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
61500 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
61501 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
61502 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
61503 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
61504 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
61505 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
61506 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
61507 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
61508 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
61509 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
61510 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
61511 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
61512 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
61513 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
61514
61515 2013-01-07 Joseph Myers <joseph@codesourcery.com>
61516
61517 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
61518 (__MALLOC_PMT): Likewise.
61519 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
61520 [__GNUC__], only on [_LIBC].
61521 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
61522 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
61523 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
61524 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
61525 forward declaration.
61526 (realloc_hook_ini): Likewise.
61527 (memalign_hook_ini): Likewise.
61528 (__libc_memalign): Do not use __MALLOC_PMT in variable
61529 declaration.
61530 (__libc_valloc): Likewise.
61531 (__libc_pvalloc): Likewise.
61532 (__libc_calloc): Likewise.
61533 (__posix_memalign): Likewise.
61534
61535 [BZ #14996]
61536 * math/s_casinh.c: Include <float.h>.
61537 (__casinh): Do not do computation with squaring and square root
61538 for large arguments.
61539 * math/s_casinhf.c: Include <float.h>.
61540 (__casinhf): Do not do computation with squaring and square root
61541 for large arguments.
61542 * math/s_casinhl.c: Include <float.h>.
61543 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
61544 (__casinhl): Do not do computation with squaring and square root
61545 for large arguments.
61546 * math/libm-test.inc (casin_test): Add more tests.
61547 (casinh_test): Likewise.
61548 * sysdeps/i386/fpu/libm-test-ulps: Update.
61549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61550
61551 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
61552
61553 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
61554 (__x86_64_raw_data_cache_size): Likewise.
61555 (__x86_64_data_cache_size_half): Likewise.
61556 (__x86_64_raw_data_cache_size_half): Likewise.
61557 (__x86_64_shared_cache_size): Likewise.
61558 (__x86_64_raw_shared_cache_size): Likewise.
61559 (__x86_64_shared_cache_size_half): Likewise.
61560 (__x86_64_raw_shared_cache_size_half): Likewise.
61561 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
61562 to ...
61563 (__x86_data_cache_size): This.
61564 (__x86_64_raw_data_cache_size): Renamed to ...
61565 (__x86_raw_data_cache_size): This.
61566 (__x86_64_data_cache_size_half): Renamed to ...
61567 (__x86_data_cache_size_half): This.
61568 (__x86_64_raw_data_cache_size_half): Renamed to ...
61569 (__x86_raw_data_cache_size_half): This.
61570 (__x86_64_shared_cache_size): Renamed to ...
61571 (__x86_shared_cache_size): This.
61572 (__x86_64_raw_shared_cache_size): Renamed to ...
61573 (__x86_raw_shared_cache_size): This.
61574 (__x86_64_shared_cache_size_half): Renamed to ...
61575 (__x86_shared_cache_size_half): This.
61576 (__x86_64_raw_shared_cache_size_half): Renamed to ...
61577 (__x86_raw_shared_cache_size_half): This.
61578 * sysdeps/x86_64/memcpy.S: Updated.
61579 * sysdeps/x86_64/memset.S: Likewise.
61580 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
61581 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
61582 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
61583
61584 2013-01-04 David S. Miller <davem@davemloft.net>
61585
61586 * sysdeps/sparc/fpu/libm-test-ulps: Update.
61587
61588 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
61589
61590 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
61591 1 to avoid redefinition warning.
61592 (__USE_GNU): Don't define.
61593 (init_signaling_nan): Protoize.
61594
61595 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61596
61597 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
61598
61599 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
61600 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
61601 (__cpymn): Likewise.
61602 (norm): Remove commented code.
61603 (denorm): Likewise.
61604 (__mp_dbl): Likewise.
61605 (__inv): Likewise.
61606 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
61607 (__cpymn): Likewise.
61608 (norm): Remove commented code.
61609 (denorm): Likewise.
61610 (__mp_dbl): Likewise.
61611 (__inv): Likewise.
61612
61613 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
61614 mp_no value for 1.0 and 2.0.
61615 (norm): Use RADIXI instead of radixi.d.
61616 (denorm): Likewise.
61617 (__mul): Use 0.0 instead of zero.d.
61618 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
61619 mp_no value for 1.0 and 2.0.
61620 (norm): Use RADIXI instead of radixi.d.
61621 (denorm): Likewise.
61622 (__mul): Use 0.0 instead of zero.d.
61623
61624 2013-01-04 Joseph Myers <joseph@codesourcery.com>
61625
61626 [BZ #14994]
61627 * math/s_casinh.c (__casinh): Reduce finite argument to first
61628 quadrant then set signs of results at the end.
61629 * math/s_casinhf.c (__casinhf): Likewise.
61630 * math/s_casinhl.c (__casinhl): Likewise.
61631 * math/libm-test.inc (casin_test): Add more tests.
61632 (casinh_test): Likewise.
61633 * sysdeps/i386/fpu/libm-test-ulps: Update.
61634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61635
61636 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
61637
61638 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
61639
61640 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
61641
61642 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
61643 declarations.
61644 (denorm): Likewise.
61645 (__mp_dbl): Likewise.
61646 (__inv): Likewise.
61647
61648 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
61649 and adjust the header comment.
61650
61651 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
61652 variable name from declaration.
61653
61654 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
61655
61656 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61657 Initialize COMMON_CPUID_INDEX_7 element.
61658 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
61659 (CPUID_RTM): Likewise.
61660 (HAS_RTM): Likewise.
61661 (COMMON_CPUID_INDEX_7): New enum.
61662
61663 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
61664
61665 [BZ #14981]
61666 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
61667 size is zero, record memory as freed.
61668
61669 2013-01-03 Andreas Jaeger <aj@suse.de>
61670
61671 * po/ia.po: Add new Interlingua translation.
61672
61673 2012-01-03 Allan McRae <allan@archlinux.org>
61674
61675 * locale/programs/localedef.c: Fix description of '--posix' flag.
61676
61677 2013-01-02 Joseph Myers <joseph@codesourcery.com>
61678
61679 * NEWS: Update dates in second copyright notice.
61680 * README: Update copyright dates in example.
61681 * manual/libc.texinfo: Update copyright dates.
61682 * scripts/test-installation.pl: Update copyright date in --version
61683 output.
61684
61685 * hurd/ctty-input.c: Fix copyright notice formatting.
61686 * hurd/ctty-output.c: Likewise.
61687 * hurd/dtable.c: Likewise.
61688 * hurd/hurd-raise.c: Likewise.
61689 * hurd/hurdprio.c: Likewise.
61690 * hurd/msgportdemux.c: Likewise.
61691 * misc/sys/file.h: Likewise.
61692 * misc/sys/ioctl.h: Likewise.
61693 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
61694 * sysdeps/mach/hurd/chdir.c: Likewise.
61695 * sysdeps/mach/hurd/fchdir.c: Likewise.
61696 * sysdeps/mach/hurd/rename.c: Likewise.
61697 * sysdeps/mach/hurd/rmdir.c: Likewise.
61698 * sysdeps/mach/hurd/seekdir.c: Likewise.
61699 * sysdeps/mach/hurd/setsid.c: Likewise.
61700 * sysdeps/posix/wait3.c: Likewise.
61701
61702 * All files with FSF copyright notices: Update copyright dates
61703 using scripts/update-copyrights.
61704 * intl/plural.c: Regenerated.
61705 * locale/programs/charmap-kw.h: Likewise.
61706 * locale/programs/locfile-kw.h: Likewise.
61707
61708 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
61709
61710 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
61711 four values.
61712
61713 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
61714 calculation loop and add branch prediction.
61715
61716 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
61717 check access beyond bounds of m1np.
61718
61719 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
61720 MPTWO.
61721 (__inv): Remove local variable MPTWO to use the global
61722 constant.
61723 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
61724 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
61725 variable MPTWO.
61726 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
61727 MP3HALFS static const.
61728
61729 2013-01-01 David S. Miller <davem@davemloft.net>
61730
61731 * po/ca.po: Update from translation team.
61732
61733 2013-01-01 Joseph Myers <joseph@codesourcery.com>
61734
61735 * scripts/update-copyrights: New file.
61736 * Makeconfig: Reformat copyright notice.
61737 * ctype/ctype.h: Likewise.
61738 * debug/swprintf_chk.c: Likewise.
61739 * elf/dl-cache.c: Likewise.
61740 * elf/dl-debug.c: Likewise.
61741 * elf/dl-object.c: Likewise.
61742 * grp/initgroups.c: Likewise.
61743 * hurd/Makefile: Likewise.
61744 * hurd/hurd/signal.h: Likewise.
61745 * hurd/hurdfault.c: Likewise.
61746 * hurd/hurdioctl.c: Likewise.
61747 * hurd/hurdlookup.c: Likewise.
61748 * hurd/intr-msg.c: Likewise.
61749 * iconv/gconv_open.c: Likewise.
61750 * libio/swprintf.c: Likewise.
61751 * locale/lc-ctype.c: Likewise.
61752 * locale/nl_langinfo.c: Likewise.
61753 * mach/Machrules: Likewise.
61754 * mach/Makefile: Likewise.
61755 * malloc/obstack.h: Likewise.
61756 * manual/Makefile: Likewise.
61757 * manual/tsort.awk: Likewise.
61758 * misc/bits/stab.def: Likewise.
61759 * nis/nis_print_group_entry.c: Likewise.
61760 * nis/nis_table.c: Likewise.
61761 * nis/nss_compat/compat-pwd.c: Likewise.
61762 * nis/nss_compat/compat-spwd.c: Likewise.
61763 * po/Makefile: Likewise.
61764 * posix/fnmatch.c: Likewise.
61765 * posix/regex.h: Likewise.
61766 * resolv/Makefile: Likewise.
61767 * resolv/nss_dns/dns-network.c: Likewise.
61768 * resolv/res_hconf.c: Likewise.
61769 * scripts/gen-sorted.awk: Likewise.
61770 * soft-fp/soft-fp.h: Likewise.
61771 * stdio-common/printf.h: Likewise.
61772 * stdlib/monetary.h: Likewise.
61773 * stdlib/random.c: Likewise.
61774 * stdlib/random_r.c: Likewise.
61775 * sysdeps/generic/Makefile: Likewise.
61776 * sysdeps/gnu/Makefile: Likewise.
61777 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
61778 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
61779 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
61780 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
61781 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
61782 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
61783 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
61784 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
61785 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
61786 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
61787 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
61788 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
61789 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
61790 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
61791 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
61792 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
61793 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
61794 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
61795 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
61796 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
61797 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
61798 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
61799 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
61800 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
61801 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
61802 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
61803 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
61804 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
61805 * sysdeps/mach/hurd/errnos.awk: Likewise.
61806 * sysdeps/mach/hurd/fork.c: Likewise.
61807 * sysdeps/mach/hurd/getcwd.c: Likewise.
61808 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
61809 * sysdeps/mach/hurd/mmap.c: Likewise.
61810 * sysdeps/mach/hurd/utimes.c: Likewise.
61811 * sysdeps/mach/hurd/xmknod.c: Likewise.
61812 * sysdeps/posix/profil.c: Likewise.
61813 * sysdeps/posix/readdir_r.c: Likewise.
61814 * sysdeps/powerpc/bits/mathdef.h: Likewise.
61815 * sysdeps/powerpc/bits/setjmp.h: Likewise.
61816 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
61817 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
61818 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
61819 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
61820 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
61821 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
61822 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
61823 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
61824 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
61825 * sysdeps/pthread/lio_listio.c: Likewise.
61826 * sysdeps/sparc/dl-procinfo.h: Likewise.
61827 * sysdeps/unix/i386/sysdep.S: Likewise.
61828 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
61829 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
61830 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
61831 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
61832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
61833 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
61834 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
61835 * sysdeps/unix/sysv/linux/speed.c: Likewise.
61836 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
61837 * sysdeps/wordsize-32/divdi3.c: Likewise.
61838 * time/sys/time.h: Likewise.
61839 * wcsmbs/Makefile: Likewise.
61840
61841 2013-01-01 David S. Miller <davem@davemloft.net>
61842
61843 * po/fr.po: Update from translation team.
61844
61845 * catgets/gencat.c: Update copyright year.
61846 * csu/version.c: Likewise.
61847 * debug/catchsegv.sh: Likewise.
61848 * debug/pcprofiledump.c: Likewise.
61849 * debug/xtrace.sh: Likewise.
61850 * elf/ldconfig.c: Likewise.
61851 * elf/ldd.bash.in: Likewise.
61852 * elf/pldd.c: Likewise.
61853 * elf/sotruss.ksh: Likewise.
61854 * elf/sprof.c: Likewise.
61855 * iconv/iconv_prog.c: Likewise.
61856 * iconv/iconvconfig.c: Likewise.
61857 * locale/programs/locale.c: Likewise.
61858 * locale/programs/localedef.c: Likewise.
61859 * login/programs/pt_chown.c: Likewise.
61860 * malloc/memusage.sh: Likewise.
61861 * malloc/memusagestat.c: Likewise.
61862 * malloc/mtrace.pl: Likewise.
61863 * nscd/nscd.c: Likewise.
61864 * nss/getent.c: Likewise.
61865 * nss/makedb.c: Likewise.
61866 * posix/getconf.c: Likewise.
61867
61868 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
61869
61870 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
61871 numbers.
61872
61873 2012-12-30 Mike Frysinger <vapier@gentoo.org>
61874
61875 * math/bits/mathcalls.h (modf): Use __nonnull.
61876
61877 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
61878
61879 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
61880 (split): Use macro CN instead of the bare value.
61881 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
61882 could be used.
61883 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
61884 instead of the bare value.
61885 (power1): Likewise.
61886
61887 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
61888
61889 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
61890 __ATAN_TWOM.
61891 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
61892
61893 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
61894 their values.
61895 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
61896 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
61897 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
61898 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
61899
61900 2012-12-28 Andreas Jaeger <aj@suse.de>
61901
61902 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
61903 values are from Linux 3.7.
61904
61905 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
61906 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
61907
61908 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
61909
61910 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
61911 TRUE case.
61912
61913 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
61914 (norm): Likewise.
61915 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
61916 variables with preprocessor constants.
61917 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
61918 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
61919 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
61920
61921 2012-12-27 Bruno Haible <bruno@clisp.org>
61922
61923 [BZ #14317]
61924 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
61925 only if needed.
61926
61927 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
61928
61929 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
61930 and use variable directly.
61931 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
61932
61933 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
61934 MPONE.
61935 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
61936 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
61937 variable MPONE.
61938 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
61939 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
61940 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
61941 include directive. Remove local variable MPONE.
61942 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
61943 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
61944 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
61945
61946 2012-12-25 David S. Miller <davem@davemloft.net>
61947
61948 * version.h (RELEASE): Set to "development".
61949 (VERSION): Set to "2.17.90".
61950 * NEWS: Add 2.18 section.
61951
61952 2012-12-21 David S. Miller <davem@davemloft.net>
61953
61954 * po/hr.po: Update from translation team.
61955
61956 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61957
61958 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
61959
61960 2012-12-19 Steve Ellcey <sellcey@mips.com>
61961
61962 * NEWS: Mention new memcpy for MIPS.
61963
61964 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
61965
61966 * manual/contrib.texi (Contributors): Spelling correction.
61967
61968 2012-12-15 David S. Miller <davem@davemloft.net>
61969
61970 * po/ru.po: Update from translation team.
61971
61972 2012-12-13 David S. Miller <davem@davemloft.net>
61973
61974 * NEWS: Mention IFUNC testsuite enhancements.
61975
61976 * po/pl.po: Update from translation team.
61977 * po/bg.po: Likewise.
61978
61979 * manual/contrib.texi (Contributors): Update entries for Hongjiu
61980 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
61981
61982 2012-12-11 David S. Miller <davem@davemloft.net>
61983
61984 * po/sv.po: Update from translation team.
61985
61986 * po/vi.po: Update from translation team.
61987
61988 * po/cs.po: Update from translation team.
61989
61990 * po/de.po: Update from translation team.
61991 * po/eo.po: Likewise.
61992 * po/nl.po: Likewise.
61993
61994 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
61995
61996 [BZ #14246]
61997 * manual/argp.texi (Argp Helper Functions): Move node to follow
61998 Argp Parsing State.
61999
62000 [BZ #14872]
62001 * manual/conf.texi (Limits on File System Capacity): Mention if
62002 terminating null is included in the max size.
62003
62004 2012-12-10 Andreas Jaeger <aj@suse.de>
62005
62006 * po/cs.po: Update from translation team.
62007
62008 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
62009
62010 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
62011 void pointer and cast to uintptr_t.
62012 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
62013 path.
62014 * sysdeps/s390/s390-64/memcpy.S: Likewise.
62015 * sysdeps/s390/s390-64/memset.S: Likewise.
62016
62017 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
62018
62019 [BZ #14833]
62020 * menual/message.texi (Message Translation): Fix typos.
62021 (Helper programs for gettext): Likewise.
62022
62023 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
62024
62025 [BZ #14898]
62026 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
62027 Change to -1.
62028
62029 2012-12-07 David S. Miller <davem@davemloft.net>
62030
62031 * po/libc.pot: Update.
62032
62033 2012-12-07 Richard Henderson <rth@redhat.com>
62034
62035 [BZ #10114]
62036 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
62037 normal/normal case to before the switch.
62038 (_FP_DIV): Likewise.
62039
62040 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
62041 Mike Frysinger <vapier@gentoo.org>
62042
62043 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
62044 check for __NR_fadvise64_64.
62045
62046 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
62047
62048 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
62049 0, not just to plain "0" as a statement.
62050 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
62051 with cw.
62052
62053 2012-12-06 Joseph Myers <joseph@codesourcery.com>
62054
62055 * NEWS: Use sourceware.org in Bugzilla URL.
62056
62057 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
62058
62059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
62060 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
62061
62062 * stdio-common/tst-put-error.c (do_test): Add newline to the
62063 padded test to ensure flush.
62064
62065 2012-12-05 Jeff Law <law@redhat.com>
62066
62067 * sunrpc/etc.rpc (fedfs_admin): Add entry.
62068
62069 2012-12-05 Joseph Myers <joseph@codesourcery.com>
62070
62071 * README: Don't refer to ports add-on as distributed separately.
62072 Mention AArch64 in list of systems supported in the ports add-on.
62073
62074 * LICENSES: Add more non-FSF copyright and license notices.
62075
62076 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
62077 ((unused)).
62078
62079 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
62080
62081 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
62082 10000 as width of padded output.
62083
62084 2012-12-04 Joseph Myers <joseph@codesourcery.com>
62085
62086 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
62087
62088 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
62089 variable LX with __attribute__ ((unused)).
62090 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
62091 Likewise.
62092 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
62093 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
62094 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
62095 with __attribute__ ((unused)).
62096
62097 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
62098
62099 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
62100
62101 2012-12-04 Joseph Myers <joseph@codesourcery.com>
62102
62103 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
62104 (CFLAGS-nldbl-acos.c): New variable.
62105 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
62106 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
62107 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
62108 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
62109 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
62110 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
62111 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
62112 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
62113 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
62114 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
62115 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
62116 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
62117 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
62118 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
62119 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
62120 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
62121 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
62122 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
62123 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
62124 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
62125 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
62126 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
62127 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
62128 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
62129 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
62130 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
62131 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
62132 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
62133 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
62134 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
62135 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
62136 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
62137 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
62138 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
62139 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
62140 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
62141 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
62142 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
62143 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
62144 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
62145 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
62146 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
62147 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
62148 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
62149 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
62150 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
62151 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
62152 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
62153 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
62154 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
62155 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
62156 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
62157 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
62158 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
62159 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
62160 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
62161 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
62162 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
62163 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
62164 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
62165 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
62166 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
62167 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
62168 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
62169 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
62170 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
62171 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
62172 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
62173 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
62174 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
62175 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
62176 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
62177 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
62178 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
62179 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
62180 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
62181 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
62182 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
62183 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
62184 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
62185 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
62186 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
62187 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
62188 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
62189 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
62190 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
62191 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
62192 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
62193 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
62194 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
62195 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
62196 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
62197 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
62198 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
62199 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
62200 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
62201 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
62202
62203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
62204 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
62205
62206 [BZ #14914]
62207 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
62208 whole low double instead of just low 47 bits when splitting values
62209 into two parts.
62210
62211 2012-12-03 Allan McRae <allan@archlinux.org>
62212
62213 * manual/stdio.texi (Predefined Printf Handlers): Remove
62214 @hsep and @vsep usage.
62215
62216 2012-12-03 Mike Frysinger <vapier@gentoo.org>
62217
62218 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
62219 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
62220
62221 2012-12-03 Jeff Law <law@redhat.com>
62222
62223 * time/sys/time.h (settimeofday): Do not mark TV argument
62224 as __nonnull.
62225
62226 2012-12-01 Mike Frysinger <vapier@gentoo.org>
62227
62228 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
62229 when currently writing and seek to current position when not.
62230 * libio/Makefile (tests): Remove bug-fclose1.
62231 * libio/bug-fclose1.c: Delete.
62232
62233 2012-12-01 Joseph Myers <joseph@codesourcery.com>
62234
62235 * manual/arith.texi (feenableexcept): Fix typo.
62236 (fedisableexcept): Likewise.
62237
62238 2012-11-30 Roland McGrath <roland@hack.frob.com>
62239
62240 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
62241 second, differently-typed declaration, rather than a cast.
62242
62243 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
62244
62245 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
62246 * include/rpc/svc.h: ... here.
62247
62248 2012-11-30 Aurelien Jarno <aurel32@debian.org>
62249
62250 [BZ #13013]
62251 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
62252 depending n and resplen2 to catch cases where answer
62253 equals answerp2.
62254
62255 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
62256
62257 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
62258 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
62259
62260 2012-11-29 Mike Frysinger <vapier@gentoo.org>
62261
62262 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
62263
62264 2012-11-29 Roland McGrath <roland@hack.frob.com>
62265
62266 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
62267
62268 2012-11-28 Jeff Law <law@redhat.com>
62269
62270 [BZ #13761]
62271 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
62272 dataset_temporary. Track alloca usage into alloca_used.
62273 If dataset is large allocate and release it via malloc/free.
62274
62275 2012-06-04 Florian Weimer <fweimer@redhat.com>
62276
62277 [BZ #14197]
62278 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
62279
62280 2012-11-28 David S. Miller <davem@davemloft.net>
62281
62282 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62283
62284 2012-11-28 Joseph Myers <joseph@codesourcery.com>
62285
62286 [BZ #14803]
62287 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
62288 of pi/2 rounded to nearest to 64 bits.
62289 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
62290 nearest to 64 bits.
62291 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
62292 bits.
62293
62294 2012-11-28 Jeff Law <law@redhat.com>
62295 Martin Osvald <mosvald@redhat.com>
62296
62297 [BZ #14889]
62298 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
62299 * sunrpc/svc.c: Include time.h.
62300 (__svc_accept_failed): New function.
62301 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
62302 any reason other than EINTR, call __svc_accept_failed.
62303 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
62304 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
62305
62306 2012-11-28 Andreas Schwab <schwab@suse.de>
62307
62308 * scripts/abilist.awk: Also handle indirect functions in .opd
62309 section.
62310
62311 2012-11-28 Joseph Myers <joseph@codesourcery.com>
62312
62313 [BZ #13881]
62314 * sysdeps/x86/fpu/powl_helper.c: New file.
62315 * sysdeps/x86/fpu/Makefile: Likewise.
62316 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
62317 (p3): New object.
62318 (__ieee754_powl): Use __powl_helper for finite arguments except
62319 integer exponents below 8.
62320 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
62321 (p3): New object.
62322 (__ieee754_powl): Use __powl_helper for finite arguments except
62323 integer exponents below 8.
62324 * math/libm-test.inc (pow_test): Add more tests and enable some
62325 previously disabled tests.
62326 * sysdeps/i386/fpu/libm-test-ulps: Update.
62327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62328
62329 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
62330 Carlos O'Donell <carlos_odonell@mentor.com>
62331
62332 * nss/makedb.c (is_prime): Assert that input is odd and greater
62333 than 4. Note that fact in a comment too.
62334 (next_prime): Add 4 to input.
62335
62336 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
62337
62338 [BZ #11741]
62339 * libio/Makefile (tests): Add test case tst-fwrite-error.
62340 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
62341 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
62342 * libio/tst-fwrite-error.c: New test case.
62343
62344 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
62345
62346 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
62347 before casting to void *.
62348 * include/libc-internal.h (__pointer_type): New macro.
62349 (__integer_if_pointer_type_sub): Likewise.
62350 (__integer_if_pointer_type): Likewise.
62351 (cast_to_integer): Likewise.
62352 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
62353 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
62354 before casting to atomic64_t.
62355 (atomic_exchange_acq): Likewise.
62356 (__arch_exchange_and_add_body): Likewise.
62357 (__arch_add_body): Likewise.
62358 (atomic_add_negative): Likewise.
62359 (atomic_add_zero): Likewise.
62360
62361 2012-11-26 Joseph Myers <joseph@codesourcery.com>
62362
62363 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
62364 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
62365 (add_fdes): Likewise.
62366 (linear_search_fdes): Likewise.
62367 (binary_search_unencoded_fdes): Likewise.
62368
62369 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
62370
62371 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
62372
62373 2012-11-24 Adam Conrad <adconrad@0c3.net>
62374
62375 * configure.in: Autodetect C++ header directories.
62376 * configure: Regenerated.
62377
62378 2012-11-23 Mike Frysinger <vapier@gentoo.org>
62379
62380 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
62381
62382 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
62383
62384 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62385
62386 2012-11-22 Joseph Myers <joseph@codesourcery.com>
62387
62388 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
62389 LDBL_MANT_DIG == 106]: Disable some tests.
62390 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
62391 Likewise.
62392 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
62393 Likewise.
62394
62395 [BZ #14871]
62396 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
62397 input for small inputs. Return +/- pi/2 for large inputs.
62398 * math/libm-test.inc (atan_test): Add more tests.
62399
62400 * sysdeps/generic/unwind-dw2-fde-glibc.c
62401 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
62402 __attribute__ ((unused)).
62403
62404 [BZ #14645]
62405 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
62406 x * y if x and y are nonzero and z is zero.
62407
62408 [BZ #14811]
62409 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
62410 nonzero exponents with absolute value below 0x1p-117 to +/-
62411 0x1p-117.
62412
62413 [BZ #14869]
62414 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
62415 up arguments below 2**-450, not just those below 2**-500.
62416 * math/libm-test.inc (hypot_test): Add another test.
62417
62418 [BZ #14868]
62419 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
62420 Return a+b for ratio over 2**120, not 2**60.
62421 * math/libm-test.inc (hypot_test): Add another test.
62422
62423 * math/libm-test.inc (clog_test): Use
62424 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
62425 (clog10_test): Likewise.
62426
62427 [BZ #6778]
62428 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
62429
62430 2012-11-22 Andreas Schwab <schwab@suse.de>
62431
62432 * sysdeps/i386/fpu/libm-test-ulps: Update.
62433
62434 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
62435
62436 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
62437 printf output with newline.
62438
62439 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
62440
62441 [BZ #14865]
62442 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
62443 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
62444 -z nodlopen, -z initfirst and -z execstack support.
62445 * configure: Regenerated.
62446
62447 * elf/elf.h (DF_1_NODIRECT): New macro.
62448 (DF_1_IGNMULDEF): Likewise.
62449 (DF_1_NOKSYMS): Likewise.
62450 (DF_1_NOHDR): Likewise.
62451 (DF_1_EDITED): Likewise.
62452 (DF_1_NORELOC): Likewise.
62453 (DF_1_SYMINTPOSE): Likewise.
62454 (DF_1_GLOBAUDIT): Likewise.
62455 (DF_1_SINGLETON): Likewise.
62456 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
62457 DT_1_SUPPORTED_MASK bits.
62458 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
62459
62460 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
62461
62462 * sysdeps/unix/make-syscalls.sh: Document prefixes.
62463
62464 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
62465
62466 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
62467 macro.
62468
62469 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
62470 (sendmmsg): Move declarations...
62471 * socket/sys/socket.h: ... here.
62472 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
62473 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
62474 include it from...
62475 * socket/recvmmsg.c: ... this new file.
62476 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
62477 (sendmmsg): Rename to __sendmmsg, create weak alias and make
62478 definition of __sendmmsg hidden.
62479 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
62480 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
62481 Move ENOSYS stub into and include it from...
62482 * socket/sendmmsg.c: ... this new file.
62483 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
62484 (sysdep_routines): Move recvmmsg and sendmmsg...
62485 * socket/Makefile (routines): ... here.
62486 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
62487 (GLIBC_PRIVATE): Add __sendmmsg.
62488 * include/sys/socket.h (__sendmmsg): Add declarations.
62489 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
62490 sendmmsg.
62491
62492 2012-11-20 Joseph Myers <joseph@codesourcery.com>
62493
62494 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
62495 variable I1 with __attribute__ ((unused)).
62496 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
62497
62498 2012-11-19 Joseph Myers <joseph@codesourcery.com>
62499
62500 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
62501 DUMMY variables with __attribute__ ((unused)).
62502
62503 * bits/byteswap.h: Include <bits/types.h>.
62504 (__bswap_64): Use __uint64_t instead of unsigned long long int.
62505
62506 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
62507
62508 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
62509 string_t. Do not manually set errno.
62510 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
62511 length with __strnlen. Make sure to both set errno and return it on
62512 failure.
62513
62514 2012-11-19 David S. Miller <davem@davemloft.net>
62515
62516 With help from Joseph Myers.
62517 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
62518 very large arguments properly.
62519 * math/libm-test.inc (atan_test): New tests.
62520 (atan2_test): New tests.
62521 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62522 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62523
62524 2012-11-19 Joseph Myers <joseph@codesourcery.com>
62525
62526 [BZ #14856]
62527 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
62528 Define to 3.
62529
62530 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
62531 [POSIX] (EADDRNOTAVAIL): Likewise.
62532 [POSIX] (EAFNOSUPPORT): Likewise.
62533 [POSIX] (EALREADY): Likewise.
62534 [POSIX] (ECONNABORTED): Likewise.
62535 [POSIX] (ECONNREFUSED): Likewise.
62536 [POSIX] (ECONNRESET): Likewise.
62537 [POSIX] (EDESTADDRREQ): Likewise.
62538 [POSIX] (EDQUOT): Likewise.
62539 [POSIX] (EHOSTUNREACH): Likewise.
62540 [POSIX] (EIDRM): Likewise.
62541 [POSIX] (EISCONN): Likewise.
62542 [POSIX] (ELOOP): Likewise.
62543 [POSIX] (EMULTIHOP): Likewise.
62544 [POSIX] (ENETDOWN): Likewise.
62545 [POSIX] (ENETUNREACH): Likewise.
62546 [POSIX] (ENOBUFS): Likewise.
62547 [POSIX] (ENODATA): Likewise.
62548 [POSIX] (ENOLINK): Likewise.
62549 [POSIX] (ENOMSG): Likewise.
62550 [POSIX] (ENOPROTOOPT): Likewise.
62551 [POSIX] (ENOSR): Likewise.
62552 [POSIX] (ENOSTR): Likewise.
62553 [POSIX] (ENOTCONN): Likewise.
62554 [POSIX] (ENOTSOCK): Likewise.
62555 [POSIX] (EOPNOTSUPP): Likewise.
62556 [POSIX] (EOVERFLOW): Likewise.
62557 [POSIX] (EPROTO): Likewise.
62558 [POSIX] (EPROTONOSUPPORT): Likewise.
62559 [POSIX] (EPROTOTYPE): Likewise.
62560 [POSIX] (ESTALE): Likewise.
62561 [POSIX] (ETIME): Likewise.
62562 [POSIX] (ETXTBSY): Likewise.
62563 [POSIX] (EWOULDBLOCK): Likewise.
62564 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
62565 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
62566 [POSIX] (SEEK_CUR): Likewise.
62567 [POSIX] (SEEK_END): Likewise.
62568 [POSIX || UNIX98] (mode_t): Do not require.
62569 [POSIX] (off_t): Likewise.
62570 [POSIX] (pid_t): Likewise.
62571 [POSIX] (sys/stat.h): Do not allow header.
62572 [POSIX] (unistd.h): Likewise.
62573 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
62574 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
62575 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
62576 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
62577 require.
62578 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
62579 sigevent): Specify elements.
62580 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
62581 entry.
62582 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
62583 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
62584
62585 * conform/data/cpio.h-data [POSIX]: Disable whole file.
62586 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
62587 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
62588 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
62589 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
62590 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
62591 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
62592 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
62593 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
62594 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
62595 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
62596 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
62597 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
62598 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
62599 Likewise.
62600 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
62601 Likewise.
62602 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
62603 Likewise.
62604 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
62605 Likewise.
62606 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
62607 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
62608 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
62609 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
62610 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
62611 Specify lower bound on value.
62612 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
62613 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
62614 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
62615 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
62616 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
62617 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
62618 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
62619 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
62620 value.
62621 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
62622 as optional.
62623 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
62624 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
62625 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
62626 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
62627 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
62628 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
62629 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
62630 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
62631 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
62632 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
62633 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
62634 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
62635 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
62636 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
62637 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
62638 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
62639 entry.
62640 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
62641 optional.
62642 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
62643 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
62644 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
62645 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
62646 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
62647 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
62648 Likewise.
62649 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
62650 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
62651 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
62652 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
62653 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
62654 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
62655 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
62656 as optional.
62657 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
62658 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
62659 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
62660 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
62661 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
62662 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
62663 specify as optional.
62664 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
62665 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
62666 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
62667 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
62668 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
62669 [XPG3] (NL_LANGMAX): Likewise.
62670 [POSIX || XPG3] (NL_MSGMAX): Likewise.
62671 [POSIX || XPG3] (NL_NMAX): Likewise.
62672 [POSIX || XPG3] (NL_SETMAX): Likewise.
62673 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
62674 [XPG3] (NZERO): Likewise.
62675 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
62676 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
62677 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
62678 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
62679 (REG_ERANGE): Expect.
62680 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
62681 optional-constant.
62682 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
62683 Use (void) in prototype.
62684 [POSIX] (*_t): Allow.
62685 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
62686 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
62687 (WRDE_BADVAL): Expect.
62688
62689 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
62690 expect.
62691 [XPG3 || XPG4] (O_RSYNC): Likewise.
62692 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
62693 Likewise.
62694 [XPG3 || XPG4] (pthread_sigmask): Likewise.
62695 [XPG3 || XPG4] (sigqueue): Likewise.
62696 [XPG3 || XPG4] (sigtimedwait): Likewise.
62697 [XPG3 || XPG4] (sigwaitinfo): Likewise.
62698 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
62699 [XPG3 || XPG4] (vsnprintf): Likewise.
62700 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
62701 Likewise.
62702 [XPG3 || XPG4] (blksize_t): Likewise.
62703 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
62704 Likewise.
62705 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
62706 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
62707 [XPG3 || XPG4] (struct itimerspec): Likewise.
62708 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
62709 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
62710 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
62711 [XPG3 || XPG4] (clockid_t): Likewise.
62712 [XPG3 || XPG4] (timer_t): Likewise.
62713 [XPG3 || XPG4] (clock_getres): Likewise.
62714 [XPG3 || XPG4] (clock_gettime): Likewise.
62715 [XPG3 || XPG4] (clock_settime): Likewise.
62716 [XPG3 || XPG4] (nanosleep): Likewise.
62717 [XPG3 || XPG4] (timer_create): Likewise.
62718 [XPG3 || XPG4] (timer_delete): Likewise.
62719 [XPG3 || XPG4] (timer_gettime): Likewise.
62720 [XPG3 || XPG4] (timer_getoverrun): Likewise.
62721 [XPG3 || XPG4] (timer_settime): Likewise.
62722 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
62723 [XPG3 || XPG4] (getlogin_r): Likewise.
62724 [XPG3 || XPG4] (pread): Likewise.
62725 [XPG3 || XPG4] (pthread_atfork): Likewise.
62726 [XPG3 || XPG4] (pwrite): Likewise.
62727
62728 [BZ #14835]
62729 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
62730 <bits/siginfo.h>.
62731
62732 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
62733
62734 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
62735 finalizing MALLSTREAM.
62736
62737 * sysdeps/mach/hurd/syncfs.c: New file.
62738
62739 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
62740
62741 [BZ #14719]
62742 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
62743 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
62744 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
62745 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
62746 (_nss_dns_gethostbyname4_r): Likewise.
62747 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
62748 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
62749
62750 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
62751
62752 [BZ #13763]
62753 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
62754
62755 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
62756
62757 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
62758 * elf/cache.c (print_entry): Print ",AArch64" for
62759 FLAG_AARCH64_LIB64
62760
62761 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
62762 * elf/cache.c (print_entry): Print ",hard-float" for
62763 FLAG_ARM_LIBHF.
62764
62765 2012-11-18 David S. Miller <davem@davemloft.net>
62766
62767 With help from Joseph Myers.
62768 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
62769 cutoff to 2**-13.
62770 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
62771 cutoff to 2**-25.
62772 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
62773 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
62774 small.
62775 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
62776 * math/libm-test.inc (y0_test): New tests.
62777 (y1_test): New tests.
62778 * sysdeps/i386/fpu/libm-test-ulps: Update.
62779 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62780 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62781
62782 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
62783
62784 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
62785 64-bit targets.
62786 * configure: Regenerated.
62787
62788 2012-11-17 David S. Miller <davem@davemloft.net>
62789
62790 [BZ #14811]
62791 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
62792 nonzero exponents with absolute value below 0x1p-128 to +/-
62793 0x1p-128.
62794
62795 2012-11-17 Joseph Myers <joseph@codesourcery.com>
62796
62797 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
62798
62799 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
62800
62801 * posix/getconf-speclist.c: New file.
62802 * posix/posix-envs.def: Likewise.
62803 * posix/confstr.c (START_ENV_GROUP): New macro.
62804 (END_ENV_GROUP): Likewise.
62805 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
62806 (KNOWN_PRESENT_ENV_STRING): Likewise.
62807 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
62808 (UNKNOWN_ENVIRONMENT): Likewise.
62809 (confstr): Include posix-envs.def instead of handling
62810 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
62811 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
62812 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
62813 (END_ENV_GROUP): Likewise.
62814 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
62815 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
62816 (UNKNOWN_ENVIRONMENT): Likewise.
62817 (__sysconf): Include posix-envs.def instead of handling associated
62818 cases directly here.
62819 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
62820 preprocessing getconf-speclist.c rather than running getconf or
62821 generating empty file.
62822
62823 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
62824
62825 * scripts/check-local-headers.sh: Ignore 'mach' headers.
62826
62827 2012-11-16 Andrej Lajovic <natrij@gmail.com>
62828
62829 [BZ #14672]
62830 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
62831
62832 2012-11-16 David S. Miller <davem@davemloft.net>
62833
62834 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
62835 smaller than LDBL_EPSILON/2.0L, just return xm1.
62836
62837 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
62838
62839 * elf/tst-array1.c (init): Set constructor priority to 1000.
62840 (fini): Set destructor priority to 1000.
62841 * elf/tst-array2dep.c: Likewise.
62842
62843 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
62844
62845 [BZ #11741]
62846 * libio/fileops.c (_IO_new_file_write): Correctly return error.
62847 (_IO_new_file_xsputn): Also return EOF if none of the input
62848 data was written when overflow failed.
62849 * libio/iopadn.c (_IO_padn): Likewise.
62850 * libio/iowpadn.c (_IO_wpadn): Likewise.
62851 * stdio-common/tst-put-error.c: Add copyright notice.
62852 (do_test): Add case for printing padded string.
62853 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
62854 _IO_padn returned error.
62855 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
62856 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
62857 return EOF.
62858
62859 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
62860
62861 * libio/libioP.h: Add comment note that the references to C++
62862 bits are now obsolete.
62863
62864 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
62865
62866 * math/libm-test.inc (check_complex): Use asprintf.
62867
62868 2012-11-14 Joseph Myers <joseph@codesourcery.com>
62869
62870 * debug/pcprofiledump.c (print_version): Update copyright year.
62871 * malloc/memusagestat.c (print_version): Likewise.
62872
62873 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
62874
62875 [BZ #14831]
62876 * elf/Makefile (tests): Add tst-audit8.
62877 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
62878 ($(objpfx)tst-audit8.out): New target.
62879 (tst-audit8-ENV): New variable.
62880 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
62881 audit if l_reloc_result is NULL.
62882 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
62883 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
62884 * elf/tst-audit8.c: New file.
62885
62886 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
62887
62888 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
62889 * misc/Makefile (CFLAGS-select.c): Define.
62890 * posix/Makefile (CFLAGS-pause.c): Define.
62891
62892 2012-11-13 David S. Miller <davem@davemloft.net>
62893
62894 * crypt/Makefile: Move test targets after toplevel Rules
62895 inclusion. Grab any necessary sysdep routines when linking.
62896 * crypt/md5.c (md5_process_block): Remove define, we will always
62897 name it __md5_process_block.
62898 (md5_finish_ctx): Update md5_process_block call.
62899 (md5_stream): Likewise.
62900 (md5_process_bytes): Likewise.
62901 (md5_process_block): Rename to __md5_process_block and move to ...
62902 * crypt/md5-block.c: ... here.
62903 * crypt/sha256.c (sha256_process_block): Move to ...
62904 * crypt/sha256-block.c: ... here.
62905 * crypt/sha512.c (sha512_process_block): Move to ...
62906 * crypt/sha512-block.c: ... here.
62907 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
62908 path.
62909 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
62910 * sysdeps/sparc/sparc64/multiarch/Makefile
62911 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
62912 crypt subdir.
62913 (localedef-aux): Add md5 crypto assembler when in locale subdir.
62914 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
62915 multiarch changes.
62916 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
62917 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
62918 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
62919 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
62920 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
62921 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
62922 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
62923 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
62924 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
62925 file.
62926 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
62927 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
62928 file.
62929 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
62930
62931 2012-11-13 Joseph Myers <joseph@codesourcery.com>
62932
62933 * timezone/tzselect.ksh: Update from tzcode git revision
62934 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
62935 * timezone/zdump.c: Likewise.
62936 * timezone/zic.c: Likewise.
62937 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
62938 in TZVERSION setting, not $(PKGVERSION).
62939 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
62940 REPORT_BUGS_TO settings.
62941
62942 [BZ #14838]
62943 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
62944 macro.
62945
62946 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
62947
62948 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
62949 detection to immediately after _FP_ROUND().
62950 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
62951 bits are 0.
62952
62953 2012-11-11 David S. Miller <davem@davemloft.net>
62954
62955 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
62956 inttypes.h
62957 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
62958 __close rather than their public counterparts.
62959
62960 2012-11-10 Joseph Myers <joseph@codesourcery.com>
62961
62962 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
62963 file.
62964 [UNIX98] (sem_timedwait): Do not expect.
62965 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
62966 [XPG4 || UNIX98] (sockatmark): Do not expect.
62967 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
62968 (clock_getcpuclockid): Do not expect.
62969 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
62970 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
62971 Do not expect.
62972 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
62973 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
62974 [UNIX98] (vwscanf): Likewise.
62975 [UNIX98] (vswscanf): Likewise.
62976
62977 2012-11-09 Joseph Myers <joseph@codesourcery.com>
62978
62979 * timezone/version.h: Remove file.
62980 * timezone/README: Do not refer to version.h.
62981 * timezone/Makefile ($(objpfx)zic.o): New dependency on
62982 $(objpfx)version.h.
62983 ($(objpfx)zdump.o): Likewise.
62984 ($(objpfx)version.h): New target.
62985
62986 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
62987 2012i.
62988 * timezone/README: Don't mention modification to tzselect.ksh.
62989 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
62990 work on unmodified tzselect.ksh. Substitute version numbers in
62991 tzselect.ksh.
62992
62993 * Makefile (format-me): Remove.
62994 (INSTALL): Adjust indentation. Use commands directly instead of
62995 using $(format-me).
62996
62997 * aclocal.m4 (ACX_PKGVERSION): New macro.
62998 (ACX_BUGURL): Likewise.
62999 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
63000 (PKGVERSION): New AC_DEFINE_UNQUOTED.
63001 (REPORT_BUGS_TO): Likewise.
63002 * configure: Regenerated.
63003 * config.h.in (PKGVERSION): New macro.
63004 (REPORT_BUGS_TO): Likewise.
63005 * config.make.in (PKGVERSION): New variable.
63006 (PKGVERSION_TEXI): Likewise.
63007 (REPORT_BUGS_TO): Likewise.
63008 (REPORT_BUGS_TEXI): Likewise.
63009 * Makefile (format-me): Use -I$(common-objpfx)manual.
63010 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
63011 ($(common-objpfx)manual/%): New target.
63012 (manual/%): Remove target.
63013 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
63014 (print_version): Use PKGVERSION.
63015 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
63016 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
63017 and REPORT_BUGS_TO.
63018 ($(objpfx)xtrace): Likewise.
63019 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
63020 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
63021 (print_version): Use PKGVERSION.
63022 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
63023 (do_version): Use PKGVERSION.
63024 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
63025 REPORT_BUGS_TO.
63026 (common-ldd-rewrite): Likewise.
63027 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
63028 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
63029 (print_version): Use PKGVERSION.
63030 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
63031 * elf/pldd.c (argp_program_bug_address): Remove variable.
63032 (more_help): New function.
63033 (argp): Use more_help.
63034 (print_version): Use PKGVERSION.
63035 * elf/sln.c (main): Use PKGVERSION.
63036 (usage): Use REPORT_BUGS_TO.
63037 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
63038 (top level): Use PKGVERSION.
63039 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
63040 (print_version): Use PKGVERSION.
63041 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
63042 (print_version): Use PKGVERSION.
63043 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
63044 (print_version): Use PKGVERSION.
63045 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
63046 (print_version): Use PKGVERSION.
63047 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
63048 (print_version): Use PKGVERSION.
63049 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
63050 (print_version): Use PKGVERSION.
63051 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
63052 and BUGURL.
63053 ($(objpfx)memusage): Likewise.
63054 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
63055 (do_version): Use PKGVERSION.
63056 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
63057 (print_version): Use PKGVERSION.
63058 * malloc/mtrace.pl ($PACKAGE): Remove variable.
63059 ($PKGVERSION): New variable.
63060 ($REPORT_BUGS_TO): Likewise.
63061 (usage): Use $REPORT_BUGS_TO.
63062 (top level): Use $PKGVERSION.
63063 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
63064 ($(objpfx)pkgvers.texi): New rule.
63065 ($(objpfx)stamp-pkgvers): Likewise.
63066 * manual/install.texi: Include pkgvers.texi.
63067 (--with-pkgversion): Document new configure option.
63068 (--with-bugurl): Likewise.
63069 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
63070 than necessarily for this particular distribution. Use
63071 REPORT_BUGS_TO for where to report bugs.
63072 * INSTALL: Regenerated.
63073 * manual/libc.texinfo: Include pkgvers.texi.
63074 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
63075 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
63076 (print_version): Use PKGVERSION.
63077 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
63078 (print_version): Use PKGVERSION.
63079 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
63080 (print_version): Use PKGVERSION.
63081 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
63082 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
63083 macro.
63084 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
63085 (print_version): Use PKGVERSION.
63086 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
63087 (print_version): Use PKGVERSION.
63088 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
63089 and PKGVERSION.
63090
63091 * timezone/checktab.awk: Update from tzcode 2012i.
63092 * timezone/ialloc.c: Likewise.
63093 * timezone/private.h: Likewise.
63094 * timezone/scheck.c: Likewise.
63095 * timezone/tzfile.h: Likewise.
63096 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
63097 (TZVERSION): Hardcode tzcode version number.
63098 * timezone/zdump.c: Update from tzcode 2012i.
63099 * timezone/zic.c: Likewise.
63100 * timezone/version.h: New file.
63101 * timezone/README: Describe version.h. Update upstream location.
63102
63103 [BZ #14824]
63104 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
63105 (mktemp): Enable declaration.
63106 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
63107 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
63108 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
63109 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
63110 Likewise.
63111 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
63112 Likewise.
63113 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
63114 Likewise.
63115 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
63116 Likewise.
63117 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
63118 Likewise.
63119 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
63120 Likewise.
63121
63122 [BZ #14821]
63123 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
63124 offset in buffer as u_int32_t not u_long. Consistently use memcpy
63125 for copies of such integer values.
63126 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
63127 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
63128
63129 2012-11-09 Andreas Jaeger <aj@suse.de>
63130
63131 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
63132 definitions and declarations that are provided by
63133 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
63134
63135 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63136
63137 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
63138 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
63139 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
63140 definition.
63141
63142 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
63143
63144 * elf/elf.h: Update comment before AArch64 relocations.
63145
63146 2012-11-07 David S. Miller <davem@davemloft.net>
63147
63148 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
63149 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
63150 (__start_context): Declare.
63151 (__makecontext_ret): Delete.
63152 (__makecontext): Hook up __start_context instead of
63153 __makecontext_ret.
63154 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
63155 (sysdep_routines): Add __start_context when in stdlib.
63156
63157 2012-11-07 Joseph Myers <joseph@codesourcery.com>
63158
63159 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
63160 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
63161 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
63162 hardcoded "nm".
63163 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
63164 (READELF): New variable. Use it instead of hardcoded "readelf".
63165
63166 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
63167
63168 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
63169 * sysdeps/x86/Makefile: Here.
63170 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
63171 * sysdeps/x86/tst-xmmymm.sh: This.
63172
63173 2012-11-07 Joseph Myers <joseph@codesourcery.com>
63174
63175 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
63176 expectations.
63177 [UNIX98] (pthread_barrier_t): Do not expect.
63178 [UNIX98] (pthread_barrierattr_t): Likewise.
63179 [UNIX98] (pthread_spinlock_t): Likewise.
63180 [UNIX98] (pthread_barrier_destroy): Likewise.
63181 [UNIX98] (pthread_barrier_init): Likewise.
63182 [UNIX98] (pthread_barrier_wait): Likewise.
63183 [UNIX98] (pthread_barrierattr_destroy): Likewise.
63184 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
63185 [UNIX98] (pthread_barrierattr_init): Likewise.
63186 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
63187 [UNIX98] (pthread_getcpuclockid): Likewise.
63188 [UNIX98] (pthread_mutex_timedlock): Likewise.
63189 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
63190 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
63191 [UNIX98] (pthread_sigmask): Likewise.
63192 [UNIX98] (pthread_spin_destroy): Likewise.
63193 [UNIX98] (pthread_spin_init): Likewise.
63194 [UNIX98] (pthread_spin_lock): Likewise.
63195 [UNIX98] (pthread_spin_trylock): Likewise.
63196 [UNIX98] (pthread_spin_unlock): Likewise.
63197 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
63198 Do not expect.
63199 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
63200 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
63201 [XPG3 || XPG4] (pthread_cond_t): Likewise.
63202 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
63203 [XPG3 || XPG4] (pthread_key_t): Likewise.
63204 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
63205 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
63206 [XPG3 || XPG4] (pthread_once_t): Likewise.
63207 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
63208 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
63209 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
63210 [XPG3 || XPG4] (pthread_t): Likewise.
63211
63212 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
63213 not expect.
63214 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
63215
63216 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
63217 Change function return type to int.
63218
63219 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
63220 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
63221 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
63222 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
63223 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
63224 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
63225 [!POSIX] (posix_madvise): Likewise.
63226 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
63227 && !UNIX98].
63228 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
63229 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
63230 (mode_t): Likewise.
63231 (posix_mem_offset): Likewise.
63232 (posix_typed_mem_get_info): Likewise.
63233 (posix_typed_mem_open): Likewise.
63234
63235 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
63236 Change condition to [XOPEN2K8].
63237
63238 * conform/conformtest.pl: Preprocess allow-header data with -x c
63239 instead of from stdin.
63240 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
63241 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
63242 [C99-based standards] (cerfc): Likewise.
63243 [C99-based standards] (cexp2): Likewise.
63244 [C99-based standards] (cexpm1): Likewise.
63245 [C99-based standards] (clog10): Likewise.
63246 [C99-based standards] (clog1p): Likewise.
63247 [C99-based standards] (clog2): Likewise.
63248 [C99-based standards] (clgamma): Likewise.
63249 [C99-based standards] (ctgamma): Likewise.
63250 [C99-based standards] (cerff): Likewise.
63251 [C99-based standards] (cerfcf): Likewise.
63252 [C99-based standards] (cexp2f): Likewise.
63253 [C99-based standards] (cexpm1f): Likewise.
63254 [C99-based standards] (clog10f): Likewise.
63255 [C99-based standards] (clog1pf): Likewise.
63256 [C99-based standards] (clog2f): Likewise.
63257 [C99-based standards] (clgammaf): Likewise.
63258 [C99-based standards] (ctgammaf): Likewise.
63259 [C99-based standards] (cerfl): Likewise.
63260 [C99-based standards] (cerfcl): Likewise.
63261 [C99-based standards] (cexp2l): Likewise.
63262 [C99-based standards] (cexpm1l): Likewise.
63263 [C99-based standards] (clog10l): Likewise.
63264 [C99-based standards] (clog1pl): Likewise.
63265 [C99-based standards] (clog2l): Likewise.
63266 [C99-based standards] (clgammal): Likewise.
63267 [C99-based standards] (ctgammal): Likewise.
63268 * conform/data/inttypes.h-data [C99-based standards]: Include
63269 stdint.h-data. Remove all expectations for stdint.h contents.
63270 [C99-based standards] (PRI*): Do not allow.
63271 [C99-based standards] (SCN*): Likewise.
63272 [C99-based standards] (*_t): Likewise.
63273 [C99-based-standards] (PRId8): Expect macro.
63274 [C99-based-standards] (PRIi8): Likewise.
63275 [C99-based-standards] (PRIo8): Likewise.
63276 [C99-based-standards] (PRIu8): Likewise.
63277 [C99-based-standards] (PRIx8): Likewise.
63278 [C99-based-standards] (PRIX8): Likewise.
63279 [C99-based-standards] (SCNd8): Likewise.
63280 [C99-based-standards] (SCNi8): Likewise.
63281 [C99-based-standards] (SCNo8): Likewise.
63282 [C99-based-standards] (SCNu8): Likewise.
63283 [C99-based-standards] (SCNx8): Likewise.
63284 [C99-based-standards] (PRIdLEAST8): Likewise.
63285 [C99-based-standards] (PRIiLEAST8): Likewise.
63286 [C99-based-standards] (PRIoLEAST8): Likewise.
63287 [C99-based-standards] (PRIuLEAST8): Likewise.
63288 [C99-based-standards] (PRIxLEAST8): Likewise.
63289 [C99-based-standards] (PRIXLEAST8): Likewise.
63290 [C99-based-standards] (SCNdLEAST8): Likewise.
63291 [C99-based-standards] (SCNiLEAST8): Likewise.
63292 [C99-based-standards] (SCNoLEAST8): Likewise.
63293 [C99-based-standards] (SCNuLEAST8): Likewise.
63294 [C99-based-standards] (SCNxLEAST8): Likewise.
63295 [C99-based-standards] (PRIdFAST8): Likewise.
63296 [C99-based-standards] (PRIiFAST8): Likewise.
63297 [C99-based-standards] (PRIoFAST8): Likewise.
63298 [C99-based-standards] (PRIuFAST8): Likewise.
63299 [C99-based-standards] (PRIxFAST8): Likewise.
63300 [C99-based-standards] (PRIXFAST8): Likewise.
63301 [C99-based-standards] (SCNdFAST8): Likewise.
63302 [C99-based-standards] (SCNiFAST8): Likewise.
63303 [C99-based-standards] (SCNoFAST8): Likewise.
63304 [C99-based-standards] (SCNuFAST8): Likewise.
63305 [C99-based-standards] (SCNxFAST8): Likewise.
63306 [C99-based-standards] (PRId16): Likewise.
63307 [C99-based-standards] (PRIi16): Likewise.
63308 [C99-based-standards] (PRIo16): Likewise.
63309 [C99-based-standards] (PRIu16): Likewise.
63310 [C99-based-standards] (PRIx16): Likewise.
63311 [C99-based-standards] (PRIX16): Likewise.
63312 [C99-based-standards] (SCNd16): Likewise.
63313 [C99-based-standards] (SCNi16): Likewise.
63314 [C99-based-standards] (SCNo16): Likewise.
63315 [C99-based-standards] (SCNu16): Likewise.
63316 [C99-based-standards] (SCNx16): Likewise.
63317 [C99-based-standards] (PRIdLEAST16): Likewise.
63318 [C99-based-standards] (PRIiLEAST16): Likewise.
63319 [C99-based-standards] (PRIoLEAST16): Likewise.
63320 [C99-based-standards] (PRIuLEAST16): Likewise.
63321 [C99-based-standards] (PRIxLEAST16): Likewise.
63322 [C99-based-standards] (PRIXLEAST16): Likewise.
63323 [C99-based-standards] (SCNdLEAST16): Likewise.
63324 [C99-based-standards] (SCNiLEAST16): Likewise.
63325 [C99-based-standards] (SCNoLEAST16): Likewise.
63326 [C99-based-standards] (SCNuLEAST16): Likewise.
63327 [C99-based-standards] (SCNxLEAST16): Likewise.
63328 [C99-based-standards] (PRIdFAST16): Likewise.
63329 [C99-based-standards] (PRIiFAST16): Likewise.
63330 [C99-based-standards] (PRIoFAST16): Likewise.
63331 [C99-based-standards] (PRIuFAST16): Likewise.
63332 [C99-based-standards] (PRIxFAST16): Likewise.
63333 [C99-based-standards] (PRIXFAST16): Likewise.
63334 [C99-based-standards] (SCNdFAST16): Likewise.
63335 [C99-based-standards] (SCNiFAST16): Likewise.
63336 [C99-based-standards] (SCNoFAST16): Likewise.
63337 [C99-based-standards] (SCNuFAST16): Likewise.
63338 [C99-based-standards] (SCNxFAST16): Likewise.
63339 [C99-based-standards] (PRId32): Likewise.
63340 [C99-based-standards] (PRIi32): Likewise.
63341 [C99-based-standards] (PRIo32): Likewise.
63342 [C99-based-standards] (PRIu32): Likewise.
63343 [C99-based-standards] (PRIx32): Likewise.
63344 [C99-based-standards] (PRIX32): Likewise.
63345 [C99-based-standards] (SCNd32): Likewise.
63346 [C99-based-standards] (SCNi32): Likewise.
63347 [C99-based-standards] (SCNo32): Likewise.
63348 [C99-based-standards] (SCNu32): Likewise.
63349 [C99-based-standards] (SCNx32): Likewise.
63350 [C99-based-standards] (PRIdLEAST32): Likewise.
63351 [C99-based-standards] (PRIiLEAST32): Likewise.
63352 [C99-based-standards] (PRIoLEAST32): Likewise.
63353 [C99-based-standards] (PRIuLEAST32): Likewise.
63354 [C99-based-standards] (PRIxLEAST32): Likewise.
63355 [C99-based-standards] (PRIXLEAST32): Likewise.
63356 [C99-based-standards] (SCNdLEAST32): Likewise.
63357 [C99-based-standards] (SCNiLEAST32): Likewise.
63358 [C99-based-standards] (SCNoLEAST32): Likewise.
63359 [C99-based-standards] (SCNuLEAST32): Likewise.
63360 [C99-based-standards] (SCNxLEAST32): Likewise.
63361 [C99-based-standards] (PRIdFAST32): Likewise.
63362 [C99-based-standards] (PRIiFAST32): Likewise.
63363 [C99-based-standards] (PRIoFAST32): Likewise.
63364 [C99-based-standards] (PRIuFAST32): Likewise.
63365 [C99-based-standards] (PRIxFAST32): Likewise.
63366 [C99-based-standards] (PRIXFAST32): Likewise.
63367 [C99-based-standards] (SCNdFAST32): Likewise.
63368 [C99-based-standards] (SCNiFAST32): Likewise.
63369 [C99-based-standards] (SCNoFAST32): Likewise.
63370 [C99-based-standards] (SCNuFAST32): Likewise.
63371 [C99-based-standards] (SCNxFAST32): Likewise.
63372 [C99-based-standards] (PRId64): Likewise.
63373 [C99-based-standards] (PRIi64): Likewise.
63374 [C99-based-standards] (PRIo64): Likewise.
63375 [C99-based-standards] (PRIu64): Likewise.
63376 [C99-based-standards] (PRIx64): Likewise.
63377 [C99-based-standards] (PRIX64): Likewise.
63378 [C99-based-standards] (SCNd64): Likewise.
63379 [C99-based-standards] (SCNi64): Likewise.
63380 [C99-based-standards] (SCNo64): Likewise.
63381 [C99-based-standards] (SCNu64): Likewise.
63382 [C99-based-standards] (SCNx64): Likewise.
63383 [C99-based-standards] (PRIdLEAST64): Likewise.
63384 [C99-based-standards] (PRIiLEAST64): Likewise.
63385 [C99-based-standards] (PRIoLEAST64): Likewise.
63386 [C99-based-standards] (PRIuLEAST64): Likewise.
63387 [C99-based-standards] (PRIxLEAST64): Likewise.
63388 [C99-based-standards] (PRIXLEAST64): Likewise.
63389 [C99-based-standards] (SCNdLEAST64): Likewise.
63390 [C99-based-standards] (SCNiLEAST64): Likewise.
63391 [C99-based-standards] (SCNoLEAST64): Likewise.
63392 [C99-based-standards] (SCNuLEAST64): Likewise.
63393 [C99-based-standards] (SCNxLEAST64): Likewise.
63394 [C99-based-standards] (PRIdFAST64): Likewise.
63395 [C99-based-standards] (PRIiFAST64): Likewise.
63396 [C99-based-standards] (PRIoFAST64): Likewise.
63397 [C99-based-standards] (PRIuFAST64): Likewise.
63398 [C99-based-standards] (PRIxFAST64): Likewise.
63399 [C99-based-standards] (PRIXFAST64): Likewise.
63400 [C99-based-standards] (SCNdFAST64): Likewise.
63401 [C99-based-standards] (SCNiFAST64): Likewise.
63402 [C99-based-standards] (SCNoFAST64): Likewise.
63403 [C99-based-standards] (SCNuFAST64): Likewise.
63404 [C99-based-standards] (SCNxFAST64): Likewise.
63405 [C99-based-standards] (PRIdMAX): Likewise.
63406 [C99-based-standards] (PRIiMAX): Likewise.
63407 [C99-based-standards] (PRIoMAX): Likewise.
63408 [C99-based-standards] (PRIuMAX): Likewise.
63409 [C99-based-standards] (PRIxMAX): Likewise.
63410 [C99-based-standards] (PRIXMAX): Likewise.
63411 [C99-based-standards] (SCNdMAX): Likewise.
63412 [C99-based-standards] (SCNiMAX): Likewise.
63413 [C99-based-standards] (SCNoMAX): Likewise.
63414 [C99-based-standards] (SCNuMAX): Likewise.
63415 [C99-based-standards] (SCNxMAX): Likewise.
63416 [C99-based-standards] (PRIdPTR): Likewise.
63417 [C99-based-standards] (PRIiPTR): Likewise.
63418 [C99-based-standards] (PRIoPTR): Likewise.
63419 [C99-based-standards] (PRIuPTR): Likewise.
63420 [C99-based-standards] (PRIxPTR): Likewise.
63421 [C99-based-standards] (PRIXPTR): Likewise.
63422 [C99-based-standards] (SCNdPTR): Likewise.
63423 [C99-based-standards] (SCNiPTR): Likewise.
63424 [C99-based-standards] (SCNoPTR): Likewise.
63425 [C99-based-standards] (SCNuPTR): Likewise.
63426 [C99-based-standards] (SCNxPTR): Likewise.
63427 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
63428 allow.
63429 * conform/data/stdint.h-data: Update comments to clarify
63430 requirements.
63431 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
63432 type.
63433 [C99-based standards] (INT8_MAX): Likewise.
63434 [C99-based standards] (INT16_MIN): Likewise.
63435 [C99-based standards] (INT16_MAX): Likewise.
63436 [C99-based standards] (INT32_MIN): Likewise.
63437 [C99-based standards] (INT32_MAX): Likewise.
63438 [C99-based standards] (INT64_MIN): Likewise.
63439 [C99-based standards] (INT64_MAX): Likewise.
63440 [C99-based standards] (UINT8_MAX): Likewise.
63441 [C99-based standards] (UINT16_MAX): Likewise.
63442 [C99-based standards] (UINT32_MAX): Likewise.
63443 [C99-based standards] (UINT64_MAX): Likewise.
63444 [C99-based standards] (INT_LEAST8_MIN): Likewise.
63445 [C99-based standards] (INT_LEAST8_MAX): Likewise.
63446 [C99-based standards] (INT_LEAST16_MIN): Likewise.
63447 [C99-based standards] (INT_LEAST16_MAX): Likewise.
63448 [C99-based standards] (INT_LEAST32_MIN): Likewise.
63449 [C99-based standards] (INT_LEAST32_MAX): Likewise.
63450 [C99-based standards] (INT_LEAST64_MIN): Likewise.
63451 [C99-based standards] (INT_LEAST64_MAX): Likewise.
63452 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
63453 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
63454 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
63455 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
63456 [C99-based standards] (INT_FAST8_MIN): Likewise.
63457 [C99-based standards] (INT_FAST8_MAX): Likewise.
63458 [C99-based standards] (INT_FAST16_MIN): Likewise.
63459 [C99-based standards] (INT_FAST16_MAX): Likewise.
63460 [C99-based standards] (INT_FAST32_MIN): Likewise.
63461 [C99-based standards] (INT_FAST32_MAX): Likewise.
63462 [C99-based standards] (INT_FAST64_MIN): Likewise.
63463 [C99-based standards] (INT_FAST64_MAX): Likewise.
63464 [C99-based standards] (UINT_FAST8_MAX): Likewise.
63465 [C99-based standards] (UINT_FAST16_MAX): Likewise.
63466 [C99-based standards] (UINT_FAST32_MAX): Likewise.
63467 [C99-based standards] (UINT_FAST64_MAX): Likewise.
63468 [C99-based standards] (INTPTR_MIN): Likewise.
63469 [C99-based standards] (INTPTR_MAX): Likewise.
63470 [C99-based standards] (UINTPTR_MAX): Likewise.
63471 [C99-based standards] (INTMAX_MIN): Likewise.
63472 [C99-based standards] (INTMAX_MAX): Likewise.
63473 [C99-based standards] (UINTMAX_MAX): Likewise.
63474 [C99-based standards] (PTRDIFF_MIN): Likewise.
63475 [C99-based standards] (PTRDIFF_MAX): Likewise.
63476 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
63477 [C99-based standards] (SIZE_MAX): Likewise.
63478 [C99-based standards] (WCHAR_MAX): Likewise.
63479 [C99-based standards] (WINT_MAX): Likewise.
63480 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
63481 constraint on value.
63482 [C99-based standards] (WCHAR_MIN): Likewise.
63483 [C99-based standards] (WINT_MIN): Likewise.
63484 [C99-based standards] (*_t): Allow.
63485 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
63486 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
63487 Include math.h-data and complex.h-data. Remove all expectations
63488 of math.h and complex.h contents.
63489 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
63490 at end of line.
63491 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
63492 (struct tm): Expect tag.
63493 [C99-based-standards] (wcstof): Expect function.
63494 [C99-based-standards] (wcstold): Likewise.
63495 [C99-based-standards] (wcstoll): Likewise.
63496 [C99-based-standards] (wcstoull): Likewise.
63497 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
63498 macro-int-constant. Specify type.
63499 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
63500 constraint on value.
63501 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
63502 Specify type.
63503 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
63504 Specify value.
63505 [ISO C standards]: Do not allow headers.
63506 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
63507 wcs[abcdefghijklmnopqrstuvwxyz]*.
63508 [ISO C standards] (*_t): Do not allow.
63509 * conform/data/wctype.h-data [C99-based standards] (iswblank):
63510 Expect function.
63511 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
63512 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
63513 Specify type.
63514 [ISO C standards]: Do not allow headers.
63515 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
63516 is[abcdefghijklmnopqrstuvwxyz]*.
63517 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
63518 to[abcdefghijklmnopqrstuvwxyz]*.
63519 [ISO C standards] (*_t): Do not allow.
63520 * conform/data/stdalign.h-data: New file.
63521 * conform/data/stdbool.h-data: Likewise.
63522 * conform/data/stdnoreturn.h-data: Likewise.
63523
63524 2012-11-07 Roland McGrath <roland@hack.frob.com>
63525
63526 [BZ #14815]
63527 * manual/filesys.texi (Directory Entries): Typo fix.
63528 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
63529
63530 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
63531
63532 * elf/elf.h (EM_AARCH64): New macro.
63533 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
63534 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
63535 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
63536 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
63537 (R_AARCH64_TLSDESC): Likewise.
63538 (NT_ARM_TLS): Likewise.
63539 (NT_ARM_HW_BREAK): Likewise.
63540 (NT_ARM_HW_WATCH): Likewise.
63541
63542 2012-11-07 Joseph Myers <joseph@codesourcery.com>
63543
63544 [BZ #14811]
63545 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
63546 (__ieee754_powl): Saturate nonzero exponents with absolute value
63547 below 0x1p-79 to +/- 0x1p-79.
63548 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
63549 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
63550 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
63551 nonzero exponents with absolute value below 0x1p-32 to +/-
63552 0x1p-32.
63553 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
63554 (__ieee754_powl): Saturate nonzero exponents with absolute value
63555 below 0x1p-79 to +/- 0x1p-79.
63556 * math/libm-test.inc (pow_test): Add more tests.
63557
63558 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63559
63560 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
63561 _dl_s390_cap_flags with kernel. Increase string length.
63562 (_dl_s390_platforms): Add z196 and zEC12.
63563
63564 2012-11-07 Joseph Myers <joseph@codesourcery.com>
63565
63566 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
63567 Change XOPEN21K to XOPEN2K.
63568
63569 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
63570
63571 * string/memmove.c: Use memcpy when possible.
63572
63573 2012-11-06 Andreas Jaeger <aj@suse.de>
63574
63575 * po/eo.po: Update from translation team.
63576
63577 2012-11-06 Joseph Myers <joseph@codesourcery.com>
63578
63579 [BZ #14793]
63580 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
63581 exponent and small x and y exponents, scale x or y up. Increase
63582 by 2 the exponent used in scaling up.
63583 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
63584 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
63585 * math/libm-test.inc (fma_test): Add more tests.
63586 (fma_test_towardzero): Likewise.
63587 (fma_test_downward): Likewise.
63588 (fma_test_upward): Likewise.
63589
63590 2012-11-05 Joseph Myers <joseph@codesourcery.com>
63591
63592 [BZ #14805]
63593 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
63594 fenv_t *.
63595
63596 [BZ #14801]
63597 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
63598 namespace for names of struct fields.
63599 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
63600 fenv_t fields.
63601 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
63602 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
63603
63604 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
63605
63606 [BZ #3665]
63607 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
63608
63609 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
63610
63611 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
63612 PTR_DEMANGLE.
63613
63614 [BZ #5246]
63615 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
63616 PTR_DEMANGLE.
63617
63618 2012-11-04 Joseph Myers <joseph@codesourcery.com>
63619
63620 [BZ #14797]
63621 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
63622 definitely overflow as x * y not x * y + z.
63623 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
63624 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
63625 * math/libm-test.inc (fma_test): Add more tests.
63626 (fma_test_towardzero): Likewise.
63627 (fma_test_downward): Likewise.
63628 (fma_test_upward): Likewise.
63629
63630 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
63631
63632 [BZ #157]
63633
63634 * include/stub-tag.h: Remove file.
63635 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
63636 '#include' of it.
63637 * manual/maint.texi (Porting): Don't reference it.
63638 * Makerules ($(objpfx)stubs): Likewise.
63639 * dirent/closedir.c: Don't include <stub-tag.h>.
63640 * dirent/dirfd.c: Likewise.
63641 * dirent/fdopendir.c: Likewise.
63642 * dirent/getdents.c: Likewise.
63643 * dirent/getdents64.c: Likewise.
63644 * dirent/opendir.c: Likewise.
63645 * dirent/readdir.c: Likewise.
63646 * dirent/readdir64.c: Likewise.
63647 * dirent/readdir64_r.c: Likewise.
63648 * dirent/readdir_r.c: Likewise.
63649 * dirent/rewinddir.c: Likewise.
63650 * dirent/seekdir.c: Likewise.
63651 * dirent/telldir.c: Likewise.
63652 * gmon/profil.c: Likewise.
63653 * grp/setgroups.c: Likewise.
63654 * inet/if_index.c: Likewise.
63655 * io/access.c: Likewise.
63656 * io/chdir.c: Likewise.
63657 * io/chmod.c: Likewise.
63658 * io/chown.c: Likewise.
63659 * io/close.c: Likewise.
63660 * io/dup.c: Likewise.
63661 * io/dup2.c: Likewise.
63662 * io/dup3.c: Likewise.
63663 * io/euidaccess.c: Likewise.
63664 * io/faccessat.c: Likewise.
63665 * io/fchdir.c: Likewise.
63666 * io/fchmod.c: Likewise.
63667 * io/fchmodat.c: Likewise.
63668 * io/fchown.c: Likewise.
63669 * io/fchownat.c: Likewise.
63670 * io/fcntl.c: Likewise.
63671 * io/flock.c: Likewise.
63672 * io/fstatfs.c: Likewise.
63673 * io/fstatfs64.c: Likewise.
63674 * io/fstatvfs.c: Likewise.
63675 * io/fstatvfs64.c: Likewise.
63676 * io/futimens.c: Likewise.
63677 * io/fxstat.c: Likewise.
63678 * io/fxstat64.c: Likewise.
63679 * io/fxstatat.c: Likewise.
63680 * io/fxstatat64.c: Likewise.
63681 * io/getcwd.c: Likewise.
63682 * io/isatty.c: Likewise.
63683 * io/lchmod.c: Likewise.
63684 * io/lchown.c: Likewise.
63685 * io/link.c: Likewise.
63686 * io/linkat.c: Likewise.
63687 * io/lseek.c: Likewise.
63688 * io/lseek64.c: Likewise.
63689 * io/lxstat64.c: Likewise.
63690 * io/mkdir.c: Likewise.
63691 * io/mkdirat.c: Likewise.
63692 * io/mkfifo.c: Likewise.
63693 * io/mkfifoat.c: Likewise.
63694 * io/open.c: Likewise.
63695 * io/open64.c: Likewise.
63696 * io/openat.c: Likewise.
63697 * io/openat64.c: Likewise.
63698 * io/pipe.c: Likewise.
63699 * io/pipe2.c: Likewise.
63700 * io/poll.c: Likewise.
63701 * io/posix_fadvise.c: Likewise.
63702 * io/posix_fadvise64.c: Likewise.
63703 * io/posix_fallocate.c: Likewise.
63704 * io/posix_fallocate64.c: Likewise.
63705 * io/read.c: Likewise.
63706 * io/readlink.c: Likewise.
63707 * io/readlinkat.c: Likewise.
63708 * io/rmdir.c: Likewise.
63709 * io/sendfile.c: Likewise.
63710 * io/sendfile64.c: Likewise.
63711 * io/statfs.c: Likewise.
63712 * io/statfs64.c: Likewise.
63713 * io/statvfs.c: Likewise.
63714 * io/statvfs64.c: Likewise.
63715 * io/symlink.c: Likewise.
63716 * io/symlinkat.c: Likewise.
63717 * io/ttyname.c: Likewise.
63718 * io/ttyname_r.c: Likewise.
63719 * io/umask.c: Likewise.
63720 * io/unlink.c: Likewise.
63721 * io/unlinkat.c: Likewise.
63722 * io/utime.c: Likewise.
63723 * io/utimensat.c: Likewise.
63724 * io/write.c: Likewise.
63725 * io/xmknod.c: Likewise.
63726 * io/xmknodat.c: Likewise.
63727 * io/xstat.c: Likewise.
63728 * io/xstat64.c: Likewise.
63729 * login/getpt.c: Likewise.
63730 * login/grantpt.c: Likewise.
63731 * login/unlockpt.c: Likewise.
63732 * math/e_acoshl.c: Likewise.
63733 * math/e_acosl.c: Likewise.
63734 * math/e_asinl.c: Likewise.
63735 * math/e_atan2l.c: Likewise.
63736 * math/e_atanhl.c: Likewise.
63737 * math/e_coshl.c: Likewise.
63738 * math/e_expl.c: Likewise.
63739 * math/e_fmodl.c: Likewise.
63740 * math/e_gammal_r.c: Likewise.
63741 * math/e_hypotl.c: Likewise.
63742 * math/e_j0l.c: Likewise.
63743 * math/e_j1l.c: Likewise.
63744 * math/e_jnl.c: Likewise.
63745 * math/e_lgammal_r.c: Likewise.
63746 * math/e_log10l.c: Likewise.
63747 * math/e_log2l.c: Likewise.
63748 * math/e_logl.c: Likewise.
63749 * math/e_powl.c: Likewise.
63750 * math/e_rem_pio2l.c: Likewise.
63751 * math/e_sinhl.c: Likewise.
63752 * math/e_sqrtl.c: Likewise.
63753 * math/fclrexcpt.c: Likewise.
63754 * math/fedisblxcpt.c: Likewise.
63755 * math/feenablxcpt.c: Likewise.
63756 * math/fegetenv.c: Likewise.
63757 * math/fegetexcept.c: Likewise.
63758 * math/fegetround.c: Likewise.
63759 * math/feholdexcpt.c: Likewise.
63760 * math/fesetenv.c: Likewise.
63761 * math/fesetround.c: Likewise.
63762 * math/feupdateenv.c: Likewise.
63763 * math/fgetexcptflg.c: Likewise.
63764 * math/fraiseexcpt.c: Likewise.
63765 * math/fsetexcptflg.c: Likewise.
63766 * math/ftestexcept.c: Likewise.
63767 * math/k_cosl.c: Likewise.
63768 * math/k_rem_pio2l.c: Likewise.
63769 * math/k_sinl.c: Likewise.
63770 * math/k_tanl.c: Likewise.
63771 * math/s_asinhl.c: Likewise.
63772 * math/s_atanl.c: Likewise.
63773 * math/s_cbrtl.c: Likewise.
63774 * math/s_erfl.c: Likewise.
63775 * math/s_expm1l.c: Likewise.
63776 * math/s_log1pl.c: Likewise.
63777 * math/s_tanhl.c: Likewise.
63778 * misc/acct.c: Likewise.
63779 * misc/brk.c: Likewise.
63780 * misc/chflags.c: Likewise.
63781 * misc/chroot.c: Likewise.
63782 * misc/fchflags.c: Likewise.
63783 * misc/fgetxattr.c: Likewise.
63784 * misc/flistxattr.c: Likewise.
63785 * misc/fremovexattr.c: Likewise.
63786 * misc/fsetxattr.c: Likewise.
63787 * misc/fsync.c: Likewise.
63788 * misc/ftruncate.c: Likewise.
63789 * misc/futimes.c: Likewise.
63790 * misc/futimesat.c: Likewise.
63791 * misc/getdomain.c: Likewise.
63792 * misc/getdtsz.c: Likewise.
63793 * misc/gethostid.c: Likewise.
63794 * misc/gethostname.c: Likewise.
63795 * misc/getloadavg.c: Likewise.
63796 * misc/getpagesize.c: Likewise.
63797 * misc/getsysstats.c: Likewise.
63798 * misc/getxattr.c: Likewise.
63799 * misc/gtty.c: Likewise.
63800 * misc/ioctl.c: Likewise.
63801 * misc/lgetxattr.c: Likewise.
63802 * misc/listxattr.c: Likewise.
63803 * misc/llistxattr.c: Likewise.
63804 * misc/lremovexattr.c: Likewise.
63805 * misc/lsetxattr.c: Likewise.
63806 * misc/lutimes.c: Likewise.
63807 * misc/madvise.c: Likewise.
63808 * misc/mincore.c: Likewise.
63809 * misc/mlock.c: Likewise.
63810 * misc/mlockall.c: Likewise.
63811 * misc/mmap.c: Likewise.
63812 * misc/mprotect.c: Likewise.
63813 * misc/msync.c: Likewise.
63814 * misc/munlock.c: Likewise.
63815 * misc/munlockall.c: Likewise.
63816 * misc/munmap.c: Likewise.
63817 * misc/preadv.c: Likewise.
63818 * misc/preadv64.c: Likewise.
63819 * misc/ptrace.c: Likewise.
63820 * misc/pwritev.c: Likewise.
63821 * misc/pwritev64.c: Likewise.
63822 * misc/readv.c: Likewise.
63823 * misc/reboot.c: Likewise.
63824 * misc/remap_file_pages.c: Likewise.
63825 * misc/removexattr.c: Likewise.
63826 * misc/revoke.c: Likewise.
63827 * misc/select.c: Likewise.
63828 * misc/setdomain.c: Likewise.
63829 * misc/setegid.c: Likewise.
63830 * misc/seteuid.c: Likewise.
63831 * misc/sethostid.c: Likewise.
63832 * misc/sethostname.c: Likewise.
63833 * misc/setregid.c: Likewise.
63834 * misc/setreuid.c: Likewise.
63835 * misc/setxattr.c: Likewise.
63836 * misc/sstk.c: Likewise.
63837 * misc/stty.c: Likewise.
63838 * misc/swapoff.c: Likewise.
63839 * misc/swapon.c: Likewise.
63840 * misc/sync.c: Likewise.
63841 * misc/syncfs.c: Likewise.
63842 * misc/syscall.c: Likewise.
63843 * misc/truncate.c: Likewise.
63844 * misc/ualarm.c: Likewise.
63845 * misc/usleep.c: Likewise.
63846 * misc/ustat.c: Likewise.
63847 * misc/utimes.c: Likewise.
63848 * misc/vhangup.c: Likewise.
63849 * misc/writev.c: Likewise.
63850 * posix/_exit.c: Likewise.
63851 * posix/alarm.c: Likewise.
63852 * posix/execve.c: Likewise.
63853 * posix/fexecve.c: Likewise.
63854 * posix/fork.c: Likewise.
63855 * posix/fpathconf.c: Likewise.
63856 * posix/getaddrinfo.c: Likewise.
63857 * posix/getegid.c: Likewise.
63858 * posix/geteuid.c: Likewise.
63859 * posix/getgid.c: Likewise.
63860 * posix/getgroups.c: Likewise.
63861 * posix/getlogin.c: Likewise.
63862 * posix/getlogin_r.c: Likewise.
63863 * posix/getpgid.c: Likewise.
63864 * posix/getpid.c: Likewise.
63865 * posix/getppid.c: Likewise.
63866 * posix/getresgid.c: Likewise.
63867 * posix/getresuid.c: Likewise.
63868 * posix/getsid.c: Likewise.
63869 * posix/getuid.c: Likewise.
63870 * posix/glob64.c: Likewise.
63871 * posix/nanosleep.c: Likewise.
63872 * posix/pathconf.c: Likewise.
63873 * posix/pause.c: Likewise.
63874 * posix/posix_madvise.c: Likewise.
63875 * posix/pread.c: Likewise.
63876 * posix/pread64.c: Likewise.
63877 * posix/pwrite.c: Likewise.
63878 * posix/pwrite64.c: Likewise.
63879 * posix/sched_getaffinity.c: Likewise.
63880 * posix/sched_getp.c: Likewise.
63881 * posix/sched_gets.c: Likewise.
63882 * posix/sched_primax.c: Likewise.
63883 * posix/sched_primin.c: Likewise.
63884 * posix/sched_rr_gi.c: Likewise.
63885 * posix/sched_setaffinity.c: Likewise.
63886 * posix/sched_setp.c: Likewise.
63887 * posix/sched_sets.c: Likewise.
63888 * posix/sched_yield.c: Likewise.
63889 * posix/setgid.c: Likewise.
63890 * posix/setlogin.c: Likewise.
63891 * posix/setpgid.c: Likewise.
63892 * posix/setresgid.c: Likewise.
63893 * posix/setresuid.c: Likewise.
63894 * posix/setsid.c: Likewise.
63895 * posix/setuid.c: Likewise.
63896 * posix/sleep.c: Likewise.
63897 * posix/spawni.c: Likewise.
63898 * posix/sysconf.c: Likewise.
63899 * posix/times.c: Likewise.
63900 * posix/wait.c: Likewise.
63901 * posix/wait3.c: Likewise.
63902 * posix/wait4.c: Likewise.
63903 * posix/waitpid.c: Likewise.
63904 * resolv/gai_sigqueue.c: Likewise.
63905 * resource/getpriority.c: Likewise.
63906 * resource/getrlimit.c: Likewise.
63907 * resource/getrusage.c: Likewise.
63908 * resource/nice.c: Likewise.
63909 * resource/setpriority.c: Likewise.
63910 * resource/setrlimit.c: Likewise.
63911 * resource/ulimit.c: Likewise.
63912 * rt/aio_cancel.c: Likewise.
63913 * rt/aio_fsync.c: Likewise.
63914 * rt/aio_read.c: Likewise.
63915 * rt/aio_sigqueue.c: Likewise.
63916 * rt/aio_suspend.c: Likewise.
63917 * rt/aio_write.c: Likewise.
63918 * rt/clock_getres.c: Likewise.
63919 * rt/clock_gettime.c: Likewise.
63920 * rt/clock_nanosleep.c: Likewise.
63921 * rt/clock_settime.c: Likewise.
63922 * rt/lio_listio.c: Likewise.
63923 * rt/mq_close.c: Likewise.
63924 * rt/mq_getattr.c: Likewise.
63925 * rt/mq_notify.c: Likewise.
63926 * rt/mq_open.c: Likewise.
63927 * rt/mq_receive.c: Likewise.
63928 * rt/mq_send.c: Likewise.
63929 * rt/mq_setattr.c: Likewise.
63930 * rt/mq_timedreceive.c: Likewise.
63931 * rt/mq_timedsend.c: Likewise.
63932 * rt/mq_unlink.c: Likewise.
63933 * rt/shm_open.c: Likewise.
63934 * rt/shm_unlink.c: Likewise.
63935 * rt/timer_create.c: Likewise.
63936 * rt/timer_delete.c: Likewise.
63937 * rt/timer_getoverr.c: Likewise.
63938 * rt/timer_gettime.c: Likewise.
63939 * rt/timer_settime.c: Likewise.
63940 * setjmp/__longjmp.c: Likewise.
63941 * setjmp/setjmp.c: Likewise.
63942 * signal/kill.c: Likewise.
63943 * signal/killpg.c: Likewise.
63944 * signal/raise.c: Likewise.
63945 * signal/sigaction.c: Likewise.
63946 * signal/sigaltstack.c: Likewise.
63947 * signal/sigblock.c: Likewise.
63948 * signal/sigignore.c: Likewise.
63949 * signal/sigintr.c: Likewise.
63950 * signal/signal.c: Likewise.
63951 * signal/sigpause.c: Likewise.
63952 * signal/sigpending.c: Likewise.
63953 * signal/sigqueue.c: Likewise.
63954 * signal/sigreturn.c: Likewise.
63955 * signal/sigset.c: Likewise.
63956 * signal/sigsetmask.c: Likewise.
63957 * signal/sigstack.c: Likewise.
63958 * signal/sigsuspend.c: Likewise.
63959 * signal/sigtimedwait.c: Likewise.
63960 * signal/sigvec.c: Likewise.
63961 * signal/sigwait.c: Likewise.
63962 * signal/sigwaitinfo.c: Likewise.
63963 * signal/sysv_signal.c: Likewise.
63964 * socket/accept.c: Likewise.
63965 * socket/accept4.c: Likewise.
63966 * socket/bind.c: Likewise.
63967 * socket/connect.c: Likewise.
63968 * socket/getpeername.c: Likewise.
63969 * socket/getsockname.c: Likewise.
63970 * socket/getsockopt.c: Likewise.
63971 * socket/isfdtype.c: Likewise.
63972 * socket/listen.c: Likewise.
63973 * socket/recv.c: Likewise.
63974 * socket/recvfrom.c: Likewise.
63975 * socket/recvmsg.c: Likewise.
63976 * socket/send.c: Likewise.
63977 * socket/sendmsg.c: Likewise.
63978 * socket/sendto.c: Likewise.
63979 * socket/setsockopt.c: Likewise.
63980 * socket/shutdown.c: Likewise.
63981 * socket/sockatmark.c: Likewise.
63982 * socket/socket.c: Likewise.
63983 * socket/socketpair.c: Likewise.
63984 * stdio-common/ctermid.c: Likewise.
63985 * stdio-common/cuserid.c: Likewise.
63986 * stdio-common/remove.c: Likewise.
63987 * stdio-common/rename.c: Likewise.
63988 * stdio-common/renameat.c: Likewise.
63989 * stdio-common/tempname.c: Likewise.
63990 * stdlib/getcontext.c: Likewise.
63991 * stdlib/makecontext.c: Likewise.
63992 * stdlib/setcontext.c: Likewise.
63993 * stdlib/swapcontext.c: Likewise.
63994 * stdlib/system.c: Likewise.
63995 * streams/fattach.c: Likewise.
63996 * streams/fdetach.c: Likewise.
63997 * streams/getmsg.c: Likewise.
63998 * streams/getpmsg.c: Likewise.
63999 * streams/putmsg.c: Likewise.
64000 * streams/putpmsg.c: Likewise.
64001 * sysdeps/unix/bsd/getpt.c: Likewise.
64002 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
64003 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
64004 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
64005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
64006 Likewise.
64007 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
64008 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
64009 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
64010 * sysvipc/msgctl.c: Likewise.
64011 * sysvipc/msgget.c: Likewise.
64012 * sysvipc/msgrcv.c: Likewise.
64013 * sysvipc/msgsnd.c: Likewise.
64014 * sysvipc/semctl.c: Likewise.
64015 * sysvipc/semget.c: Likewise.
64016 * sysvipc/semop.c: Likewise.
64017 * sysvipc/semtimedop.c: Likewise.
64018 * sysvipc/shmat.c: Likewise.
64019 * sysvipc/shmctl.c: Likewise.
64020 * sysvipc/shmdt.c: Likewise.
64021 * sysvipc/shmget.c: Likewise.
64022 * termios/tcdrain.c: Likewise.
64023 * termios/tcflow.c: Likewise.
64024 * termios/tcflush.c: Likewise.
64025 * termios/tcgetattr.c: Likewise.
64026 * termios/tcgetpgrp.c: Likewise.
64027 * termios/tcsendbrk.c: Likewise.
64028 * termios/tcsetattr.c: Likewise.
64029 * termios/tcsetpgrp.c: Likewise.
64030 * time/adjtime.c: Likewise.
64031 * time/clock.c: Likewise.
64032 * time/getitimer.c: Likewise.
64033 * time/gettimeofday.c: Likewise.
64034 * time/setitimer.c: Likewise.
64035 * time/settimeofday.c: Likewise.
64036 * time/stime.c: Likewise.
64037 * time/time.c: Likewise.
64038
64039 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
64040
64041 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
64042 /usr/old/bin.
64043
64044 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
64045 instead of spaces.
64046 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
64047
64048 2012-11-03 Joseph Myers <joseph@codesourcery.com>
64049
64050 [BZ #14796]
64051 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
64052 FE_TONEAREST before applying Dekker multiplication and Knuth
64053 addition. Clear inexact exceptions and check for exact zero
64054 results afterwards.
64055 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64056 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
64057 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64058 * math/libm-test.inc (fma_test): Add more tests.
64059 (fma_test_towardzero): Likewise.
64060 (fma_test_downward): Likewise.
64061 (fma_test_upward): Likewise.
64062 * sysdeps/generic/math_private.h (default_libc_fesetround): New
64063 function.
64064 (libc_fesetround): New macro.
64065 (libc_fesetroundf): Likewise.
64066 (libc_fesetroundl): Likewise.
64067 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
64068 function.
64069 (libc_fesetround_387): Likewise.
64070 (libc_fesetroundf): New macro.
64071 (libc_fesetround): Likewise.
64072 (libc_fesetroundl): Likewise.
64073 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
64074 function.
64075 (libc_fesetroundf): New macro.
64076 (libc_fesetround): Likewise.
64077 (libc_fesetroundl): Likewise.
64078 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
64079 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
64080 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
64081 libm_hidden_ver.
64082 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
64083 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
64084 libm_hidden_def.
64085 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
64086 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
64087 libm_hidden_ver.
64088 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
64089 libm_hidden_def.
64090
64091 [BZ #3439]
64092 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
64093 integer constant usable in #if and use that to give value to enum
64094 constant.
64095 (FE_DIVBYZERO): Likewise.
64096 (FE_UNDERFLOW): Likewise.
64097 (FE_OVERFLOW): Likewise.
64098 (FE_INVALID): Likewise.
64099 (FE_INVALID_SNAN): Likewise.
64100 (FE_INVALID_ISI): Likewise.
64101 (FE_INVALID_IDI): Likewise.
64102 (FE_INVALID_ZDZ): Likewise.
64103 (FE_INVALID_IMZ): Likewise.
64104 (FE_INVALID_COMPARE): Likewise.
64105 (FE_INVALID_SOFTWARE): Likewise.
64106 (FE_INVALID_SQRT): Likewise.
64107 (FE_INVALID_INTEGER_CONVERSION): Likewise.
64108 (FE_TONEAREST): Likewise.
64109 (FE_TOWARDZERO): Likewise.
64110 (FE_UPWARD): Likewise.
64111 (FE_DOWNWARD): Likewise.
64112 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
64113 (FE_DIVBYZERO): Likewise.
64114 (FE_OVERFLOW): Likewise.
64115 (FE_UNDERFLOW): Likewise.
64116 (FE_INEXACT): Likewise.
64117 (FE_TONEAREST): Likewise.
64118 (FE_DOWNWARD): Likewise.
64119 (FE_UPWARD): Likewise.
64120 (FE_TOWARDZERO): Likewise.
64121 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
64122 (FE_UNDERFLOW): Likewise.
64123 (FE_OVERFLOW): Likewise.
64124 (FE_DIVBYZERO): Likewise.
64125 (FE_INVALID): Likewise.
64126 (FE_TONEAREST): Likewise.
64127 (FE_TOWARDZERO): Likewise.
64128 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
64129 (FE_OVERFLOW): Likewise.
64130 (FE_UNDERFLOW): Likewise.
64131 (FE_DIVBYZERO): Likewise.
64132 (FE_INEXACT): Likewise.
64133 (FE_TONEAREST): Likewise.
64134 (FE_TOWARDZERO): Likewise.
64135 (FE_UPWARD): Likewise.
64136 (FE_DOWNWARD): Likewise.
64137 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
64138 (FE_DIVBYZERO): Likewise.
64139 (FE_OVERFLOW): Likewise.
64140 (FE_UNDERFLOW): Likewise.
64141 (FE_INEXACT): Likewise.
64142 (FE_TONEAREST): Likewise.
64143 (FE_DOWNWARD): Likewise.
64144 (FE_UPWARD): Likewise.
64145 (FE_TOWARDZERO): Likewise.
64146
64147 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
64148
64149 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
64150
64151 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
64152
64153 * scripts/cross-test-ssh.sh (command): Use newlines to separate
64154 commands. Quote $PWD.
64155 (blacklist_exports): Don't use remove_newlines. Replace "declare
64156 -x" by "export".
64157 (remove_newlines): Remove.
64158
64159 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
64160
64161 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
64162 * stdlib/stdlib.h (atof): Moved to ...
64163 * include/bits/stdlib-float.h: Here. New file.
64164 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
64165 * stdlib/bits/stdlib-float.h: New file.
64166 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
64167 -mno-sse -mno-mmx.
64168 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
64169 <xmmintrin.h>.
64170
64171 2012-11-02 Joseph Myers <joseph@codesourcery.com>
64172
64173 * conform/conformtest.pl (@headers): Add fenv.h.
64174 * conform/data/fenv.h-data: New file.
64175 * include/fenv.h [_ISOMAC]: Disable all contents of file except
64176 include of <math/fenv.h>.
64177
64178 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
64179 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
64180 && !UNIX98]. Enables tests for XOPEN2K8.
64181 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
64182 POSIX2008]: Likewise.
64183
64184 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
64185 (struct rusage): Do not expect type or its members.
64186
64187 [BZ #3439]
64188 * math/math.h (FP_NAN): Define macro to integer constant usable in
64189 #if and use that to give value to enum constant.
64190 (FP_INFINITE): Likewise.
64191 (FP_ZERO): Likewise.
64192 (FP_SUBNORMAL): Likewise.
64193 (FP_NORMAL): Likewise.
64194
64195 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
64196
64197 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
64198 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
64199 arguments.
64200
64201 2012-11-02 Roland McGrath <roland@hack.frob.com>
64202
64203 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
64204 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
64205 autoconf-time if not.
64206 * configure.in: Remove AC_PREREQ.
64207
64208 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
64209
64210 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
64211 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
64212 of the internal implementation.
64213
64214 2012-11-02 Joseph Myers <joseph@codesourcery.com>
64215
64216 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
64217 except include of <misc/sys/syslog.h>.
64218
64219 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
64220
64221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
64222 function returns with a NULL context exit with zero.
64223
64224 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
64225
64226 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
64227
64228 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
64229
64230 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
64231 (run_program_cmd): This.
64232 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
64233 (tst_langinfo): New variable. Use it.
64234
64235 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
64236
64237 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
64238 floating point opcodes.
64239
64240 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
64241
64242 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
64243 variable.
64244
64245 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
64246
64247 * sysdeps/mach/hurd/powerpc: Remove directory.
64248 * sysdeps/mach/powerpc: Likewise.
64249
64250 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
64251
64252 * scripts/check-local-headers.sh: Ignore c++ headers.
64253
64254 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
64255
64256 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
64257 __libc_cleanup_region_start argument.
64258
64259 2012-11-01 Joseph Myers <joseph@codesourcery.com>
64260
64261 [BZ #14784]
64262 [BZ #14785]
64263 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
64264 x * y using scaling, not as x * y + z.
64265 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64266 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64267 * math/libm-test.inc (fma_test): Add more tests.
64268 (fma_test_towardzero): Likewise.
64269 (fma_test_downward): Likewise.
64270 (fma_test_upward): Likewise.
64271
64272 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
64273
64274 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
64275
64276 2012-10-31 Joseph Myers <joseph@codesourcery.com>
64277
64278 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
64279 New variable.
64280
64281 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
64282
64283 * rt/tst-shm.c (worker): Correct checking for mmap failure.
64284
64285 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
64286
64287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64288 Fix sort order.
64289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64290 Likewise.
64291
64292 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
64293
64294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64295 Fix the order of the list for glibc 2.17.
64296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64297 Likewise.
64298
64299 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
64300
64301 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64302
64303 2012-10-31 Joseph Myers <joseph@codesourcery.com>
64304
64305 [BZ #14610]
64306 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
64307 for low part of x being zero before using __atanl (y).
64308 * math/libm-test.inc (atan2_test): Add another test.
64309
64310 * manual/install.texi (Configuring and compiling): Document
64311 general use of test-wrapper and test-wrapper-env.
64312 * INSTALL: Regenerated.
64313
64314 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
64315 (__fma): Do not extract and scale down low bits on after-rounding
64316 systems when result rounded to normal precision would have normal
64317 exponent.
64318 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
64319 (__fmal): Do not extract and scale down low bits on after-rounding
64320 systems when result rounded to normal precision would have normal
64321 exponent.
64322 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
64323 (__fmal): Do not extract and scale down low bits on after-rounding
64324 systems when result rounded to normal precision would have normal
64325 exponent.
64326 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
64327 macro.
64328 (fma_test): Add more tests.
64329 (fma_test_towardzero): Likewise.
64330 (fma_test_downward): Likewise.
64331 (fma_test_upward): Likewise.
64332
64333 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
64334
64335 * sysdeps/i386/tininess.h: Renamed to ...
64336 * sysdeps/x86/tininess.h: This.
64337 * sysdeps/x86_64/tininess.h: Removed.
64338
64339 2012-10-30 Joseph Myers <joseph@codesourcery.com>
64340
64341 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
64342 input. Use $(build-program-cmd).
64343 ($(objpfx)tst-array1-static.out): Likewise.
64344 ($(objpfx)tst-array2.out): Likewise.
64345 ($(objpfx)tst-array3.out): Likewise.
64346 ($(objpfx)tst-array4.out): Likewise.
64347 ($(objpfx)tst-array5.out): Likewise.
64348 ($(objpfx)tst-array5-static.out): Likewise.
64349
64350 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
64351
64352 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
64353 if defined.
64354
64355 * nss/nsswitch.h (nss_interface_function): Provide new
64356 macro for use with NSS functions.
64357 * grp/initgroups.c: Use new macro.
64358 * nss/getXXbyYY.c: Likewise.
64359 * nss/getXXbyYY_r.c: Likewise.
64360 * nss/getXXent.c: Likewise.
64361 * nss/getXXent_r.c: Likewise.
64362 * sysdeps/posix/getaddrinfo.c: Likewise.
64363
64364 2012-10-30 Andreas Jaeger <aj@suse.de>
64365
64366 * po/ru.po: Update Russion translation from translation project.
64367
64368 2012-10-30 Joseph Myers <joseph@codesourcery.com>
64369
64370 [BZ #14152]
64371 [BZ #14783]
64372 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
64373 result and shift together with sticky bit instead of replicating
64374 round-to-nearest rounding.
64375 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64376 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64377 * math/libm-test.inc (fma_test): Add more tests. Do not permit
64378 missing underflow exceptions.
64379 (fma_test_towardzero): Add more tests.
64380 (fma_test_downward): Likewise.
64381 (fma_test_upward): Likewise.
64382
64383 [BZ #14047]
64384 * sysdeps/generic/tininess.h: New file.
64385 * sysdeps/i386/tininess.h: Likewise.
64386 * sysdeps/sh/tininess.h: Likewise.
64387 * sysdeps/x86_64/tininess.h: Likewise.
64388 * stdlib/tst-strtod-underflow.c: Likewise.
64389 * stdlib/tst-tininess.c: Likewise.
64390 * stdlib/strtod_l.c: Include <tininess.h>.
64391 (round_and_return): Do not set errno for exact underflow cases.
64392 Force an underflow exception when setting errno for underflow.
64393 Determine underflow based on rounding to normal precision if
64394 TININESS_AFTER_ROUNDING.
64395 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
64396 ERANGE for exact underflow cases.
64397 * stdlib/Makefile (tests): Add tst-tininess and
64398 tst-strtod-underflow.
64399 ($(objpfx)tst-tininess): Use $(link-libm).
64400 ($(objpfx)tst-strtod-underflow): Likewise.
64401
64402 2012-10-30 Andreas Jaeger <aj@suse.de>
64403
64404 [BZ#14767]
64405 * elf/Makefile (tests): Remove conditional for have-initfini-array
64406 since this is now always required and the variable does not exist
64407 anymore.
64408 (tests-static): Likewise.
64409 (modules-names): Likewise.
64410
64411 * po/eo.po: Add Esperanto translation from translation project.
64412
64413 * elf/tst-array1.c (fini_array): Make writeable so that it can be
64414 merged with constructor/destructor.
64415 (init_array): Likewise.
64416 * elf/tst-array2dep.c (fini_array): Likewise.
64417 (init_array): Likewise.
64418
64419 2012-10-29 Mike Frysinger <vapier@gentoo.org>
64420
64421 * manual/message.texi: Delete @cartouche tags.
64422
64423 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
64424
64425 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
64426 EOPNOTSUPP.
64427 * sysdeps/mach/hurd/fsync.c: Likewise.
64428
64429 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
64430 [_POSIX_REALTIME_SIGNALS]: Change condition to
64431 [_POSIX_REALTIME_SIGNALS > 0].
64432
64433 2012-10-27 Andreas Jaeger <aj@suse.de>
64434
64435 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
64436 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
64437 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
64438 [__WORDSIZE != 64]: Likewise.
64439
64440 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
64441
64442 * iconvdata/tst-table.sh: Remove ${SHELL}.
64443 * iconvdata/tst-tables.sh: Likewise.
64444
64445 2012-10-25 David S. Miller <davem@davemloft.net>
64446
64447 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
64448 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
64449 of strtoull.
64450
64451 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
64452 ifunc-impl-list.c
64453 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
64454 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
64455 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
64456 file.
64457
64458 2012-10-25 Roland McGrath <roland@hack.frob.com>
64459
64460 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
64461 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
64462 __getdirentries.
64463
64464 2012-10-25 Joseph Myers <joseph@codesourcery.com>
64465 Jim Blandy <jimb@codesourcery.com>
64466
64467 * scripts/cross-test-ssh.sh: New file.
64468 * manual/install.texi (Configuring and compiling): Document use of
64469 cross-test-ssh.sh.
64470 * INSTALL: Regenerated.
64471
64472 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
64473
64474 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
64475 EOPNOTSUPP.
64476
64477 2012-10-25 Joseph Myers <joseph@codesourcery.com>
64478
64479 * Makeconfig (run-program-prefix): Fix comment.
64480
64481 2012-10-24 Joseph Myers <joseph@codesourcery.com>
64482 Jim Blandy <jimb@codesourcery.com>
64483
64484 * Makeconfig (test-wrapper): New variable,
64485 (test-wrapper-env): Likewise.
64486 [$(cross-compiling) = yes && $(test-wrapper) != ""]
64487 (run-built-tests): Define to yes.
64488 (run-program-prefix): Use $(test-wrapper).
64489 (built-program-cmd): Likewise.
64490 * Rules (make-test-out): Use $(test-wrapper-env) and
64491 $(host-built-program-cmd).
64492 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
64493 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
64494 tst-pathopt.sh.
64495 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
64496 $(test-wrapper-env) to tst-rtld-load-self.sh.
64497 ($(objpfx)order2.out): Use $(test-wrapper).
64498 ($(objpfx)tst-initorder.out): Likewise.
64499 ($(objpfx)tst-initorder2.out): Likewise.
64500 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
64501 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
64502 (test_wrapper_env): New variable. Use it to run ld.so.
64503 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
64504 Use it to run ld.so.
64505 (test_wrapper_env): Likewise.
64506 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
64507 $(test-wrapper) to run-iconv-test.sh.
64508 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
64509 (ICONV): Use $test_wrapper.
64510 * posix/Makefile ($(objpfx)globtest.out): Pass
64511 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
64512 globtest.sh, not $(run-program-prefix).
64513 * posix/globtest.sh (run_via_rtld_prefix): New variable.
64514 (test_wrapper): Likewise.
64515 (test_wrapper_env): Likewise. Use it to run globtest with HOME
64516 set together with run_via_rtld_prefix.
64517 (run_program_prefix): Define in terms of test_wrapper and
64518 run_via_rtld_prefix.
64519
64520 2012-10-24 Roland McGrath <roland@hack.frob.com>
64521
64522 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
64523 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
64524 Targets removed.
64525
64526 [BZ #14743]
64527 * include/time.h: Remove librt_hidden_proto (clock_gettime).
64528 Declare __clock_getres, __clock_gettime, __clock_settime,
64529 __clock_nanosleep, and __clock_getcpuclockid.
64530 * rt/clock_gettime.c: Define __clock_gettime as an alias.
64531 Remove librt_hidden_def (clock_gettime).
64532 * sysdeps/unix/clock_gettime.c: Likewise.
64533 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
64534 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
64535 * rt/clock_getres.c: Define __clock_getres as an alias.
64536 * sysdeps/posix/clock_getres.c: Likewise.
64537 * rt/clock_settime.c: Define __clock_settime as an alias.
64538 * sysdeps/unix/clock_settime.c: Likewise.
64539 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
64540 * sysdeps/unix/clock_nanosleep.c: Likewise.
64541 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
64542 * rt/clock-compat.c: New file.
64543 * rt/Makefile (librt-routines): Add clock-compat and move
64544 $(clock-routines) to ...
64545 (routines): ... here, new variable.
64546 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
64547 Don't add get_clockfreq here.
64548 * rt/Versions (libc: GLIBC_2.17): New version set.
64549 Add clock_* symbols here.
64550 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
64551 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
64552 (GLIBC_2.17): Add clock_* symbols.
64553 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
64554 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
64555 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
64556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64557 Likewise.
64558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64559 Likewise.
64560 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
64561 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
64562 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
64563 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
64564 * NEWS: Mention the move.
64565
64566 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
64567 Use __open, __read, __close rather than their public counterparts.
64568 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
64569 (__get_clockfreq_via_cpuinfo): Likewise.
64570 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
64571 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
64572
64573 * config.h.in (HAVE_IFUNC): New #undef.
64574 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
64575 was successful.
64576 * configure: Regenerated.
64577
64578 2012-10-24 Mike Frysinger <vapier@gentoo.org>
64579
64580 * configure.in: Move READELF check to start of file.
64581 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
64582 libc_cv_asm_gnu_indirect_function in the process.
64583 * configure: Regenerated.
64584
64585 2012-10-24 Mike Frysinger <vapier@gentoo.org>
64586
64587 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
64588 send the output to /dev/null.
64589 (libc_cv_cc_with_libunwind): Likewise.
64590 (libc_cv_as_noexecstack): Likewise.
64591 * configure: Regenerate.
64592
64593 2012-10-24 Joseph Myers <joseph@codesourcery.com>
64594
64595 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
64596
64597 * posix/globtest.sh (TMPDIR): Do not set.
64598 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
64599 (testout): Likewise.
64600
64601 2012-10-24 Andreas Jaeger <aj@suse.de>
64602
64603 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
64604 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
64605 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
64606 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
64607 posix_fadvise64, posix_fallocate64.
64608
64609 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
64610 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
64611 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
64612 Likewise.
64613 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
64614 Likewise.
64615 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
64616
64617 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
64618 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
64619 <bits/fcntl-linux.h>.
64620 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
64621
64622 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
64623 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
64624 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
64625 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
64626 [__WORDSIZE != 64]: Likewise.
64627
64628 2012-10-23 Joseph Myers <joseph@codesourcery.com>
64629
64630 * Makeconfig (run-built-tests): New variable.
64631 * Rules [$(cross-compiling) = yes]: Change condition to
64632 [$(run-built-tests) = no].
64633 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
64634 to [$(run-built-tests) = yes].
64635 * elf/Makefile [$(cross-compiling) = no]: Likewise.
64636 * grp/Makefile [$(cross-compiling) = no]: Likewise.
64637 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
64638 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
64639 * intl/Makefile [$(cross-compiling) = no]: Likewise.
64640 * io/Makefile [$(cross-compiling) = no]: Likewise.
64641 * libio/Makefile [$(cross-compiling) = no]: Likewise.
64642 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
64643 * misc/Makefile [$(cross-compiling) = no]: Likewise.
64644 * posix/Makefile [$(cross-compiling) = no]: Likewise.
64645 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
64646 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
64647 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
64648 * string/Makefile [$(cross-compiling) = no]: Likewise.
64649
64650 * posix/Makefile ($(objpfx)globtest.out): Pass
64651 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
64652 $(rtld-installed-name).
64653 * posix/globtest.sh (elf_objpfx): Remove variable.
64654 (rtld_installed_name): Likewise.
64655 (library_path): Likewise.
64656 (run_program_prefix): New variable. Use for running globtest
64657 binary.
64658
64659 2012-10-23 Jim Blandy <jimb@codesourcery.com>
64660 Joseph Myers <joseph@codesourcery.com>
64661
64662 * Makeconfig (host-built-program-cmd): New variable.
64663 * elf/Makefile (tst-stackguard1-ARGS): Use
64664 $(host-built-program-cmd).
64665 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
64666 (tst-spawn-ARGS): Likewise.
64667 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
64668
64669 2012-10-23 Joseph Myers <joseph@codesourcery.com>
64670 Jim Blandy <jimb@codesourcery.com>
64671
64672 * Makeconfig (run-via-rtld-prefix): New variable.
64673 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
64674 (built-program-cmd): Likewise.
64675
64676 2012-10-22 Andreas Jaeger <aj@suse.de>
64677
64678 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
64679 __O_RSYNC if it exists, otherwise to O_SYNC.
64680
64681 2012-10-22 Jim Blandy <jimb@codesourcery.com>
64682 Joseph Myers <joseph@codesourcery.com>
64683
64684 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
64685 /dev/null.
64686 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
64687 from /dev/null
64688 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
64689 /dev/null.
64690
64691 2012-10-22 Andreas Jaeger <aj@suse.de>
64692
64693 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
64694 Define always.
64695 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
64696
64697 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64698 bits/fcntl-linux.h.
64699
64700 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
64701 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
64702
64703 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
64704 to __O_LARGEFILE.
64705 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
64706 to __O_LARGEFILE.
64707
64708 2012-10-21 Jim Blandy <jimb@codesourcery.com>
64709 Joseph Myers <joseph@codesourcery.com>
64710
64711 * config.make.in (NM): New variable.
64712
64713 2012-10-21 Andreas Jaeger <aj@suse.de>
64714
64715 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
64716 definitions and declarations that are provided by
64717 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
64718
64719 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
64720
64721 [BZ #14683]
64722 * elf/Makefile (tests-static): Add tst-leaks1-static.
64723 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
64724 ($(objpfx)tst-leaks1-static): New rule.
64725 ($(objpfx)tst-leaks1-static-mem): Likewise.
64726 (tst-leaks1-static-ENV): New macro.
64727 * elf/dl-open.c (dl_open_worker): Check the main application
64728 only if SHARED is defined.
64729 * elf/tst-leaks1-static.c: New file.
64730
64731 2012-10-20 Andreas Jaeger <aj@suse.de>
64732
64733 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
64734 generic values for Linux.
64735 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
64736 and declarations that are provided by <bits/fcntl-linux.h> and
64737 include <bits/fcntl-linux.h>.
64738 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
64739 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
64740
64741 2012-10-20 Roland McGrath <roland@hack.frob.com>
64742
64743 * io/fcntl.h: Move include of <bits/types.h> to the top and
64744 include it unconditionally.
64745
64746 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
64747
64748 * wcsmbs/Makefile (tests-ifunc): New variable.
64749 (tests): Add $(tests-ifunc).
64750 * wcsmbs/test-wcschr-ifunc.c: New file.
64751 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
64752 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
64753 * wcsmbs/test-wcslen-ifunc.c: Likewise.
64754 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
64755 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
64756
64757 * string/Makefile (tests-ifunc): New variable.
64758 (tests): Add $(tests-ifunc).
64759 * string/test-memccpy.c (TEST_NAME): New macro.
64760 * string/test-memchr.c (TEST_NAME): Likewise.
64761 * string/test-memcmp.c (TEST_NAME): Likewise.
64762 * string/test-memcpy.c (TEST_NAME): Likewise.
64763 * string/test-memmem.c (TEST_NAME): Likewise.
64764 * string/test-memmove.c (TEST_NAME): Likewise.
64765 * string/test-memset.c (TEST_NAME): Likewise.
64766 * string/test-rawmemchr.c (TEST_NAME): Likewise.
64767 * string/test-stpcpy.c (TEST_NAME): Likewise.
64768 * string/test-stpncpy.c (TEST_NAME): Likewise.
64769 * string/test-strcasecmp.c (TEST_NAME): Likewise.
64770 * string/test-strcasestr.c (TEST_NAME): Likewise.
64771 * string/test-strcat.c (TEST_NAME): Likewise.
64772 * string/test-strchr.c (TEST_NAME): Likewise.
64773 * string/test-strcmp.c(TEST_NAME): Likewise.
64774 * string/test-strcpy.c (TEST_NAME): Likewise.
64775 * string/test-strcspn.c (TEST_NAME): Likewise.
64776 * string/test-strlen.c (TEST_NAME): Likewise.
64777 * string/test-strncasecmp.c (TEST_NAME): Likewise.
64778 * string/test-strncmp.c (TEST_NAME): Likewise.
64779 * string/test-strncpy.c (TEST_NAME): Likewise.
64780 * string/test-strnlen.c (TEST_NAME): Likewise.
64781 * string/test-strpbrk.c (TEST_NAME): Likewise.
64782 * string/test-strrchr.c (TEST_NAME): Likewise.
64783 * string/test-strspn.c (TEST_NAME): Likewise.
64784 * string/test-strstr.c (TEST_NAME): Likewise.
64785 * string/test-bcopy-ifunc.c: New file.
64786 * string/test-bzero-ifunc.c: Likewise.
64787 * string/test-memccpy-ifunc.c: Likewise.
64788 * string/test-memchr-ifunc.c: Likewise.
64789 * string/test-memcmp-ifunc.c: Likewise.
64790 * string/test-memcpy-ifunc.c: Likewise.
64791 * string/test-memmem-ifunc.c: Likewise.
64792 * string/test-memmove-ifunc.c: Likewise.
64793 * string/test-mempcpy-ifunc.c: Likewise.
64794 * string/test-memset-ifunc.c: Likewise.
64795 * string/test-rawmemchr-ifunc.c: Likewise.
64796 * string/test-stpcpy-ifunc.c: Likewise.
64797 * string/test-stpncpy-ifunc.c: Likewise.
64798 * string/test-strcasecmp-ifunc.c: Likewise.
64799 * string/test-strcasestr-ifunc.c: Likewise.
64800 * string/test-strcat-ifunc.c: Likewise.
64801 * string/test-strchr-ifunc.c: Likewise.
64802 * string/test-strchrnul-ifunc.c: Likewise.
64803 * string/test-strcmp-ifunc.c: Likewise.
64804 * string/test-strcpy-ifunc.c: Likewise.
64805 * string/test-strcspn-ifunc.c: Likewise.
64806 * string/test-strlen-ifunc.c: Likewise.
64807 * string/test-strncasecmp-ifunc.c: Likewise.
64808 * string/test-strncat-ifunc.c: Likewise.
64809 * string/test-strncmp-ifunc.c: Likewise.
64810 * string/test-strncpy-ifunc.c: Likewise.
64811 * string/test-strnlen-ifunc.c: Likewise.
64812 * string/test-strpbrk-ifunc.c: Likewise.
64813 * string/test-strrchr-ifunc.c: Likewise.
64814 * string/test-strspn-ifunc.c: Likewise.
64815 * string/test-strstr-ifunc.c: Likewise.
64816
64817 * debug/Makefile (tests-ifunc): New variable.
64818 (tests): Add $(tests-ifunc).
64819 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
64820 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
64821 * debug/test-stpcpy_chk-ifunc.c: New file.
64822 * debug/test-strcpy_chk-ifunc.c: Likewise.
64823
64824 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
64825
64826 [BZ #13601]
64827 * elf/dl-load.c (open_verify): Retry read if the entire ELF
64828 header is not read in.
64829
64830 2012-10-19 Joseph Myers <joseph@codesourcery.com>
64831
64832 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
64833 script to $(SHELL) as $<. Pass $(common-objpfx) to script
64834 directly. Pass built executable to script as
64835 $(built-program-cmd).
64836 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
64837 $testprogram without using LD_LIBRARY_PATH and $ldso.
64838
64839 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
64840 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
64841 $(rtld-installed-name).
64842 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
64843 (rtld_installed_name): Likewise.
64844 (library_path): Likewise.
64845 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
64846 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
64847 $(run-program-prefix) to tst-tables.sh.
64848 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
64849 it to run tst-table-from and tst-table-to.
64850 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
64851 Pass it to tst-table.sh.
64852 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
64853 $(run-program-prefix) to tst-gettext.sh.
64854 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
64855 tst-translit.sh.
64856 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
64857 tst-gettext2.sh.
64858 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
64859 to run tst-gettext.
64860 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
64861 to run tst-gettext2.
64862 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
64863 to run tst-translit.
64864 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
64865 $(run-program-prefix) to tst-mtrace.sh.
64866 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
64867 to run tst-mtrace.
64868 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
64869 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
64870 $(rtld-installed-name).
64871 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
64872 (rtld_installed_name): Likewise.
64873 (run_program_prefix): New variable. Use it to run wordexp-test.
64874
64875 * Makeconfig (ARCH): Remove all definitions.
64876 (machine): Likewise.
64877 [ARCH]: Remove conditional code.
64878 [!objdir]: Give error.
64879 [!objdir] (objpfx): Remove.
64880 [!objdir] (common-objpfx): Likewise.
64881 [!objdir] (common-objdir): Likewise.
64882 * configure.in (config_makefile): Remove. Hardcode Makefile in
64883 AC_CONFIG_FILES call.
64884 * configure: Regenerated.
64885
64886 [BZ #13888]
64887 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
64888 or TMPDIR.
64889 (testout): Likewise.
64890
64891 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
64892 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
64893 $(rtld-installed-name).
64894 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
64895 (rtld_installed_name): Likewise.
64896 (runit): Remove function.
64897 (run_getconf): New variable, Use it for running getconf binary.
64898
64899 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
64900
64901 [BZ #14716]
64902 * string/test-memmem.c (check_result): New function.
64903 (do_one_test): Use it.
64904 (check1): New function.
64905 (test_main): Use it.
64906
64907 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
64908
64909 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
64910
64911 2012-10-18 Joseph Myers <joseph@codesourcery.com>
64912
64913 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
64914 (_G_LSEEK64): Likewise.
64915 (_G_MMAP64): Likewise.
64916 (_G_FSTAT64): Likewise.
64917 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
64918 (_G_LSEEK64): Likewise.
64919 (_G_MMAP64): Likewise.
64920 (_G_FSTAT64): Likewise.
64921 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
64922 unconditional. Call __mmap64 directly.
64923 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
64924 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
64925 __lseek64 directly.
64926 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
64927 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
64928 __mmap64 directly.
64929 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
64930 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
64931 __lseek64 directly.
64932 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
64933 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
64934 __lseek64 directly.
64935 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
64936 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
64937 __lseek64 directly.
64938 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
64939 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
64940 __fxstat64 directly.
64941 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
64942 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
64943 unconditional.
64944 (freopen64) [!_G_OPEN64]: Remove conditional code.
64945 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
64946 unconditional.
64947 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
64948 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
64949 unconditional.
64950 (ftello64) [!_G_LSEEK64]: Remove conditional code.
64951 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
64952 unconditional.
64953 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
64954 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
64955 unconditional.
64956 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
64957 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
64958 unconditional.
64959 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
64960 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
64961 unconditional.
64962 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
64963 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
64964 unconditional.
64965 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
64966
64967 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
64968
64969 [BZ #12140]
64970 * manual/memory.texi (Malloc Tunable Parameters): Add note
64971 about free list pointers overwriting some perturb bytes.
64972 Wording suggested by Roland McGrath.
64973
64974 2012-10-17 Joseph Myers <joseph@codesourcery.com>
64975
64976 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
64977 (lgamma_test): Likewise.
64978 (tgamma_test): Likewise.
64979
64980 2012-10-16 Florian Weimer <fweimer@redhat.com>
64981
64982 [BZ #14700]
64983 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
64984 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
64985
64986 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
64987
64988 * NEWS: Mention BZ #14716.
64989 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
64990 when removing AVAILABLE1_USES_J macro.
64991
64992 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
64993
64994 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
64995 (__bswap_64): __uint64_t for unsigned 64-bit int.
64996
64997 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
64998
64999 * include/string.h (memmem): Declare libc hidden alias.
65000 * string/memmem.c (memmem): Define libc hidden alias.
65001 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
65002 __read, __close instead of open, read, close.
65003
65004 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
65005
65006 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
65007 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
65008 global and hidden.
65009 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
65010 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
65011 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
65012 Likewise.
65013 (__rawmemchr_sse2): Likewise.
65014 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
65015 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
65016 (__strchr_sse2): Likewise.
65017 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
65018 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
65019 (__strcasecmp_sse2): Likewise.
65020 (__strncasecmp_sse2): Likewise.
65021 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
65022 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
65023 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
65024 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
65025 (__strrchr_sse2): Likewise.
65026 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
65027 ifunc-impl-list.c.
65028 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
65029 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
65030 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
65031 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
65032 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
65033 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
65034 * sysdeps/x86_64/multiarch/memset.S: Likewise.
65035 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
65036 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
65037 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
65038 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
65039 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
65040 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
65041 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
65042 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
65043 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
65044 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
65045 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
65046 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
65047 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
65048 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
65049 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
65050 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
65051 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
65052 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
65053 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
65054 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
65055 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
65056 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
65057 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
65058
65059 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
65060 global and hidden.
65061 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
65062 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
65063 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
65064 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
65065 Likewise.
65066 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
65067 Likewise.
65068 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
65069 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
65070 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
65071 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
65072 ifunc-impl-list.c.
65073 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
65074 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
65075 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
65076 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
65077 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
65078 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
65079 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
65080 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
65081 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
65082 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
65083 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
65084 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
65085 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
65086 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
65087 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
65088 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
65089 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
65090 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
65091 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
65092 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
65093 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
65094 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
65095 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
65096 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
65097 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
65098 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
65099 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
65100 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
65101 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
65102 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
65103 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
65104 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
65105 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
65106 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
65107 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
65108 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
65109 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
65110 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
65111 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
65112 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
65113 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
65114
65115 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
65116 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
65117 * include/ifunc-impl-list.h: New file.
65118 * misc/ifunc-impl-list.c: Likewise.
65119 * misc/Makefile (routines): Add ifunc-impl-list.
65120 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
65121 * string/test-string.h: Include <ifunc-impl-list.h>.
65122 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
65123 TEST_NAME]: New variables.
65124 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
65125 are defined.
65126 (test_init): Call __libc_ifunc_impl_list to initialize
65127 func_list if TEST_IFUNC and TEST_NAME are defined.
65128
65129 * string/Makefile (strop-tests): Add bcopy and bzero.
65130 * string/test-bcopy.c: New file.
65131 * string/test-bzero.c: Likewise.
65132 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
65133 defined.
65134 * string/test-memset.c: Support bzero test if TEST_BZERO is
65135 defined.
65136 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
65137 __libc_memmove.
65138 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
65139 __libc_memset.
65140 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
65141 of memset.
65142
65143 2012-10-10 Joseph Myers <joseph@codesourcery.com>
65144
65145 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
65146 * configure: Regenerated.
65147
65148 * Makeconfig (+link-static-before-libc): Don't include
65149 $(link-static-libc).
65150
65151 * libio/libio.h (_IO_pos_t): Remove.
65152
65153 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
65154
65155 * NEWS: Add note about FIPS mode. Wording suggested by Roland
65156 McGrath.
65157
65158 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
65159
65160 * crypt/crypt-entry.c: Include fips-private.h.
65161 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
65162 * crypt/md5c-test.c (main): Tolerate disabled MD5.
65163 * sysdeps/unix/sysv/linux/fips-private.h: New file.
65164 * sysdeps/generic/fips-private.h: New file, dummy fallback.
65165
65166 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
65167
65168 * crypt/crypt-private.h: Include stdbool.h.
65169 (_ufc_setup_salt_r): Return bool.
65170 * crypt/crypt-entry.c: Include errno.h.
65171 (__crypt_r): Return NULL with EINVAL for bad salt.
65172 * crypt/crypt_util.c (bad_for_salt): New.
65173 (_ufc_setup_salt_r): Check that salt is long enough and within
65174 the specified alphabet.
65175 * crypt/badsalttest.c: New file.
65176 * crypt/Makefile (tests): Add it.
65177 ($(objpfx)badsalttest): New.
65178
65179 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
65180
65181 * NEWS: Add entry for BZ #14602.
65182
65183 2012-10-09 Joseph Myers <joseph@codesourcery.com>
65184
65185 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
65186 type-generic.
65187 * math/libm-test.inc: Update comment listing what functions and
65188 macros are tested.
65189 (isgreater_test): New function.
65190 (isgreaterequal_test): Likewise.
65191 (isless_test): Likewise.
65192 (islessequal_test): Likewise.
65193 (islessgreater_test): Likewise.
65194 (isunordered_test): Likewise.
65195 (main): Call the new functions.
65196
65197 2012-10-09 Roland McGrath <roland@hack.frob.com>
65198
65199 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
65200 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
65201 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
65202 * sysdeps/i386/configure: Regenerated.
65203 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
65204 * sysdeps/mach/configure: Regenerated.
65205 * sysdeps/mach/hurd/configure: Regenerated.
65206 * sysdeps/powerpc/configure: Regenerated.
65207 * sysdeps/powerpc/powerpc32/configure: Regenerated.
65208 * sysdeps/powerpc/powerpc64/configure: Regenerated.
65209 * sysdeps/s390/s390-32/configure: Regenerated.
65210 * sysdeps/s390/s390-64/configure: Regenerated.
65211 * sysdeps/sh/configure: Regenerated.
65212 * sysdeps/sparc/configure: Regenerated.
65213 * sysdeps/unix/sysv/linux/configure: Regenerated.
65214 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
65215 * sysdeps/x86_64/configure: Regenerated.
65216
65217 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
65218 defined. Don't check if MAP is NULL.
65219
65220 2012-10-09 Joseph Myers <joseph@codesourcery.com>
65221
65222 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
65223 (_G_stat64): Likewise.
65224 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
65225 (_G_stat64): Likewise.
65226 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
65227 instead of struct _G_stat64.
65228 * libio/fileops.c (mmap_remap_check): Likewise.
65229 (decide_maybe_mmap): Likewise.
65230 (_IO_new_file_seekoff): Likewise.
65231 (_IO_file_stat): Likewise.
65232 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
65233 _G_off64_t.
65234 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
65235 instead of struct _G_stat64.
65236 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
65237
65238 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
65239
65240 [BZ #14602]
65241 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
65242 Replace with ...
65243 (CHECK_EOL): New macro.
65244 (two_way_short_needle): Check beginning of haystack for EOL. Use
65245 CHECK_EOL.
65246 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
65247 Replace with CHECK_EOL.
65248 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
65249 Replace with CHECK_EOL.
65250
65251 2012-10-08 Joseph Myers <joseph@codesourcery.com>
65252
65253 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
65254 type-generic.
65255 * math/libm-test.inc: Update comment listing what functions and
65256 macros are tested.
65257 (finite_test): New function.
65258 (isinf_test): Likewise.
65259 (isnan_test): Likewise.
65260 (fpclassify_test): Test subnormal input.
65261 (isfinite_test): Likewise.
65262 (isnormal_test): Likewise.
65263 (main): Call the new functions.
65264
65265 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
65266
65267 [BZ #14660]
65268 * Makerules (%.dynsym): Force C locale when running
65269 $(OBJDUMP) --dynamic-syms.
65270
65271 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
65272
65273 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
65274 <stdint.h>.
65275
65276 2012-10-06 David S. Miller <davem@davemloft.net>
65277
65278 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
65279 upper 32-bits of the length value in %o2 since we use branch-on-register
65280 tests which consider the entire 64-bit register.
65281
65282 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
65283
65284 * string/test-strstr.c (check2): Add a test for page boundary.
65285
65286 2012-10-05 David S. Miller <davem@davemloft.net>
65287
65288 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
65289 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
65290 file.
65291 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
65292 sysdep_routines.
65293 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
65294 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
65295 and bzero when HWCAP_SPARC_CRYPTO is present.
65296
65297 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
65298
65299 [BZ #14602]
65300 * string/test-strstr.c (check2): New function.
65301 (test_main): Call check2.
65302
65303 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
65304 and bug-strchr1.
65305 * string/bug-strcasestr1.c (do_test): Moved to ...
65306 * string/test-strcasestr.c (check1): Here. New function.
65307 (do_one_test): Break out result checking code into ...
65308 (check_result): This. New function.
65309 (do_one_test): Call check_result.
65310 (test_main): Call check1.
65311 * string/bug-strchr1.c (do_test): Moved to ...
65312 * string/test-strchr.c (check1): Here. New function.
65313 (do_one_test): Break out result checking code into ...
65314 (check_result): This. New function.
65315 (do_one_test): Call check_result.
65316 (test_main): Call check1.
65317 * string/bug-strstr1.c (main): Moved to ...
65318 * string/test-strstr.c (check1): Here. New function.
65319 (do_one_test): Break out result checking code into ...
65320 (check_result): This. New function.
65321 (do_one_test): Call check_result.
65322 (test_main): Call check1.
65323 * string/bug-strcasestr1.c: Removed.
65324 * string/bug-strchr1.c: Likewise.
65325 * string/bug-strstr1.c: Likewise.
65326
65327 * elf/Makefile (dl-routines): Add hwcaps.
65328 * elf/dl-support.c (_dl_important_hwcaps): Removed.
65329 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
65330 (_dl_important_hwcaps): Moved to ...
65331 * elf/dl-hwcaps.c: Here. New file.
65332 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
65333
65334 [BZ #14557]
65335 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
65336 if IS_IN_rtld isn't defined.
65337
65338 * elf/dl-support.c (_dl_sysinfo_map): New.
65339 Include "get-dynamic-info.h" and "setup-vdso.h".
65340 (_dl_non_dynamic_init): Call setup_vdso.
65341 * elf/dynamic-link.h: Don't include <assert.h>.
65342 (elf_get_dynamic_info): Moved to ...
65343 * elf/get-dynamic-info.h: Here. New file.
65344 * elf/dynamic-link.h: Include "get-dynamic-info.h".
65345 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
65346 * elf/setup-vdso.h: Here. New file.
65347 * elf/rtld.c: Include "setup-vdso.h".
65348 (dl_main): Call setup_vdso.
65349
65350 2012-10-05 Joseph Myers <joseph@codesourcery.com>
65351
65352 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
65353 creal in comment listing functions tested. List finite, isinf,
65354 isnan, isless, islessequal, isgreater, isgreaterequal,
65355 islessgreater, isunordered, lgamma_r and pow10 as functions and
65356 macros not tested. Mention which functions not tested are aliases
65357 for other functions. Fix typo. Note that signs of NaNs are not
65358 tested.
65359
65360 * scripts/config.guess: Update from config.git.
65361 * scripts/config.sub: Likewise.
65362
65363 2012-10-04 Roland McGrath <roland@hack.frob.com>
65364
65365 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
65366 * misc/madvise.c (madvise): Renamed to __madvise.
65367 Make madvise a weak alias.
65368 * include/sys/mman.h: Declare __madvise.
65369 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
65370 * sysdeps/unix/syscalls.list
65371 (madvise): Make __madvise the strong name, and madvise a weak alias.
65372 * sysdeps/unix/sysv/linux/syscalls.list
65373 (madvise, mmap): Remove redundant entries.
65374 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
65375 * malloc/malloc.c (mtrim): Likewise.
65376 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
65377
65378 2012-10-03 Roland McGrath <roland@hack.frob.com>
65379
65380 * sysdeps/mach/hurd/dl-cache.c: File removed.
65381 * config.h.in (USE_LDCONFIG): New #undef.
65382 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
65383 * configure: Regenerated.
65384 * elf/Makefile (dl-routines): Add dl-cache only under
65385 [$(use-ldconfig) = yes].
65386 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
65387 cache on [USE_LDCONFIG].
65388 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
65389 [USE_LDCONFIG].
65390 * elf/rtld.c (dl_main): Likewise.
65391
65392 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
65393
65394 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
65395 _SC_LEVEL4_CACHE_LINESIZE.
65396
65397 2012-10-03 Roland McGrath <roland@hack.frob.com>
65398
65399 * sysdeps/unix/bsd/confstr.h: File removed.
65400
65401 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
65402
65403 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
65404 sys/sdt-config.h.
65405
65406 2012-10-02 Roland McGrath <roland@hack.frob.com>
65407
65408 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
65409 Make 'mapoff' field ElfW(Off) rather than off_t.
65410
65411 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
65412
65413 * nscd/Makefile: Remove nscd-cflags and all its users.
65414 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
65415 (CFLAGS-nonlib): Add compiler flags for nscd modules.
65416
65417 [BZ #10631]
65418 * malloc.c (malloc_printerr): Clarify error message.
65419
65420 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
65421
65422 [BZ #14648]
65423 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65424 Set bit_FMA_Usable if FMA is supported.
65425 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
65426 macro.
65427 (bit_FMA4_Usable): Updated.
65428 (index_FMA_Usable): New macro.
65429 (CPUID_FMA): Likewise.
65430 (HAS_FMA): Defined with bit_FMA_Usable.
65431
65432 2012-10-01 Roland McGrath <roland@hack.frob.com>
65433
65434 * bits/types.h (__swblk_t): Type removed.
65435 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
65436 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
65437 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65438 (__SWBLK_T_TYPE): Likewise.
65439 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
65440 (__SWBLK_T_TYPE): Likewise.
65441 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65442 (__SWBLK_T_TYPE): Likewise.
65443 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65444 (__SWBLK_T_TYPE): Likewise.
65445
65446 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
65447 Honza Horak <hhorak@redhat.com>
65448
65449 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
65450 (xdr_mapname): Use YPMAXMAP as maxsize.
65451 (xdr_peername): Use YPMAXPEER as maxsize.
65452 (xdr_keydat): Use YPAXRECORD as maxsize.
65453 (xdr_valdat): Use YPMAXRECORD as maxsize.
65454
65455 2012-10-01 Roland McGrath <roland@hack.frob.com>
65456
65457 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
65458
65459 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
65460 * csu/init-first.c: ... here.
65461 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
65462 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
65463 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
65464 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
65465 * sysdeps/i386/init-first.c: File removed.
65466 * sysdeps/sh/init-first.c: File removed.
65467
65468 2012-10-01 Joseph Myers <joseph@codesourcery.com>
65469
65470 [BZ #14645]
65471 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
65472 if x * y might underflow to zero and z is zero.
65473 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
65474 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
65475 * math/libm-test.inc (min_subnorm_value): New variable.
65476 (fma_test): Add more tests.
65477 (fma_test_towardzero): Likewise.
65478 (fma_test_downward): Likewise.
65479 (fma_test_upward): Likewise.
65480 (initialize): Set min_subnorm_value.
65481
65482 2012-09-29 Joseph Myers <joseph@codesourcery.com>
65483
65484 [BZ #14638]
65485 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
65486 0 + 0.
65487 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
65488 mode for addition resulting in exact zero.
65489 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
65490 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
65491 exact 0 + 0.
65492 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
65493 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
65494 * math/libm-test.inc (fma_test): Add more tests.
65495 (fma_test_towardzero): New function.
65496 (fma_test_downward): Likewise.
65497 (fma_test_upward): Likewise.
65498 (main): Call the new functions.
65499
65500 2012-09-28 David S. Miller <davem@davemloft.net>
65501
65502 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
65503
65504 2012-09-28 Roland McGrath <roland@hack.frob.com>
65505
65506 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
65507 instead of SIGALRM.
65508
65509 * sysdeps/gnu/_G_config.h: Moved to ...
65510 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
65511 * sysdeps/mach/hurd/_G_config.h: Moved to ...
65512 * sysdeps/generic/_G_config.h: ... here.
65513
65514 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
65515
65516 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
65517
65518 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
65519 Conditionalize target on [libnss_test1.so-version].
65520
65521 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
65522
65523 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
65524 (elfobjdir): Move out of conditionals.
65525
65526 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
65527 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
65528 (__nss_lookup_function): Conditionalize label remove_from_tree on
65529 [!DO_STATIC_NSS || SHARED], matching its only use.
65530
65531 2012-09-28 David S. Miller <davem@davemloft.net>
65532
65533 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
65534 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
65535 file.
65536 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
65537 sysdep_routines.
65538 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
65539 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
65540 when HWCAP_SPARC_CRYPTO is present.
65541
65542 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
65543
65544 * io/tst-mknodat.c: Create a FIFO instead of a socket.
65545
65546 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
65547
65548 [BZ #6530]
65549 * stdio-common/vfprintf.c (process_string_arg): Revert
65550 2000-07-22 change.
65551
65552 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
65553
65554 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
65555 for testcase.
65556 * stdio-common/tst-sprintf.c: Include <locale.h>
65557 (main): Test sprintf's handling of incomplete multibyte
65558 characters.
65559
65560 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
65561
65562 * elf/dl-runtime.c (VERSYMIDX): Removed.
65563 * elf/dl-version.c (VERSYMIDX): Likewise.
65564 * elf/do-rel.h (VERSYMIDX): Likewise.
65565 (VALIDX): Likewise.
65566 * elf/dynamic-link.h (VERSYMIDX): Likewise.
65567 * elf/rtld.c (VALIDX): Likewise.
65568 (ADDRIDX): Likewise.
65569 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
65570 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
65571 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
65572 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
65573 (VALIDX): Likewise.
65574 (ADDRIDX): Likewise.
65575
65576 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
65577
65578 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
65579
65580 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
65581
65582 [BZ #11438]
65583 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
65584 to global scope.
65585 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
65586 addresses are in the same scope as 192.0.2/24.
65587 * posix/gai.conf: Document new scope table defaults.
65588
65589 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
65590
65591 [BZ #5298]
65592 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
65593 for ftell. Compute offsets from write pointers instead.
65594 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
65595
65596 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
65597
65598 [BZ #14543]
65599 * libio/Makefile (tests): New test case tst-fseek.
65600 * libio/tst-fseek.c: New test case to verify that fseek/ftell
65601 combination works in wide mode.
65602 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
65603 state when the external buffer state changes.
65604
65605 2012-09-27 David S. Miller <davem@davemloft.net>
65606
65607 [BZ #14376]
65608 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
65609 pass reloc->r_addend in as the 'high' argument to
65610 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
65611
65612 * sysdeps/sparc/fpu/libm-test-ulps: Update.
65613
65614 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
65615
65616 * rt/tst-aio2.c: Include <pthread.h>.
65617 * rt/tst-aio3.c: Likewise.
65618
65619 2012-09-27 Steve Ellcey <sellcey@mips.com>
65620
65621 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
65622
65623 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
65624
65625 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
65626 contents on [SHARED].
65627
65628 2012-09-26 Marek Polacek <polacek@redhat.com>
65629
65630 [BZ #14530]
65631 [BZ #13741]
65632 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
65633 for C++ and GCC <4.3 as well as for non GCC compilers.
65634
65635 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
65636
65637 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65638
65639 2012-09-25 Roland McGrath <roland@hack.frob.com>
65640
65641 * Makefile.in (all, install): Declare with .PHONY.
65642 Reported by Michael Hope <michael.hope@linaro.org>.
65643
65644 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
65645
65646 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
65647 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
65648 system header.
65649 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
65650 Likewise.
65651 (sydep_routines): Add the new and the internal functions.
65652 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
65653 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
65654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
65655 (GLIBC_2.17): Add the new function.
65656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
65657 (GLIBC_2.17): Likewise.
65658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
65659 (GLIBC_2.17): Likewise.
65660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
65661 (GLIBC_2.17): Likewise.
65662 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
65663
65664 2012-09-25 Alan Modra <amodra@gmail.com>
65665
65666 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
65667 Add release barrier before setting once_control to say
65668 initialisation is done. Add hints on lwarx. Use macro in
65669 place of isync.
65670 (clear_once_control): Add release barrier.
65671
65672 2012-09-25 Joseph Myers <joseph@codesourcery.com>
65673
65674 [BZ #13629]
65675 * math/s_clog.c (__clog): Handle more values close to |z| = 1
65676 specially.
65677 * math/s_clog10.c (__clog10): Likewise.
65678 * math/s_clog10f.c (__clog10f): Likewise.
65679 * math/s_clog10l.c (__clog10l): Likewise.
65680 * math/s_clogf.c (__clogf): Likewise.
65681 * math/s_clogl.c (__clogl): Likewise.
65682 * math/Makefile (libm-calls): Add x2y2m1.
65683 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
65684 (__x2y2m1): Likewise.
65685 (__x2y2m1l): Likewise.
65686 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
65687 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
65688 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
65689 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
65690 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
65691 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
65692 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
65693 * sysdeps/i386/fpu/libm-test-ulps: Update.
65694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65695
65696 [BZ #14621]
65697 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
65698 int as type of variable DEPTH.
65699 (glob): Use size_t instead of int as type of variables NEWCOUNT
65700 and OLD_PATHC.
65701
65702 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
65703
65704 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
65705 Add s_sincosf-sse2.
65706 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
65707 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
65708 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
65709 macros for using routine as __sincosf_ia32.
65710 Use macro for function declaration and weak_alias.
65711 * sysdeps/i386/fpu/libm-test-ulps: Update.
65712
65713 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
65714 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65715
65716 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
65717 subnormal argument.
65718 * math/s_cexpf.c (__cexpf): Likewise.
65719 * math/s_csinf.c (__csinf): Likewise.
65720 * math/s_csinhf.c (__csinhf): Likewise.
65721 * math/s_ctanf.c (__ctanf): Likewise.
65722 * math/s_ctanhf.c (__ctanhf): Likewise.
65723 * math/s_ccosh.c (__ccoshf): Likewise.
65724 * math/s_cexp.c (__cexpl): Likewise.
65725 * math/s_csin.c (__csin): Likewise.
65726 * math/s_csinh.c (__csinh): Likewise.
65727 * math/s_ctan.c (__ctan): Likewise.
65728 * math/s_ctanh.c (ctanh): Likewise.
65729 * math/s_ccoshl.c (__ccoshl): Likewise.
65730 * math/s_cexpl.c (__cexpl): Likewise.
65731 * math/s_csinl.c (__csinl): Likewise.
65732 * math/s_csinhl.c (__csinhl): Likewise.
65733 * math/s_ctanl.c (__ctanl): Likewise.
65734 * math/s_ctanhl.c (__ctanhl): Likewise.
65735
65736 2012-09-25 Joseph Myers <joseph@codesourcery.com>
65737
65738 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
65739 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
65740 (_IO_off_t): Define to __off_t, not _G_off_t.
65741 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
65742 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
65743 (_IO_wint_t): Define to wint_t, not _G_wint_t.
65744 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
65745 type of __dummy and __dummy2 fields.
65746 * sysdeps/generic/_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/gnu/_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 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
65761 (_G_ssize_t): Likewise.
65762 (_G_off_t): Likewise.
65763 (_G_pid_t): Likewise.
65764 (_G_uid_t): Likewise.
65765 (_G_wchar_t): Likewise.
65766 (_G_wint_t): Likewise.
65767
65768 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
65769
65770 * malloc/arena.c: Include malloc-sysdep.h.
65771 (shrink_heap): Use check_may_shrink_heap to decide if madvise
65772 is sufficient to shrink the heap or an unmap is needed.
65773 * sysdeps/generic/malloc-sysdep.h: New file. Define
65774 new function check_may_shrink_heap.
65775 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
65776 new function check_may_shrink_heap.
65777
65778 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
65779
65780 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
65781 comments.
65782
65783 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
65784
65785 * catgets/test-gencat.sh: Add "set -e".
65786 * elf/tst-pathopt.sh: Likewise.
65787 * grp/tst_fgetgrent.sh: Likewise.
65788 * iconvdata/run-iconv-test.sh: Likewise.
65789 * intl/tst-gettext.sh: Likewise.
65790 * intl/tst-gettext2.sh: Likewise.
65791 * intl/tst-gettext4.sh: Likewise.
65792 * intl/tst-gettext6.sh: Likewise.
65793 * intl/tst-translit.sh: Likewise.
65794 * io/ftwtest-sh: Likewise.
65795 * libio/test-freopen.sh: Likewise.
65796 * malloc/tst-mtrace.sh: Likewise.
65797 * posix/globtest.sh: Likewise.
65798 * posix/tst-getconf.sh: Likewise.
65799 * posix/wordexp-tst.sh: Likewise.
65800 * stdio-common/tst-printf.sh: Likewise.
65801 * stdio-common/tst-unbputc.sh: Likewise.
65802 * stdlib/tst-fmtmsg.sh: Likewise.
65803 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
65804 * catgets/Makefile: Do not specify -e option when running
65805 testsuite shell scripts.
65806 * elf/Makefile: Likewise.
65807 * grp/Makefile: Likewise.
65808 * iconvdata/Makefile: Likewise.
65809 * intl/Makefile: Likewise.
65810 * io/Makefile: Likewise.
65811 * libio/Makefile: Likewise.
65812 * malloc/Makefile: Likewise.
65813 * posix/Makefile: Likewise.
65814 * stdio-common/Makefile: Likewise.
65815 * stdlib/Makefile: Likewise.
65816 * sysdeps/x86_64/Makefile: Likewise.
65817
65818 * io/ftwtest-sh: Add copyright header.
65819 * posix/globtest.sh: Likewise.
65820 * posix/tst-getconf.sh: Likewise.
65821 * posix/wordexp-tst.sh: Likewise.
65822 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
65823
65824 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
65825
65826 [BZ #13679]
65827 * Makeconfig (+link): Defined as $(+link-static) if
65828 $(build-shared) isn't yes.
65829 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
65830 isn't yes.
65831 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
65832
65833 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
65834
65835 [BZ #14562]
65836 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
65837 new chunk size with MALLOC_ALIGN_MASK.
65838
65839 2012-09-24 Joseph Myers <joseph@codesourcery.com>
65840
65841 [BZ #5044]
65842 * stdio-common/printf_fphex.c: Include <stdbool.h> and
65843 <rounding-mode.h>.
65844 (__printf_fphex): Determine rounding using get_rounding_mode and
65845 round_away.
65846 * stdio-common/tst-printf-round.c (struct hex_test): New
65847 structure.
65848 (hex_tests): New variable.
65849 (test_hex_in_one_mode): New function.
65850 (do_test): Also run tests for hex float output.
65851
65852 2012-09-21 Joseph Myers <joseph@codesourcery.com>
65853
65854 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
65855 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
65856 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
65857 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
65858 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
65859 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
65860 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
65861 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
65862
65863 2012-09-20 Joseph Myers <joseph@codesourcery.com>
65864
65865 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
65866 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
65867 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
65868 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
65869
65870 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
65871
65872 [BZ #14579]
65873 * elf/rtld.c (dl_main): Limit the check for self loading to normal
65874 mode only.
65875 * elf/tst-rtld-load-self.sh: New test.
65876 * elf/Makefile: Run it.
65877
65878 2012-09-18 Joseph Myers <joseph@codesourcery.com>
65879
65880 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
65881 (tst-writev-ENV): Remove.
65882 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
65883
65884 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
65885
65886 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
65887
65888 2012-09-17 Joseph Myers <joseph@codesourcery.com>
65889
65890 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
65891 unconditional.
65892 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
65893 Likewise.
65894 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
65895 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
65896 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
65897 Likewise.
65898
65899 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
65900
65901 [BZ #14587]
65902 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
65903 * config.make.in (have-cpp-asm-debuginfo): Removed.
65904 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
65905 * configure: Regenerated.
65906
65907 2012-09-14 Joseph Myers <joseph@codesourcery.com>
65908
65909 [BZ #5044]
65910 * stdio-common/printf_fp.c: Include <stdbool.h> and
65911 <rounding-mode.h>.
65912 (___printf_fp): Determine rounding using get_rounding_mode and
65913 round_away.
65914 * stdio-common/tst-printf-round.c: New file.
65915 * stdio-common/Makefile (tests): Add tst-printf-round.
65916 (link-libm): New variable.
65917 ($(objpfx)tst-printf-round): Depend in $(link-libm).
65918
65919 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
65920
65921 [BZ #14576]
65922 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
65923 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
65924 Likewise.
65925 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
65926 Likewise.
65927
65928 2012-09-13 Joseph Myers <joseph@codesourcery.com>
65929
65930 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
65931 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
65932 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
65933 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
65934
65935 2012-09-12 Joseph Myers <joseph@codesourcery.com>
65936
65937 [BZ #14518]
65938 * include/rounding-mode.h: New file.
65939 * sysdeps/generic/get-rounding-mode.h: Likewise.
65940 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
65941 * stdlib/strtod_l.c: Include <rounding-mode.h>.
65942 (MAX_VALUE): New macro.
65943 (MIN_VALUE): Likewise.
65944 (overflow_value): New function.
65945 (underflow_value): Likewise.
65946 (round_and_return): Use overflow_value and underflow_value to
65947 determine return values in overflow and underflow cases. Use
65948 round_away to determine rounding depending on rounding mode.
65949 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
65950 determine return values in overflow and underflow cases.
65951 * stdlib/tst-strtod-round.c: Include <fenv.h>.
65952 (struct test_results): New structure.
65953 (struct test): Use struct test_results to store expected results
65954 for all rounding modes.
65955 (TEST): Include expected results for all rounding modes.
65956 (test_in_one_mode): New function.
65957 (do_test): Use test_in_one_mode to compute and check results.
65958 Check results for all rounding modes.
65959 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
65960 $(link-libm).
65961
65962 2012-12-09 Allan McRae <allan@archlinux.org>
65963
65964 * sysdeps/i386/fpu/libm-test-ulps: Update
65965
65966 2012-09-11 Joseph Myers <joseph@codesourcery.com>
65967
65968 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
65969 (_G_int32_t): Likewise.
65970 (_G_uint16_t): Likewise.
65971 (_G_uint32_t): Likewise.
65972 (_G_HAVE_BOOL): Likewise.
65973 (_G_HAVE_ATEXIT): Likewise.
65974 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
65975 (_G_HAVE_IO_FILE_OPEN): Likewise.
65976 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
65977 (_G_int32_t): Likewise.
65978 (_G_uint16_t): Likewise.
65979 (_G_uint32_t): Likewise.
65980 (_G_HAVE_BOOL): Likewise.
65981 (_G_HAVE_ATEXIT): Likewise.
65982 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
65983 (_G_HAVE_IO_FILE_OPEN): Likewise.
65984 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
65985 (_G_int32_t): Likewise.
65986 (_G_uint16_t): Likewise.
65987 (_G_uint32_t): Likewise.
65988 (_G_HAVE_BOOL): Likewise.
65989 (_G_HAVE_ATEXIT): Likewise.
65990 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
65991 (_G_HAVE_IO_FILE_OPEN): Likewise.
65992
65993 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
65994
65995 * csu/libc-tls.c: Update copyright years.
65996
65997 2012-09-10 Joseph Myers <joseph@codesourcery.com>
65998
65999 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
66000 [!_G_USING_THUNKS]: Remove conditional code.
66001 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
66002 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
66003
66004 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
66005 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
66006 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
66007 (_G_VTABLE_LABEL_PREFIX): Likewise.
66008 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
66009 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
66010 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
66011 (_G_VTABLE_LABEL_PREFIX): Likewise.
66012 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
66013 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
66014 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
66015 (_G_VTABLE_LABEL_PREFIX): Likewise.
66016 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
66017
66018 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
66019
66020 * libio/Makefile: Include ../Makeconfig before tests.
66021 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
66022 only if $(build-shared) is yes.
66023
66024 * iconv/gconv_db.c: Update copyright years.
66025
66026 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
66027
66028 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
66029 unwind info if defined PIC. Fix special cases description.
66030 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
66031
66032 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
66033 DP_HI_MASK entry.
66034 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
66035
66036 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
66037
66038 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
66039
66040 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
66041 is NULL.
66042
66043 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
66044 (LDLIBS-tst-chk4): This.
66045 (LDFLAGS-tst-chk5): Renamed to ...
66046 (LDLIBS-tst-chk5): This.
66047 (LDFLAGS-tst-chk6): Renamed to ...
66048 (LDLIBS-tst-chk6): This.
66049 (LDFLAGS-tst-lfschk4): Renamed to ...
66050 (LDLIBS-tst-lfschk4): This.
66051 (LDFLAGS-tst-lfschk5): Renamed to ...
66052 (LDLIBS-tst-lfschk5): This.
66053 (LDFLAGS-tst-lfschk6): Renamed to ...
66054 (LDLIBS-tst-lfschk6): This.
66055
66056 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
66057 on $(common-objpfx)soversions.mk.
66058
66059 2012-09-07 Joseph Myers <joseph@codesourcery.com>
66060
66061 [BZ #10014]
66062 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
66063 example host name.
66064
66065 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
66066
66067 * malloc/arena.c (arena_get_retry): New function that gets
66068 another arena for the caller to try its request on.
66069 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
66070 current arena cannot fulfill the request.
66071 (__libc_memalign): Likewise.
66072 (__libc_memalign): Likewise.
66073 (__libc_pvalloc): Likewise.
66074 (__libc_calloc): Likewise.
66075
66076 2012-09-05 John Tobey <john.tobey@gmail.com>
66077
66078 [BZ #13542]
66079 * manual/arith.texi (Operations on Complex): Fix description
66080 of carg branch cut.
66081
66082 2012-09-06 Joseph Myers <joseph@codesourcery.com>
66083
66084 [BZ #10014]
66085 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
66086 host name.
66087
66088 [BZ #10038]
66089 * manual/memory.texi (Memory): Make order of menu items match
66090 order of sections.
66091
66092 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
66093
66094 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
66095 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
66096 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
66097
66098 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
66099
66100 * csu/libc-tls.c (static_dtv): Renamed to ...
66101 (_dl_static_dtv): This. Make it global.
66102 (_dl_initial_dtv): Removed.
66103 (__libc_setup_tls): Updated.
66104 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
66105 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
66106 DL_INITIAL_DTV.
66107
66108 2012-09-06 Petr Machata <pmachata@redhat.com>
66109
66110 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
66111 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
66112 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
66113 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
66114
66115 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
66116
66117 [BZ #14545]
66118 * csu/libc-tls.c (_dl_initial_dtv): New variable.
66119 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
66120 freeing dtv[-1].
66121
66122 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
66123
66124 [BZ #14544]
66125 * Makeconfig (link-static-before-libc): Replace $(+prector)
66126 with $(+prectorT).
66127 (link-static-after-libc): Replace $(+postctor) with
66128 $(+postctorT).
66129 (link-bounded): Replace $(+prector)/$(+postctor) with
66130 $(+prectorT)/$(+postctorT).
66131 (+prectorT): New macro.
66132 (+postctorT): Likewise.
66133
66134 2012-09-06 Joseph Myers <joseph@codesourcery.com>
66135
66136 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
66137 (round_str): Handle values above the maximum for IBM long double
66138 as inexact.
66139 * stdlib/tst-strtod-round.c (tests): Regenerated.
66140
66141 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
66142
66143 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
66144 assembler flag.
66145 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
66146 zarch_nohighgprs around the zarch optimized routines.
66147 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
66148 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
66149 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
66150 for zarch.
66151
66152 2012-09-05 David S. Miller <davem@davemloft.net>
66153
66154 * sysdeps/sparc/fpu/libm-test-ulps: Update.
66155
66156 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
66157 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
66158 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
66159 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
66160 entries.
66161
66162 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
66163
66164 * malloc/arena.c: Fold copyright years.
66165 * malloc/mcheck.c, malloc/memusage.c: Likewise.
66166
66167 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
66168
66169 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
66170
66171 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
66172
66173 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
66174
66175 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
66176
66177 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
66178 change internal state upon failure.
66179
66180 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
66181
66182 * malloc/mcheck.c (mcheck_check_all): Fix typo.
66183 * malloc/memusage.c (mmap): Likewise.
66184 (mmap64, mremap): Likewise. Adjust name in comment.
66185
66186 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
66187
66188 * libio/fileops.c: Fix typos in comments.
66189 * libio/oldfileops.c: Likewise.
66190 * libio/wfileops.c: Likewise.
66191
66192 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
66193
66194 [BZ #1349]
66195 * malloc/Makefile (tests): Add tst-malloc-usable test case.
66196 (tst-malloc-usable-ENV): Set environment for test case.
66197 * malloc/hooks.c (malloc_check_get_size): New function to get
66198 requested size.
66199 * malloc/malloc.c (musable): Use malloc_check_get_size.
66200 * malloc/tst-malloc-usable.c: New test case.
66201
66202 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
66203
66204 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
66205
66206 2012-09-05 Allan McRae <allan@archlinux.org>
66207
66208 [BZ #13966]
66209 * configure.in (CXX_SYSINCLUDES): Use compiler output to
66210 determine header location.
66211 * configure: Regenerated.
66212
66213 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
66214
66215 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
66216 float format.
66217 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
66218 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
66219 format.
66220 (test): Regenerate.
66221
66222 2012-09-04 David S. Miller <davem@davemloft.net>
66223
66224 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
66225 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
66226 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
66227
66228 2012-09-04 Florian Weimer <fweimer@redhat.com>
66229
66230 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
66231 failures.
66232
66233 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
66234
66235 2012-09-04 Joseph Myers <joseph@codesourcery.com>
66236
66237 [BZ #9914]
66238 * libio/iogetdelim.c: Include <limits.h>.
66239 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
66240 + len + 1 would overflow.
66241
66242 2012-09-03 Andreas Jaeger <aj@suse.de>
66243
66244 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66245 * sysdeps/i386/fpu/libm-test-ulps: Update.
66246
66247 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
66248
66249 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
66250 Add s_sinf-sse2, s_conf-sse2.
66251
66252 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
66253 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
66254 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
66255 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
66256
66257 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
66258 for using routine as __sinf_ia32.
66259 Use macro for function declaration and weak_alias.
66260 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
66261 for using routine as __cosf_ia32.
66262 Use macro for function declaration and weak_alias.
66263
66264 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
66265 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
66266
66267 * sysdeps/x86_64/fpu/s_sinf.S: New file.
66268 * sysdeps/x86_64/fpu/s_cosf.S: New file.
66269 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66270
66271 * math/libm-test.inc (cos_test): Add more test cases.
66272 (sin_test): Likewise.
66273 (sincos_test): Likewise.
66274
66275 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
66276
66277 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
66278 (IFUNC_RESOLVE): Make pointers to the specialized implementations
66279 hidden.
66280 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
66281
66282 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
66283
66284 [BZ #14538]
66285 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
66286 first element of the GOT.
66287 (elf_machine_load_address): Return the difference between
66288 the runtime address of _DYNAMIC and elf_machine_dynamic ().
66289
66290 2012-09-01 Allan McRae <allan@archlinux.org>
66291
66292 [BZ #13412]
66293 * configure.in (AWK): Require gawk version 3.0 or later.
66294 * configure: Regenerated.
66295
66296 2012-09-01 Joseph Myers <joseph@codesourcery.com>
66297
66298 * sysdeps/unix/sysv/linux/kernel-features.h
66299 (__ASSUME_POSIX_CPU_TIMERS): Remove.
66300 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
66301 [__NR_clock_getres]: Make code unconditional.
66302 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
66303 (clock_getcpuclockid): Remove code left unreachable by removal of
66304 conditionals.
66305 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
66306 code unconditional.
66307 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
66308 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
66309 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
66310 Make code unconditional.
66311 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
66312 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
66313 * sysdeps/unix/sysv/linux/clock_settime.c
66314 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
66315 conditional code.
66316 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
66317 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
66318
66319 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
66320
66321 [BZ #14476]
66322 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
66323 scripts/test-installation.pl.
66324
66325 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
66326 and $ld_so_version if it is set.
66327
66328 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
66329
66330 [BZ #14516]
66331 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
66332 failure if reading from procfs failed.
66333 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
66334
66335 2012-08-27 Joseph Myers <joseph@codesourcery.com>
66336
66337 * sysdeps/unix/sysv/linux/kernel-features.h
66338 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
66339 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
66340 Remove conditional code.
66341 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66342 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
66343 Remove conditional code.
66344 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66345 * sysdeps/unix/sysv/linux/i386/fxstat.c
66346 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
66347 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66348 * sysdeps/unix/sysv/linux/i386/fxstatat.c
66349 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
66350 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66351 * sysdeps/unix/sysv/linux/i386/lxstat.c
66352 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
66353 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66354 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
66355 Remove conditional code.
66356 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66357 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
66358 Remove conditional code.
66359 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66360 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
66361 <kernel-features.h>.
66362 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
66363 Remove.
66364 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
66365 Remove conditional code.
66366 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66367 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
66368 Remove conditional.
66369
66370 2012-08-27 Mike Frysinger <vapier@gentoo.org>
66371
66372 [BZ #5400]
66373 * NEWS: Add fixed bug number.
66374
66375 2012-08-27 Joseph Myers <joseph@codesourcery.com>
66376
66377 [BZ #14519]
66378 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
66379 underflowing exponent in case of negative sign.
66380 * stdlib/tst-strtod-round-data: Add more tests.
66381 * stdlib/tst-strtod-round.c (tests): Regenerated.
66382
66383 [BZ #3479]
66384 * stdlib/strtod_l.c (NDIG): Remove.
66385 (HEXNDIG): Likewise.
66386 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
66387 smallest representable value.
66388 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
66389 lie within an exact representation of 1/2 ulp of the result.
66390 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
66391 unconditionally.
66392 (TENS_P9_IDX): Define unconditionally.
66393 (TENS_P9_SIZE): Likewise.
66394 (TENS_P10_IDX): Likewise.
66395 (TENS_P10_SIZE): Likewise.
66396 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
66397 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
66398 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
66399 entries for 10^2^13 and 10^2^14.
66400 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
66401 (TENS_P13_IDX): Define.
66402 (TENS_P13_SIZE): Likewise.
66403 (TENS_P14_IDX): Likewise.
66404 (TENS_P14_SIZE): Likewise.
66405 (_fpioconst_pow10): Change array size to
66406 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
66407 unconditional.
66408 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
66409 1024]: Add entries for 10^2^13 and 10^2^14.
66410 [LAST_POW10 > _LAST_POW10]: Remove #error.
66411 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
66412 (_fpioconst_pow10): Change array size to
66413 FPIOCONST_POW10_ARRAY_SIZE.
66414 * stdlib/gen-fpioconst.c: New file.
66415 * stdlib/gen-tst-strtod-round.c: Likewise.
66416 * stdlib/tst-strtod-round-data: Likewise.
66417 * stdlib/tst-strtod-round.c: Likewise.
66418 * stdlib/Makefile (tests): Add tst-strtod-round.
66419
66420 [BZ #14459]
66421 * stdlib/strtod_l.c: Include <stdint.h>.
66422 (NDEBUG): Do not define.
66423 (round_and_return): Change EXPONENT parameter to type intmax_t.
66424 Rearrange calculations to avoid internal overflow possibilities.
66425 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
66426 Rearrange calculations to avoid internal overflow possibilities.
66427 Assert that number fits inside MPNSIZE limbs.
66428 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
66429 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
66430 calculations and add assertions to avoid internal overflow
66431 possibilities. Add casts to avoid signed/unsigned operations.
66432 * stdlib/tst-strtod-overflow.c: New file.
66433 * stdlib/Makefile (tests): Add tst-strtod-overflow.
66434
66435 2012-08-25 Marek Polacek <polacek@redhat.com>
66436
66437 * time/time.h: Fix some typos in comments.
66438
66439 2012-08-23 Roland McGrath <roland@hack.frob.com>
66440
66441 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
66442 * posix/tst-rfc3484-2.c: Likewise.
66443 * posix/tst-rfc3484-3.c: Likewise.
66444
66445 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
66446
66447 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
66448 (EF_ARM_ABI_FLOAT_HARD): Likewise.
66449
66450 2012-08-23 Joseph Myers <joseph@codesourcery.com>
66451
66452 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
66453 #include of fxstatat64.c.
66454
66455 2012-08-22 Roland McGrath <roland@hack.frob.com>
66456
66457 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
66458 * shadow/getspent_r.c: Likewise.
66459 * shadow/getspnam.c: Likewise.
66460 * shadow/getspnam_r.c: Likewise.
66461 * gshadow/getsgent.c: Likewise.
66462 * gshadow/getsgent_r.c: Likewise.
66463 * gshadow/getsgnam.c: Likewise.
66464 * gshadow/getsgnam_r.c: Likewise.
66465 * inet/getnetbyad.c: Likewise.
66466 * inet/getnetbyad_r.c: Likewise.
66467 * inet/getnetbynm.c: Likewise.
66468 * inet/getnetbynm_r.c: Likewise.
66469 * inet/getnetent.c: Likewise.
66470 * inet/getnetent_r.c: Likewise.
66471 * inet/getproto.c: Likewise.
66472 * inet/getproto_r.c: Likewise.
66473 * inet/getprtent.c: Likewise.
66474 * inet/getprtent_r.c: Likewise.
66475 * inet/getprtname.c: Likewise.
66476 * inet/getprtname_r.c: Likewise.
66477 * inet/getrpcbyname.c: Likewise.
66478 * inet/getrpcbyname_r.c: Likewise.
66479 * inet/getrpcbynumber.c: Likewise.
66480 * inet/getrpcbynumber_r.c: Likewise.
66481 * inet/getrpcent.c: Likewise.
66482 * inet/getrpcent_r.c: Likewise.
66483 * inet/getaliasent.c: Likewise.
66484 * inet/getaliasent_r.c: Likewise.
66485 * inet/getaliasname.c: Likewise.
66486 * inet/getaliasname_r.c: Likewise.
66487 * nscd/getgrgid_r.c: Likewise.
66488 * nscd/getgrnam_r.c: Likewise.
66489 * nscd/gethstbyad_r.c: Likewise.
66490 * nscd/gethstbynm3_r.c: Likewise.
66491 * nscd/getpwnam_r.c: Likewise.
66492 * nscd/getpwuid_r.c: Likewise.
66493 * nscd/getsrvbynm_r.c: Likewise.
66494 * nscd/getsrvbypt_r.c: Likewise.
66495 * nscd/gai.c: Likewise.
66496
66497 * configure.in (build_nscd): New substituted variable, set
66498 by --disable-build-nscd and defaults to $use_nscd.
66499 * configure: Regenerated.
66500 * config.make.in (build-nscd): New substituted variable.
66501 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
66502 Change conditional to require [$(build-nscd) = yes] as well.
66503 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
66504
66505 [BZ# 13696]
66506 * configure.in (use_nscd): New substituted variable, set by
66507 --disable-nscd. If enabled, define USE_NSCD.
66508 * configure: Regenerated.
66509 * config.h.in: Add USE_NSCD.
66510 * config.make.in (use-nscd): New substituted variable.
66511 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
66512 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
66513 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
66514 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
66515 (CFLAGS-getgrnam_r.c): Likewise.
66516 (CFLAGS-initgroups.c): Likewise.
66517 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
66518 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
66519 Variables removed.
66520 * inet/getnetgrent_r.c
66521 (nscd_setnetgrent): New function, broken out of ...
66522 (setnetgrent): ... here. Call it.
66523 (innetgr): Conditionalize nscd bits on [USE_NSCD].
66524 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
66525 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
66526 * nscd/Makefile (routines, aux): Move definitions after include of
66527 Makeconfig. Conditionalize on [$(use-nscd) != no].
66528 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
66529 Conditionalize on [USE_NSCD].
66530 (is_nscd, nscd_init_cb): Likewise.
66531 (nss_load_library): Conditionalize init callback on [USE_NSCD].
66532 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
66533 * nss/nss_db/db-init.c: Likewise.
66534 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
66535 [USE_NSCD].
66536 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
66537 (make_request): Use it.
66538 (cache_valid_p): New function.
66539 (__check_pf): Use it.
66540 * NEWS: Add item for --disable-nscd.
66541
66542 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
66543
66544 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
66545 to support sed >= 4.2.1-20-ga9bf076.
66546 * configure: Regenerated.
66547
66548 2012-08-22 Roland McGrath <roland@hack.frob.com>
66549
66550 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
66551 Conditionalize whole body on [IREL].
66552
66553 2012-08-22 Jeff Law <law@redhat.com>
66554
66555 [BZ #14505]
66556 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
66557 if the family is PF_UNSPEC.
66558
66559 2012-08-22 Mike Frysinger <vapier@gentoo.org>
66560
66561 * Makerules (lib-version): Rename from V.
66562 (install-lib-nosubdir): Change V to lib-version.
66563
66564 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
66565
66566 [BZ #14252]
66567 * powerpc32/power6/wcschr.c: New file.
66568 * powerpc32/power6/wcscpy.c: New file.
66569 * powerpc32/power6/wcsrchr.c: New file.
66570 * powerpc64/power6/wcschr.c: New file.
66571 * powerpc64/power6/wcscpy.c: New file.
66572 * powerpc64/power6/wcsrchr.c: New file.
66573
66574 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
66575
66576 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
66577 (two_way_short_needle): Use it.
66578 * string/strstr.c (AVAILABLE1_USES_J): Define.
66579 * string/strcasestr.c: Likewise.
66580
66581 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
66582 array references.
66583 * string/strcasestr.c (TOLOWER): Make side-effect safe.
66584
66585 [BZ #11607]
66586 * NEWS: Add an entry.
66587 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
66588 define their defaults.
66589 (two_way_short_needle): Detect end-of-string on-the-fly.
66590 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
66591 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
66592 * string/bug-strcasestr1.c: New test.
66593 * string/Makefile: Run it.
66594
66595 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
66596
66597 [BZ #11607]
66598 * string/str-two-way.h (two_way_short_needle): Optimize matching of
66599 the first character.
66600
66601 2012-08-21 Roland McGrath <roland@hack.frob.com>
66602
66603 * csu/elf-init.c (__libc_csu_irel): Function removed.
66604 * csu/libc-start.c (apply_irel): New function.
66605 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
66606
66607 2012-08-21 Joseph Myers <joseph@codesourcery.com>
66608
66609 * sysdeps/unix/sysv/linux/kernel-features.h
66610 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
66611 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
66612 <kernel-features.h>.
66613 [__NR_fadvise64_64]: Make code unconditional.
66614 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
66615 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
66616 !__NR_fadvise64_64)]: Likewise.
66617 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
66618 !__NR_fadvise64_64))]: Likewise.
66619 [__NR_fadvise64]: Make code unconditional.
66620 [!__NR_fadvise64]: Remove conditional code.
66621 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
66622 <kernel-features.h>.
66623 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
66624 unconditional.
66625 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
66626 conditional code.
66627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
66628 not include <kernel-features.h>.
66629 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
66630 unconditional.
66631 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
66632 conditional code.
66633 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
66634 include <kernel-features.h>.
66635 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
66636 unconditional.
66637 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
66638 conditional code.
66639
66640 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
66641
66642 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
66643 slight instruction rearrangements per scrollpipe analysis.
66644 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
66645
66646 2012-08-20 Roland McGrath <roland@hack.frob.com>
66647
66648 * manual/syslog.texi (syslog; vsyslog, closelog):
66649 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
66650 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
66651
66652 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
66653 DSOCAPS to match condition on defining it.
66654
66655 2012-08-20 Joseph Myers <joseph@codesourcery.com>
66656
66657 * sysdeps/unix/sysv/linux/kernel-features.h
66658 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
66659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
66660 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
66661 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
66662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
66663 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
66664 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
66665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
66666 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
66667 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
66668
66669 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
66670 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
66671
66672 * sysdeps/unix/sysv/linux/kernel-features.h
66673 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
66674 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
66675 unconditional.
66676 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
66677 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
66678 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
66679 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
66680 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
66681 Make code unconditional.
66682 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
66683 (__mmap64) [!__NR_mmap2]: Likewise.
66684 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
66685 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
66686 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
66687 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
66688 [__NR_mmap2]: Make code unconditional.
66689 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
66690 (__mmap64) [!__NR_mmap2]: Likewise.
66691
66692 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
66693
66694 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
66695
66696 2012-08-18 Andreas Jaeger <aj@suse.de>
66697
66698 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
66699
66700 2012-08-18 Mike Frysinger <vapier@gentoo.org>
66701
66702 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
66703 * include/unistd.h (__have_sock_cloexec): Likewise.
66704 (__have_pipe2): Likewise.
66705 (__have_dup3): Likewise.
66706
66707 2012-08-18 Mike Frysinger <vapier@gentoo.org>
66708
66709 [BZ #9685]
66710 * include/unistd.h (__have_pipe2): Change define into an extern int.
66711 (__have_dup3): Likewise.
66712 * socket/have_sock_cloexec.c: Include fcntl.h.
66713 (__have_pipe2): New variable.
66714 (__have_dup3): Likewise.
66715
66716 2012-08-17 Mike Frysinger <vapier@gentoo.org>
66717
66718 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
66719
66720 2012-08-17 Marek Polacek <polacek@redhat.com>
66721
66722 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
66723 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
66724
66725 2012-08-17 Roland McGrath <roland@hack.frob.com>
66726
66727 * configure.in: Add AC_SUBST for sysheaders.
66728 * configure: Regenerated.
66729 * config.make.in (sysheaders): New substituted variable.
66730
66731 * sysdeps/unix/mkfifo.c: Moved ...
66732 * sysdeps/posix/mkfifo.c: ... here.
66733 * sysdeps/unix/mkfifoat.c: Moved ...
66734 * sysdeps/posix/mkfifoat.c: ... here.
66735
66736 * sysdeps/unix/utime.c: Moved ...
66737 * sysdeps/posix/utime.c: ... here.
66738
66739 * sysdeps/unix/time.c: Moved ...
66740 * sysdeps/posix/time.c: ... here.
66741 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
66742 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
66743
66744 * sysdeps/unix/nice.c: Moved ...
66745 * sysdeps/posix/nice.c: ... here.
66746
66747 * sysdeps/unix/alarm.c: Moved ...
66748 * sysdeps/posix/alarm.c: ... here.
66749
66750 * intl/Makefile ($(codeset_mo)): Depend on the input file.
66751
66752 2012-08-17 Jeff Law <law@redhat.com>
66753
66754 * intl/Makefile (codeset_mo): New variable.
66755 ($(codeset_mo)): New target.
66756 (tst-codeset.out): Depend on that. Remove explicit rule.
66757 (tst-gettext3.out, tst-gettext5.out): Likewise.
66758 (LOCPATH-ENV, tst-codeset-ENV): New variables.
66759 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
66760 * intl/tst-codeset.sh: Remove.
66761 * intl/tst-gettext3.sh: Likewise.
66762 * intl/tst-gettext5.sh: Likewise.
66763
66764 2012-08-17 Roland McGrath <roland@hack.frob.com>
66765
66766 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
66767 * sysdeps/unix/syscalls.list: ... here.
66768
66769 * sysdeps/posix/getaddrinfo.c
66770 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
66771 (gaiconf_init, gaiconf_reload): Use them.
66772 [!_STATBUF_ST_NSEC]
66773 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
66774 Define using time_t rather than struct timespec.
66775
66776 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
66777 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
66778 Macros removed.
66779 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
66780 [!NO_THREADS].
66781 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
66782 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
66783 Likewise.
66784
66785 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
66786 __libc_cleanup_push argument.
66787
66788 * bits/param.h: New file.
66789 * misc/sys/param.h: New file.
66790 * include/sys/param.h: New file.
66791 * misc/Makefile (headers): Add bits/param.h.
66792 * sysdeps/generic/sys/param.h: File removed.
66793 * sysdeps/unix/sysv/linux/bits/param.h: New file.
66794 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
66795 * sysdeps/mach/hurd/bits/param.h: New file.
66796 * sysdeps/mach/hurd/sys/param.h: File removed.
66797
66798 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
66799 last change.
66800
66801 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
66802 [_IO_MTSAFE_IO].
66803 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
66804 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
66805 New macros.
66806
66807 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
66808 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
66809 rather than -D_IO_MTSAFE_IO conditionally.
66810 * stdio-common/Makefile (CPPFLAGS): Likewise.
66811 * wcsmbs/Makefile (CPPFLAGS): Likewise.
66812 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
66813 Use $(libio-mtsafe).
66814 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
66815 of -D_IO_MTSAFE_IO.
66816 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
66817 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
66818 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
66819 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
66820 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
66821 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
66822 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
66823 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
66824 (CFLAGS-fread_u_chk.c): Likewise.
66825 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
66826 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
66827 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
66828 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
66829 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
66830 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
66831 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
66832 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
66833 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
66834
66835 * libio/Makefile: Test [$(libc-reentrant) = yes]
66836 instead of [$(filter %REENTRANT, $(defines)) nonempty].
66837
66838 * Makeconfig
66839 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
66840 * sysdeps/pthread/configure: File removed.
66841 * sysdeps/pthread/Makeconfig: New file.
66842 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
66843 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
66844
66845 2012-08-16 Gary Benson <gbenson@redhat.com>
66846
66847 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
66848 unmapping the first object in a namespace.
66849
66850 2012-08-16 Roland McGrath <roland@hack.frob.com>
66851
66852 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
66853 (__internal_setnetgrent): ... this. Add internal_function to
66854 definition. Add libc_hidden_def.
66855 (setnetgrent): Update caller.
66856 (internal_endnetgrent): Renamed to ...
66857 (__internal_endnetgrent): ... this. Add internal_function to
66858 definition. Add libc_hidden_def.
66859 (endnetgrent): Update caller.
66860 (internal_getnetgrent_r): Renamed to ...
66861 (__internal_getnetgrent_r): ... this. Add internal_function to
66862 definition. Add libc_hidden_def.
66863 (__getnetgrent_r): Update caller.
66864 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
66865
66866 2012-08-16 Joseph Myers <joseph@codesourcery.com>
66867
66868 * stdlib/longlong.h: Update from GCC.
66869
66870 2012-08-16 Roland McGrath <roland@hack.frob.com>
66871
66872 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
66873 on _QL, which is set by umul_ppmm but never used.
66874 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
66875 variables, which are set by GMP macros but never used.
66876 * stdio-common/_itowa.c (_itowa): Likewise.
66877 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
66878 * stdlib/mod_1.c (mpn_mod_1): Likewise.
66879
66880 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
66881
66882 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
66883 struct La_sh_regs is not constant.
66884 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
66885 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
66886 and struct La_sparc64_regs are not constant.
66887
66888 2012-08-16 Joseph Myers <joseph@codesourcery.com>
66889
66890 * sysdeps/unix/sysv/linux/kernel-features.h
66891 (__ASSUME_POSIX_TIMERS): Remove.
66892 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
66893 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
66894 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
66895 Make code unconditional.
66896 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
66897 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
66898 Make code unconditional.
66899 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
66900 * sysdeps/unix/sysv/linux/clock_nanosleep.c
66901 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
66902 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
66903 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
66904 Make code unconditional.
66905 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
66906 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
66907 (__libc_missing_posix_timers): Remove.
66908
66909 2012-08-15 Roland McGrath <roland@hack.frob.com>
66910
66911 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
66912 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
66913
66914 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
66915
66916 * elf/dl-sym.c: Include <stdlib.h>.
66917
66918 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
66919 constants, which avoids warnings in 32-bit builds.
66920
66921 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
66922 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
66923
66924 * misc/lseek.c: File moved to ...
66925 * io/lseek.c: ... here.
66926
66927 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
66928
66929 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
66930 shifting LEN more than 31 bits at once.
66931
66932 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
66933
66934 [BZ #14195]
66935 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
66936 segmentation fault for a case of two empty input strings.
66937 * string/test-strncasecmp.c (check1): Renamed to...
66938 (bz12205): ...this.
66939 (bz14195): Add new testcase for two empty input strings and N > 0.
66940 (test_main): Call new testcase, adapt for renamed function.
66941
66942 2012-08-15 Andreas Jaeger <aj@suse.de>
66943
66944 [BZ #14090]
66945 * crypt/md5test2.c: New test, based on test supplied by Serge
66946 Belyshev <belyshev@depni.sinp.msu.ru>.
66947 * crypt/Makefile (xtests): Add md5test-giant..
66948 * crypt/Makefile ($(objpfx)md5test-giant): Add.
66949
66950 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
66951
66952 [BZ #14090]
66953 * crypt/md5.c (md5_process_block): Don't assume the buffer
66954 length is less than 2**32.
66955 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
66956 length is less than 2**64.
66957
66958 2012-08-15 Roland McGrath <roland@hack.frob.com>
66959
66960 * string/str-two-way.h: Include <sys/param.h>.
66961 (MAX): Macro removed.
66962
66963 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
66964 Move #define and #undef of memmove to just before and after
66965 including <string.h>.
66966
66967 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
66968 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
66969 and after including <string.h>. Move declarations of
66970 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
66971 to before #include "string/memmove.c".
66972
66973 * include/dirent.h: Declare __getdirentries.
66974
66975 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
66976 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
66977
66978 2012-08-14 Mike Frysinger <vapier@gentoo.org>
66979
66980 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
66981 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
66982 * sysdeps/i386/configure: Regenerated.
66983 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
66984 STABS_CURRENT_FILE, and STABS_FUN.
66985 (END): Remove call to STABS_FUN_END.
66986 (STABS_CURRENT_FILE1): Delete.
66987 (STABS_CURRENT_FILE): Likewise.
66988 (STABS_FUN): Likewise.
66989 (STABS_FUN_END): Likewise.
66990 (STABS_FUN2): Likewise.
66991 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
66992 * sysdeps/x86_64/configure: Regenerated.
66993
66994 2012-08-14 Roland McGrath <roland@hack.frob.com>
66995
66996 * elf/dl-open.c: Include <atomic.h>.
66997 * elf/dl-lookup.c: Likewise.
66998
66999 2012-08-14 Joseph Myers <joseph@codesourcery.com>
67000
67001 * sysdeps/unix/sysv/linux/kernel-features.h
67002 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
67003 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
67004 unconditionally.
67005 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
67006 unconditionally.
67007 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
67008 condition on __ASSUME_CLONE_THREAD_FLAGS.
67009
67010 2012-08-14 Andreas Jaeger <aj@suse.de>
67011
67012 * sysdeps/i386/fpu/libm-test-ulps: Update.
67013
67014 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
67015
67016 * include/atomic.h (atomic_exchange_and_add): Split into ...
67017 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
67018 New atomic macros.
67019
67020 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
67021
67022 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67023
67024 2012-08-13 Jeff Law <law@redhat.com>
67025
67026 * manual/stdio.texi (snprintf): Clarify handling of the trailing
67027 null byte in the output string.
67028
67029 2012-08-10 Joseph Myers <joseph@codesourcery.com>
67030
67031 * sysdeps/unix/sysv/linux/kernel-features.h
67032 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
67033 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
67034 (__ASSUME_ARG_MAX_STACK_BASED): Define.
67035 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
67036 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
67037 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
67038 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
67039
67040 2012-08-09 Jeff Law <law@redhat.com>
67041
67042 [BZ #13939]
67043 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
67044 When avoid_arena is set, don't retry in the that arena. Pick the
67045 next one, whatever it might be.
67046 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
67047 (arena_lock): Pass in new parameter to arena_get2.
67048 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
67049 arena_get2.
67050 (__libc_malloc): Unify retrying after main arena failure with
67051 __libc_memalign version.
67052 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
67053
67054 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
67055
67056 [BZ #14166]
67057 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
67058 to __redirect_strstr.
67059 (__strstr_sse42): Use typeof __redirect_strstr.
67060 (__strstr_ia32): Likewise.
67061 (__libc_strstr): New prototype.
67062 (strstr): Renamed to ...
67063 (__libc_strstr): This.
67064 (strstr): New strong alias of __libc_strstr.
67065 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
67066 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
67067 __redirect_time.
67068 Include <time.h>.
67069 (__libc_time): New prototype.
67070 (time_ifunc): Replace time with __libc_time.
67071 (time): New strong alias and hidden definition of __libc_time.
67072 (__GI_time): Remove strong alias.
67073 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
67074 Include <stddef.h>.
67075 (memmove): Redefined to __redirect_memmove.
67076 (__memmove_sse2): Use typeof __redirect_memmove.
67077 (__memmove_ssse3): Likewise.
67078 (__memmove_ssse3_back): Likewise.
67079 (__libc_memmove): New prototype.
67080 (memmove): Renamed to ...
67081 (__libc_memmove): This.
67082 (memmove): New strong alias of __libc_memmove.
67083
67084 2012-08-08 Mark Salter <msalter@redhat.com>
67085
67086 * elf/elf.h
67087 (R_MN10300_TLS_GD): Define.
67088 (R_MN10300_TLS_LD): Likewise.
67089 (R_MN10300_TLS_LDO): Likewise.
67090 (R_MN10300_TLS_GOTIE): Likewise.
67091 (R_MN10300_TLS_IE): Likewise.
67092 (R_MN10300_TLS_LE): Likewise.
67093 (R_MN10300_TLS_DTPMOD): Likewise.
67094 (R_MN10300_TLS_DTPOFF): Likewise.
67095 (R_MN10300_TLS_TPOFF): Likewise.
67096 (R_MN10300_SYM_DIFF): Likewise.
67097 (R_MN10300_ALIGN): Likewise.
67098 (R_MN10300_NUM): Update.
67099
67100 2012-08-08 Joseph Myers <joseph@codesourcery.com>
67101
67102 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
67103 Remove.
67104
67105 2012-08-08 Roland McGrath <roland@hack.frob.com>
67106
67107 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
67108
67109 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
67110 sysdeps/unix -> sysdeps/posix move.
67111 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
67112
67113 2012-08-07 Allan McRae <allan@archlinux.org>
67114
67115 [BZ #14303]
67116 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
67117 (SUNOS_CPP): Likewise.
67118 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
67119 not found.
67120 (open_input): Call CPP using execvp.
67121
67122 2012-08-07 Joseph Myers <joseph@codesourcery.com>
67123
67124 * sysdeps/unix/sysv/linux/kernel-features.h
67125 (__ASSUME_PROT_GROWSUPDOWN): Remove.
67126 (__ASSUME_NO_CLONE_DETACHED): Likewise.
67127 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
67128 (__ASSUME_WAITID_SYSCALL): Likewise.
67129 * sysdeps/unix/sysv/linux/dl-execstack.c
67130 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
67131 code unconditional.
67132 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
67133 conditional code.
67134 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
67135 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
67136 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
67137 code.
67138 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
67139 unconditional.
67140 [__ASSUME_WAITID_SYSCALL]: Likewise.
67141 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
67142
67143 2012-08-07 Roland McGrath <roland@hack.frob.com>
67144
67145 * sysdeps/unix/closedir.c: Renamed to ...
67146 * sysdeps/posix/closedir.c: ... here.
67147 * sysdeps/unix/dirfd.c: Renamed to ...
67148 * sysdeps/posix/dirfd.c: ... here.
67149 * sysdeps/unix/dirstream.h: Renamed to ...
67150 * sysdeps/posix/dirstream.h: ... here.
67151 * sysdeps/unix/fdopendir.c: Renamed to ...
67152 * sysdeps/posix/fdopendir.c: ... here.
67153 * sysdeps/unix/opendir.c: Renamed to ...
67154 * sysdeps/posix/opendir.c: ... here.
67155 * sysdeps/unix/readdir.c: Renamed to ...
67156 * sysdeps/posix/readdir.c: ... here.
67157 * sysdeps/unix/readdir_r.c: Renamed to ...
67158 * sysdeps/posix/readdir_r.c: ... here.
67159 * sysdeps/unix/rewinddir.c: Renamed to ...
67160 * sysdeps/posix/rewinddir.c: ... here.
67161 * sysdeps/unix/seekdir.c: Renamed to ...
67162 * sysdeps/posix/seekdir.c: ... here.
67163 * sysdeps/unix/telldir.c: Renamed to ...
67164 * sysdeps/posix/telldir.c: ... here.
67165 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
67166 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
67167 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
67168 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
67169
67170 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
67171 * bits/fcntl.h: ... here.
67172
67173 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
67174 not 0.
67175 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
67176 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
67177 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
67178 (struct flock): Move l_start, l_len to the beginning.
67179 Use __pid_t for l_pid.
67180 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
67181 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
67182 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
67183 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
67184 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
67185 [__USE_LARGEFILE64] (struct flock64): New type.
67186 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
67187
67188 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
67189 * bits/dirent.h: ... here.
67190
67191 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
67192 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
67193
67194 2012-08-07 Joseph Myers <joseph@codesourcery.com>
67195
67196 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
67197 Change from 2.6.0 to 2.6.16.
67198 * sysdeps/unix/sysv/linux/configure: Regenerated.
67199 * sysdeps/unix/sysv/linux/kernel-features.h
67200 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
67201 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
67202 version.
67203 (__ASSUME_UTIMES): Likewise.
67204 (__ASSUME_CLONE_STOPPED): Remove.
67205 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
67206 architectures, not kernel version.
67207 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
67208 (__ASSUME_NO_CLONE_DETACHED): Likewise.
67209 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
67210 (__ASSUME_WAITID_SYSCALL): Likewise.
67211 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
67212 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
67213 * README: State 2.6.16 as minimum Linux kernel version. Do not
67214 refer to older versions.
67215
67216 2012-08-06 Roland McGrath <roland@hack.frob.com>
67217
67218 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
67219 Define alphasort64 as an alias.
67220 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
67221 Define versionsort64 as an alias.
67222 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
67223 Define scandir64 as an alias.
67224 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
67225 Define scandirat64 as an alias.
67226 * dirent/alphasort64.c (alphasort64):
67227 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
67228 * dirent/versionsort64.c: Likewise.
67229 * dirent/scandir64.c: Likewise.
67230 * dirent/scandirat64.c: Likewise.
67231 * sysdeps/wordsize-64/alphasort.c: File removed.
67232 * sysdeps/wordsize-64/alphasort64.c: File removed.
67233 * sysdeps/wordsize-64/scandir.c: File removed.
67234 * sysdeps/wordsize-64/scandir64.c: File removed.
67235 * sysdeps/wordsize-64/scandirat.c: File removed.
67236 * sysdeps/wordsize-64/scandirat64.c: File removed.
67237 * sysdeps/wordsize-64/versionsort.c: File removed.
67238 * sysdeps/wordsize-64/versionsort64.c: File removed.
67239 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
67240 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
67241 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
67242 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
67243 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
67244 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
67245 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
67246 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
67247
67248 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
67249 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
67250 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
67251 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67252 [defined __arch64__ || defined __sparcv9]
67253 (__INO_T_MATCHES_INO64_T): New macro.
67254 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
67255 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
67256 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
67257 * sysdeps/unix/sysv/linux/bits/dirent.h
67258 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
67259 (_DIRENT_MATCHES_DIRENT64): New macro.
67260
67261 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
67262 Define lockf64 as an alias.
67263 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
67264 Define fseeko64 as an alias.
67265 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
67266 Define ftello64 as an alias.
67267 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
67268 Define _IO_fgetpos64 and fgetpos64 as aliases.
67269 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
67270 Define _IO_fsetpos64 and fsetpos64 as aliases.
67271 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
67272 Conditionalize body on this.
67273 * libio/fseeko64.c: Likewise.
67274 * libio/ftello64.c: Likewise.
67275 * libio/iofgetpos64.c: Likewise.
67276 * libio/iofsetpos64.c: Likewise.
67277 * sysdeps/wordsize-64/lockf.c: File removed.
67278 * sysdeps/wordsize-64/lockf64.c: File removed.
67279 * sysdeps/wordsize-64/fseeko.c: File removed.
67280 * sysdeps/wordsize-64/fseeko64.c: File removed.
67281 * sysdeps/wordsize-64/ftello.c: File removed.
67282 * sysdeps/wordsize-64/ftello64.c: File removed.
67283 * sysdeps/wordsize-64/iofgetpos.c: File removed.
67284 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
67285 * sysdeps/wordsize-64/iofsetpos.c: File removed.
67286 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
67287 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
67288 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
67289 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
67290 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
67291 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
67292 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
67293 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
67294 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
67295 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
67296 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
67297
67298 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
67299 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
67300 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
67301 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67302 [defined __arch64__ || defined __sparcv9]
67303 (__OFF_T_MATCHES_OFF64_T): New macro.
67304 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
67305 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
67306 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
67307 (__OFF_T_MATCHES_OFF64_T): New macro.
67308
67309 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
67310
67311 * stdlib/secure-getenv.c (__secure_getenv): Replace
67312 GLIBC_2_16 with GLIBC_2_17.
67313
67314 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
67315
67316 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
67317 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
67318
67319 2012-08-03 David S. Miller <davem@davemloft.net>
67320
67321 * sysdeps/sparc/fpu/libm-test-ulps: Update.
67322
67323 2012-08-03 Joseph Myers <joseph@codesourcery.com>
67324
67325 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
67326 Remove.
67327 (__ASSUME_CORRECT_SI_PID): Likewise.
67328 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
67329 (__ASSUME_TMPFS_NAME): Likewise.
67330 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
67331 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
67332 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
67333 (HAVE_AUX_SECURE): Make definition unconditional.
67334 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
67335 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
67336
67337 2012-08-03 Roland McGrath <roland@hack.frob.com>
67338
67339 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
67340 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
67341 * sysdeps/mach/hurd/eloop-threshold.h: New file.
67342 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
67343 __eloop_threshold instead of SYMLOOP_MAX.
67344
67345 * sysdeps/generic/eloop-threshold.h: New file.
67346 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
67347 of MAXSYMLINKS.
67348 * elf/chroot_canon.c (chroot_canon): Likewise.
67349
67350 2012-08-03 Joseph Myers <joseph@codesourcery.com>
67351
67352 [BZ #13717]
67353 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
67354 Change to 2.6.0 everywhere.
67355 * sysdeps/unix/sysv/linux/configure: Regenerated.
67356 * sysdeps/unix/sysv/linux/kernel-features.h
67357 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
67358 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
67359 kernel versions.
67360 (__ASSUME_POSIX_TIMERS): Define unconditionally.
67361 (__ASSUME_FUTEX_REQUEUE): Remove.
67362 (__ASSUME_STATFS64): Define unconditionally.
67363 (__ASSUME_AT_SECURE): Likewise.
67364 (__ASSUME_CORRECT_SI_PID): Likewise.
67365 (__ASSUME_TGKILL): Define without depending on kernel version for
67366 i386.
67367 (__ASSUME_UTIMES): Likewise.
67368 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
67369 kernel version.
67370 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
67371 (__ASSUME_TMPFS_NAME): Likewise.
67372 * README: Update reference to Linux kernel versions.
67373
67374 2012-08-02 Marek Polacek <polacek@redhat.com>
67375
67376 [BZ# 14150]
67377 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
67378 libc_cv_asm_type_prefix with %.
67379 * configure: Regenerated.
67380 * include/libc-symbols.h: Remove comment about
67381 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
67382 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
67383 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
67384 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
67385 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
67386 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
67387 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
67388 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
67389 * elf/tst-unique2mod1.c: Likewise.
67390 * elf/tst-unique1mod2.c: Likewise.
67391 * elf/tst-unique1mod1.c: Likewise.
67392 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
67393 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
67394 Replace ASM_TYPE_DIRECTIVE with .type.
67395 * sysdeps/s390/s390-64/sysdep.h: Likewise.
67396 * sysdeps/i386/sysdep.h: Likewise.
67397 * sysdeps/x86_64/sysdep.h: Likewise.
67398 * sysdeps/sh/sysdep.h: Likewise.
67399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
67400 Do not define ASM_TYPE_DIRECTIVE.
67401 * sysdeps/powerpc/sysdep.h: Likewise.
67402 * sysdeps/powerpc/powerpc32/sysdep.h:
67403 Replace ASM_TYPE_DIRECTIVE with .type.
67404 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
67405 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
67406 * sysdeps/i386/fpu/e_powf.S: Likewise.
67407 * sysdeps/i386/fpu/e_expl.S: Likewise.
67408 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
67409 * sysdeps/i386/fpu/e_acosh.S: Likewise.
67410 * sysdeps/i386/fpu/e_pow.S: Likewise.
67411 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
67412 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
67413 * sysdeps/i386/fpu/s_expm1.S: Likewise.
67414 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
67415 * sysdeps/i386/fpu/e_log2.S: Likewise.
67416 * sysdeps/i386/fpu/e_log2l.S: Likewise.
67417 * sysdeps/i386/fpu/e_scalb.S: Likewise.
67418 * sysdeps/i386/fpu/e_powl.S: Likewise.
67419 * sysdeps/i386/fpu/e_log10f.S: Likewise.
67420 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
67421 * sysdeps/i386/fpu/e_logl.S: Likewise.
67422 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
67423 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
67424 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
67425 * sysdeps/i386/fpu/e_log2f.S: Likewise.
67426 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
67427 * sysdeps/i386/fpu/e_log.S: Likewise.
67428 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
67429 * sysdeps/i386/fpu/e_logf.S: Likewise.
67430 * sysdeps/i386/fpu/e_log10l.S: Likewise.
67431 * sysdeps/i386/fpu/e_atanh.S: Likewise.
67432 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
67433 * sysdeps/i386/fpu/e_log10.S: Likewise.
67434 * sysdeps/i386/fpu/s_frexp.S: Likewise.
67435 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
67436 * sysdeps/i386/fpu/s_asinh.S: Likewise.
67437 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
67438 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
67439 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
67440 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
67441 * sysdeps/i386/i686/strtok.S: Likewise.
67442 * sysdeps/i386/i386-mcount.S: Likewise.
67443 * sysdeps/i386/strtok.S: Likewise.
67444 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
67445 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
67446 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
67447 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
67448 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
67449 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
67450 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
67451 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
67452 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
67453 * sysdeps/x86_64/_mcount.S: Likewise.
67454 * sysdeps/x86_64/strtok.S: Likewise.
67455 * sysdeps/sh/_mcount.S: Likewise.
67456
67457 2012-08-01 Roland McGrath <roland@hack.frob.com>
67458
67459 * libio/iofopen.c: Include <fcntl.h>.
67460 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
67461 (_IO_fopen64, fopen64): Define as aliases.
67462 * libio/iofopen64.c: Include <fcntl.h>.
67463 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
67464 Conditionalize body on this.
67465 * sysdeps/wordsize-64/iofopen.c: File removed.
67466 * sysdeps/wordsize-64/iofopen64.c: File removed.
67467
67468 2012-08-01 Marek Polacek <polacek@redhat.com>
67469
67470 * libc/Makeconfig: Use elf in place of binfmt-subdir.
67471 Use dlfcn directly instead of a variable.
67472 (binfmt-subdir): Do not define.
67473 (dlfcn): Likewise.
67474
67475 2012-08-01 Joseph Myers <joseph@codesourcery.com>
67476
67477 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
67478 Remove all definitions.
67479 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
67480 <kernel-features.h>.
67481 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
67482 (miss_F_GETOWN_EX): Remove all definitions.
67483 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
67484 macro definition.
67485 [!__ASSUME_FCNTL64]: Remove conditional code.
67486 [__ASSUME_FCNTL64]: Make code unconditional.
67487 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
67488 <kernel-features.h>.
67489 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
67490 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
67491 (lockf64) [__NR_fcntl64]: Make code unconditional.
67492 (lockf64) [__ASSUME_FCNTL64]: Likewise.
67493
67494 * sysdeps/unix/sysv/linux/kernel-features.h
67495 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
67496 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
67497 Make code unconditional.
67498 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
67499 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
67500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
67501 [__NR_vfork]: Make code unconditional.
67502 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
67503 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
67504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
67505 [__NR_vfork]: Make code unconditional.
67506 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
67507 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
67508
67509 2012-08-01 Roland McGrath <roland@hack.frob.com>
67510
67511 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
67512 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
67513
67514 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
67515 Define mkstemp64 as an alias.
67516 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
67517 Define mkstemps64 as an alias.
67518 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
67519 Define mkostemp64 as an alias.
67520 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
67521 Define mkostemps64 as an alias.
67522 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
67523 Conditionalize body on this.
67524 * misc/mkostemp64.c: Likewise.
67525 * misc/mkostemps64.c: Likewise.
67526 * misc/mkstemps64.c: Likewise.
67527 * sysdeps/wordsize-64/mkstemp64.c: File removed.
67528 * sysdeps/wordsize-64/mkostemp64.c: File removed.
67529 * sysdeps/wordsize-64/mkostemp.c: File removed.
67530 * sysdeps/wordsize-64/mkstemp.c: File removed.
67531 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
67532 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
67533 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
67534 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
67535
67536 [BZ #14138]
67537 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
67538 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
67539 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
67540 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
67541
67542 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
67543 compat_symbol macros from <shlib-compat.h> rather than the underlying
67544 default_symbol_version and symbol_version macros, so that DEFAULT
67545 lines in shlib-versions are respected.
67546 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
67547
67548 2012-08-01 Florian Weimer <fweimer@redhat.com>
67549
67550 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
67551 Declare with warn_unused_result.
67552 (setgid, setregid, setegid, setresgid): Likewise.
67553 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
67554 Likewise.
67555 * WUR-REPORT: Remove set*id functions.
67556
67557 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
67558
67559 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
67560
67561 2012-07-31 Roland McGrath <roland@hack.frob.com>
67562
67563 [BZ #10191]
67564 * include/sys/socket.h (__libc_accept, __libc_accept4):
67565 Add attribute_hidden.
67566 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
67567
67568 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
67569 use of PTR_MANGLE.
67570 * inet/getnetgrent_r.c (setup): Likewise.
67571
67572 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
67573
67574 2012-07-31 David S. Miller <davem@davemloft.net>
67575
67576 * sysdeps/sparc/fpu/libm-test-ulps: Update.
67577
67578 2012-07-31 Joseph Myers <joseph@codesourcery.com>
67579
67580 [BZ #13629]
67581 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
67582 value between 1.0 and 2.0 and smaller part has absolute value less
67583 than 1.0.
67584 * math/s_clog10.c (__clog10): Likewise.
67585 * math/s_clog10f.c (__clog10f): Likewise.
67586 * math/s_clog10l.c (__clog10l): Likewise.
67587 * math/s_clogf.c (__clogf): Likewise.
67588 * math/s_clogl.c (__clogl): Likewise.
67589 * math/libm-test.inc (clog_test): Add more tests.
67590 (clog10_test): Likewise.
67591 * sysdeps/i386/fpu/libm-test-ulps: Update.
67592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67593
67594 2012-07-31 Florian Weimer <fweimer@redhat.com>
67595
67596 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
67597 Exit with zero in case no suitable GID is found, and write a
67598 message to standard error.
67599
67600 2012-07-30 Roland McGrath <roland@hack.frob.com>
67601
67602 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
67603 rather than to 1.
67604 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
67605 (MAXPATHLEN): Removed.
67606 (NOGROUP, NODEV): New macros.
67607 (setbit, clrbit, isset, isclr): New macros.
67608 (howmany, roundup, powerof2): New macros.
67609 (DEV_BSIZE): New macro.
67610
67611 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
67612 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
67613
67614 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
67615 definition on [!__NO_LONG_DOUBLE_MATH].
67616
67617 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
67618 PTR_MANGLE and PTR_DEMANGLE.
67619
67620 * socket/accept4.c (accept4): Rename to __libc_accept4.
67621 Define accept4 as a weak alias.
67622
67623 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
67624 on [_DIRENT_HAVE_D_TYPE].
67625 * io/ftw.c (ftw_dir): Likewise.
67626
67627 * io/xmknod.c (__xmknod): Don't check PATH for being null.
67628
67629 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
67630
67631 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
67632 Use the BSD numbers rather than the arbitrary ones we had.
67633 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
67634 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
67635 (SIGXCPU, SIGXFSZ): New macros.
67636 (_NSIG): Now 32.
67637
67638 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
67639 initializer on [_LIBC_REENTRANT].
67640
67641 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
67642 definitions inside [_POSIX_MAPPED_FILES].
67643
67644 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
67645
67646 * dirent/opendir.c: Include <fcntl.h>.
67647
67648 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
67649 (__libc_getspecific): Likewise.
67650 (__libc_key_create): Likewise.
67651
67652 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
67653 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
67654 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
67655 (tmpfile64): Define as alias.
67656 * sysdeps/wordsize-64/tmpfile.c: File removed.
67657 * sysdeps/wordsize-64/tmpfile64.c: File removed.
67658 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
67659 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
67660
67661 * stdio-common/vfscanf.c: Include <stdbool.h>.
67662 * nss/makedb.c: Likewise.
67663 * stdio-common/_i18n_number.h: Likewise.
67664 * argp/argp-help.c: Likewise.
67665 * posix/wordexp.c: Likewise.
67666 * sysdeps/posix/spawni.c: Likewise.
67667 * nss/nss_files/files-initgroups.c: Likewise.
67668 * stdio-common/reg-modifier.c: Include <stdlib.h>.
67669 * nss/nss_files/files-initgroups.c: Likewise.
67670 * nss/nss_db/db-netgrp.c: Likewise.
67671 * nss/nss_db/db-initgroups.c: Likewise.
67672 * io/fchmodat.c: Include <sys/stat.h>.
67673
67674 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
67675 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
67676
67677 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
67678 [HAVE_MMAP].
67679
67680 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
67681 Add multiple inclusion protection.
67682
67683 2012-07-27 David S. Miller <davem@davemloft.net>
67684
67685 * sysdeps/sparc/fpu/libm-test-ulps: Update.
67686
67687 2012-07-27 Gary Benson <gbenson@redhat.com>
67688
67689 [BZ #14298]
67690 * elf/rtld.c: Include <stap-probe.h>.
67691 (dl_main): Added static probes "init_start" and "init_complete".
67692 * elf/dl-load.c: Include <stap-probe.h>.
67693 (lose): Take new parameter "nsid".
67694 Added static probe "map_failed".
67695 (_dl_map_object_from_fd): Pass namespace id to lose.
67696 Added static probe "map_start".
67697 (open_verify): Pass namespace id to lose.
67698 * elf/dl-open.c: Include <stap-probe.h>.
67699 (dl_open_worker) Added static probes "map_complete", "reloc_start"
67700 and "reloc_complete".
67701 * elf/dl-close.c: Include <stap-probe.h>.
67702 (_dl_close_worker): Added static probes "unmap_start" and
67703 "unmap_complete".
67704 * elf/rtld-debugger-interface.txt: New file documenting the above.
67705
67706 2012-07-26 Roland McGrath <roland@hack.frob.com>
67707
67708 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
67709 rather than a string variable.
67710 * sunrpc/rpc_main.c (h_output): Likewise.
67711 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
67712
67713 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
67714
67715 * inet/check_native.c: New file.
67716
67717 2012-07-26 Joseph Myers <joseph@codesourcery.com>
67718
67719 [BZ #13629]
67720 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
67721 if larger part has absolute value 1.0.
67722 * math/s_clog10.c (__clog10): Likewise.
67723 * math/s_clog10f.c (__clog10f): Likewise.
67724 * math/s_clog10l.c (__clog10l): Likewise.
67725 * math/s_clogf.c (__clogf): Likewise.
67726 * math/s_clogl.c (__clogl): Likewise.
67727 * math/libm-test.inc (clog_test): Add more tests.
67728 (clog10_test): Likewise.
67729 * sysdeps/i386/fpu/libm-test-ulps: Update.
67730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67731
67732 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
67733 (pltexit): Likewise.
67734 (La_regs): Likewise.
67735 (La_retval): Likewise.
67736 (int_retval): Likewise.
67737 Update #error for removed macros to refer only to definitions in
67738 tst-audit.h.
67739 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
67740 macro.
67741 (pltexit): Likewise.
67742 (La_regs): Likewise.
67743 (La_retval): Likewise.
67744 (int_retval): Likewise.
67745 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
67746 macro.
67747 (pltexit): Likewise.
67748 (La_regs): Likewise.
67749 (La_retval): Likewise.
67750 (int_retval): Likewise.
67751 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
67752 macro.
67753 (pltexit): Likewise.
67754 (La_regs): Likewise.
67755 (La_retval): Likewise.
67756 (int_retval): Likewise.
67757 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
67758 macro.
67759 (pltexit): Likewise.
67760 (La_regs): Likewise.
67761 (La_retval): Likewise.
67762 (int_retval): Likewise.
67763 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
67764 macro.
67765 (pltexit): Likewise.
67766 (La_regs): Likewise.
67767 (La_retval): Likewise.
67768 (int_retval): Likewise.
67769 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
67770 macro.
67771 (pltexit): Likewise.
67772 (La_regs): Likewise.
67773 (La_retval): Likewise.
67774 (int_retval): Likewise.
67775 * sysdeps/generic/tst-audit.h: Update comment to refer only to
67776 macro definitions in tst-audit.h.
67777 * sysdeps/i386/tst-audit.h: New file.
67778 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
67779 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
67780 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
67781 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
67782 * sysdeps/sh/tst-audit.h: Likewise.
67783 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
67784 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
67785 * sysdeps/x86_64/tst-audit.h: Likewise.
67786
67787 2012-07-26 Andreas Jaeger <aj@suse.de>
67788
67789 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
67790 ptrace.
67791
67792 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
67793 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
67794 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
67795 PTRACE_O_MASK.
67796 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
67797 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
67798 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
67799
67800 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
67801 value.
67802
67803 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
67804 _sigsys.
67805 (si_call_addr, si_syscall, si_arch): Define new macro.
67806 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
67807 _sigsys.
67808 (si_call_addr, si_syscall, si_arch): Define new marcro.
67809 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
67810 _sigsys.
67811 (si_call_addr, si_syscall, si_arch): Define new macro.
67812 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
67813 _sigsys.
67814 (si_call_addr, si_syscall, si_arch): Define new macro.
67815
67816 2012-07-25 Joseph Myers <joseph@codesourcery.com>
67817
67818 [BZ #13717]
67819 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
67820 Change to 2.4.21 where previously 2.4.1.
67821 * sysdeps/unix/sysv/linux/configure: Regenerated.
67822 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
67823 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
67824 Linux kernel version.
67825 (__ASSUME_STD_AUXV): Remove.
67826 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
67827 kernel version.
67828 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
67829 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
67830 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
67831 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
67832 (__ASSUME_NETLINK_SUPPORT): Likewise.
67833 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
67834 (__no_netlink_support): Remove conditional definition.
67835 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
67836 Remove.
67837 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
67838 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
67839 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
67840 (if_nameindex_ioctl): Remove.
67841 (if_nameindex_netlink): Do not handle __no_netlink_support.
67842 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
67843 code.
67844 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
67845 Remove conditional code.
67846 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
67847 code.
67848 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
67849 unconditional.
67850 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
67851 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
67852 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
67853 Remove.
67854 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
67855 [!__ASSUME_STD_AUXV]: Remove conditional code.
67856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
67857 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
67858 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
67859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
67860 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
67861 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
67862 code.
67863 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
67864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
67865 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
67866 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
67867 conditional code.
67868 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
67869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
67870 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
67871 code.
67872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
67873 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
67874 conditional code.
67875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
67876 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
67877 code unconditional.
67878 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67879 conditional code.
67880 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
67881 unconditional.
67882 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67883 conditional code.
67884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
67885 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
67886 unconditional.
67887 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67888 conditional code.
67889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
67890 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
67891 code unconditional.
67892 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67893 conditional code.
67894 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
67895 unconditional.
67896 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67897 conditional code.
67898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
67899 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
67900 code unconditional.
67901 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67902 conditional code.
67903 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
67904 unconditional.
67905 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67906 conditional code.
67907
67908 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
67909
67910 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
67911 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
67912 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
67913 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
67914 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
67915 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
67916 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
67917 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
67918 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
67919 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
67920 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
67921 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
67922 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
67923 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
67924 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
67925 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
67926 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
67927 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
67928 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
67929 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
67930 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
67931 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
67932 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
67933
67934 2012-07-25 Florian Weimer <fweimer@redhat.com>
67935
67936 * Versions.def: Add GLIBC_2.17.
67937 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
67938 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
67939 Introduce __libc_secure_getenv.
67940 * stdlib/Versions (2.17): Add secure_getenv
67941 (GLIBC_PRIVATE): Add __libc_secure_getenv.
67942 * stdlib/secure-getenv.c: Rename __secure_getenv to
67943 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
67944 symbol __secure_getenv for GLIBC_2.0.
67945 * stdlib/tst-secure-getenv.c: New.
67946 * stdlib/Makefile (tests): Add testcase.
67947 * manual/startup.texi (Environment Access): Document
67948 secure_getenv.
67949 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
67950 __libc_secure_getenv.
67951 * inet/ruserpass.c (ruserpass): Likewise.
67952 * malloc/mtrace.c (mtrace): Likewise.
67953 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
67954 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
67955 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
67956 * sysdeps/posix/tempname.c: Likewise. Evaluate
67957 HAVE_SECURE_GETENV.
67958 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
67959 __secure_getenv to __libc_secure_getenv.
67960 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
67961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
67962 Likewise.
67963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
67964 Likewise.
67965 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
67966 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
67967 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
67968 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
67969 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
67970 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
67971 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
67972
67973 2012-07-25 Joseph Myers <joseph@codesourcery.com>
67974
67975 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
67976 (struct La_i86_retval): Likewise.
67977 (struct La_x86_64_regs): Likewise.
67978 (struct La_x86_64_retval): Likewise.
67979 (struct La_x32_regs): Likewise.
67980 (struct La_x32_retval): Likewise.
67981 (struct La_ppc32_regs): Likewise.
67982 (struct La_ppc32_retval): Likewise.
67983 (struct La_ppc64_regs): Likewise.
67984 (struct La_ppc64_retval): Likewise.
67985 (struct La_sh_regs): Likewise.
67986 (struct La_sh_retval): Likewise.
67987 (struct La_s390_32_regs): Likewise.
67988 (struct La_s390_32_retval): Likewise.
67989 (struct La_s390_64_regs): Likewise.
67990 (struct La_s390_64_retval): Likewise.
67991 (struct La_sparc32_regs): Likewise.
67992 (struct La_sparc32_retval): Likewise.
67993 (struct La_sparc64_regs): Likewise.
67994 (struct La_sparc64_retval): Likewise.
67995 (struct audit_ifaces): Remove architecture-specific pltenter and
67996 pltexit members.
67997 * sysdeps/i386/ldsodefs.h: New file.
67998 * sysdeps/powerpc/ldsodefs.h: Likewise.
67999 * sysdeps/s390/ldsodefs.h: Likewise.
68000 * sysdeps/sh/ldsodefs.h: Likewise.
68001 * sysdeps/sparc/ldsodefs.h: Likewise.
68002 * sysdeps/x86_64/ldsodefs.h: Likewise.
68003
68004 2012-07-25 Marek Polacek <polacek@redhat.com>
68005
68006 [BZ #6808]
68007 * math/libm-test.inc (yn_test): Add another test.
68008 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
68009 to ERANGE when the result is +-Inf.
68010 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
68011 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
68012 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
68013 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
68014
68015 2012-07-24 Joseph Myers <joseph@codesourcery.com>
68016
68017 * conform/data/time.h-data (NULL): Use macro-constant. Require
68018 equal to 0.
68019 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
68020 clock_t.
68021 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
68022
68023 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
68024
68025 * configure.in <sysdeps resolving>: Correct printing
68026 Implies_before.
68027 * configure: Regenerate.
68028
68029 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
68030
68031 * math/w_ilogb.c: Include <limits.h>.
68032 * math/w_ilogbl.c: Likewise.
68033
68034 2012-07-20 Joseph Myers <joseph@codesourcery.com>
68035
68036 * manual/lang.texi (__va_copy): Document primarily as ISO C99
68037 va_copy. Document allowing for unavailable va_copy only as
68038 pre-C99 compatibility.
68039 * manual/string.texi (Copying and Concatenation): Use va_copy
68040 instead of __va_copy in concat example.
68041
68042 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
68043
68044 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
68045 (__sendto): Use create_address_port. Initialize APORT and deallocate
68046 it if not null.
68047
68048 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
68049 with O_NOLINK passed to __file_name_lookup.
68050
68051 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
68052 with O_NOLINK passed to __file_name_lookup.
68053
68054 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
68055 negative N or less than NGIDS.
68056
68057 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
68058 type to string_t. Set ERANGE as errno and return it if NAME is not big
68059 enough. Use memcpy instead of strncpy.
68060
68061 2012-07-20 Joseph Myers <joseph@codesourcery.com>
68062
68063 * elf/Makefile (check-data): Remove.
68064 (localplt.data): New vpath directive.
68065 ($(objpfx)check-localplt.out): Use localplt.data from vpath
68066 instead of $(check-data).
68067 * scripts/data/localplt-generic.data: Move to ...
68068 * sysdeps/generic/localplt.data: ... here.
68069 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
68070 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
68071 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
68072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
68073 ... here.
68074 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
68075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
68076 ... here.
68077 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
68078 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
68079 ... here.
68080 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
68081 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
68082 ... here.
68083 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
68084 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
68085 ... here.
68086 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
68087 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
68088 ... here.
68089
68090 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68091
68092 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
68093 PPC32 and PPC64 files.
68094 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
68095 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
68096
68097 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
68098
68099 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
68100 __makecontext_ret to ...
68101 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
68102 ... here and call exit if uc_link is NULL. New file.
68103 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
68104 __makecontext_ret.S.
68105 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
68106 __makecontext_ret to ...
68107 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
68108 ... here and call exit if uc_link is NULL. New file.
68109 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
68110 __makecontext_ret.S.
68111
68112 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
68113
68114 * elf/elf.h (R_390_IRELATIVE): New definition.
68115 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
68116 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
68117 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
68118 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
68119 (elf_machine_lazy_rel): Likewise.
68120 * sysdeps/s390/dl-irel.h: New file.
68121 * sysdeps/s390/s390-64/memcpy.S: New asm code.
68122 * sysdeps/s390/s390-64/memset.S: New asm code.
68123 * sysdeps/s390/s390-64/memcmp.S: New asm code.
68124 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
68125 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
68126 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
68127 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
68128 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
68129 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
68130 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
68131 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
68132 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
68133 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
68134 * sysdeps/s390/s390-32/memcpy.S: New asm code.
68135 * sysdeps/s390/s390-32/memset.S: New asm code.
68136 * sysdeps/s390/s390-32/memcmp.S: New asm code.
68137
68138 2012-07-17 Marek Polacek <polacek@redhat.com>
68139
68140 [BZ #14349]
68141 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
68142 * sysdeps/s390/s390-64/configure.in: Likewise.
68143 * sysdeps/sparc/configure.in: Likewise.
68144 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
68145 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
68146 * sysdeps/i386/configure.in: Likewise.
68147 * sysdeps/x86_64/configure.in: Likewise.
68148 * sysdeps/sh/configure.in: Likewise.
68149 * sysdeps/s390/s390-32/configure: Regenerated.
68150 * sysdeps/s390/s390-64/configure: Likewise.
68151 * sysdeps/x86_64/configure: Likewise.
68152 * sysdeps/sh/configure: Likewise.
68153 * sysdeps/powerpc/powerpc64/configure: Likewise.
68154 * sysdeps/powerpc/powerpc32/configure: Likewise.
68155 * sysdeps/sparc/configure: Likewise.
68156 * sysdeps/i386/configure: Likewise.
68157
68158 * elf/dl-open.c: Comment fixes.
68159
68160 2012-07-17 Joseph Myers <joseph@codesourcery.com>
68161
68162 * Makefile [CXX] (check-data): Remove.
68163 [CXX] (c++-types.data): New vpath directive.
68164 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
68165 vpath. Do not allow for C++ type data being missing.
68166 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
68167 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
68168 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
68169 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
68170 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
68171 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
68172 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
68173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
68174 ... here.
68175 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
68176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
68177 ... here.
68178 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
68179 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
68180 ... here.
68181 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
68182 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
68183 ... here.
68184 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
68185 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
68186 ... here.
68187 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
68188 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
68189 ... here.
68190 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
68191 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
68192 ... here.
68193 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
68194 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
68195
68196 * elf/tls-macros.h (TLS_LE): Move architecture-specific
68197 definitions to architecture-specific files.
68198 (TLS_IE): Likewise.
68199 (TLS_LD): Likewise.
68200 (TLS_GD): Likewise.
68201 * sysdeps/i386/tls-macros.h: New file.
68202 * sysdeps/powerpc/tls-macros.h: Likewise.
68203 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
68204 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
68205 * sysdeps/sh/tls-macros.h: Likewise.
68206 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
68207 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
68208 * sysdeps/x86_64/tls-macros.h: Likewise.
68209
68210 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
68211
68212 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
68213 zero value for regular exit case.
68214
68215 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
68216 (__start_context): Preserve zero value for regular exit case.
68217
68218 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
68219 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
68220
68221 * manual/setjmp.texi (setcontext): Clarify normal process
68222 termination when uc_link is the null pointer.
68223 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
68224 exit call.
68225
68226 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
68227
68228 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
68229 preprocessor. Test for each exception mask separately.
68230
68231 2012-07-16 Andreas Jaeger <aj@suse.de>
68232
68233 * po/ru.po: Update from translation team.
68234
68235 2012-07-15 Joseph Myers <joseph@codesourcery.com>
68236
68237 * conform/data/string.h-data (NULL): Use macro-constant. Require
68238 equal to 0.
68239 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
68240 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
68241 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
68242 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
68243 [ISO || ISO99 || ISO11] (*_t): Do not allow.
68244
68245 2012-07-13 Andreas Jaeger <aj@suse.de>
68246
68247 * po/fr.po: Update from translation team.
68248
68249 2012-07-12 Marek Polacek <polacek@redhat.com>
68250
68251 [BZ #14173]
68252 * math/libm-test.inc (yn_test): Add test for BZ #14173.
68253 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
68254 loop condition.
68255
68256 2012-07-12 Joseph Myers <joseph@codesourcery.com>
68257
68258 [BZ #13717]
68259 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
68260 Change to 2.4.1 where previously 2.4.0.
68261 * sysdeps/unix/sysv/linux/configure: Regenerated.
68262 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
68263 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
68264 version.
68265 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
68266 (__ASSUME_AT_CLKTCK): Remove.
68267 (__ASSUME_AT_PAGESIZE): Likewise.
68268 (__ASSUME_AT_XID): Likewise.
68269 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
68270 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
68271 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
68272 unconditionally.
68273 (HAVE_AUX_PAGESIZE): Likewise.
68274 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
68275 [__ASSUME_AT_CLKTCK]: Make code unconditional.
68276 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
68277
68278 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
68279
68280 [BZ #14307]
68281 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
68282 the temporary buffer used to invoke __gethostbyname2_r,
68283 __gethostbyaddr_r and gethostbyname4_r to make room for struct
68284 host_data / struct gaih_addrtuple.
68285 * resolv/nss_dns/dns-host.c (global scope): Move definition of
68286 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
68287 header file nss/nsswitch.h.
68288 * nss/nsswitch.h (global scope): Add definition of implementation
68289 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
68290 resolv/nss_dns/dns-host.c).
68291
68292 2012-07-11 Andreas Jaeger <aj@suse.de>
68293
68294 * po/fr.po: Update from translation team.
68295
68296 * po/sv.po: Update from translation team
68297 * po/fr.po: Another update from translation team.
68298
68299 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68300
68301 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
68302 for subnormals or multiply small sinh result by itself.
68303 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
68304 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68305
68306 2012-07-11 David S. Miller <davem@davemloft.net>
68307
68308 * sysdeps/sparc/fpu/libm-test-ulps: Update.
68309
68310 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
68311
68312 [BZ #14347]
68313 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
68314 (INTERNAL_MARK): Shift it here.
68315
68316 2012-07-10 Marek Polacek <polacek@redhat.com>
68317
68318 [BZ #14151]
68319 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
68320 libc_cv_asm_global_directive with .globl.
68321 * configure: Regenerated.
68322 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
68323 with .globl.
68324 * sysdeps/i386/configure: Regenerated.
68325 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
68326 with .globl.
68327 * sysdeps/x86_64/configure: Regenerated.
68328 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
68329 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
68330 * elf/tst-unique2mod2.c: Likewise.
68331 * elf/tst-unique2mod1.c: Likewise.
68332 * elf/tst-unique1mod2.c: Likewise.
68333 * elf/tst-unique1mod1.c: Likewise.
68334 * sysdeps/s390/s390-32/sysdep.h: Likewise.
68335 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
68336 * sysdeps/s390/s390-64/sysdep.h: Likewise.
68337 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
68338 * sysdeps/mach/sysdep.h: Likewise.
68339 * sysdeps/i386/sysdep.h: Likewise.
68340 * sysdeps/i386/i386-mcount.S: Likewise.
68341 * sysdeps/x86_64/_mcount.S: Likewise.
68342 * sysdeps/x86_64/sysdep.h: Likewise.
68343 * sysdeps/sh/_mcount.S: Likewise.
68344 * sysdeps/sh/sysdep.h: Likewise.
68345 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
68346 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
68347 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
68348 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
68349 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
68350 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
68351 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
68352 * locale/localeinfo.h: Likewise.
68353 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
68354 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
68355
68356 2012-07-09 Roland McGrath <roland@hack.frob.com>
68357
68358 [BZ #14336]
68359 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
68360 system".
68361 * manual/message.texi (The Uniforum approach): Likewise.
68362 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
68363 (glibc iconv Implementation): Likewise.
68364
68365 2012-07-09 Joseph Myers <joseph@codesourcery.com>
68366
68367 [BZ #14337]
68368 * math/s_clog.c (__clog): Avoid scaling a value down where that
68369 could result in underflow.
68370 * math/s_clog10.c (__clog10): Likewise.
68371 * math/s_clog10f.c (__clog10f): Likewise.
68372 * math/s_clog10l.c (__clog10l): Likewise.
68373 * math/s_clogf.c (__clogf): Likewise.
68374 * math/s_clogl.c (__clogl): Likewise.
68375 * math/libm-test.inc (clog_test): Add more tests.
68376 (clog10_test): Likewise.
68377 * sysdeps/i386/fpu/libm-test-ulps: Update.
68378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68379
68380 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
68381
68382 [BZ #14283]
68383 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
68384 by 7 not 8 to examine high bit of fractional part.
68385
68386 [BZ #14042]
68387 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
68388 for call to __mcount_internal.
68389 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
68390 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
68391 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
68392
68393 2012-07-06 Joseph Myers <joseph@codesourcery.com>
68394
68395 [BZ #14154]
68396 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
68397 approximation for values within 0x1p-13f of an odd multiple of
68398 pi/4.
68399 * math/libm-test.inc (tan_test): Do not allow spurious underflow
68400 exception. Add more tests.
68401 * sysdeps/i386/fpu/libm-test-ulps: Update.
68402
68403 [BZ #6778]
68404 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
68405 inputs and return -1 for them. Do not check for +Inf in case not
68406 reachable for +Inf.
68407 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
68408 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
68409 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
68410 and return -1 for them. Do not check for +Inf in case not
68411 reachable for +Inf.
68412 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
68413 define.
68414 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
68415 and return -1 for them. Do not check for +Inf in case not
68416 reachable for +Inf.
68417 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
68418 spurious underflow.
68419 * sysdeps/i386/fpu/libm-test-ulps: Update.
68420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68421
68422 2012-07-06 Mike Frysinger <vapier@gentoo.org>
68423
68424 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
68425
68426 2012-07-05 Joseph Myers <joseph@codesourcery.com>
68427
68428 [BZ #14157]
68429 [BZ #14331]
68430 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
68431 could result in spurious underflow. Scale down values above
68432 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
68433 * math/s_csqrtf.c (__csqrtf): Likewise.
68434 * math/s_csqrtl.c (__csqrtl): Likewise.
68435 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
68436 spurious underflow.
68437 * sysdeps/i386/fpu/libm-test-ulps: Update.
68438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68439
68440 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
68441
68442 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
68443 xopen-msg.sed.
68444 * catgets/xopen-msg.awk: New file.
68445 * catgets/xopen-msg.sed: Removed.
68446
68447 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
68448 po2text.sed.
68449 * intl/po2test.awk: New file.
68450 * intl/po2test.sed: Removed.
68451
68452 2012-07-04 Joseph Myers <joseph@codesourcery.com>
68453
68454 [BZ #14328]
68455 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
68456 or multiply small sinh result by itself.
68457 * math/s_ctanf.c (__ctanf): Likewise.
68458 * math/s_ctanh.c (__ctanh): Likewise.
68459 * math/s_ctanhf.c (__ctanhf): Likewise.
68460 * math/s_ctanhl.c (__ctanhl): Likewise.
68461 * math/s_ctanl.c (__ctanl): Likewise.
68462 * math/libm-test.inc (ctan_test_tonearest): New function.
68463 (ctan_test_towardzero): Likewise.
68464 (ctan_test_downward): Likewise.
68465 (ctan_test_upward): Likewise.
68466 (ctanh_test_tonearest): Likewise.
68467 (ctanh_test_towardzero): Likewise.
68468 (ctanh_test_downward): Likewise.
68469 (ctanh_test_upward): Likewise.
68470 (main): Call these new functions.
68471 * sysdeps/i386/fpu/libm-test-ulps: Update.
68472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68473
68474 2012-07-03 Mike Frysinger <vapier@gentoo.org>
68475
68476 * .gitignore: Delete /ports entry.
68477
68478 2012-07-03 Andreas Jaeger <aj@suse.de>
68479
68480 * po/bg.po: Update from translation team.
68481 * po/cs.po: Likewise.
68482 * po/de.po: Likewise.
68483 * po/hr.po: Likewise.
68484 * po/nl.pl: Likewise.
68485 * po/pl.po: Likewise.
68486 * po/vi.po: Likewise.
68487
68488 2012-07-03 Joseph Myers <joseph@codesourcery.com>
68489
68490 * Makeconfig [!+link] (+link-before-libc): New variable.
68491 [!+link] (+link-after-libc): Likewise.
68492 [!+link] (+link-tests): Likewise.
68493 [!+link] (+link): Define in terms of $(+link-before-libc) and
68494 $(+link-after-libc).
68495 [!+link-static] (+link-static-before-libc): New variable.
68496 [!+link-static] (+link-static-after-libc): Likewise.
68497 [!+link-static] (+link-static-tests): Likewise.
68498 [!+link-static] (+link-static): Define in terms of
68499 $(+link-static-before-libc) and $(+link-static-after-libc).
68500 [build-shared] (link-libc-before-gnulib): New variable.
68501 [build-shared] (link-libc-tests): Likewise.
68502 [build-shared] (link-libc): Define in terms of
68503 $(link-libc-before-gnulib).
68504 [!build-shared] (link-libc-tests): New variable.
68505 (link-libc-static-tests): New variable.
68506 [!gnulib] (gnulib-arch): New variable.
68507 [!gnulib] (gnulib-tests): Likewise.
68508 [!gnulib] (static-gnulib-arch): Likewise.
68509 [!gnulib] (static-gnulib-tests): Likewise.
68510 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
68511 Define with "=" instead of ":=".
68512 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
68513 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
68514 * Rules (binaries-all-notests): New variable.
68515 (binaries-all-tests): Likewise.
68516 (binaries-static-notests): Likewise.
68517 (binaries-static-tests): Likewise.
68518 (binaries-all): Define using $(binaries-all-notests) and
68519 $(binaries-all-tests).
68520 (binaries-static): Define using $(binaries-static-notests) and
68521 $(binaries-static-tests).
68522 (binaries-shared-tests): New variable.
68523 (binaries-shared-notests): Likewise.
68524 (binaries-shared): Remove variable.
68525 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
68526 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
68527 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
68528 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
68529 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
68530 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
68531 * elf/Makefile (sln-modules): New variable.
68532 (extra-objs): Add $(sln-modules:=.o).
68533 (ldconfig-modules): Add static-stubs.
68534 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
68535 * elf/static-stubs.c: New file.
68536
68537 [BZ #14283]
68538 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
68539 by 7 not 8 to examine high bit of fractional part. Use volatile
68540 variables when splitting into final array of floats if
68541 __FLT_EVAL_METHOD__ != 0.
68542 * math/libm-test.inc (cos_test): Add another test.
68543 (sin_test): Likewise.
68544 * sysdeps/i386/fpu/libm-test-ulps: Update.
68545
68546 [BZ #14273]
68547 * math/libm-test.inc (cosh_test): Add more tests.
68548
68549 * version.h (RELEASE): Set to "development".
68550 (VERSION): Set to "2.16.90".
68551
68552 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
68553
68554 * NEWS: Update copyright. Remove last-updated date.
68555 Mention math library bug fixes and timezone data changes.
68556 * README: Mention GNU/Hurd, x32, and HPPA support status.
68557
68558 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
68559
68560 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
68561
68562 2012-06-27 Andreas Jaeger <aj@suse.de>
68563
68564 * manual/contrib.texi (Contributors): Add Samuel Thibault.
68565
68566 2012-06-25 Andreas Jaeger <aj@suse.de>
68567
68568 * sysdeps/s390/fpu/libm-test-ulps: Update.
68569
68570 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
68571 Thomas Schwinge <thomas@codesourcery.com>
68572
68573 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
68574 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
68575 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
68576 fanotify_mark.
68577
68578 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
68579
68580 * sysdeps/mach/start.c: Remove file.
68581 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
68582 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
68583 * sysdeps/sh/init-first.c: Likewise.
68584
68585 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
68586 registers for frame unwinding purposes, add CFI directives.
68587 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
68588 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
68589 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
68590 Likewise.
68591
68592 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
68593 __fortify_fail returning.
68594 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
68595
68596 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
68597 sysdeps/sh/____longjmp_chk.S.
68598 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
68599 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
68600 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
68601 (gen-as-const-headers): Append sigaltstack-offsets.sym.
68602
68603 * sysdeps/sh/abort-instr.h: New file.
68604 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
68605 process in case exit returns.
68606
68607 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
68608 initialize the GOT register before use.
68609
68610 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
68611 calculation of ARGC > 4.
68612
68613 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
68614 meaningful names to some local labels.
68615
68616 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
68617 Kaz Kojima <kkojima@rr.iij4u.or.jp>
68618
68619 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
68620 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
68621 (__arch_compare_and_exchange_val_16_acq): Likewise.
68622 (__arch_compare_and_exchange_val_32_acq): Likewise.
68623 (atomic_exchange_and_add): Fix gUSA sequence.
68624 (atomic_add): Likewise.
68625 (atomic_add_negative): Likewise.
68626 (atomic_add_zero): Likewise.
68627 (atomic_bit_test_set): Likewise.
68628
68629 2012-06-22 Andreas Schwab <schwab@redhat.com>
68630
68631 [BZ #13579]
68632 * include/link.h (struct link_map): Add l_free_initfini.
68633 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
68634 l_initfini.
68635 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
68636 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
68637 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
68638 set.
68639
68640 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
68641
68642 * configure.in: Use AC_LANG_SOURCE.
68643 * configure: Regenerate.
68644
68645 2012-06-22 Roland McGrath <roland@hack.frob.com>
68646
68647 * configure.in (libc_cv_localstatedir): New substituted variable.
68648 * configure: Regenerated.
68649 * config.make.in (localstatedir): New variable, substituted from
68650 libc_cv_localstatedir.
68651 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
68652 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
68653 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
68654 * sysdeps/gnu/configure: Regenerated.
68655
68656 2012-06-21 Jeff Law <law@redhat.com>
68657
68658 [BZ #14277]
68659 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
68660 free. Simplify list management for _LIBC case.
68661
68662 2012-06-21 Joseph Myers <joseph@codesourcery.com>
68663
68664 [BZ #14273]
68665 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
68666 Clear sign bit of 64-bit integer value before comparing against
68667 overflow value.
68668
68669 * sysdeps/mach/configure: Regenerated.
68670
68671 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
68672
68673 [BZ #14278]
68674 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
68675
68676 2012-06-21 Jeff Law <law@redhat.com>
68677
68678 [BZ #13882]
68679 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
68680 uint16_t for elements in the "seen" array to avoid char overflows.
68681 * elf/dl-fini.c (_dl_sort_fini): Likewise.
68682 * elf/dl-open.c (dl_open_worker): Likewise.
68683
68684 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
68685
68686 * scripts/list-sources.sh: Scan PORTS for translations.
68687 * po/libc.pot: Regenerated.
68688
68689 2012-06-21 Andreas Jaeger <aj@suse.de>
68690
68691 [BZ #12194]
68692 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
68693 warning.
68694 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
68695 * bits/byteswap-16.h (__bswap_16): Likewise.
68696 * bits/byteswap.h (__bswap_constant_16): Likewise.
68697
68698 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
68699
68700 [BZ #14117]
68701 * sysdeps/i386/fpu_control.h: Removed.
68702 * sysdeps/x86_64/fpu_control.h: Moved to ...
68703 * sysdeps/x86/fpu_control.h: Here.
68704
68705 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
68706 (_FPU_SETCW): Likewise.
68707
68708 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
68709
68710 [BZ #14117]
68711 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
68712 * sysdeps/x86/fpu/bits/mathinline.h: This.
68713 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
68714
68715 [BZ #14050]
68716 [BZ #14117]
68717 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
68718 functions if __x86_64__ is defined.
68719
68720 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
68721
68722 * string/endian.h: Add !__ASSEMBLER__ condition for including
68723 conversion interfaces.
68724
68725 2012-06-15 Joseph Myers <joseph@codesourcery.com>
68726
68727 [BZ #14241]
68728 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
68729 of ABS(x) in calculating zero to negative powers other than odd
68730 integers.
68731 * math/libm-test.inc (pow_test): Add more tests.
68732
68733 2012-06-15 Andreas Jaeger <aj@suse.de>
68734
68735 * manual/contrib.texi (Contributors): Update entry of Liubov
68736 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
68737 Machado Filho.
68738
68739 2012-06-15 Cyril Hrubis <metan@ucw.cz>
68740
68741 * string/string.h: Add __wur to GNU version of strerror_r.
68742
68743 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
68744
68745 [BZ #14229]
68746 * string/Makefile (tests): Add tst-strtok_r.
68747 * string/tst-strtok_r.c: New file.
68748 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
68749 RAX_LP/RDX_LP on SAVE_PTR.
68750
68751 2012-06-14 Roland McGrath <roland@hack.frob.com>
68752
68753 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
68754
68755 2012-06-14 Joseph Myers <joseph@codesourcery.com>
68756
68757 * libm_test.inc (csqrt_test): Allow more spurious underflow
68758 exceptions.
68759 (j0_test): Likewise.
68760 (j1_test): Likewise.
68761 (y0_test): Likewise.
68762 (y1_test): Likewise.
68763
68764 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
68765
68766 * po/Makefile (libc.pot): Use UTF-8 charset.
68767
68768 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
68769
68770 [BZ #14210]
68771 Suppress sign-conversion warning from FD_SET.
68772 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
68773 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
68774 not unsigned long int.
68775 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
68776
68777 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
68778
68779 [BZ #14050]
68780 [BZ #14117]
68781 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
68782 __extern_always_inline instead of __extern_inline.
68783 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
68784 (__signbit): Likewise.
68785 (__signbitl): Support C++ namespace.
68786 (lrintf): New inline function.
68787 (lrint): Likewise.
68788 (llrintf): Likewise.
68789 (llrint): Likewise.
68790 (fmaxf): Likewise.
68791 (fmax): Likewise.
68792 (fminf): Likewise.
68793 (fmin): Likewise.
68794 (rint): Likewise.
68795 (rintf): Likewise.
68796 (ceil): Likewise.
68797 (ceilf): Likewise.
68798 (floor): Likewise.
68799 (floorf): Likewise.
68800 (nearbyint): Likewise.
68801 (nearbyintf): Likewise.
68802
68803 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
68804
68805 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
68806 non-default versions.
68807
68808 2012-06-11 Roland McGrath <roland@hack.frob.com>
68809
68810 [BZ #14218]
68811 * manual/argp.texi (Argp): Reword argp_parse description slightly.
68812
68813 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
68814
68815 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
68816 (FE_UPWARD, FE_DOWNWARD): Don't define.
68817 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
68818 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
68819
68820 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
68821 reading it.
68822 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
68823 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
68824
68825 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
68826
68827 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
68828 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
68829 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
68830 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
68831
68832 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
68833
68834 [BZ #14117]
68835 * sysdeps/i386/fpu/bits/fenv.h: Removed.
68836 * sysdeps/i386/fpu/Implies: New file.
68837 * sysdeps/x86_64/fpu/Implies: Likewise.
68838 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
68839 * sysdeps/x86/fpu/bits/fenv.h: This.
68840
68841 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
68842 __SSE_MATH__.
68843
68844 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
68845
68846 [BZ #14134]
68847 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
68848 character 0xffff that matches the last element of the
68849 conversion table.
68850
68851 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68852
68853 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
68854 fmodl commit.
68855
68856 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68857
68858 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
68859 values higher than 25.6283.
68860
68861 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68862
68863 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
68864 subnormal exponent extraction and add some __builtin_expect.
68865 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
68866 Fix for subnormal mantissa calculation.
68867
68868 2012-06-04 Mike Frysinger <vapier@gentoo.org>
68869
68870 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
68871 cpu2 is -1 and errno is not ENOSYS.
68872
68873 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
68874
68875 [BZ #14117]
68876 * sysdeps/i386/i486/bits/string.h: Renamed to ...
68877 * sysdeps/x86/bits/string.h: This.
68878 * sysdeps/x86_64/bits/string.h: Removed.
68879
68880 * sysdeps/i386/i486/bits/string.h: Define inline functions only
68881 if not compiling for x86-64, but compiling for >= i486.
68882
68883 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
68884 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
68885
68886 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
68887 New macro from Linux kernel 3.4.0.
68888 (FP_XSTATE_MAGIC2): Likewise.
68889 (FP_XSTATE_MAGIC2_SIZE): Likewise.
68890 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
68891 (struct _fpx_sw_bytes): New struct.
68892 (struct _xsave_hdr): Likewise.
68893 (struct _ymmh_state): Likewise.
68894 (struct _xstate): Likewise.
68895
68896 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
68897 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
68898 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
68899 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
68900 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
68901 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
68902
68903 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
68904 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
68905 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
68906 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
68907 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
68908 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
68909
68910 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
68911
68912 [BZ #13743]
68913 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
68914 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
68915 (sysdep_headers): Include sys/platform/ppc.h.
68916 * sysdeps/powerpc/test-gettimebase.c: Test for
68917 __ppc_get_timebase() to catch future ISA opcode/insn changes.
68918 * manual/Makefile (appendices): Include platform.texi.
68919 * manual/contrib.texi (Contributors): Update @node pointers.
68920 * manual/maint.texi (Maintenance): Likewise.
68921 (Platform): New node.
68922 * manual/platform.texi: New file. Document the new features.
68923
68924 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
68925 Jakub Jelinek <jakub@redhat.com>
68926
68927 [BZ #14188]
68928 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
68929 where __builtin_expect is unavailable.
68930
68931 2012-06-03 David S. Miller <davem@davemloft.net>
68932
68933 * stdlib/longlong.h: Updated from GCC.
68934
68935 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
68936
68937 [BZ #14042]
68938 * sysdeps/powerpc/powerpc32/mcount.c: New file.
68939 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
68940 __mcount_internal.
68941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
68942 (GLIBC_2.16): Likewise.
68943
68944 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
68945
68946 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
68947
68948 2012-06-01 Joseph Myers <joseph@codesourcery.com>
68949
68950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
68951 (default-abi): New variable.
68952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
68953 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
68954 variable.
68955 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
68956 Likewise.
68957 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
68958 Likewise.
68959 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
68960 Likewise.
68961
68962 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
68963 definition. Document in comment.
68964
68965 2012-06-01 David S. Miller <davem@davemloft.net>
68966
68967 * stdlib/longlong.h: Updated from GCC.
68968
68969 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
68970
68971 [BZ #14117]
68972 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
68973 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
68974 sys/debugreg.h sys/io.h here.
68975 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
68976 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
68977 sys/io.h.
68978 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
68979 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
68980 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
68981 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
68982 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
68983 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
68984
68985 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
68986 Define only if __x86_64__ is defined.
68987
68988 2012-06-01 Joseph Myers <joseph@codesourcery.com>
68989
68990 [BZ #14048]
68991 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
68992 Use int64_t for variable i.
68993 * math/libm-test.inc (fmod_test): Add more tests.
68994
68995 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
68996 z computation is not scheduled after fetestexcept.
68997 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
68998 Use math_force_eval instead of asm to ensure calculation scheduled
68999 before exception test.
69000 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
69001 Ensure a1 + u.d computation is not scheduled after fetestexcept.
69002
69003 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
69004
69005 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
69006 computation is not scheduled after fetestexcept.
69007
69008 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
69009
69010 [BZ #14117]
69011 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
69012 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
69013
69014 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69015
69016 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
69017 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
69018
69019 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
69020
69021 [BZ #14117]
69022 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
69023 <bits/wordsize.h>.
69024 (__WCHAR_MIN): Support __WORDSIZE == 64.
69025 (__WCHAR_MAX): Likewise.
69026
69027 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
69028 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
69029
69030 [BZ #14183]
69031 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
69032 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
69033
69034 [BZ #14117]
69035 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
69036 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
69037
69038 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
69039 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
69040
69041 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
69042 Defined to 1 if __x86_64__ isn't defined.
69043 (_STAT_VER_LINUX_OLD): New.
69044 (st_atime): Remove duplicate.
69045 (st_mtime): Likewise.
69046 (st_ctime): Likewise.
69047
69048 2012-05-31 David S. Miller <davem@davemloft.net>
69049
69050 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
69051 entries.
69052
69053 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
69054
69055 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
69056 gen-libm-test.pl.
69057
69058 [BZ #14132]
69059 * elf/dl-reloc.c: Include <_itoa.h>.
69060 (_dl_reloc_bad_type): Remove use of INTUSE.
69061 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
69062 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
69063 * stdio-common/psiginfo.c (psiginfo): Likewise.
69064 * stdio-common/psignal.c (psignal): Likewise.
69065 * string/strsignal.c (strsignal): Likewise.
69066 * include/signal.h (_sys_siglist): Declare hidden proto.
69067 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
69068 INTVARDEF with libc_hidden_data_def.
69069 * stdio-common/itoa-udigits.c: Likewise.
69070 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
69071 (_itoa_lower_digits_internal): Remove declaration.
69072 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
69073 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
69074 (_sys_sigabbrev_internal): Remove aliases.
69075 (_sys_siglist): Define hidden alias.
69076
69077 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
69078
69079 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69080 bits/sysctl.h.
69081
69082 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
69083
69084 [BZ #14117]
69085 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
69086 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
69087
69088 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
69089 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
69090 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
69091 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
69092 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
69093 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
69094
69095 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
69096 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
69097 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
69098
69099 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
69100 with __addr.
69101 (insw): Likewise.
69102 (insl): Likewise.
69103 (outsb): Likewise.
69104 (outsw): Likewise.
69105 (outsl): Likewise.
69106
69107 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
69108 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
69109 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
69110
69111 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
69112 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
69113 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
69114 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
69115 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
69116 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
69117
69118 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
69119 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
69120
69121 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
69122 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
69123
69124 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
69125 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
69126 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
69127
69128 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
69129 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
69130 to ...
69131 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
69132
69133 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
69134 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
69135 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
69136
69137 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
69138 for x86-64.
69139 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
69140
69141 2012-05-31 Joseph Myers <joseph@codesourcery.com>
69142
69143 * math/math.h (M_El): Use two more decimal places.
69144 (M_LOG2El): Likewise.
69145 (M_LOG10El): Likewise.
69146 (M_LN2l): Likewise.
69147 (M_LN10l): Likewise.
69148 (M_PIl): Likewise.
69149 (M_PI_2l): Likewise.
69150 (M_PI_4l): Likewise.
69151 (M_1_PIl): Likewise.
69152 (M_2_PIl): Likewise.
69153 (M_2_SQRTPIl): Likewise.
69154 (M_SQRT2l): Likewise.
69155 (M_SQRT1_2l): Likewise.
69156
69157 2012-05-31 David S. Miller <davem@davemloft.net>
69158
69159 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
69160 values between float registers.
69161 * sysdeps/sparc/sparc64/memset.S: Likewise.
69162 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
69163
69164 2012-05-31 Mike Frysinger <vapier@gentoo.org>
69165
69166 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
69167 -D_FORTIFY_SOURCE=1.
69168 (CPPFLAGS-tst-longjmp_chk.c): Define.
69169 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
69170 (CPPFLAGS-tst-longjmp_chk2.c): Define.
69171 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
69172 CFLAGS-tst-wchar-h.c.
69173
69174 2012-05-31 Marek Polacek <polacek@redhat.com>
69175
69176 [BZ #14132]
69177 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
69178 __endmntent_internal): Remove declaration.
69179 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
69180 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
69181 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
69182
69183 2012-05-30 David S. Miller <davem@davemloft.net>
69184
69185 * sysdeps/sparc/sparc32/soft-fp/q_util.c
69186 (___Q_simulate_exceptions): Use real FP ops rather than writing
69187 into the %fsr.
69188 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
69189 Likewise.
69190
69191 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
69192
69193 [BZ #14117]
69194 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
69195 * sysdeps/x86/bits/xtitypes.h: This.
69196
69197 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
69198 * sysdeps/x86/bits/wordsize.h: This.
69199
69200 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
69201 * sysdeps/x86/bits/huge_vall.h: This.
69202
69203 * sysdeps/i386/bits/select.h: Removed.
69204 * sysdeps/x86_64/bits/select.h: Renamed to ...
69205 * sysdeps/x86/bits/select.h: This.
69206
69207 * sysdeps/i386/bits/setjmp.h: Removed.
69208 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
69209 * sysdeps/x86/bits/setjmp.h: This.
69210
69211 * sysdeps/i386/bits/mathdef.h: Removed.
69212 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
69213 * sysdeps/x86/bits/mathdef.h: This.
69214
69215 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
69216
69217 [BZ #14132]
69218 * include/sys/socket.h (__connect_internal)
69219 (__libc_sa_len_internal): Remove declaration.
69220 (__connect, __libc_sa_len): Declare hidden_proto.
69221 (SA_LEN): Remove use of INTUSE.
69222 * socket/connect.c: Add libc_hidden_def.
69223 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
69224 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
69225 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
69226 alias.
69227 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
69228 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
69229 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
69230 of adding _internal alias.
69231
69232 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
69233
69234 [BZ #14117]
69235 * sysdeps/i386/bits/link.h: Removed.
69236 * sysdeps/i386/bits/linkmap.h: Likewise.
69237 * sysdeps/x86_64/bits/link.h: Renamed to ...
69238 * sysdeps/x86/bits/link.h: This.
69239 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
69240 * sysdeps/x86/bits/linkmap.h: This.
69241
69242 * sysdeps/i386/bits/endian.h: Removed.
69243 * sysdeps/x86_64/bits/endian.h: Renamed to ...
69244 * sysdeps/x86/bits/endian.h: This.
69245
69246 * sysdeps/i386/bits/byteswap.h: Removed.
69247 * sysdeps/i386/bits/byteswap-16.h: Likewise.
69248 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
69249 * sysdeps/x86/bits/byteswap.h: This.
69250 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
69251 * sysdeps/x86/bits/byteswap-16.h: This.
69252 * sysdeps/i386/Implies: Add x86.
69253 * sysdeps/x86_64/Implies: Likewise.
69254
69255 2012-05-30 David S. Miller <davem@davemloft.net>
69256
69257 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
69258 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
69259 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
69260 (FP_TRAPPING_EXCEPTIONS): Define.
69261 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
69262 (FP_TRAPPING_EXCEPTIONS): Define.
69263 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
69264 subnormals only when inexact has been signalled or underflow
69265 exceptions are enabled.
69266 (_FP_PACK_CANONICAL): Likewise.
69267
69268 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
69269
69270 [BZ #14183]
69271 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
69272 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
69273
69274 2012-05-30 Richard Henderson <rth@twiddle.net>
69275
69276 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
69277 with #ifndef NOT_IN_libc.
69278
69279 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
69280 marked to avoid plt entry.
69281
69282 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
69283
69284 [BZ #14112]
69285 * Makeconfig (default-abi): New macro.
69286 (abi-includes): Likewise.
69287 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
69288 $(abi-$(default-abi)-lib-soname) for soname if defined.
69289 ($(common-objpfx)gnu/lib-names.stmp): Generate from
69290 abi-variants.
69291 * Makefile (installed-stubs): Likewise.
69292 * include/stubs-biarch.h: Removed.
69293 * scripts/lib-names.awk: Only handle one library at a time.
69294 * scripts/soversions.awk: Remove WORDSIZE support.
69295 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
69296 entries.
69297 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
69298 Removed.
69299 (syscall-list-default-condition): Likewise.
69300 (syscall-list-default-condition): Likewise.
69301 (syscall-list-includes): Likewise.
69302 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
69303 syscall-list-* with abi-*. Handle undefined abi-variants.
69304 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
69305 * sysdeps/unix/sysv/linux/i386/Implies: New file.
69306 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
69307 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
69308 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
69309 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
69310 Removed.
69311 (syscall-list-32-options): Likewise.
69312 (syscall-list-32-condition): Likewise.
69313 (syscall-list-64-options): Likewise.
69314 (syscall-list-64-condition): Likewise.
69315 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
69316 macro.
69317 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
69318 Renamed to ...
69319 (abi-*): This.
69320 (abi-64-ld-soname): New macro.
69321 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
69322 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
69323 Renamed to ...
69324 (abi-*): This.
69325 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
69326 * sysdeps/x86_64/x32/shlib-versions: Likewise.
69327
69328 2012-05-30 Joseph Myers <joseph@codesourcery.com>
69329
69330 * sysdeps/unix/sysv/linux/kernel-features.h
69331 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
69332 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
69333 include <kernel-features.h>.
69334 [!__NR_ftruncate64]: Remove conditional code.
69335 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69336 [__NR_ftruncate64]: Make code unconditional.
69337 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69338 * sysdeps/unix/sysv/linux/truncate64.c: Do not
69339 include <kernel-features.h>.
69340 [!__NR_ftruncate64]: Remove conditional code.
69341 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69342 [__NR_ftruncate64]: Make code unconditional.
69343 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
69345 include <kernel-features.h>.
69346 [!__NR_ftruncate64]: Remove conditional code.
69347 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69348 [__NR_ftruncate64]: Make code unconditional.
69349 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
69351 include <kernel-features.h>.
69352 [!__NR_ftruncate64]: Remove conditional code.
69353 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69354 [__NR_ftruncate64]: Make code unconditional.
69355 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69356
69357 * configure.in (libc_cv_fpie): Weaken to a compile test using
69358 LIBC_TRY_CC_OPTION.
69359 * configure: Regenerated.
69360
69361 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
69362
69363 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
69364 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
69365 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
69366 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
69367 Refreshed.
69368 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
69369 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
69370 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
69371 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
69372 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
69373 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
69374 Refreshed.
69375
69376 2012-05-27 David S. Miller <davem@davemloft.net>
69377
69378 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
69379 (___Q_zero): New.
69380 (__Q_simulate_exceptions): Return void. Change to simulate
69381 exceptions by writing into the %fsr.
69382 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
69383 (__Qp_handle_exceptions): Likewise.
69384 (numbers): Delete.
69385 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
69386 __Qp_handle_exceptions.
69387 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
69388 __Qp_handle_exceptions.
69389 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
69390 as unused and give dummy FP_RND_NEAREST initializer.
69391 (FP_INHIBIT_RESULTS): Define.
69392 (___Q_simulate_exceptions): Update declaration.
69393 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
69394 formatting.
69395 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
69396 as unused and give dummy FP_RND_NEAREST initializer.
69397 (__Qp_handle_exceptions): Update declaration.
69398 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
69399 formatting.
69400
69401 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
69402
69403 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
69404 the temporary FPU control word.
69405 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
69406 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
69407 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
69408 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
69409 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
69410 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
69411 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
69412 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
69413 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
69414 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
69415 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
69416
69417 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
69418
69419 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
69420 fields.
69421
69422 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
69423
69424 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
69425 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
69426 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
69427 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
69428 Likewise.
69429 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
69430 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
69431 Likewise.
69432
69433 2012-05-27 Ulrich Drepper <drepper@gmail.com>
69434
69435 * po/h.po: Update from translation team.
69436
69437 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
69438
69439 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
69440
69441 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
69442 handling of denormals.
69443 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
69444 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
69445 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
69446 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
69447 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
69448 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
69449 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
69450 Likewise.
69451
69452 2012-05-26 Marek Polacek <polacek@redhat.com>
69453
69454 [BZ #14152]
69455 * math/libm-test.inc (fma_test): Don't always expect underflow
69456 exception.
69457
69458 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
69459
69460 [BZ #12416]
69461 * elf/tst-execstack.c: Include stackinfo.h.
69462 (do_test): Adjust test case to ensure that pthread_getattr_np
69463 behaviour remains the same after marking stack executable.
69464
69465 2012-05-25 Joseph Myers <joseph@codesourcery.com>
69466
69467 * sysdeps/unix/sysv/linux/kernel-features.h
69468 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
69469 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
69470 kernel-features.h.
69471 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
69472 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
69473 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
69474 kernel-features.h.
69475 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
69476 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
69477
69478 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
69479
69480 * configure.in: Define the default includes to being none.
69481 * configure: Regenerated.
69482
69483 2012-05-25 Roland McGrath <roland@hack.frob.com>
69484
69485 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
69486 * sysdeps/x86_64/setjmp.S: Likewise.
69487 * sysdeps/i386/bsd-setjmp.S: Likewise.
69488 * sysdeps/i386/bsd-_setjmp.S: Likewise.
69489 * sysdeps/i386/setjmp.S: Likewise.
69490 * sysdeps/i386/__longjmp.S: Likewise.
69491 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
69492 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
69493
69494 * include/stap-probe.h: New file.
69495 * configure.in: Handle --enable-systemtap.
69496 * configure: Regenerated.
69497 * config.h.in (USE_STAP_PROBE): New #undef.
69498 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
69499 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
69500 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
69501
69502 2012-05-25 Joseph Myers <joseph@codesourcery.com>
69503
69504 [BZ #13717]
69505 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
69506 to 2.4.0 where earlier.
69507 * sysdeps/unix/sysv/linux/configure: Regenerated.
69508 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
69509 <kernel-features.h>.
69510 [__ASSUME_32BITUIDS]: Make code unconditional.
69511 [!__ASSUME_32BITUIDS]: Remove conditional code.
69512 * sysdeps/unix/sysv/linux/i386/fchown.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/fchownat.c (fchownat)
69517 [__ASSUME_32BITUIDS]: Make code unconditional.
69518 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
69519 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
69520 <kernel-features.h>.
69521 [__ASSUME_32BITUIDS]: Make code unconditional.
69522 [!__ASSUME_32BITUIDS]: Remove conditional code.
69523 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
69524 <kernel-features.h>.
69525 [__ASSUME_32BITUIDS]: Make code unconditional.
69526 [!__ASSUME_32BITUIDS]: Remove conditional code.
69527 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
69528 <kernel-features.h>.
69529 [__ASSUME_32BITUIDS]: Make code unconditional.
69530 [!__ASSUME_32BITUIDS]: Remove conditional code.
69531 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
69532 <kernel-features.h>.
69533 [__ASSUME_32BITUIDS]: Make code unconditional.
69534 [!__ASSUME_32BITUIDS]: Remove conditional code.
69535 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
69536 <kernel-features.h>.
69537 [__ASSUME_32BITUIDS]: Make code unconditional.
69538 [!__ASSUME_32BITUIDS]: Remove conditional code.
69539 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
69540 <kernel-features.h>.
69541 [__ASSUME_32BITUIDS]: Make code unconditional.
69542 [!__ASSUME_32BITUIDS]: Remove conditional code.
69543 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
69544 <kernel-features.h>.
69545 [__ASSUME_32BITUIDS]: Make code unconditional.
69546 [!__ASSUME_32BITUIDS]: Remove conditional code.
69547 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
69548 <kernel-features.h>.
69549 [__ASSUME_32BITUIDS]: Make code unconditional.
69550 [!__ASSUME_32BITUIDS]: Remove conditional code.
69551 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
69552 <kernel-features.h>.
69553 [__ASSUME_32BITUIDS]: Make code unconditional.
69554 [!__ASSUME_32BITUIDS]: Remove conditional code.
69555 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
69556 <kernel-features.h>.
69557 [__ASSUME_32BITUIDS]: Make code unconditional.
69558 [!__ASSUME_32BITUIDS]: Remove conditional code.
69559 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
69560 <kernel-features.h>.
69561 [__NR_setresgid] (__setresgid): Do not declare.
69562 [__ASSUME_32BITUIDS]: Make code unconditional.
69563 [!__ASSUME_32BITUIDS]: Remove conditional code.
69564 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
69565 <kernel-features.h>.
69566 [__NR_setresuid] (__setresuid): Do not declare.
69567 [__ASSUME_32BITUIDS]: Make code unconditional.
69568 [!__ASSUME_32BITUIDS]: Remove conditional code.
69569 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
69570 <kernel-features.h>.
69571 [__ASSUME_32BITUIDS]: Make code unconditional.
69572 [!__ASSUME_32BITUIDS]: Remove conditional code.
69573 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
69574 <kernel-features.h>.
69575 [__ASSUME_32BITUIDS]: Make code unconditional.
69576 [!__ASSUME_32BITUIDS]: Remove conditional code.
69577 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
69578 <kernel-features.h>.
69579 [__ASSUME_32BITUIDS]: Make code unconditional.
69580 [!__ASSUME_32BITUIDS]: Remove conditional code.
69581 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
69582 <kernel-features.h>.
69583 [__ASSUME_32BITUIDS]: Make code unconditional.
69584 [!__ASSUME_32BITUIDS]: Remove conditional code.
69585 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
69586 <kernel-features.h>.
69587 [__ASSUME_32BITUIDS]: Make code unconditional.
69588 [!__ASSUME_32BITUIDS]: Remove conditional code.
69589 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
69590 <kernel-features.h>.
69591 [__ASSUME_32BITUIDS]: Make code unconditional.
69592 [!__ASSUME_32BITUIDS]: Remove conditional code.
69593 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
69594 <kernel-features.h>.
69595 [__ASSUME_32BITUIDS]: Make code unconditional.
69596 [!__ASSUME_32BITUIDS]: Remove conditional code.
69597 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
69598 <kernel-features.h>.
69599 [__ASSUME_32BITUIDS]: Make code unconditional.
69600 [!__ASSUME_32BITUIDS]: Remove conditional code.
69601 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
69602 <kernel-features.h>.
69603 [__ASSUME_32BITUIDS]: Make code unconditional.
69604 [!__ASSUME_32BITUIDS]: Remove conditional code.
69605 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
69606 <kernel-features.h>.
69607 [__ASSUME_32BITUIDS]: Make code unconditional.
69608 [!__ASSUME_32BITUIDS]: Remove conditional code.
69609 * sysdeps/unix/sysv/linux/kernel-features.h
69610 (__ASSUME_SETRESUID_SYSCALL): Remove.
69611 (__ASSUME_SETRESGID_SYSCALL): Likewise.
69612 (__ASSUME_32BITUIDS): Likewise.
69613 (__ASSUME_LDT_WORKS): Likewise.
69614 (__ASSUME_O_DIRECTORY): Likewise.
69615 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
69616 architecture but not kernel version.
69617 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
69618 (__ASSUME_MMAP2_SYSCALL): Likewise.
69619 (__ASSUME_STAT64_SYSCALL): Likewise.
69620 (__ASSUME_IPC64): Likewise.
69621 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
69622 <kernel-features.h>.
69623 [__ASSUME_32BITUIDS]: Make code unconditional.
69624 [!__ASSUME_32BITUIDS]: Remove conditional code.
69625 * sysdeps/unix/sysv/linux/opendir.c: Do not include
69626 <kernel-features.h>.
69627 [__ASSUME_O_DIRECTORY]: Make code unconditional.
69628 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
69629 132096]: Remove conditional code.
69630 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
69631 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
69632 <kernel-features.h>.
69633 [__ASSUME_32BITUIDS]: Make code unconditional.
69634 [!__ASSUME_32BITUIDS]: Remove conditional code.
69635 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
69636 <kernel-features.h>.
69637 [__ASSUME_32BITUIDS]: Make code unconditional.
69638 [!__ASSUME_32BITUIDS]: Remove conditional code.
69639 * sysdeps/unix/sysv/linux/setegid.c: Do not include
69640 <kernel-features.h>.
69641 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
69642 unconditional.
69643 (__setresgid): Do not declare.
69644 [__ASSUME_32BITUIDS]: Make code unconditional.
69645 [!__ASSUME_32BITUIDS]: Remove conditional code.
69646 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
69647 <kernel-features.h>.
69648 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
69649 unconditional.
69650 (__setresuid): Do not declare.
69651 [__ASSUME_32BITUIDS]: Make code unconditional.
69652 [!__ASSUME_32BITUIDS]: Remove conditional code.
69653 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
69654 <kernel-features.h>.
69655 [__ASSUME_32BITUIDS]: Make code unconditional.
69656 [!__ASSUME_32BITUIDS]: Remove conditional code.
69657 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
69658 <kernel-features.h>.
69659 [__ASSUME_32BITUIDS]: Make code unconditional.
69660 [!__ASSUME_32BITUIDS]: Remove conditional code.
69661
69662 2012-05-25 Richard Henderson <rth@twiddle.net>
69663
69664 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
69665 dl_hwcap to ifunc resolver.
69666 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
69667 elf_ifunc_invoke.
69668 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
69669 dl_hwcap to ifunc resolver.
69670 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
69671
69672 2012-05-24 Joseph Myers <joseph@codesourcery.com>
69673
69674 [BZ #14153]
69675 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
69676 for |x| <= 2**-26, not 2**-57.
69677 * math/libm-test.inc (acos_test): Do not allow spurious underflow
69678 exception.
69679
69680 2012-05-24 Jeff Law <law@redhat.com>
69681
69682 * stdio-common/Makefile (tests): Add bug25.
69683 * stdio-common/bug25.c: New test.
69684
69685 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
69686
69687 [BZ #13576]
69688 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
69689 multiple of MALLOC_ALIGNMENT in size.
69690 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
69691
69692 2012-05-24 Joseph Myers <joseph@codesourcery.com>
69693
69694 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
69695 Require >= 256.
69696 (FILENAME_MAX): Use macro-int-constant.
69697 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
69698 (_IOFBF): Use macro-int-constant.
69699 (_IOLBF): Likewise.
69700 (_IONBF): Likewise.
69701 (SEEK_CUR): Likewise.
69702 (SEEK_END): Likewise.
69703 (SEEK_SET): Likewise.
69704 (TMP_MAX): Likewise.
69705 (EOF): Use macro-int-constant. Require < 0.
69706 (NULL): Use macro-constant. Require == 0.
69707 (stdin): Require type to be FILE *.
69708 (stdout): Likewise.
69709 (stderr): Likewise.
69710 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
69711 macro-int-constant.
69712 (EXIT_SUCCESS): Likewise.
69713 (NULL): Use macro-constant. Require == 0.
69714 (RAND_MAX): Use macro-int-constant.
69715 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
69716 [C99-based standards] (strtof): Require function.
69717 [C99-based standards] (strtold): Likewise.
69718 [C99-based standards] (strtoll): Likewise.
69719 [C99-based standards] (strtoull): Likewise.
69720 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
69721 [ISO || ISO99 || ISO11] (limits.h): Likewise.
69722 [ISO || ISO99 || ISO11] (math.h): Likewise.
69723 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
69724 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
69725 [ISO || ISO99 || ISO11] (*_t): Do not allow.
69726
69727 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
69728
69729 [BZ #14132]
69730 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
69731 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
69732 * intl/dgettext.c (DCGETTEXT): Likewise.
69733 * intl/gettext.c (DCGETTEXT): Likewise.
69734 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
69735 * posix/regex_internal.h (gettext): Likewise.
69736 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
69737 Remove declaration.
69738 * include/argz.h (__argz_count_internal)
69739 (__argz_stringify_internal): Remove declaration.
69740 (__argz_count, __argz_stringify): Declare hidden proto.
69741 * intl/dcgettext.c: Remove use of INTDEF.
69742 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
69743 * string/argz-stringify.c: Likewise.
69744 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
69745 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
69746 Declare hidden proto.
69747 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
69748 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
69749 Declare hidden proto.
69750 * include/stdio.h (__asprintf_internal): Don't declare.
69751 (__asprintf): Don't define as macro. Declare hidden proto.
69752 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
69753 (__fsetlocking): Declare hidden proto.
69754 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
69755 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
69756 hidden proto.
69757 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
69758 (_IO_setlinebuf): Remove use of INTUSE.
69759 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
69760 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
69761 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
69762 Remove declaration.
69763 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
69764 (_IO_do_flush): Remove use of INTUSE.
69765 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
69766 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
69767 (_IO_adjust_column, _IO_least_wmarker)
69768 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
69769 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
69770 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
69771 (_IO_default_doallocate, _IO_wdefault_doallocate)
69772 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
69773 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
69774 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
69775 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
69776 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
69777 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
69778 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
69779 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
69780 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
69781 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
69782 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
69783 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
69784 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
69785 proto.
69786 (_IO_flush_all_internal, _IO_adjust_column_internal)
69787 (_IO_default_uflow_internal, _IO_default_finish_internal)
69788 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
69789 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
69790 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
69791 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
69792 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
69793 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
69794 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
69795 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
69796 (_IO_file_close_internal, _IO_file_close_it_internal)
69797 (_IO_file_underflow_internal, _IO_file_overflow_internal)
69798 (_IO_file_init_internal, _IO_file_attach_internal)
69799 (_IO_file_fopen_internal, _IO_file_read_internal)
69800 (_IO_file_sync_internal, _IO_file_seek_internal)
69801 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
69802 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
69803 (_IO_str_underflow_internal, _IO_str_overflow_internal)
69804 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
69805 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
69806 (_IO_list_all_internal, _IO_link_in_internal)
69807 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
69808 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
69809 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
69810 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
69811 (_IO_do_write_internal, _IO_padn_internal)
69812 (_IO_getline_info_internal, _IO_getline_internal)
69813 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
69814 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
69815 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
69816 (_IO_vfscanf_internal, _IO_vfprintf_internal)
69817 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
69818 (_IO_init_internal, _IO_un_link_internal): Don't declare.
69819 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
69820 with libc_hidden_ver, remove use of INTUSE.
69821 * libio/genops.c: Likewise.
69822 * libio/freopen.c: Likewise.
69823 * libio/freopen64.c: Likewise.
69824 * libio/iofclose.c: Likewise.
69825 * libio/iofdopen.c: Likewise.
69826 * libio/iofflush.c: Likewise.
69827 * libio/iofflush_u.c: Likewise.
69828 * libio/iofgets.c: Likewise.
69829 * libio/iofgets_u.c: Likewise.
69830 * libio/iofopen.c: Likewise.
69831 * libio/iofopncook.c: Likewise.
69832 * libio/iofread.c: Likewise.
69833 * libio/iofread_u.c: Likewise.
69834 * libio/ioftell.c: Likewise.
69835 * libio/iofwrite.c: Likewise.
69836 * libio/iogetline.c: Likewise.
69837 * libio/iogets.c: Likewise.
69838 * libio/iogetwline.c: Likewise.
69839 * libio/iopadn.c: Likewise.
69840 * libio/iopopen.c: Likewise.
69841 * libio/ioseekoff.c: Likewise.
69842 * libio/ioseekpos.c: Likewise.
69843 * libio/iosetbuffer.c: Likewise.
69844 * libio/iosetvbuf.c: Likewise.
69845 * libio/ioungetc.c: Likewise.
69846 * libio/ioungetwc.c: Likewise.
69847 * libio/iovdprintf.c: Likewise.
69848 * libio/iovsprintf.c: Likewise.
69849 * libio/iovsscanf.c: Likewise.
69850 * libio/memstream.c: Likewise.
69851 * libio/obprintf.c: Likewise.
69852 * libio/oldfileops.c: Likewise.
69853 * libio/oldiofclose.c: Likewise.
69854 * libio/oldiofdopen.c: Likewise.
69855 * libio/oldiofopen.c: Likewise.
69856 * libio/oldiopopen.c: Likewise.
69857 * libio/oldstdfiles.c: Likewise.
69858 * libio/putc.c: Likewise.
69859 * libio/setbuf.c: Likewise.
69860 * libio/setlinebuf.c: Likewise.
69861 * libio/stdfiles.c: Likewise.
69862 * libio/strops.c: Likewise.
69863 * libio/vasprintf.c: Likewise.
69864 * libio/vscanf.c: Likewise.
69865 * libio/vsnprintf.c: Likewise.
69866 * libio/vswprintf.c: Likewise.
69867 * libio/wfiledoalloc.c: Likewise.
69868 * libio/wfileops.c: Likewise.
69869 * libio/wgenops.c: Likewise.
69870 * libio/wmemstream.c: Likewise.
69871 * libio/wstrops.c: Likewise.
69872 * libio/__fpurge.c: Likewise.
69873 * libio/__fsetlocking.c: Likewise.
69874 * assert/assert.c: Likewise.
69875 * debug/fgets_chk.c: Likewise.
69876 * debug/fgets_u_chk.c: Likewise.
69877 * debug/fread_chk.c: Likewise.
69878 * debug/fread_u_chk.c: Likewise.
69879 * debug/gets_chk.c: Likewise.
69880 * debug/obprintf_chk.c: Likewise.
69881 * debug/vasprintf_chk.c: Likewise.
69882 * debug/vdprintf_chk.c: Likewise.
69883 * debug/vsnprintf_chk.c: Likewise.
69884 * debug/vsprintf_chk.c: Likewise.
69885 * malloc/mtrace.c: Likewise.
69886 * misc/error.c: Likewise.
69887 * misc/syslog.c: Likewise.
69888 * stdio-common/asprintf.c: Likewise.
69889 * stdio-common/fxprintf.c: Likewise.
69890 * stdio-common/getw.c: Likewise.
69891 * stdio-common/isoc99_fscanf.c: Likewise.
69892 * stdio-common/isoc99_scanf.c: Likewise.
69893 * stdio-common/isoc99_vfscanf.c: Likewise.
69894 * stdio-common/isoc99_vscanf.c: Likewise.
69895 * stdio-common/isoc99_vsscanf.c: Likewise.
69896 * stdio-common/printf-prs.c: Likewise.
69897 * stdio-common/printf_fp.c: Likewise.
69898 * stdio-common/printf_fphex.c: Likewise.
69899 * stdio-common/printf_size.c: Likewise.
69900 * stdio-common/putw.c: Likewise.
69901 * stdio-common/scanf.c: Likewise.
69902 * stdio-common/sprintf.c: Likewise.
69903 * stdio-common/tmpfile.c: Likewise.
69904 * stdio-common/vfprintf.c: Likewise.
69905 * stdio-common/vfscanf.c: Likewise.
69906 * stdlib/strfmon_l.c: Likewise.
69907 * sunrpc/openchild.c: Likewise.
69908 * sunrpc/xdr_stdio.c: Likewise.
69909 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
69910 * sysdeps/mach/hurd/tmpfile.c: Likewise.
69911
69912 2012-05-24 Roland McGrath <roland@hack.frob.com>
69913
69914 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
69915
69916 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
69917 in the third column, to generate for the shared library an IFUNC
69918 that uses _dl_vdso_vsym.
69919 * Makerules (COMPILE.c, compile-stdin.c): New variables.
69920 * Makeconfig (object-suffixes-noshared): New variable.
69921
69922 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
69923 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
69924 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
69925 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
69926
69927 [BZ #14132]
69928 * include/sys/time.h (__gettimeofday): Remove macro.
69929 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
69930 * time/gettimeofday.c (__gettimeofday): Remove #undef.
69931 Remove INTDEF.
69932 (__gettimeofday): Add libc_hidden_def.
69933 (gettimeofday): Add libc_hidden_weak.
69934 * sysdeps/mach/gettimeofday.c: Likewise.
69935 * sysdeps/posix/gettimeofday.c: Likewise.
69936 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
69937 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
69938 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
69939 (__gettimeofday_internal): Remove strong_alias.
69940 (__gettimeofday): Add libc_hidden_def.
69941 (gettimeofday): Add libc_hidden_weak.
69942 * sysdeps/unix/syscalls.list (gettimeofday):
69943 Remove __gettimeofday_internal alias.
69944
69945 2012-05-24 Daniel Jacobowitz <drow@false.org>
69946 H.J. Lu <hongjiu.lu@intel.com>
69947
69948 [BZ #12495]
69949 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
69950 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
69951 (largebin_index_32_big): New.
69952 (largebin_index): Use it for 16-byte alignment.
69953 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
69954 correction with front_misalign.
69955
69956 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
69957
69958 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
69959 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
69960 Likewise.
69961 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
69962 Likewise.
69963 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
69964 Likewise.
69965 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
69966 Likewise.
69967 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
69968 Likewise.
69969 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
69970 Likewise.
69971 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
69972 Likewise.
69973 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
69974 Likewise.
69975 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
69976 Likewise.
69977 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
69978 Likewise.
69979 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
69980 Likewise.
69981 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
69982 Likewise.
69983
69984 * scripts/data/c++-types-x32-linux-gnu.data: New file.
69985 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
69986
69987 2012-05-24 Joseph Myers <joseph@codesourcery.com>
69988
69989 [BZ #10846]
69990 [BZ #14036]
69991 * math/libm-test.inc (exp_test): Add test from bug 14036.
69992 (pow_test): Add test from bug 10846.
69993
69994 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
69995 and other flags.
69996 (special_function): Do not include flags in test name.
69997 (parse_args): Likewise.
69998 * sysdeps/i386/fpu/libm-test-ulps: Update.
69999 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
70000 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
70001 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
70002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70003
70004 * math/gen-libm-test.pl (%beautify): Add entries for underflow
70005 exceptions.
70006 * math/libm-test.inc ("Philosophy"): Update comment about
70007 exception testing.
70008 (UNDERFLOW_EXCEPTION): New macro.
70009 (UNDERFLOW_EXCEPTION_OK): Likewise.
70010 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
70011 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
70012 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
70013 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
70014 (INVALID_EXCEPTION_OK): Update value.
70015 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
70016 (OVERFLOW_EXCEPTION_OK): Likewise.
70017 (IGNORE_ZERO_INF_SIGN): Likewise.
70018 (test_exceptions): Handle underflow exceptions.
70019 (acos_test): Update for underflow exception expectations.
70020 (cexp_test): Likewise.
70021 (clog_test): Likewise.
70022 (clog10_test): Likewise.
70023 (csqrt_test): Likewise.
70024 (ctan_test): Likewise.
70025 (ctanh_test): Likewise.
70026 (exp_test): Likewise.
70027 (exp10_test): Likewise.
70028 (exp2_test): Likewise.
70029 (expm1_test): Likewise.
70030 (fma_test): Likewise.
70031 (j0_test): Likewise.
70032 (jn_test): Likewise.
70033 (nexttoward_test): Likewise.
70034 (pow_test): Likewise.
70035 (scalbn_test): Likewise.
70036 (scalbln_test): Likewise.
70037 (tan_test): Likewise.
70038 (y1_test): Likewise.
70039 * sysdeps/i386/fpu/libm-test-ulps: Update.
70040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70041
70042 2012-05-23 David S. Miller <davem@davemloft.net>
70043
70044 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
70045 (__libc_sigaction): Remove unused local variables.
70046
70047 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
70048
70049 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
70050
70051 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
70052
70053 mktime: avoid signed integer overflow
70054 * time/mktime.c (__mktime_internal): Do not mishandle the case
70055 where diff == INT_MIN.
70056
70057 mktime: simplify computation of average
70058 * time/mktime.c (ranged_convert): Use new time_t_avg function
70059 instead of rolling our own (probably-slower) code.
70060
70061 mktime: do not assume signed right shift propagates sign bit
70062 * time/mktime.c (isdst_differ): New static function.
70063 (__mktime_internal): No need to normalize tm_isdst now.
70064 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
70065 tm_isdst values.
70066
70067 mktime: merge another wrapv change from gnulib
70068 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
70069 from some compilers.
70070
70071 mktime: remove incorrect attempt at unusual arithmetics
70072 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
70073 The code didn't really work on such machines anyway.
70074 (TYPE_MINIMUM): Assume two's complement.
70075 (twos_complement_arithmetic): Verify that long_int and time_t
70076 are two's complement (or unsigned, in the latter case).
70077
70078 mktime: check signed shifts on long_int and time_t, too
70079 * time/mktime.c (SHR): Check that shifts work as desired
70080 on the types long_int and time_t too, as SHR is used on
70081 such types.
70082
70083 mktime: do not assume 'long' is wide enough
70084 * time/mktime.c (verify): Move decl up.
70085 (long_int): New type.
70086 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
70087 to remove assumption in the code that 'long' is wide enough to
70088 store year values. This assumption is not true on x32 and on
70089 some non-glibc platforms.
70090
70091 mktime: merge wrapv change from gnulib
70092 * time/mktime.c (WRAPV): New macro.
70093 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
70094 (guess_time_tm, __mktime_internal): Do not assume that signed
70095 integer overflow wraps around; modern compilers generate code
70096 where this assumption is no longer valid.
70097
70098 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
70099
70100 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
70101 Replace "jmp L(pseudo_end)" with "ret".
70102 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
70103 Likewise.
70104
70105 2012-05-23 Andreas Jaeger <aj@suse.de>
70106
70107 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
70108 * sysdeps/unix/sysv/linux/poll.c: Remove file.
70109
70110 2012-05-23 Andreas Jaeger <aj@suse.de>
70111 Maximilian Attems <max@stro.at>
70112
70113 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
70114 New macros.
70115
70116 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
70117
70118 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
70119 code so that pseudo_end is just ret and the stack pointer is
70120 correct also for static library in error case.
70121
70122 2012-05-23 Joseph Myers <joseph@codesourcery.com>
70123
70124 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
70125 move to syscalls.list.
70126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
70127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
70128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
70129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
70130
70131 * manual/install.texi (Running make install): Do not mention Linux
70132 kernel version for which pt_chown is not needed.
70133 (Linux): Do not mention problems with nscd with 2.0 kernels.
70134 * INSTALL: Regenerated.
70135
70136 2012-05-23 Andreas Jaeger <aj@suse.de>
70137
70138 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
70139 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
70140 macro.
70141 * sysdeps/unix/sysv/linux/s390/bits/mman.h
70142 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70143 * sysdeps/unix/sysv/linux/sh/bits/mman.h
70144 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70145 * sysdeps/unix/sysv/linux/i386/bits/mman.h
70146 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70147 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
70148 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70149 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
70150 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70151 * sysdeps/unix/sysv/linux/bits/in.h
70152 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
70153
70154 2012-05-22 Roland McGrath <roland@hack.frob.com>
70155
70156 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
70157 (PREPARE_VERSION): Just use assert instead, it will be elided
70158 under [NDEBUG] anyway.
70159
70160 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
70161
70162 * sysdeps/unix/sysv/linux/Makefile: Include
70163 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
70164 (sysdep_routines): Remove sysctl.
70165 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
70166 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
70167 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
70168 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
70169 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
70170
70171 2012-05-22 Andreas Jaeger <aj@suse.de>
70172
70173 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
70174 that pseudo_end is just ret and the stack pointer is correct also
70175 for static library in error case.
70176
70177 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
70178
70179 [BZ #14122]
70180 * nss/nsswitch.c (defconfig_entries): New variable.
70181 (__nss_database_lookup): Don't leak defconfig entries.
70182 (nss_parse_service_list): Don't leak on error paths.
70183 (free_database_entries): New function.
70184 (free_defconfig): New function.
70185 (free_mem): Move common code to free_database_entries.
70186
70187 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
70188
70189 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
70190 Add arch_prctl.
70191 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
70192
70193 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
70194 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
70195 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
70196 New macro.
70197 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
70198 (INTERNAL_SYSCALL_TYPES): Likewise.
70199 (LOAD_ARGS_TYPES_[1-6]): Likewise.
70200 (LOAD_REGS_TYPES_[1-6]): Likewise.
70201 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
70202 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
70203
70204 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
70205
70206 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
70207 copysignl for GLIBC_2_0.
70208 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
70209 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
70210 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
70211 logbl for GLIBC_2_0.
70212 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
70213 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
70214
70215 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
70216
70217 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
70218 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
70219
70220 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
70221 Use "neg %eax".
70222
70223 * time/mktime.c: Update copyright years.
70224
70225 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
70226
70227 mktime: merge comment-quoting-style change from gnulib
70228 * time/mktime.c: Quote 'like this' in comments.
70229 The GNU coding standards suggest that we no longer quote `like this',
70230 as "`" and "'" are typically rendered asymmetrically nowadays.
70231 The typical gnulib style is to quote 'like this' when quoting
70232 code, and "like this" when quoting English.
70233
70234 * time/mktime.c (compile-command): Add "-I.".
70235
70236 mktime: merge mktime-internal.h change from gnulib
70237 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
70238
70239 mktime: merge time_r change from gnulib
70240 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
70241
70242 mktime: merge DEBUG change from gnulib
70243 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
70244 case system <time.h> has a #define.
70245
70246 mktime: merge <sys/types.h> change from gnulib
70247 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
70248 since <time.t> is now guaranteed to define time_t.
70249
70250 mktime: merge HAVE_CONFIG_H change from gnulib
70251 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
70252
70253 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
70254
70255 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
70256 Use "neg %eax".
70257
70258 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
70259 __rlim_t cast.
70260 (struct rusage): Use anonymous union to pad each field to
70261 __syscall_slong_t.
70262
70263 2012-05-21 David S. Miller <davem@davemloft.net>
70264
70265 * Makefules (o-iterator): Remove .s cases.
70266 (compile-command.s): Delete.
70267 (COMPILE.s): Delete.
70268 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
70269
70270 2012-05-21 Joseph Myers <joseph@codesourcery.com>
70271
70272 * configure.in (libc_cv_predef_stack_protector): Only consider
70273 "foobar" and "__stack_chk_fail" lines in libc_undefs.
70274 * configure: Regenerated.
70275
70276 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
70277
70278 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
70279 New macro. Use R*LP on int and pointer.
70280 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
70281 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
70282 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
70283 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
70284
70285 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
70286 [__WORDSIZE_TIME64_COMPAT32] instead of
70287 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
70288 (struct utmp): Likewise.
70289 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
70290 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
70291 Renamed to ...
70292 (__WORDSIZE_TIME64_COMPAT32): This.
70293 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
70294 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
70295 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
70296 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
70297 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
70298 (__WORDSIZE_TIME64_COMPAT32): New macro.
70299
70300 2012-05-21 Andreas Jaeger <aj@suse.de>
70301
70302 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
70303 only if [SHARED]. Add prototype for __wcschr_ia32.
70304
70305 2012-05-21 Roland McGrath <roland@hack.frob.com>
70306
70307 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
70308 of %rbp unmolested in the jmp_buf while mangling the low bits.
70309 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
70310 unmolested high bits of %rbp while demangling the low bits.
70311 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
70312
70313 2012-05-21 Andreas Jaeger <aj@suse.de>
70314
70315 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
70316 * sunrpc/svc_simple.c: Use it for registerrpc.
70317 * sunrpc/xcrypt.c: Use it for passwd2des.
70318
70319 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
70320
70321 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
70322
70323 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
70324 Don't define if [__SYSCALL_WORDSIZE != 32].
70325 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
70326 New macro.
70327
70328 2012-05-21 Bruno Haible <bruno@clisp.org>
70329 Andreas Jaeger <aj@suse.de>
70330
70331 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
70332 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
70333 inptr and inend for must_buffer_ch.
70334 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
70335 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
70336 * stdio-common/Makefile (tests): Remove bug15.
70337 (bug15-ENV): Remove macro.
70338 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
70339 anymore.
70340
70341 2012-05-19 Andreas Jaeger <aj@suse.de>
70342 Roland McGrath <roland@hack.frob.com>
70343
70344 * manual/contrib.texi: Completely rewritten. It contains now an
70345 alphabetical list of contributors and their contributions.
70346
70347 2012-05-21 Richard Henderson <rth@twiddle.net>
70348
70349 * misc/getauxval.c (__getauxval): Use unsigned long int.
70350 * misc/sys/auxv.h: Include <sys/cdefs.h>.
70351 (getauxval): Use unsigned long int.
70352
70353 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
70354
70355 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
70356
70357 2012-05-21 Roland McGrath <roland@hack.frob.com>
70358
70359 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
70360 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
70361 __alignof__ (long double).
70362
70363 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
70364
70365 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70366
70367 2012-05-20 Richard Henderson <rth@twiddle.net>
70368
70369 * misc/getauxval.c: New file.
70370 * misc/sys/auxv.h: New file.
70371 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
70372 (routines): Add getauxval.
70373 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
70374 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
70375 * elf/dl-sysdep.c (_dl_auxv): Remove.
70376 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
70377 * elf/dl-support.c (_dl_auxv): New variable.
70378 (_dl_aux_init): Initialize it.
70379 * manual/startup.texi (Auxiliary Vector): New node.
70380 * sysdeps/generic/bits/hwcap.h: New file.
70381 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
70382 * sysdeps/powerpc/sysdep.h: ... here. Include it.
70383 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
70384 * sysdeps/sparc/sysdep.h: ... here. Include it.
70385 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
70386 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
70387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
70388 Update.
70389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
70390 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
70391 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
70392 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
70393 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
70394 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
70395 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
70396 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
70397
70398 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
70399
70400 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70401
70402 2012-05-19 David S. Miller <davem@davemloft.net>
70403
70404 * sysdeps/sparc/fpu/libm-test-ulps: Update.
70405
70406 2012-05-19 Joseph Myers <joseph@codesourcery.com>
70407
70408 [BZ #14123]
70409 * math/s_ccosh.c: Include <float.h>
70410 (__ccosh): Avoid internal overflow calculating sinh and cosh
70411 values before multiplying by sin and cos values.
70412 * math/s_ccoshf.c: Likewise.
70413 * math/s_ccoshl.c: Likewise.
70414 * math/s_csin.c: Likewise.
70415 * math/s_csinf.c: Likewise.
70416 * math/s_csinl.c: Likewise.
70417 * math/s_csinh.c: Likewise.
70418 * math/s_csinhf.c: Likewise.
70419 * math/s_csinhl.c: Likewise.
70420 * math/libm-test.inc (ccos_test): Add more tests.
70421 (ccosh_test): Likewise.
70422 (csin_test): Likewise.
70423 (csinh_test): Likewise.
70424 * sysdeps/i386/fpu/libm-test-ulps: Update.
70425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70426
70427 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
70428
70429 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
70430 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
70431
70432 * sysdeps/x86_64/x32/_itoa.h: Add comment.
70433
70434 2012-05-19 Joseph Myers <joseph@codesourcery.com>
70435
70436 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
70437 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
70438 * sysdeps/powerpc/soft-fp/Versions: Likewise.
70439 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
70440 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
70441 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
70442 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
70443 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
70444 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
70445 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
70446 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
70447 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
70448 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
70449 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
70450 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
70451 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
70452 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
70453 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
70454 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
70455 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
70456 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
70457 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
70458 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
70459 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
70460 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
70461 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
70462 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
70463 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
70464 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
70465 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
70466 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
70467
70468 2012-05-18 Andreas Jaeger <aj@suse.de>
70469
70470 * csu/.gitignore: Delete.
70471
70472 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
70473
70474 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
70475 (timex): Use __syscall_slong_t.
70476
70477 2012-05-18 Andreas Jaeger <aj@suse.de>
70478 Carlos O'Donell <carlos_odonell@mentor.com>
70479
70480 * manual/install.texi (Configuring and compiling): Update
70481 description about files modified in the source directory.
70482 * INSTALL: Regenerated.
70483
70484 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
70485
70486 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
70487 value. Use "or" to set return value to -1.
70488 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
70489 negate return value.
70490
70491 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
70492
70493 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
70494 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
70495 failure if the compiler has Graphite support disabled.
70496 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
70497 Likewise.
70498 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
70499 (CFLAGS-memmove.c): Likewise.
70500 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
70501 Likewise.
70502
70503 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
70504
70505 * sysdeps/x86_64/x32/_itoa.h: New file.
70506
70507 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
70508 getdents system call only if kernel and user dirents have the
70509 same d_ino and d_off.
70510
70511 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
70512 LLONG_MAX != LONG_MAX.
70513 (_itoa_word): Use _ITOA_WORD_TYPE on value.
70514 (_fitoa_word): Likewise.
70515
70516 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
70517 years.
70518 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
70519 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
70520 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
70521
70522 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
70523 include <bits/wordsize.h>. Check __x86_64__ instead of
70524 __WORDSIZE.
70525 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
70526 if __x86_64__ is defined. Use anonymous union on fpstate.
70527
70528 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
70529 anonymous union.
70530
70531 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
70532
70533 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
70534 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
70535 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
70536 Refer to _rtld_local_ro instead of _rtld_global_ro.
70537 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
70538 Likewise.
70539 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
70540 Likewise.
70541 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
70542 Likewise.
70543 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
70544 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
70545 of _rtld_global, and rtld_progname instead of _dl_argv[0].
70546
70547 [BZ #10882]
70548 * sysdeps/powerpc/powerpc32/dl-machine.c
70549 (__elf_machine_runtime_setup) [PROF]: Don't reference
70550 _dl_prof_resolve.
70551
70552 2012-05-18 Andreas Jaeger <aj@suse.de>
70553
70554 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
70555 function only available for GCCs before 3.4 since GCC 3.4
70556 introduced a builtin.
70557 (lrint): Likewise.
70558 (llrintf): Likewise.
70559 (llrint): Likewise.
70560 (fmaxf): Likewise.
70561 (fmax): Likewise.
70562 (fminf): Likewise.
70563 (fmin): Likewise.
70564 (rint): Likewise.
70565 (rintf): Likewise.
70566 (nearbyint): Likewise.
70567 (nearbyintf): Likewise.
70568 (ceil): Likewise.
70569 (ceilf): Likewise.
70570 (floor): Likewise.
70571 (floorf): Likewise.
70572
70573 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
70574
70575 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
70576 on both fields and cast pointer to __syscall_ulong_t.
70577
70578 * bits/types.h (__fsword_t): New type.
70579 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
70580 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
70581 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
70582 (__FSWORD_T_TYPE): Likewise.
70583 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
70584 (__FSWORD_T_TYPE): Likewise.
70585 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
70586 (__FSWORD_T_TYPE): Likewise.
70587 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
70588 (__FSWORD_T_TYPE): Likewise.
70589 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
70590 __SWORD_TYPE with __fsword_t.
70591 (statfs64): Likewise.
70592
70593 2012-05-17 David S. Miller <davem@davemloft.net>
70594
70595 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
70596
70597 2012-05-17 Andreas Jaeger <aj@suse.de>
70598
70599 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
70600 warning.
70601
70602 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
70603
70604 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
70605
70606 2012-05-17 Andreas Jaeger <aj@suse.de>
70607
70608 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
70609 when it is used.
70610
70611 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
70612
70613 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
70614
70615 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
70616
70617 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
70618 * sysdeps/x86_64/tst-mallocalign1.c: New file.
70619
70620 2012-05-17 Andreas Jaeger <aj@suse.de>
70621 Carlos O'Donell <carlos_odonell@mentor.com>
70622
70623 [BZ #14059]
70624 * sysdeps/x86_64/multiarch/init-arch.h
70625 (bit_YMM_Usable): Rename to...
70626 (bit_AVX_Usable): ... this.
70627 (bit_FMA4_Usable): New macro.
70628 (bit_XMM_state): New macro.
70629 (bit_YMM_state): New macro.
70630 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
70631 [__ASSEMBLER__] (index_AVX_Usable): ... this.
70632 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
70633 (CPUID_OSXSAVE): New macro.
70634 (CPUID_AVX): New macro.
70635 (CPUID_FMA4): New macro.
70636 (index_YMM_Usable): Rename to...
70637 (index_AVX_Usable): ... this.
70638 (HAS_AVX): Use HAS_ARCH_FEATURE.
70639 (HAS_FMA4): Likewise.
70640 (HAS_YMM_USABLE): Remove.
70641 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70642 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
70643 are present.
70644 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
70645 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
70646 * sysdeps/x86_64/multiarch/Makefile: Likewise.
70647 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
70648 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
70649
70650 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
70651
70652 * math/libm-test.c: Support platforms without multiple rounding modes.
70653 * math/bug-nextafter.c: Support platforms without FP exceptions.
70654 * math/bug-nexttoward.c: Likewise.
70655 * math/test-fenv.c: Likewise.
70656 * math/test-misc.c: Likewise.
70657 * stdlib/bug-getcontext.c: Likewise.
70658
70659 2012-05-17 Andreas Jaeger <aj@suse.de>
70660
70661 * manual/examples/search.c (critter_cmp): Change signature to
70662 avoid warnings.
70663 * manual/string.texi (Collation Functions): Likewise.
70664
70665 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
70666
70667 * bits/types.h: Fold copyright years.
70668 * bits/typesizes.h: Likewise.
70669 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
70670 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
70671 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
70672 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
70673 * time/time.h: Likewise.
70674
70675 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
70676
70677 [BZ #208]
70678 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
70679 in instead of returning them. Return void.
70680 (__libc_mallinfo): Accumulate over all arenas.
70681 (__malloc_stats): Adjust for change in int_mallinfo interface.
70682
70683 2012-05-16 Roland McGrath <roland@hack.frob.com>
70684
70685 [BZ #10375]
70686 * configure.in (NM): Add AC_CHECK_TOOL for it.
70687 (libc_extra_cflags): New substituted variable.
70688 Check for -fstack-protector being used implicitly.
70689 * configure: Regenerated.
70690 * config.make.in (config-extra-cflags): New variable,
70691 gets @libc_extra_cflags@.
70692 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
70693
70694 [BZ #10375]
70695 * configure.in: Check for _FORTIFY_SOURCE being predefined.
70696 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
70697 * configure: Regenerated.
70698 * config.make.in (CPPUNDEFS): New substituted variable.
70699 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
70700 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
70701 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
70702
70703 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
70704
70705 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
70706 (mq_attr): Use __syscall_slong_t.
70707
70708 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
70709
70710 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
70711 Check __x86_64__ instead of __WORDSIZE.
70712 (_STAT_VER_LINUX): Likewise.
70713 (stat): Check __x86_64__ instead of __WORDSIZE. Use
70714 __syscall_ulong_t and __syscall_slong_t.
70715 (stat64): Likewise.
70716
70717 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
70718
70719 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
70720
70721 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
70722
70723 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
70724
70725 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
70726
70727 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
70728 __syscall_ulong_t.
70729
70730 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
70731 include <bits/wordsize.h>. Check __x86_64__ instead of
70732 __WORDSIZE.
70733 (greg_t): Use "__extension__ long long int" if __x86_64__ is
70734 defined.
70735 (mcontext_t): Replace "unsigned long" with "unsigned long long".
70736
70737 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
70738 include <bits/wordsize.h>. Check __x86_64__ instead of
70739 __WORDSIZE.
70740 (user_regs_struct): Use "__extension__ unsigned long long"
70741 instead of "unsigned long" if __x86_64__ is defined.
70742 (user): Likewise. Pad after pointer field if __ILP32__ is
70743 defined.
70744
70745 2012-05-16 Joseph Myers <joseph@codesourcery.com>
70746
70747 * configure.in (makeinfo): Require version 4.5 or later. Allow
70748 versions 5 to 9.
70749 * configure: Regenerated.
70750 * manual/install.texi (texinfo): Increase version requirement to
70751 4.5 or later.
70752 * INSTALL: Regenerated.
70753
70754 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
70755
70756 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
70757
70758 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
70759
70760 * sysdeps/x86_64/x32/ffs.c: New file.
70761
70762 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
70763 __syscall_ulong_t.
70764 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
70765 defined. Use __syscall_ulong_t.
70766 (shminfo): Use __syscall_ulong_t.
70767 (shm_info): Likewise.
70768
70769 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
70770 __syscall_ulong_t.
70771
70772 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
70773 <bits/wordsize.h>.
70774 (msgqnum_t): Use __syscall_ulong_t.
70775 (msglen_t): Likewise.
70776 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
70777 __syscall_ulong_t.
70778
70779 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
70780 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
70781
70782 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
70783
70784 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
70785 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
70786
70787 * sysvipc/sys/msg.h (msgbuf): Replace long int with
70788 __syscall_slong_t.
70789
70790 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
70791 include <bits/wordsize.h>. Check __x86_64__ instead of
70792 __WORDSIZE.
70793
70794 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
70795 "unsigned long long int" if __x86_64__ is defined.
70796 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
70797
70798 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
70799 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
70800 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
70801
70802 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
70803 <stdint.h>.
70804 (GET_PC): Cast to uintptr_t first.
70805 (GET_FRAME): Likewise.
70806 (GET_STACK): Likewise.
70807
70808 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
70809 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
70810 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
70811 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
70812 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
70813 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
70814 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
70815 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
70816 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
70817 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
70818 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
70819 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
70820 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
70821 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
70822 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
70823 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
70824 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
70825 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
70826 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
70827 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
70828 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
70829 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
70830 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
70831 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
70832 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
70833 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
70834 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
70835 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
70836 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
70837
70838 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
70839
70840 * Makerules (+depfiles): Also collect depfiles from .oS in
70841 $(extra-objs).
70842 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
70843 .oS, $(libnldbl-routines)).
70844
70845 * Makerules (native-compile-mkdep-flags): Define.
70846 * sunrpc/Makefile (extra-objs): Add $(addprefix
70847 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
70848 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
70849 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
70850 calling $(make-target-directory).
70851
70852 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70853
70854 * bits/types.h (__snseconds_t): Removed.
70855 * time/time.h (struct timespec): Replace __snseconds_t with
70856 __syscall_slong_t.
70857 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
70858 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
70859 Likewise.
70860 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
70861 (__SNSECONDS_T_TYPE): Likewise.
70862 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
70863 (__SNSECONDS_T_TYPE): Likewise.
70864 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
70865 (__SNSECONDS_T_TYPE): Likewise.
70866
70867 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70868
70869 * sysdeps/mach/hurd/bits/typesizes.h
70870 (__SYSCALL_SLONG_TYPE): New macro.
70871 (__SYSCALL_ULONG_TYPE): Likewise.
70872
70873 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70874
70875 * bits/types.h (__syscall_slong_t): New type.
70876 (__syscall_ulong_t): Likewise.
70877
70878 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
70879 (__SYSCALL_ULONG_TYPE): Likewise.
70880 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
70881 (__SYSCALL_SLONG_TYPE): Likewise.
70882 (__SYSCALL_ULONG_TYPE): Likewise.
70883 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
70884 (__SYSCALL_SLONG_TYPE): Likewise.
70885 (__SYSCALL_ULONG_TYPE): Likewise.
70886 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
70887 (__SYSCALL_SLONG_TYPE): Likewise.
70888 (__SYSCALL_ULONG_TYPE): Likewise.
70889
70890 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70891
70892 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
70893 Add sigaltstack-offsets.sym.
70894 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
70895 <sigaltstack-offsets.h>.
70896 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
70897 longjmp_msg pointer.
70898 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
70899 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
70900 signal stack.
70901 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
70902
70903 2012-05-15 Joseph Myers <joseph@codesourcery.com>
70904
70905 * elf/stackguard-macros.h: Remove file.
70906 * sysdeps/generic/stackguard-macros.h: New file.
70907 * sysdeps/i386/stackguard-macros.h: Likewise.
70908 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
70909 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
70910 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
70911 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
70912 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
70913 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
70914 * sysdeps/x86_64/stackguard-macros.h: Likewise.
70915 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
70916 <elf/stackguard-macros.h>.
70917
70918 [BZ #14109]
70919 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
70920 __aligned__ in attribute.
70921 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
70922 (gregset_t): Likewise.
70923
70924 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70925
70926 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
70927 * sysdeps/x86_64/64/Implies-after: Here. New file.
70928 * sysdeps/x86_64/x32/Implies-after: New file.
70929
70930 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70931
70932 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
70933 and access return value for _dl_profile_fixup. Use R10_LP to
70934 load frame size.
70935
70936 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70937
70938 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
70939
70940 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70941
70942 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
70943 * sysdeps/x86_64/x32/sysdep.h: New file.
70944
70945 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70946
70947 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
70948 * sysdeps/x86_64/setjmp.S: Likewise.
70949
70950 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
70951
70952 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
70953 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
70954 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
70955 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
70956 remove unused global constant.
70957
70958 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
70959
70960 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
70961 include of <not-cancel.h>.
70962
70963 2012-05-15 Roland McGrath <roland@hack.frob.com>
70964
70965 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
70966
70967 2012-05-15 Jeff Law <law@redhat.com>
70968 Andreas Jaeger <aj@suse.de>
70969
70970 [BZ #13594]
70971 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
70972 out from...
70973 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
70974 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
70975 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
70976 code changing __hst_map_handle.map.
70977
70978 2012-05-15 Roland McGrath <roland@hack.frob.com>
70979
70980 * configure.in (sysnames): Look for Implies-before and Implies-after
70981 files.
70982 * configure: Regenerated.
70983
70984 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70985
70986 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
70987 8-byte data alignment with LP_SIZE alignment.
70988
70989 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70990
70991 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
70992 into R10_LP.
70993
70994 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70995
70996 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
70997
70998 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70999
71000 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
71001 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
71002 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
71003 Likewise.
71004 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
71005
71006 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71007
71008 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
71009 (stackinfo_sub_sp): Likewise.
71010
71011 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71012
71013 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
71014 RAX_LP.
71015
71016 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71017
71018 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
71019 into R*_LP.
71020
71021 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71022
71023 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
71024 sizes into R*_LP.
71025
71026 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71027
71028 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
71029
71030 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71031
71032 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
71033 into R11_LP and load __x86_64_shared_cache_size_half into
71034 R8_LP.
71035
71036 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71037
71038 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
71039 R8_LP.
71040
71041 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
71042
71043 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
71044 logb for POWER7.
71045 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
71046 logbf for POWER7.
71047 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
71048 logbl for POWER7.
71049 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
71050 powerpc32/power7/fpu/s_logb.c via #include.
71051 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
71052 powerpc32/power7/fpu/s_logbf.c via #include.
71053 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
71054 powerpc32/power7/fpu/s_logbl.c via #include.
71055
71056 2012-05-15 Joseph Myers <joseph@codesourcery.com>
71057
71058 * README.libm: Remove file.
71059
71060 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
71061
71062 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
71063 count for x32. Use R*_LP and omit operand-size suffix.
71064
71065 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
71066
71067 * shlib-versions: Move x86_64-.*-linux.* entries to ...
71068 * sysdeps/x86_64/64/shlib-versions: Here. New file.
71069 * sysdeps/x86_64/x32/shlib-versions: New file.
71070
71071 2012-05-14 Roland McGrath <roland@hack.frob.com>
71072
71073 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
71074 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
71075 Use _dl_fatal_printf instead.
71076
71077 2012-05-14 Joseph Myers <joseph@codesourcery.com>
71078
71079 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
71080 set if not set by the user. Do not allow for being unset.
71081 * sysdeps/unix/sysv/linux/configure: Regenerated.
71082
71083 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
71084
71085 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
71086 the `q' suffix from lea and replace .quad with ASM_ADDR.
71087
71088 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
71089
71090 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
71091 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
71092 instead of $17.
71093 (PTR_DEMANGLE): Likewise.
71094
71095 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
71096
71097 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
71098 (LP_OP): Likewise.
71099 (ASM_ADDR): Likewise.
71100 (RAX_LP): Likewise.
71101 (RBP_LP): Likewise.
71102 (RBX_LP): Likewise.
71103 (RCX_LP): Likewise.
71104 (RDI_LP): Likewise.
71105 (RSI_LP): Likewise.
71106 (RSP_LP): Likewise.
71107 (R8_LP): Likewise.
71108 (R9_LP): Likewise.
71109 (R10_LP): Likewise.
71110 (R10_LP): Likewise.
71111 (R11_LP): Likewise.
71112 (R12_LP): Likewise.
71113 (R13_LP): Likewise.
71114 (R14_LP): Likewise.
71115 (R15_LP): Likewise.
71116
71117 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
71118
71119 * sysdeps/x86_64/x32/dl-machine.h: New file.
71120
71121 2012-05-14 Andreas Jaeger <aj@suse.de>
71122
71123 * manual/Makefile (subdir): Remove export of subdir.
71124 (all): Remove target.
71125 (.PHONY): Remove all from list.
71126 (mkinstalldirs): Remove.
71127 (.PHONY): Remove installdirs from list.
71128 ($(inst_infodir)/libc.info): Use make-target-directory.
71129 (installdirs): Remove.
71130 (subdir_%): Remove.
71131 (glibc-targets): Remove.
71132 (lib): Remove.
71133 (stubs): Remove.
71134 ($(objpfx)stubs ../po/manual.pot): Remove.
71135 ($(objpfx)stamp%): Remove.
71136 (make-target-directory): Remove.
71137 (subdir_install): Remove.
71138 (routines): Remove.
71139 (aux): Remove.
71140 (sources): Remove.
71141 (objects): Remove.
71142 (headers): Remove.
71143
71144 [BZ #13750]
71145 * manual/.gitignore: Remove, it's not needed anymore.
71146 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
71147 all files in it.
71148 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
71149 directory.
71150 (texis): Renamed to $(objpfx)texis.
71151 (texis-path): New, contains path to generated files.
71152 (chapters.%): Use texis-path for complete path, add extra argument
71153 libc-texinfo.sh.
71154 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
71155 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
71156 (summary,texi, stamp-summary): Use complete path of
71157 files. Generate files in build dir.
71158 (dir-add.texi): Build in build dir.
71159 (libm-err.texi,stamp-libm-err): Likewise.
71160 (version.texi, stamp-version): Likewise.
71161 (.%c.texi): Likewise.
71162 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
71163 (mostlyclean): Remove target.
71164 (realclean): Remove target.
71165 (generated): Add new variable with contents from mostlyclean and
71166 realclean, remove entries duplicated in common-mostlyclean, add
71167 stamp-libm-err and stamp-version.
71168 (generated-dirs): Add libc directory.
71169 ($(inst_infodir)/libc.info): Install files from build dir.
71170
71171 * manual/install.texi (Configuring and compiling): Adjust since
71172 the info files are not part of the tar ball anymore.
71173
71174 2012-05-14 Andreas Jaeger <aj@suse.de>
71175
71176 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
71177 variable.
71178
71179 2012-05-14 Joseph Myers <joseph@codesourcery.com>
71180
71181 [BZ #13717]
71182 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
71183 to 2.2.0 where earlier.
71184 * sysdeps/unix/sysv/linux/configure: Regenerated.
71185 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
71186 Remove conditional code.
71187 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
71188 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
71189 Remove conditional code.
71190 [!__NR_lchown]: Likewise.
71191 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
71192 [__NR_lchown]: Likewise.
71193 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
71194 comment referencing __ASSUME_LCHOWN_SYSCALL.
71195 * sysdeps/unix/sysv/linux/i386/sigaction.c
71196 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71197 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71198 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
71199 Remove conditional code.
71200 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
71201 (__protocol_available): Remove #if 0 code.
71202 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
71203 conditional code.
71204 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
71205 * sysdeps/unix/sysv/linux/kernel-features.h
71206 (__ASSUME_GETCWD_SYSCALL): Don't define.
71207 (__ASSUME_REALTIME_SIGNALS): Likewise.
71208 (__ASSUME_PREAD_SYSCALL): Likewise.
71209 (__ASSUME_PWRITE_SYSCALL): Likewise.
71210 (__ASSUME_POLL_SYSCALL): Likewise.
71211 (__ASSUME_LCHOWN_SYSCALL): Likewise.
71212 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
71213 non-SPARC.
71214 (__ASSUME_SIOCGIFNAME): Don't define.
71215 (__ASSUME_MSG_NOSIGNAL): Likewise.
71216 (__ASSUME_SENDFILE): Define unconditionally.
71217 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
71218 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
71219 conditional code.
71220 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
71221 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
71222 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
71223 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
71224 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
71225 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
71226 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
71227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
71228 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
71229 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
71231 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
71232 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
71234 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71235 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
71237 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71238 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
71240 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
71241 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
71243 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
71244 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
71246 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71247 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
71249 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71250 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71251 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
71252 Remove conditional code.
71253 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71254 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
71255 Remove conditional code.
71256 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71257 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
71258 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
71259 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
71260 Remove conditional code.
71261 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71262 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
71263 Remove conditional code.
71264 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71265 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
71266 Remove conditional code.
71267 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71268 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
71269 Remove conditional code.
71270 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71271 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
71272 Remove conditional code.
71273 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71274 * sysdeps/unix/sysv/linux/sh/pwrite64.c
71275 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71276 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71277 * sysdeps/unix/sysv/linux/sigaction.c
71278 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71279 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71280 * sysdeps/unix/sysv/linux/sigpending.c
71281 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71282 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71283 * sysdeps/unix/sysv/linux/sigprocmask.c
71284 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71285 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71286 * sysdeps/unix/sysv/linux/sigsuspend.c
71287 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71288 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71289 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
71290 (__libc_missing_rt_sigs): Remove.
71291 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
71292 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
71293 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
71294 Remove conditional code.
71295 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
71296 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
71297 return 1.
71298 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
71299 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
71300 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
71301 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
71302
71303 2012-05-14 Andreas Jaeger <aj@suse.de>
71304
71305 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
71306 it's not used in glibc.
71307 (__coshm1): Likewise.
71308 (__acosh1p): Likewise.
71309 (__sgn): Likewise.
71310
71311 * manual/string.texi (Copying and Concatenation): Add missing
71312 variable in concat example.
71313 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
71314
71315 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
71316
71317 [BZ #14103]
71318 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
71319 __builtin_clzl with __builtin_clzll.
71320
71321 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
71322
71323 [BZ #14104]
71324 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
71325 libc_freeres_ptr.
71326
71327 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
71328
71329 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
71330 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
71331 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
71332 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
71333
71334 2012-05-14 Mike Frysinger <vapier@gentoo.org>
71335
71336 * NEWS: Update ia64 info.
71337
71338 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
71339
71340 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
71341 used as bcopy.
71342
71343 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
71344
71345 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
71346 * sysdeps/unix/syscalls.list (dup3): Likewise.
71347 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
71348 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
71349
71350 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
71351
71352 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
71353 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
71354
71355 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
71356
71357 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
71358 thread pointer.
71359 (TLS_IE): Use mov/add instead of movq/addq to load thread
71360 pointer.
71361 (TLS_GD_PREFIX): New.
71362 (TLS_GD): Use it.
71363
71364 2012-05-11 David S. Miller <davem@davemloft.net>
71365
71366 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
71367 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
71368 (_FPU_SETCW): Likewise.
71369
71370 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
71371
71372 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
71373 is 32-byte aligned.
71374
71375 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
71376
71377 [BZ #11837]
71378 * iconvdata/gb18030.c: Update tables.
71379 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
71380 characters specially.
71381 (BODY for TO_LOOP): Add encoding of missing ranges.
71382
71383 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
71384
71385 [BZ #13673]
71386 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
71387 * sysdeps/mach/hurd/dup3.c: Likewise.
71388 * sysdeps/mach/hurd/readlinkat.c: Likewise.
71389 * sysdeps/powerpc/memmove.c:: Likewise.
71390
71391 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
71392
71393 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
71394 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
71395
71396 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
71397
71398 * elf/elf.h (R_X86_64_RELATIVE64): New.
71399 (R_X86_64_NUM): Updated.
71400 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
71401 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
71402 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
71403 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
71404 tst-quad1pie tst-quad2pie
71405 (modules-names): Add tst-quadmod1 tst-quadmod2.
71406 ($(objpfx)tst-quad1): New dependency.
71407 ($(objpfx)tst-quad2): Likewise.
71408 ($(objpfx)tst-quad1pie): Likewise.
71409 ($(objpfx)tst-quad2pie): Likewise.
71410 * sysdeps/x86_64/tst-quad1.c: New file.
71411 * sysdeps/x86_64/tst-quad1pie.c: New file.
71412 * sysdeps/x86_64/tst-quad2.c: Likewise.
71413 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
71414 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
71415 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
71416 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
71417 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
71418
71419 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
71420
71421 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
71422 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
71423 * streams/stropts.h (t_scalar_t): Define type.
71424
71425 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
71426 (_PATH_PRESERVE): Set to "/var/lib".
71427 (_PATH_RWHODIR): Set to "/var/spool/rwho".
71428
71429 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
71430 instead of int.
71431
71432 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
71433 if __dir_mkfile succeeded.
71434
71435 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
71436 checking for _hurd_dtablesize. Unlock it right after having
71437 finished _hurd_dtable allocation.
71438
71439 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
71440
71441 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
71442 * sysdeps/mach/hurd/configure: Regenerated.
71443 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
71444 special-casing to...
71445 * sysdeps/gnu/configure.in: ... this new file.
71446 * sysdeps/unix/sysv/linux/configure: Regenerated.
71447 * sysdeps/gnu/configure: New generated file.
71448
71449 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
71450 for Linux: use nsec instead of usec, as well as:
71451 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
71452 members of type struct timespec.
71453 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
71454 New macros.
71455 (struct stat64): Likewise.
71456 (_STATBUF_ST_NSEC): New macro.
71457 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
71458
71459 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
71460 __strtoul_internal rather than strtoul.
71461
71462 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
71463
71464 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
71465 and reject them.
71466
71467 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
71468
71469 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
71470 which preserves existing values.
71471 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
71472
71473 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
71474
71475 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
71476 TIMEOUT values. Return EINVAL for NFDS values either negative or
71477 greater than FD_SETSIZE.
71478
71479 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
71480
71481 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
71482 allocated, call __vm_protect to finish enabling the existing space, and
71483 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
71484 allocate the remainder.
71485
71486 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
71487
71488 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
71489 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
71490
71491 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
71492
71493 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
71494 sysdeps/mach/hurd/readlink.c.
71495
71496 * posix/tst-sysconf.c (posix_options): Only use
71497 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
71498 _POSIX_SYNCHRONIZED_IO when they are defined
71499 * sysdeps/mach/hurd/bits/posix_opt.h:
71500 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
71501 (_XOPEN_REALTIME): Undefine macro.
71502 (_XOPEN_REALTIME_THREADS): Undefine macro.
71503 (_XOPEN_SHM): Undefine macro.
71504 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
71505 macro to -1.
71506 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
71507 macro to -1.
71508 (_POSIX_ASYNC_IO): Undefine macro.
71509 (_POSIX_PRIORITIZED_IO): Undefine macro.
71510 (_POSIX_SPIN_LOCKS): Define macro to -1.
71511
71512 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
71513 SA_NODEFER, SA_RESETHAND.
71514 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
71515 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
71516 F_DUPFD_CLOEXEC.
71517
71518 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
71519
71520 * elf/Makefile (pldd-modules): Define unconditionally.
71521
71522 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
71523
71524 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
71525
71526 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
71527
71528 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
71529 Return ENOENT when name is empty.
71530 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
71531
71532 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
71533
71534 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
71535
71536 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
71537
71538 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
71539
71540 Fix mlock in all cases except non-readable pages.
71541 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
71542 instead of VM_PROT_ALL as parameter to __vm_wire function.
71543
71544 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
71545 (__mkdir): When path is `/', just fail with EEXIST.
71546 * sysdeps/mach/hurd/mkdirat.c: Likewise.
71547
71548 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
71549
71550 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
71551 <sys/uio.h> (for writev).
71552 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
71553 and <sys/param.h> (for MIN).
71554
71555 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
71556
71557 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
71558 REQUESTED_TIME. Properly set the remaining time and return EINTR
71559 if interrupted.
71560
71561 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
71562
71563 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
71564 Depend on against $(link-rpcuserlibs).
71565
71566 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
71567
71568 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
71569 (__libc_stack_end): Do not use attribute_relro.
71570 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
71571 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
71572 to libthread-provided value.
71573 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
71574 attribute_relro.
71575
71576 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
71577
71578 [BZ #3748]
71579 * bits/libc-lock.h (__libc_once_get): New macro.
71580 * sysdeps/mach/bits/libc-lock.h: Likewise.
71581 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
71582 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
71583 instead of using implementation details.
71584
71585 * libio/fileops.c: Unconditionally include <kernel-features.h>.
71586 * libio/freopen.c: Likewise.
71587 * libio/freopen64.c: Likewise.
71588 * misc/syslog.c: Likewise.
71589 * nscd/connections.c: Likewise.
71590 * nscd/netgroupcache.c: Likewise.
71591 * sysdeps/posix/getcwd.c: Likewise.
71592
71593 2012-05-10 Roland McGrath <roland@hack.frob.com>
71594
71595 * math/w_ilogbf.c: Add #include <limits.h>.
71596
71597 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
71598
71599 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
71600 path instead of returning without unlocking.
71601
71602 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
71603 immediate-write ioctls.
71604 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
71605
71606 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
71607
71608 * sysdeps/mach/hurd/i386/init-first.c (init): Use
71609 __builtin_frame_address instead of making assumptions about the
71610 location of the return address relative to DATA. Force early load of
71611 the return address.
71612 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
71613 __builtin_frame_address.
71614
71615 dup3 for GNU Hurd.
71616 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
71617 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
71618 implement dup3 and do some further code clean-ups.
71619 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
71620 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
71621
71622 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
71623
71624 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
71625
71626 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
71627 HURD_CRITICAL_END around holding _hurd_dtable_lock.
71628 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
71629 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
71630 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
71631 d->port.lock.
71632
71633 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
71634 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
71635 when handler == SIG_ERR, not when handler != SIG_ERR.
71636
71637 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
71638
71639 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
71640 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
71641 definitions.
71642
71643 accept4 for GNU Hurd.
71644 * include/sys/socket.h (__libc_accept4): New prototype.
71645 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
71646 to implement __libc_accept4.
71647 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
71648 __libc_accept4.
71649 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
71650
71651 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
71652 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
71653 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
71654 signal-defines.sym.
71655
71656 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
71657
71658 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
71659
71660 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
71661
71662 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
71663 assertion on O_CLOEXEC flag.
71664 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
71665 * hurd/intern-fd.c: Likewise.
71666 * hurd/port2fd.c: Likewise.
71667
71668 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
71669
71670 [BZ #3906]
71671 * bits/in.h (IPV6_PKTINFO): Define new macro.
71672 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
71673
71674 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
71675
71676 [BZ #13954]
71677 [BZ #13955]
71678 [BZ #13956]
71679 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
71680 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
71681 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
71682 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
71683 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
71684 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
71685 * math/libm-test.inc (logb_test) : Additional logb tests.
71686
71687 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
71688 Andreas Jaeger <aj@suse.de>
71689
71690 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
71691 * configure: Regenerated.
71692 * config.h.in (LINK_OBSOLETE_RPC): New macro.
71693 * config.make.in (link-obsolete-rpc): New substituted variable.
71694 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
71695 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
71696 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
71697 (shared-only-routines): Don't set it under [link-obsolete-rpc],
71698 so that libc.a contains the symbols.
71699 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
71700 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
71701 * sunrpc/auth_none.c: Likewise.
71702 * sunrpc/auth_unix.c: Likewise.
71703 * sunrpc/authdes_prot.c: Likewise.
71704 * sunrpc/authuxprot.c: Likewise.
71705 * sunrpc/clnt_gen.c: Likewise.
71706 * sunrpc/clnt_perr.c: Likewise.
71707 * sunrpc/clnt_raw.c: Likewise.
71708 * sunrpc/clnt_simp.c: Likewise.
71709 * sunrpc/clnt_tcp.c: Likewise.
71710 * sunrpc/clnt_udp.c: Likewise.
71711 * sunrpc/clnt_unix.c: Likewise.
71712 * sunrpc/des_crypt.c: Likewise.
71713 * sunrpc/des_soft.c: Likewise.
71714 * sunrpc/get_myaddr.c: Likewise.
71715 * sunrpc/key_call.c: Likewise.
71716 * sunrpc/key_prot.c: Likewise.
71717 * sunrpc/netname.c: Likewise.
71718 * sunrpc/pm_getmaps.c: Likewise.
71719 * sunrpc/pm_getport.c: Likewise.
71720 * sunrpc/pmap_clnt.c: Likewise.
71721 * sunrpc/pmap_prot.c: Likewise.
71722 * sunrpc/pmap_prot2.c: Likewise.
71723 * sunrpc/pmap_rmt.c: Likewise.
71724 * sunrpc/publickey.c: Likewise.
71725 * sunrpc/rpc_cmsg.c: Likewise.
71726 * sunrpc/rpc_common.c: Likewise.
71727 * sunrpc/rpc_dtable.c: Likewise.
71728 * sunrpc/rpc_prot.c: Likewise.
71729 * sunrpc/rpc_thread.c: Likewise.
71730 * sunrpc/rtime.c: Likewise.
71731 * sunrpc/svc.c: Likewise.
71732 * sunrpc/svc_auth.c: Likewise.
71733 * sunrpc/svc_raw.c: Likewise.
71734 * sunrpc/svc_run.c: Likewise.
71735 * sunrpc/svc_tcp.c: Likewise.
71736 * sunrpc/svc_udp.c: Likewise.
71737 * sunrpc/svc_unix.c: Likewise.
71738 * sunrpc/svcauth_des.c: Likewise.
71739 * sunrpc/xcrypt.c: Likewise.
71740 * sunrpc/xdr.c: Likewise.
71741 * sunrpc/xdr_array.c: Likewise.
71742 * sunrpc/xdr_float.c: Likewise.
71743 * sunrpc/xdr_intXX_t.c: Likewise.
71744 * sunrpc/xdr_mem.c: Likewise.
71745 * sunrpc/xdr_rec.c: Likewise.
71746 * sunrpc/xdr_ref.c: Likewise.
71747 * sunrpc/xdr_sizeof.c: Likewise.
71748 * sunrpc/xdr_stdio.c: Likewise.
71749
71750 2012-05-10 Roland McGrath <roland@hack.frob.com>
71751
71752 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
71753 change. Update copyright years.
71754
71755 2012-05-10 Joseph Myers <joseph@codesourcery.com>
71756
71757 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
71758
71759 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
71760 Joseph Myers <joseph@codesourcery.com>
71761 Paul Pluzhnikov <ppluzhnikov@google.com>
71762
71763 [BZ #14012]
71764 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
71765 requiring rpcgen.
71766 [cross-compiling] (extra-libs): Likewise.
71767 [cross-compiling] (extra-libs-others): Likewise.
71768 [cross-compiling] (librpcsvc-routines): Likewise.
71769 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
71770 [cross-compiling] (omit-deps): Likewise.
71771 (sunrpc-CPPFLAGS): New variable.
71772 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
71773 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
71774 (cross-rpcgen-objs): New variable.
71775 (extra-objs): Append $(cross-rpcgen-objs).
71776 ($(cross-rpcgen-objs)): New rule.
71777 ($(objpfx)cross-rpcgen): Likewise.
71778 (rpcgen-cmd): Define to use $(built-program-file). Expand
71779 comment.
71780 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
71781 ($(objpfx)x%.stmp): Likewise.
71782 * sunrpc/proto.h [IS_IN_build] (_): Define.
71783 [IS_IN_build] (_libc_intl_domainname): Likewise.
71784
71785 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
71786
71787 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
71788 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
71789 and R_X86_64_TPOFF64.
71790
71791 2012-05-10 Joseph Myers <joseph@codesourcery.com>
71792
71793 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
71794 sysdeps/unix/sysv/syscalls.list.
71795 (stime): Likewise.
71796 (utime): Likewise.
71797 * sysdeps/unix/sysv/syscalls.list: Remove file.
71798
71799 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
71800
71801 [BZ #3440]
71802 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
71803 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
71804 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
71805 (__LC_IDENTIFICATION): Make these macros useful in #if
71806 expressions, as required by C99.
71807
71808 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
71809
71810 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
71811 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
71812 after this.
71813
71814 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
71815
71816 * stdlib/longlong.h: Updated from GCC.
71817
71818 2012-05-09 Andreas Jaeger <aj@suse.de>
71819
71820 * nscd/nscd.c (run_modes): Make named enum, reorder so that
71821 default is first entry.
71822 (run_mode): Set type.
71823 (main): Remove informal message about syslog.
71824 (options): Fix typo.
71825
71826 [BZ #14053]
71827 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
71828 to asm.
71829 (lrint): Likewise.
71830 (llrintf): Likewise.
71831 (llrint): Likewise.
71832 (rint): Likewise.
71833 (rintf): Likewise.
71834 (nearbyint): Likewise.
71835 (nearbyintf): Likewise.
71836
71837 2012-05-09 Andreas Jaeger <aj@suse.de>
71838 Pedro Alves <palves@redhat.com>
71839
71840 * nscd/nscd.c (run_mode): Use enum.
71841 (main): Cleanup coding style issue.
71842
71843 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
71844 Andreas Jaeger <aj@suse.de>
71845
71846 * nscd/nscd.c (go_background): Replaced with...
71847 (run_mode): ... this.
71848 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
71849 (options): Add -F --foreground.
71850 (main): Implement it.
71851 (parse_opt): Parse it.
71852
71853 2012-05-09 Andreas Jaeger <aj@suse.de>
71854
71855 [BZ #14083]
71856 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
71857 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
71858 -Wconversion warning.
71859 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
71860 Likewise.
71861
71862 2012-05-09 Joseph Myers <joseph@codesourcery.com>
71863
71864 * conform/data/locale.h-data (NULL): Use macro-constant. Require
71865 == 0.
71866 (LC_ALL): Use macro-int-constant.
71867 (LC_COLLATE): Likewise.
71868 (LC_CTYPE): Likewise.
71869 (LC_MESSAGES): Likewise.
71870 (LC_MONETARY): Likewise.
71871 (LC_NUMERIC): Likewise.
71872 (LC_TIME): Likewise.
71873 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
71874 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
71875 [ISO || ISO99 || ISO11] (*_t): Do not allow.
71876 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
71877 Specify type.
71878 [C99-based standards] (float_t): Expect type.
71879 [C99-based standards] (double_t): Expect type.
71880 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
71881 type.
71882 [C99-based standards] (HUGE_VALL): Likewise.
71883 [C99-based standards] (INFINITY): Likewise.
71884 [C99-based standards] (NAN): Likewise.
71885 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
71886 [C99-based standards] (FP_NAN): Likewise.
71887 [C99-based standards] (FP_NORMAL): Likewise.
71888 [C99-based standards] (FP_SUBNORMAL): Likewise.
71889 [C99-based standards] (FP_ZERO): Likewise.
71890 [C99-based standards] (FP_FAST_FMA): Use
71891 optional-macro-int-constant. Specify type. Require == 1.
71892 [C99-based standards] (FP_FAST_FMAF): Likewise.
71893 [C99-based standards] (FP_FAST_FMAL): Likewise.
71894 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
71895 [C99-based standards] (FP_ILOGBNAN): Likewise.
71896 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
71897 Specify type.
71898 [C99-based standards] (MATH_ERREXCEPT): Likewise.
71899 [C99-based standards] (math_errhandling): Specify type.
71900 [ISO99 || ISO11] (signgam): Do not allow.
71901 [non-C99-based standards] (copysignf): Do not allow.
71902 [non-C99-based standards] (exp2f): Likewise.
71903 [non-C99-based standards] (log2f): Likewise.
71904 [non-C99-based standards] (modff): Allow.
71905 [non-C99-based standards] (erff): Do not allow.
71906 [non-C99-based standards] (erfcf): Likewise.
71907 [non-C99-based standards] (gammaf): Likewise.
71908 [non-C99-based standards] (hypotf): Likewise.
71909 [non-C99-based standards] (j0f): Likewise.
71910 [non-C99-based standards] (j1f): Likewise.
71911 [non-C99-based standards] (jnf): Likewise.
71912 [non-C99-based standards] (lgammaf): Likewise.
71913 [non-C99-based standards] (tgammaf): Likewise.
71914 [non-C99-based standards] (y0f): Likewise.
71915 [non-C99-based standards] (y1f): Likewise.
71916 [non-C99-based standards] (ynf): Likewise.
71917 [non-C99-based standards] (isnanf): Likewise.
71918 [non-C99-based standards] (acoshf): Likewise.
71919 [non-C99-based standards] (asinhf): Likewise.
71920 [non-C99-based standards] (atanhf): Likewise.
71921 [non-C99-based standards] (cbrtf): Likewise.
71922 [non-C99-based standards] (expm1f): Likewise.
71923 [non-C99-based standards] (ilogbf): Likewise.
71924 [non-C99-based standards] (log1pf): Likewise.
71925 [non-C99-based standards] (logbf): Likewise.
71926 [non-C99-based standards] (nextafterf): Likewise.
71927 [non-C99-based standards] (remainderf): Likewise.
71928 [non-C99-based standards] (rintf): Likewise.
71929 [non-C99-based standards] (scalbf): Likewise.
71930 [non-C99-based standards] (copysignl): Likewise.
71931 [non-C99-based standards] (exp2l): Likewise.
71932 [non-C99-based standards] (log2l): Likewise.
71933 [non-C99-based standards] (modfl): Allow.
71934 [non-C99-based standards] (erfl): Do not allow.
71935 [non-C99-based standards] (erfcl): Likewise.
71936 [non-C99-based standards] (gammal): Likewise.
71937 [non-C99-based standards] (hypotl): Likewise.
71938 [non-C99-based standards] (j0l): Likewise.
71939 [non-C99-based standards] (j1l): Likewise.
71940 [non-C99-based standards] (jnl): Likewise.
71941 [non-C99-based standards] (lgammal): Likewise.
71942 [non-C99-based standards] (tgammal): Likewise.
71943 [non-C99-based standards] (y0l): Likewise.
71944 [non-C99-based standards] (y1l): Likewise.
71945 [non-C99-based standards] (ynl): Likewise.
71946 [non-C99-based standards] (isnanl): Likewise.
71947 [non-C99-based standards] (acoshl): Likewise.
71948 [non-C99-based standards] (asinhl): Likewise.
71949 [non-C99-based standards] (atanhl): Likewise.
71950 [non-C99-based standards] (cbrtl): Likewise.
71951 [non-C99-based standards] (expm1l): Likewise.
71952 [non-C99-based standards] (ilogbl): Likewise.
71953 [non-C99-based standards] (log1pl): Likewise.
71954 [non-C99-based standards] (logbl): Likewise.
71955 [non-C99-based standards] (nextafterl): Likewise.
71956 [non-C99-based standards] (remainderl): Likewise.
71957 [non-C99-based standards] (rintl): Likewise.
71958 [non-C99-based standards] (scalbl): Likewise.
71959 [ISO || ISO99 || ISO11] (*_t): Do not allow.
71960 [non-C99-based standards] (FP_*): Do not allow.
71961 [C99-based standards] (FP_*): Change to
71962 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
71963 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
71964 allow.
71965 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
71966 (SIG_ERR): Likewise.
71967 [X/Open-based standards] (SIG_HOLD): Likewise.
71968 (SIG_IGN): Likewise.
71969 (SIGABRT): Use macro-int-constant. Specify type. Require
71970 positive value.
71971 (SIGFPE): Likewise.
71972 (SIGILL): Likewise.
71973 (SIGINT): Likewise.
71974 (SIGSEGV): Likewise.
71975 (SIGTER): Likewise.
71976 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
71977 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
71978 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
71979 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
71980 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
71981 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
71982 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
71983 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
71984 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
71985 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
71986 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
71987 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
71988 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
71989 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
71990 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
71991 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
71992 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
71993 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
71994 [X/Open-based standards] (SIGTRAP): Likewise.
71995 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
71996 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
71997 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
71998 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
71999 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
72000 allow.
72001
72002 2012-05-08 Ian Wienand <ianw@vmware.com>
72003
72004 [BZ #14080]
72005 * time/tzset.c (__tzset_parse_tz): Update default rules for
72006 daylight time changes in the Energy Policy Act of 2005.
72007
72008 2012-05-09 Andreas Jaeger <aj@suse.de>
72009
72010 [BZ #13983]
72011 * elf/ldconfig.c (parse_conf): Change string to make clear that
72012 ldconfig only issued a warning if ld.so.conf does not exist.
72013
72014 2012-05-08 David S. Miller <davem@davemloft.net>
72015
72016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
72017 movxtod instead of popping the value on the stack.
72018
72019 * sysdeps/sparc/fpu/libm-test-ulps: Update.
72020
72021 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
72022
72023 * config.h.in: Add HAVE_ARM_PCS_VFP.
72024
72025 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
72026
72027 [BZ #13979]
72028 * include/features.h: Warn if user requests __FORTIFY_SOURCE
72029 checking but the checks are disabled for any reason.
72030
72031 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
72032
72033 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
72034 and ELF64_R_TYPE with ELFW(R_TYPE).
72035
72036 2012-05-08 Joseph Myers <joseph@codesourcery.com>
72037
72038 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
72039 (ulimit): Likewise.
72040
72041 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
72042 (settimeofday): Likewise.
72043
72044 2012-05-08 Mike Frysinger <vapier@gentoo.org>
72045
72046 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
72047 a struct th_u2 inside the union, and move tu_block/tu_code into
72048 a new th_u3 union of tu_block/tu_code inside of that. Move
72049 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
72050 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
72051 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
72052 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
72053 (th_stuff): Change to th_u1.tu_stuff.
72054 (th_data): Define.
72055 (th_msg): Change to th_u1.th_u2.tu_data.
72056
72057 2012-05-07 David S. Miller <davem@davemloft.net>
72058
72059 * sysdeps/sparc/fpu/libm-test-ulps: Update.
72060
72061 [BZ #14074]
72062 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
72063 (SETUP_PIC_REG): Use it.
72064 (SETUP_PIC_REG_LEAF): Use it.
72065
72066 2012-05-07 Joseph Myers <joseph@codesourcery.com>
72067
72068 [BZ #13885]
72069 [BZ #13923]
72070 * sysdeps/i386/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/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
72076 e_expl.S.
72077 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
72078 USE_AS_EXPM1L.
72079 (EXPL_FINITE): Likewise.
72080 (FLDLOG): Likewise.
72081 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
72082 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
72083 e_expl.S.
72084 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
72085 test of -max_value argument for long double.
72086 * sysdeps/i386/fpu/libm-test-ulps: Update.
72087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72088
72089 2012-05-06 David S. Miller <davem@davemloft.net>
72090
72091 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
72092 quad soft-float symbols whose references which are compiler
72093 generated.
72094 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
72095
72096 2012-05-06 Joseph Myers <joseph@codesourcery.com>
72097
72098 [BZ #13884]
72099 [BZ #13914]
72100 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
72101 USE_AS_EXP10L.
72102 (EXPL_FINITE): Likewise.
72103 (FLDLOG): Likewise.
72104 (c0): Likewise.
72105 (c1): Likewise.
72106 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
72107 Adjust comments for base varying.
72108 (__expl_finite): Change alias to EXPL_FINITE.
72109 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
72110 e_expl.S.
72111 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
72112 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
72113 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
72114 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
72115 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
72116 USE_AS_EXP10L.
72117 (EXPL_FINITE): Likewise.
72118 (FLDLOG): Likewise.
72119 (c0): Likewise.
72120 (c1): Likewise.
72121 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
72122 Adjust comments for base varying.
72123 (__expl_finite): Change alias to EXPL_FINITE.
72124 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
72125 tests for bugs.
72126 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72127
72128 [BZ #14064]
72129 * math/libm-test.inc (check_float_internal): Correct ulp
72130 calculation for subnormal expected results.
72131
72132 2012-05-06 Andreas Jaeger <aj@suse.de>
72133
72134 * Makeconfig (+math-flags): New, set to -frounding-math.
72135 (+cflags): Add +math-flags so that all of glibc gets compiled with
72136 it.
72137
72138 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
72139
72140 2012-05-05 Joseph Myers <joseph@codesourcery.com>
72141
72142 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
72143 Disable one test.
72144
72145 [BZ #13787]
72146 [BZ #13922]
72147 [BZ #14036]
72148 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
72149 (__ieee754_expl): Allow for and saturate large arguments.
72150 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
72151 (u_threshold): Likewise.
72152 (__exp): Call __ieee754_exp before checking for overflow and
72153 underflow.
72154 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
72155 (u_threshold): Likewise.
72156 (__expf): Call __ieee754_expf before checking for overflow and
72157 underflow.
72158 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
72159 (u_threshold): Likewise.
72160 (__expl): Call __ieee754_expl before checking for overflow and
72161 underflow.
72162 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
72163 (__ieee754_expl): Allow for and saturate large arguments.
72164 * math/libm-test.inc (exp_test): Add another test. Do not allow
72165 missing overflow exception on overflow.
72166 (expm1_test): Do not allow missing overflow exception on overflow.
72167
72168 * sysdeps/i386/fpu/e_expl.c: Move to ...
72169 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
72170 rather than using inline asm.
72171 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
72172 * sysdeps/x86_64/fpu/e_expl.S: Copy from
72173 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
72174
72175 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
72176 (nice): Likewise.
72177 (poll): Likewise.
72178 (signal): Likewise.
72179 (time): Likewise.
72180 (times): Likewise.
72181
72182 2012-05-04 Joseph Myers <joseph@codesourcery.com>
72183
72184 * sysdeps/unix/syscalls.list (adjtime): Add entry from
72185 sysdeps/unix/common/syscalls.list.
72186 (fchmod): Likewise.
72187 (fchown): Likewise.
72188 (ftruncate): Likewise.
72189 (getrusage): Likewise.
72190 (gettimeofday): Likewise.
72191 (setpgid): Likewise.
72192 (setregid): Likewise.
72193 (setreuid): Likewise.
72194 (sigaction): Likewise.
72195 (truncate): Likewise.
72196 (vhangup): Likewise.
72197 * sysdeps/unix/common/syscalls.list: Remove file.
72198 * sysdeps/unix/bsd/Implies: Don't include unix/common.
72199 * sysdeps/unix/sysv/linux/Implies: Likewise.
72200
72201 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
72202
72203 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
72204 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
72205 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
72206 Moved to ...
72207 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
72208 Here.
72209 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
72210 to ...
72211 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
72212 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
72213 to ...
72214 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
72215 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
72216 to ...
72217 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
72218 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
72219 to ...
72220 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
72221 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
72222 to ...
72223 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
72224 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
72225 to ...
72226 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
72227 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
72228 to ...
72229 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
72230 Here.
72231 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
72232 to ...
72233 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
72234 Here.
72235 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
72236 to ...
72237 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
72238 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
72239 Moved to ...
72240 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
72241 Here.
72242 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
72243 to ...
72244 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
72245
72246 2012-05-04 Joseph Myers <joseph@codesourcery.com>
72247
72248 * sysdeps/unix/common/bits/dirent.h: Remove file.
72249 * sysdeps/unix/common/bits/fcntl.h: Likewise.
72250
72251 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
72252 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
72253 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
72254 * sysdeps/unix/bsd/isatty.c: Likewise.
72255 * sysdeps/unix/bsd/tcdrain.c: Likewise.
72256 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
72257 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
72258
72259 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
72260
72261 [BZ #13563]
72262 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
72263 long double comparison inaccuracies.
72264 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
72265 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72266
72267 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
72268
72269 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
72270 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
72271
72272 2012-05-04 Joseph Myers <joseph@codesourcery.com>
72273
72274 [BZ #14049]
72275 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
72276 nonzero digits before rounding a hex value.
72277 * stdlib/tst-strtod.c (tests): Add another test.
72278
72279 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
72280
72281 * sysdeps/s390/fpu/libm-test-ulps: Update.
72282
72283 2012-05-03 Andreas Jaeger <aj@suse.de>
72284
72285 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
72286 does not get optimized out.
72287 (malloc_opt_barrier): New.
72288
72289 2012-05-03 Andreas Jaeger <aj@suse.de>
72290 Roland McGrath <roland@hack.frob.com>
72291
72292 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
72293 intermediate file deletion.
72294 (generated): Add .symlist files.
72295
72296 2012-05-03 Joseph Myers <joseph@codesourcery.com>
72297
72298 [BZ #13775]
72299 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
72300 Redirect under this condition.
72301 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
72302 [__USE_GNU] (__dprintf_chk): Not under this condition.
72303 [__USE_GNU] (__vdprintf_chk): Likewise.
72304 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
72305 under this condition.
72306 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
72307 [__USE_XOPEN2K8] (dprintf): Define under this condition.
72308 [__USE_XOPEN2K8] (vdprintf): Likewise.
72309 [__USE_GNU] (__dprintf_chk): Not under this condition.
72310 [__USE_GNU] (__vdprintf_chk): Likewise.
72311 [__USE_GNU] (dprintf): Likewise.
72312 [__USE_GNU] (vdprintf): Likewise.
72313
72314 2012-05-03 Roland McGrath <roland@hack.frob.com>
72315
72316 * elf/Makefile (common-generated): Set this instead of generated for
72317 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
72318 $(all-built-dso)-derived lists.
72319
72320 2012-05-03 Andreas Jaeger <aj@suse.de>
72321
72322 * sysdeps/i386/fpu/libm-test-ulps: Update.
72323
72324 * FAQ: Removed.
72325 * FAQ.in: Likewise.
72326 * scripts/gen-FAQ.pl: Likewise.
72327 * manual/install.texi (Installation): Point to online location of
72328 FAQ.
72329 * Makefile (files-for-dist): Remove FAQ.
72330 (FAQ): Remove.
72331
72332 2012-05-02 Allan McRae <allan@archlinux.org>
72333
72334 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
72335 (LDFLAGS-reldepmod5.so): Likewise.
72336 (LDFLAGS-reldep6mod1.so): Likewise.
72337 (LDFLAGS-reldep6mod4.so): Likewise.
72338 (LDFLAGS-reldep8mod3.so): Likewise.
72339 (LDFLAGS-unload4mod1.so): Likewise.
72340 (LDFLAGS-unload4mod2.so): Likewise.
72341 (LDFLAGS-tst-initorder): Likewise.
72342 (LDFLAGS-tst-initordera2.so): Likewise.
72343 (LDFLAGS-tst-initordera3.so): Likewise.
72344 (LDFLAGS-tst-initordera4.so): Likewise.
72345 (LDFLAGS-tst-initorderb2.so): Likewise.
72346 (LDFLAGS-noload): Likewise.
72347 (LDFLAGS-next): Likewise.
72348 (LDFLAGS-order2mod1.so): Likewise.
72349 (LDFLAGS-order2mod2.so): Likewise.
72350 (LDFLAGS-tst-initorder2): Likewise.
72351 (LDFLAGS-tst-initorder2a.so): Likewise.
72352 (LDFLAGS-tst-initorder2b.so): Likewise.
72353 (LDFLAGS-tst-initorder2c.so): Likewise.
72354 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
72355
72356 2012-05-02 David S. Miller <davem@davemloft.net>
72357
72358 * sysdeps/sparc/fpu/libm-test-ulps: Update.
72359
72360 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
72361
72362 [BZ #14055]
72363 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
72364
72365 2012-05-02 Andreas Jaeger <aj@suse.de>
72366
72367 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
72368 since we manipulate rounding mode.
72369 (CPPFLAGS-test-idouble.c): Likewise.
72370 (CPPFLAGS-test-ifloat.c): Likewise.
72371 (CFLAGS-test-ldouble.c): Likewise.
72372 (CFLAGS-test-double.c): Likewise.
72373 (CFLAGS-test-float.c): Likewise.
72374 (CFLAGS-test-misc.c): Likewise.
72375 (CFLAGS-test-test-fenv.c): Likewise.
72376
72377 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
72378
72379 [BZ #2550]
72380 [BZ #2570]
72381 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
72382 comparisons to determine direction to adjust input.
72383
72384 2012-05-01 Roland McGrath <roland@hack.frob.com>
72385
72386 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
72387 output to the target.
72388
72389 * scripts/localplt.awk: New file.
72390 * elf/Makefile ($(objpfx)check-localplt): Target removed.
72391 (check-localplt-CFLAGS): Variable removed.
72392 ($(all-built-dso:=.jmprel)): New static pattern rule.
72393 (generated): Add those targets.
72394 (localplt-built-dso): New variable.
72395 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
72396
72397 * elf/check-localplt.c: File removed.
72398
72399 * scripts/check-execstack.awk: New file.
72400 * elf/Makefile ($(objpfx)check-execstack): Target removed.
72401 (check-execstack-CFLAGS): Variable removed.
72402 ($(objpfx)check-execstack.h): Target removed.
72403 ($(objpfx)execstack-default): New target.
72404 (generated): Add that instead of check-execstack.h.
72405 ($(all-built-dso:=.phdr)): New static pattern rule.
72406 (generated): Add those targets.
72407 * elf/check-execstack.c: File removed.
72408
72409 * scripts/check-textrel.awk: New file.
72410 * elf/Makefile ($(objpfx)check-textrel): Target removed.
72411 (check-textrel-CFLAGS): Variable removed.
72412 (all-built-dso): Use := to define.o
72413 ($(all-built-dso:=.dyn)): New static pattern rule.
72414 (generated): Add those targets.
72415 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
72416 * config.make.in (READELF): New substituted variable.
72417 * elf/check-textrel.c: File removed.
72418
72419 2012-05-01 Joseph Myers <joseph@codesourcery.com>
72420
72421 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
72422 allow.
72423 * conform/data/ctype.h-data [C99-based standards] (isblank):
72424 Expect function.
72425 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
72426 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
72427 [ISO || ISO99 || ISO11] (*_t): Do not allow.
72428 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
72429 Specify type. Require positive value.
72430 (EILSEQ): Likewise.
72431 (ERANGE): Likewise.
72432 [ISO || POSIX] (EILSEQ): Do not expect.
72433 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
72434 Specify type. Require positive value.
72435 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
72436 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
72437 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
72438 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
72439 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
72440 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
72441 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
72442 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
72443 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
72444 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
72445 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
72446 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
72447 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
72448 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
72449 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
72450 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
72451 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
72452 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
72453 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
72454 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
72455 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
72456 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
72457 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
72458 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
72459 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
72460 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
72461 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
72462 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
72463 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
72464 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
72465 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
72466 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
72467 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
72468 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
72469 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
72470 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
72471 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
72472 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
72473 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
72474 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
72475 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
72476 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
72477 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
72478 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
72479 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
72480 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
72481 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
72482 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
72483 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
72484 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
72485 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
72486 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
72487 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
72488 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
72489 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
72490 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
72491 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
72492 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
72493 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
72494 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
72495 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
72496 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
72497 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
72498 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
72499 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
72500 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
72501 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
72502 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
72503 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
72504 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
72505 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
72506 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
72507 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
72508 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
72509 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
72510 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
72511 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
72512 Require >= 2.
72513 (FLT_ROUNDS): Expect as macro, not constant.
72514 (FLT_MANT_DIG): Use macro-int-constant.
72515 (DBL_MANT_DIG): Likewise.
72516 (LDBL_MANT_DIG): Likewise.
72517 (FLT_DIG): Likewise.
72518 (DBL_DIG): Likewise.
72519 (LDBL_DIG): Likewise.
72520 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
72521 (DBL_MIN_EXP): Likewise.
72522 (LDBL_MIN_EXP): Likewise.
72523 (FLT_MAX_EXP): Use macro-int-constant.
72524 (DBL_MAX_EXP): Likewise.
72525 (LDBL_MAX_EXP): Likewise.
72526 (FLT_MAX_10_EXP): Likewise.
72527 (DBL_MAX_10_EXP): Likewise.
72528 (LDBL_MAX_10_EXP): Likewise.
72529 (FLT_MAX): Use macro-constant.
72530 (DBL_MAX): Likewise.
72531 (LDBL_MAX): Likewise.
72532 (FLT_EPSILON): Use macro-constant. Give upper bound.
72533 (DBL_EPSILON): Likewise.
72534 (LDBL_EPSILON): Likewise.
72535 (FLT_MIN): Likewise.
72536 (DBL_MIN): Likewise.
72537 (LDBL_MIN): Likewise.
72538 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
72539 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
72540 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
72541 [ISO11] (FLT_HAS_SUBNORM): Likewise.
72542 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
72543 [ISO11] (DBL_DECIMAL_DIG): Likewise.
72544 [ISO11] (FLT_DECIMAL_DIG): Likewise.
72545 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
72546 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
72547 [ISO11] (FLT_TRUE_MIN): Likewise.
72548 [ISO11] (LDBL_TRUE_MIN): Likewise.
72549 [ISO || ISO99 || ISO11] (*_t): Do not allow.
72550 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
72551 (SCHAR_MIN): Use macro-int-constant. Specify type.
72552 (SCHAR_MAX): Likewise.
72553 (UCHAR_MAX): Likewise.
72554 (CHAR_MIN): Likewise.
72555 (CHAR_MAX): Likewise.
72556 (MB_LEN_MAX): Use macro-int-constant.
72557 (SHRT_MIN): Use macro-int-constant. Specify type.
72558 (SHRT_MAX): Likewise.
72559 (USHRT_MAX): Likewise.
72560 (INT_MAX): Likewise.
72561 (INT_MIN): Use macro-int-constant. Specify type. Make upper
72562 bound negative.
72563 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
72564 bound with "U".
72565 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
72566 bound with "L".
72567 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
72568 bound negative. Suffix upper bound with "L".
72569 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
72570 bound with "UL".
72571 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
72572 Specify type.
72573 [C99-based standards] (LLONG_MAX): Likewise.
72574 [C99-based standards] (ULLONG_MAX): Likewise.
72575 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
72576 == 0.
72577 [ISO11] (max_align_t): Require type.
72578 [ISO || ISO99 || ISO11] (*_t): Do not allow.
72579
72580 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
72581 from $CFLAGS, without defining away __attribute__ calls.
72582 (checknamespace): Use $CFLAGS_namespace.
72583
72584 * conform/conformtest.pl (@keywords): Only include C99 keywords
72585 for standards based on C99 or C11.
72586
72587 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
72588 Disable tests.
72589 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
72590 UNIX98]: Likewise.
72591
72592 * conform/conformtest.pl: Handle "macro-int-constant" and test for
72593 usability of symbols in #if.
72594
72595 * conform/conformtest.pl: If macro or constant types start
72596 "promoted:", expect the symbol to be of the following type
72597 promoted by the integer promotions.
72598
72599 * conform/conformtest.pl: Parse all "constant" and "macro" lines
72600 in one place. Also handle "macro-constant".
72601
72602 * conform/conformtest.pl: Only accept expected macro values with
72603 "==". Parse all "macro" lines in one place.
72604 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
72605
72606 * conform/conformtest.pl: Handle braced types on "constant" lines
72607 instead of handling "typed-constant".
72608 * conform/data/signal.h-data: Use "constant" instead of
72609 "typed-constant".
72610
72611 * conform/conformtest.pl: Handle "optional-" at start of lines in
72612 one place rather than duplicating several cases. Handle each
72613 format of "macro" line with initial "optional-".
72614
72615 * conform/conformtest.pl: Only accept expected constant or
72616 optional-constant values with "==". Parse all "constant" lines in
72617 one place. Parse all "optional-constant" lines in one place.
72618 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
72619 * conform/data/fmtmsg.h-data: Likewise.
72620 * conform/data/netinet/in.h-data: Likewise.
72621 * conform/data/tar.h-data: Likewise.
72622 * conform/data/limits.h-data: Use "==" form on "constant" and
72623 "optional-constant" lines.
72624
72625 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
72626 Use -std=c99 for XOPEN2K.
72627 (@knownproblems): Remove.
72628 (newtoken): Don't check %isknown.
72629
72630 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
72631 Do not expect macro.
72632 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
72633 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
72634 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
72635 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
72636 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
72637 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
72638 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
72639 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
72640 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
72641 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
72642 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
72643 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
72644 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
72645 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
72646 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
72647 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
72648 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
72649 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
72650 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
72651 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
72652 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
72653 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
72654 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
72655 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
72656 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
72657 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
72658 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
72659 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
72660 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
72661 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
72662 [XPG3] (acosh): Likewise.
72663 [XPG3] (asinh): Likewise.
72664 [XPG3] (atanh): Likewise.
72665 [XPG3] (cbrt): Likewise.
72666 [XPG3] (expm1): Likewise.
72667 [XPG3] (ilogb): Likewise.
72668 [XPG3] (log1p): Likewise.
72669 [XPG3] (logb): Likewise.
72670 [XPG3] (nextafter): Likewise.
72671 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
72672 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
72673 [XPG3] (remainder): Likewise.
72674 [XPG3] (rint): Likewise.
72675 [XPG3 || XPG4 || UNIX98] (round): Likewise.
72676 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
72677 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
72678 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
72679 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
72680 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
72681 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
72682 [UNIX98 || XOPEN2K] (scalb): Expect.
72683 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
72684 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
72685 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
72686 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
72687 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
72688 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
72689 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
72690 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
72691 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
72692 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
72693 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
72694 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
72695 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
72696 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
72697 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
72698 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
72699 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
72700 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
72701 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
72702 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
72703 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
72704 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
72705 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
72706 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
72707 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
72708 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
72709 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
72710 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
72711 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
72712 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
72713 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
72714 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
72715 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
72716 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
72717 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
72718 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
72719 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
72720 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
72721 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
72722 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
72723 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
72724 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
72725 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
72726 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
72727 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
72728 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
72729 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
72730 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
72731 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
72732 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
72733 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
72734 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
72735 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
72736 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
72737 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
72738 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
72739 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
72740 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
72741 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
72742 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
72743 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
72744 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
72745 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
72746 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
72747 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
72748 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
72749 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
72750 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
72751 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
72752 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
72753 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
72754 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
72755 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
72756 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
72757 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
72758 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
72759 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
72760 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
72761 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
72762 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
72763 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
72764 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
72765 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
72766 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
72767 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
72768 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
72769 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
72770 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
72771 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
72772 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
72773 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
72774 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
72775 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
72776 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
72777 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
72778 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
72779 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
72780 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
72781 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
72782 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
72783 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
72784 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
72785 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
72786 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
72787 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
72788 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
72789 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
72790 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
72791 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
72792 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
72793 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
72794 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
72795 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
72796 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
72797 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
72798 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
72799 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
72800 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
72801 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
72802 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
72803 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
72804 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
72805 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
72806 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
72807 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
72808 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
72809 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
72810 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
72811 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
72812 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
72813 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
72814 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
72815 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
72816 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
72817 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
72818 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
72819 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
72820
72821 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
72822 _XOPEN_SOURCE_EXTENDED for XPG4.
72823
72824 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
72825
72826 * Makeconfig (localtime): Remove variable.
72827 (inst_localtime-file): Likewise.
72828
72829 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
72830
72831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
72832 Update.
72833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
72834 Update.
72835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
72836 Update.
72837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
72838 Update.
72839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
72840 Update.
72841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
72842 Update.
72843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
72844 Update.
72845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
72846 Update.
72847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
72848 Update.
72849
72850 2012-05-01 Joseph Myers <joseph@codesourcery.com>
72851
72852 [BZ #2550]
72853 [BZ #2570]
72854 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
72855 comparisons to determine direction to adjust input.
72856 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
72857 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
72858 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
72859 Likewise.
72860 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
72861 Likewise.
72862 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
72863 Likewise.
72864 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
72865 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
72866 Likewise.
72867 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
72868 Likewise.
72869 * math/libm-test.inc (nexttoward_test): Add more tests.
72870
72871 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
72872
72873 [BZ #14040]
72874 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
72875 in version GLIBC_2.1, not GLIBC_2.0.
72876 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
72877 Likewise.
72878
72879 2012-04-30 Joseph Myers <joseph@codesourcery.com>
72880
72881 [BZ #13942]
72882 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
72883 (1 - x) * (1 + x).
72884 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
72885 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
72886 * math/libm-test.inc (acos_test): Add more tests.
72887 (asin_test): Likewise.
72888 * sysdeps/i386/fpu/libm-test-ulps: Update.
72889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72890
72891 [BZ #14034]
72892 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
72893 of square root.
72894 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
72895 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
72896 * math/libm-test.inc (acos_test_tonearest): New function.
72897 (acos_test_towardzero): Likewise.
72898 (acos_test_downward): Likewise.
72899 (acos_test_upward): Likewise.
72900 (asin_test_tonearest): Likewise.
72901 (asin_test_towardzero): Likewise.
72902 (asin_test_downward): Likewise.
72903 (asin_test_upward): Likewise.
72904 (main): Call the new functions.
72905 * sysdeps/i386/fpu/libm-test-ulps: Update.
72906 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72907
72908 [BZ #13884]
72909 [BZ #13924]
72910 * math/e_exp10.c: Include <float.h>.
72911 (__ieee754_exp10): Handle underflow here rather than multiplying
72912 large negative argument by M_LN10.
72913 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
72914 of __ieee754_expf.
72915 * math/e_exp10l.c: Include <float.h>.
72916 (__ieee754_exp10l): Handle underflow here rather than multiplying
72917 large negative argument by M_LN10l.
72918 * math/libm-test.inc (exp10_test): Add another test. Do not allow
72919 spurious overflow exception on underflow.
72920
72921 2012-04-29 Marek Polacek <polacek@redhat.com>
72922
72923 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
72924 (__fortify_function): New macro.
72925 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
72926 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
72927 __extern_always_inline.
72928 * libio/bits/stdio2.h: Likewise.
72929 * libio/bits/stdio.h: Likewise.
72930 * string/string.h: Likewise.
72931 * string/bits/string3.h: Likewise.
72932 * include/stdio.h: Likewise.
72933 * stdlib/bits/stdlib.h: Likewise.
72934 * stdlib/stdlib.h: Likewise.
72935 * rt/bits/mqueue2.h: Likewise.
72936 * rt/mqueue.h: Likewise.
72937 * posix/bits/unistd.h: Likewise.
72938 * posix/unistd.h: Likewise.
72939 * io/bits/poll2.h: Likewise.
72940 * io/bits/fcntl2.h: Likewise.
72941 * io/fcntl.h: Likewise.
72942 * io/sys/poll.h: Likewise.
72943 * misc/bits/syslog.h: Likewise.
72944 * misc/bits/syslog-ldbl.h: Likewise.
72945 * misc/sys/syslog.h: Likewise.
72946 * socket/bits/socket2.h: Likewise.
72947 * socket/sys/socket.h: Likewise.
72948 * debug/tst-chk1.c: Likewise.
72949 * wcsmbs/bits/wchar2.h: Likewise.
72950 * wcsmbs/bits/wchar-ldbl.h: Likewise.
72951 * wcsmbs/wchar.h: Likewise.
72952
72953 2012-04-29 Andreas Jaeger <aj@suse.de>
72954
72955 * Makerules (tests): Remove enable-check-abi protection.
72956 (check-abi-warn): Remove.
72957 (check-abi-%): Remove check-abi-warn usage.
72958
72959 * configure.in: Remove check-abi configure option.
72960 * configure: Regenerated.
72961 * config.make.in (enable-check-abi): Remove.
72962
72963 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
72964
72965 [BZ #14033]
72966 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
72967 double functions to double *_finite functions.
72968
72969 [BZ #13941]
72970 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
72971 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
72972 LDBL_MIN_EXP.
72973 * stdio-common/Makefile (tests): Add tst-sprintf3.
72974 * stdio-common/tst-sprintf3.c: New file.
72975
72976 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
72977 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
72978
72979 2012-04-28 Joseph Myers <joseph@codesourcery.com>
72980
72981 * conform/conformtest.pl: Remove duplicate typed-constant
72982 handling.
72983
72984 2012-04-28 David S. Miller <davem@davemloft.net>
72985
72986 * Makerules (%.abilist): Add vpath on sysdep_dirs.
72987 (check-abi-%): Remove AWK script prerequisite and explicit
72988 abilist directory.
72989 (check-abi): Rewrite to just diff the symlist with the abilist.
72990 (config-tls, config-abi-config): Delete, no longer used.
72991 (update-abi-%): Remove AWK script and explicit abilist directory.
72992 (update-abi): Rewrite to simply compare and conditionally copy the
72993 symlist and the sysdep abilist file. Remove update-abi-config
72994 checks.
72995 * abilist/ld.abilist: Remove.
72996 * abilist/libBrokenLocale.abilist: Remove.
72997 * abilist/libanl.abilist: Remove.
72998 * abilist/libcrypt.abilist: Remove.
72999 * abilist/libdl.abilist: Remove.
73000 * abilist/librt.abilist: Remove.
73001 * abilist/libthread_db.abilist: Remove.
73002 * abilist/libutil.abilist: Remove.
73003 * scripts/extract-abilist.awk: Remove.
73004 * scripts/merge-abilist.awk: Remove.
73005 * sysdeps/generic/libcidn.abilist: New file.
73006 * sysdeps/generic/libnss_compat.abilist: New file.
73007 * sysdeps/generic/libnss_db.abilist: New file.
73008 * sysdeps/generic/libnss_dns.abilist: New file.
73009 * sysdeps/generic/libnss_files.abilist: New file.
73010 * sysdeps/generic/libnss_hesiod.abilist: New file.
73011 * sysdeps/generic/libnss_nis.abilist: New file.
73012 * sysdeps/generic/libnss_nisplus.abilist: New file.
73013 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
73014 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
73015 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
73016 file.
73017 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
73018 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
73019 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
73020 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
73021 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
73022 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
73023 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
73024 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
73025 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
73026 file.
73027 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
73028 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
73029 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
73030 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
73031 file.
73032 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
73033 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
73034 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
73035 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
73036 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
73037 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
73038 file.
73039 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
73040 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
73041 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
73042 file.
73043 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
73044 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
73045 New file.
73046 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
73047 New file.
73048 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
73049 New file.
73050 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
73051 New file.
73052 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
73053 New file.
73054 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
73055 New file.
73056 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
73057 New file.
73058 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
73059 New file.
73060 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
73061 New file.
73062 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
73063 New file.
73064 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
73065 New file.
73066 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
73067 New file.
73068 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
73069 New file.
73070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
73071 file.
73072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
73073 New file.
73074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
73075 New file.
73076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
73077 file.
73078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
73079 New file.
73080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
73081 New file.
73082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
73083 file.
73084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
73085 New file.
73086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
73087 New file.
73088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
73089 New file.
73090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
73091 New file.
73092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
73093 New file.
73094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
73095 New file.
73096 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
73097 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
73098 file.
73099 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
73100 New file.
73101 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
73102 file.
73103 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
73104 file.
73105 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
73106 file.
73107 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
73108 file.
73109 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
73110 file.
73111 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
73112 New file.
73113 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
73114 file.
73115 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
73116 file.
73117 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
73118 New file.
73119 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
73120 file.
73121 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
73122 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
73123 file.
73124 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
73125 New file.
73126 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
73127 file.
73128 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
73129 file.
73130 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
73131 file.
73132 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
73133 file.
73134 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
73135 file.
73136 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
73137 New file.
73138 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
73139 file.
73140 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
73141 file.
73142 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
73143 New file.
73144 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
73145 file.
73146 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
73147 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
73148 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
73149 file.
73150 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
73151 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
73152 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
73153 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
73154 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
73155 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
73156 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
73157 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
73158 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
73159 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
73160 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
73161 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
73162 file.
73163 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
73164 New file.
73165 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
73166 file.
73167 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
73168 file.
73169 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
73170 file.
73171 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
73172 file.
73173 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
73174 file.
73175 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
73176 New file.
73177 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
73178 New file.
73179 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
73180 file.
73181 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
73182 New file.
73183 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
73184 file.
73185 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
73186 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
73187 file.
73188 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
73189 New file.
73190 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
73191 file.
73192 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
73193 file.
73194 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
73195 file.
73196 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
73197 file.
73198 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
73199 file.
73200 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
73201 New file.
73202 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
73203 New file.
73204 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
73205 file.
73206 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
73207 New file.
73208 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
73209 file.
73210
73211 2012-04-28 Joseph Myers <joseph@codesourcery.com>
73212
73213 * conform/conformtest.pl: Fix typo in handling typed-constant from
73214 allow-header.
73215
73216 2012-04-27 Joseph Myers <joseph@codesourcery.com>
73217
73218 * README: Cut down references to pre-2.6 Linux kernels and
73219 Linuxthreads. Update lists of configurations in libc and ports
73220 and sort alphabetically. Say "or newer" with Linux kernel version
73221 requirements.
73222
73223 * config.h.in [IS_IN_build]: Allow compiling without optimization.
73224
73225 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
73226
73227 [BZ #887]
73228 * math/libm-test.inc (logb_test_downward): New test to expose
73229 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
73230 rounding mode.
73231
73232 2012-04-27 Joseph Myers <joseph@codesourcery.com>
73233
73234 [BZ #14027]
73235 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
73236 to be done.
73237 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
73238 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
73239
73240 2012-04-26 Joseph Myers <joseph@codesourcery.com>
73241
73242 * sysdeps/unix/i386/brk.S: Remove file.
73243 * sysdeps/unix/i386/dl-brk.S: Likewise.
73244 * sysdeps/unix/i386/pipe.S: Likewise.
73245 * sysdeps/unix/i386/sigreturn.S: Likewise.
73246 * sysdeps/unix/i386/syscall.S: Likewise.
73247 * sysdeps/unix/i386/vfork.S: Likewise.
73248 * sysdeps/unix/i386/wait.S: Likewise.
73249
73250 * sysdeps/unix/common/tcsendbrk.c: Move to ...
73251 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
73252
73253 * configure.in (arm*-none*): Do not allow without
73254 --enable-hacker-mode.
73255 (netbsd*): Remove case setting base_os.
73256 (386bsd*): Likewise.
73257 (freebsd*): Likewise.
73258 (bsdi*): Likewise.
73259 (osf*): Likewise.
73260 (sunos*): Likewise.
73261 (ultrix*): Likewise.
73262 (newsos*): Likewise.
73263 (dynix*): Likewise.
73264 (*bsd*): Likewise.
73265 (sysv*): Likewise.
73266 (isc*): Likewise.
73267 (esix*): Likewise.
73268 (sco*): Likewise.
73269 (minix*): Likewise.
73270 (irix4*): Likewise.
73271 (irix6*): Likewise.
73272 (solaris[2-9]*): Likewise.
73273 (none): Likewise.
73274 * configure: Regenerated.
73275
73276 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
73277
73278 [BZ #11521]
73279 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
73280 overflow or cancellation in calculating denominator.
73281 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
73282 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
73283 down expression to avoid unexpected rounding in newer GCCs.
73284 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
73285
73286 2012-04-26 David S. Miller <davem@davemloft.net>
73287
73288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
73289 long-double compat symbols.
73290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
73291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
73292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
73293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
73294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
73295 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
73296 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
73297 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
73298 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
73299 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
73300 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
73301 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
73302 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
73303
73304 2012-04-25 David S. Miller <davem@davemloft.net>
73305
73306 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
73307 HWCAP_* values only after the memory barriers have been defined.
73308 (atomic_full_barrier): Define.
73309 (atomic_read_barrier): Define.
73310 (atomic_write_barrier): Define.
73311
73312 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
73313
73314 * shlib-versions: Add libgcc_s version information.
73315 * sysdeps/generic/libgcc_s.h: Remove.
73316 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
73317 libgcc_s.h.
73318 * sysdeps/gnu/unwind-resume.c: Likewise.
73319 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
73320
73321 2012-04-25 David S. Miller <davem@davemloft.net>
73322
73323 * sysdeps/unix/sparc/brk.S: Delete.
73324 * sysdeps/unix/sparc/dl-brk.S: Delete.
73325 * sysdeps/unix/sparc/pipe.S: Delete.
73326 * sysdeps/unix/sparc/sysdep.S: Delete.
73327 * sysdeps/unix/sparc/sysdep.h: Delete.
73328 * sysdeps/unix/sparc/vfork.S: Delete.
73329 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
73330 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
73331 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
73332 (ret_ERRVAL, r0, r1, MOVE): Define.
73333 (JUMPTARGET): Remove.
73334 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
73335 sysdeps/unix/sparc/sysdep.h
73336 (ENTRY, END): Remove.
73337 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
73338
73339 2012-04-25 Joseph Myers <joseph@codesourcery.com>
73340
73341 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
73342 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
73343 -DIS_IN_build.
73344
73345 * timezone/README: Update upstream location and email address for
73346 tzcode and tzdata.
73347 * timezone/zdump.c: Update from tzcode 2012b.
73348 * timezone/zic.c: Likewise.
73349
73350 * configure.in (libc_cv_as_needed): Remove test.
73351 * configure: Regenerated.
73352 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
73353 conditional definition.
73354 [$(have-as-needed) != yes] (no-as-needed): Likewise.
73355 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
73356 * config.make.in (have-as-needed): Remove variable.
73357
73358 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
73359 Paul Pluzhnikov <ppluzhnikov@google.com>
73360
73361 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
73362 strings correctly.
73363
73364 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
73365
73366 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
73367 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
73368 * sysdeps/sh/strlen.S: Likewise.
73369
73370 2012-04-24 Joseph Myers <joseph@codesourcery.com>
73371
73372 * sysdeps/unix/fork.S: Remove file.
73373 * sysdeps/unix/i386/fork.S: Likewise.
73374 * sysdeps/unix/sparc/fork.S: Likewise.
73375
73376 * sysdeps/unix/system.c: Remove file.
73377 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
73378
73379 * sysdeps/unix/getegid.S: Remove file.
73380 * sysdeps/unix/geteuid.S: Likewise.
73381
73382 2012-04-24 Roland McGrath <roland@hack.frob.com>
73383
73384 * scripts/check-localplt.awk: New file.
73385 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
73386 of diff.
73387 * scripts/data/localplt-generic.data: Add a comment.
73388
73389 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
73390 NODE when __dir_mkfile failed.
73391 * sysdeps/mach/hurd/symlinkat.c: Likewise.
73392 Reported by Ludovic Courtès <ludo@gnu.org>.
73393
73394 2012-04-24 Andreas Jaeger <aj@suse.de>
73395
73396 * Makerules (common-clean): Also remove gen-as-const-headers
73397 files.
73398
73399 2012-04-24 Joseph Myers <joseph@codesourcery.com>
73400
73401 * Makerules (native-compile): Do not change working directory for
73402 build. Use $(OUTPUT_OPTION) in command.
73403 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
73404
73405 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
73406
73407 [BZ #13886]
73408 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
73409 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
73410 * math/libm-test.inc (floor_test): Add more tests.
73411 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
73412
73413 2012-04-24 Joseph Myers <joseph@codesourcery.com>
73414
73415 * sysdeps/unix/getdents.c: Remove file.
73416 * sysdeps/unix/sysv/getdents.c: Likewise.
73417 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
73418
73419 * sysdeps/unix/syscalls.list (madvise): Add syscall from
73420 sysdeps/unix/mman/syscalls.list.
73421 (mmap): Likewise.
73422 (mprotect): Likewise.
73423 (msync): Likewise.
73424 (munmap): Likewise.
73425 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
73426 * sysdeps/unix/mman/syscalls.list: Remove.
73427 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
73428
73429 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
73430 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
73431 * configure: Regenerated.
73432 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
73433 $(libgcc_s_suffix).
73434 * config.make.in (libgcc_s_suffix): Remove variable.
73435
73436 2012-04-23 Joseph Myers <joseph@codesourcery.com>
73437
73438 * sysdeps/unix/sysv/gethostname.c: Move to ...
73439 * sysdeps/posix/gethostname.c: ... here.
73440
73441 * sysdeps/unix/execve.S: Remove file.
73442
73443 * sysdeps/unix/_exit.S: Remove file.
73444
73445 2012-04-23 Andreas Jaeger <aj@suse.de>
73446
73447 [BZ #13739]
73448 * manual/Makefile: Remove make dist support, there's no
73449 need for a stand-alone documentation tar ball.
73450 (TEXI2DVI): Define always, it's not in Makeconfig.
73451 (dist): Removed.
73452 (tar-it): Removed.
73453 (edition): Removed.
73454 (glibc-doc-$(edition).tar): Removed
73455 (%.Z): Removed.
73456 (%.gz): Removed.
73457 (%.uu): Removed.
73458 (ETAGS): Remove, it's in Makeconfig.
73459 (move-if-change): Remove, it's in Makeconfig.
73460
73461 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
73462
73463 [BZ #13970]
73464 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
73465 (strtod, strtof, strtold, strtol, strtoul, strtoq)
73466 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
73467 (strtod_l, strtof_l, strtold_l): Remove __wur.
73468 It is not necessarily an error to ignore strtol's return value.
73469 One can reliably look at the stored endptr to decide whether
73470 the number had valid syntax.
73471
73472 2012-04-21 Andreas Jaeger <aj@suse.de>
73473
73474 [BZ #13739]
73475 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
73476
73477 2012-04-21 Joseph Myers <joseph@codesourcery.com>
73478
73479 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
73480 * sysdeps/unix/sysv/Versions: Remove file.
73481
73482 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
73483
73484 [BZ #13927]
73485 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73486
73487 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
73488
73489 [BZ #7064]
73490 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
73491 version from __vm86.
73492
73493 2012-04-20 Joseph Myers <joseph@codesourcery.com>
73494
73495 * sysdeps/unix/common/lxstat.c: Remove file.
73496 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
73497
73498 * sysdeps/unix/sysv/Makefile: Remove file.
73499
73500 * sysdeps/unix/sysv/direct.h: Remove file.
73501
73502 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
73503 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
73504 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
73505 * sysdeps/unix/sysv/bits/signum.h: Likewise.
73506 * sysdeps/unix/sysv/bits/stat.h: Likewise.
73507 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
73508 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
73509
73510 * sysdeps/unix/sysv/setrlimit.c: Remove file.
73511
73512 * sysdeps/unix/xmknod.c: Remove file.
73513 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
73514
73515 * sysdeps/unix/sysv/settimeofday.c: Remove file.
73516
73517 * sysdeps/unix/sysv/i386/time.S: Remove file.
73518
73519 * sysdeps/unix/fxstat.c: Remove file.
73520 * sysdeps/unix/xstat.c: Likewise.
73521 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
73522
73523 * sysdeps/unix/sysv/sigaction.c: Remove file.
73524
73525 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
73526 (sysdep_headers): Remove variable.
73527 [termio.h not in sysdep_headers] (generated): Likewise.
73528 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
73529 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
73530 * sysdeps/unix/sysv/tcdrain.c: Likewise.
73531 * sysdeps/unix/sysv/tcflow.c: Likewise.
73532 * sysdeps/unix/sysv/tcflush.c: Likewise.
73533 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
73534 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
73535 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
73536 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
73537 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
73538
73539 * sysdeps/unix/siglist.c: Remove file.
73540
73541 * sysdeps/unix/getppid.S: Remove file.
73542
73543 * sysdeps/unix/mkdir.c: Remove file.
73544 * sysdeps/unix/rmdir.c: Likewise.
73545
73546 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
73547
73548 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
73549 ERR_MAX value.
73550 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
73551 errlist-compat value.
73552
73553 2012-04-18 David S. Miller <davem@davemloft.net>
73554
73555 * sysdeps/generic/memcopy.h (reg_char): Delete.
73556 * debug/strcat_chk.c: Use char, not reg_char.
73557 * debug/strcpy_chk.c: Likewise.
73558 * debug/strncat_chk.c: Likewise.
73559 * debug/strncpy_chk.c: Likewise.
73560 * string/memchr.c: Likewise.
73561 * string/memrchr.c: Likewise.
73562 * string/rawmemchr.c: Likewise.
73563 * string/strcat.c: Likewise.
73564 * string/strchr.c: Likewise.
73565 * string/strchrnul.c: Likewise.
73566 * string/strcmp.c: Likewise.
73567 * string/strcpy.c: Likewise.
73568 * string/strncat.c: Likewise.
73569 * string/strncmp.c: Likewise.
73570 * string/strncpy.c: Likewise.
73571
73572 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
73573
73574 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
73575 __builtin_memcopy is called when src and dest ranges are known to not
73576 overlap.
73577
73578 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
73579
73580 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
73581 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
73582 fwd_align_merge macro call.
73583 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
73584 bwd_align_merge macro call.
73585 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
73586
73587 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
73588
73589 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
73590 bwd_align_merge macros.
73591 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
73592 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
73593 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
73594
73595 2012-04-18 David S. Miller <davem@davemloft.net>
73596
73597 * sysdeps/sparc/sparc64/memcopy.h: Delete.
73598
73599 2012-04-18 Andreas Jaeger <aj@suse.de>
73600
73601 [BZ# 6794]
73602 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
73603 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
73604 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
73605
73606 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
73607 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
73608 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
73609
73610 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
73611 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
73612 Adjust for changed ldbl-128 files.
73613
73614 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
73615 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
73616 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
73617
73618 2012-04-17 David S. Miller <davem@davemloft.net>
73619
73620 * sysdeps/sparc/sparc32/memcopy.h: Delete.
73621
73622 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
73623
73624 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
73625 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
73626 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
73627 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
73628 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
73629 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
73630
73631 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
73632
73633 [BZ #6794]
73634 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
73635 * math/libm-test.inc: Add ilogb errno and exception tests.
73636 * math/w_ilogb.c: New file: ilogb wrapper.
73637 * math/w_ilogbf.c: New file: ilogbf wrapper.
73638 * math/w_ilogbl.c: New file: ilogbl wrapper.
73639 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
73640 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
73641 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
73642 exception being thrown with 0.0 as argument.
73643 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
73644 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
73645 exception being thrown with 0.0 as argument.
73646 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
73647 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
73648 exception being thrown with 0.0 as argument.
73649 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
73650 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
73651 exception being thrown with 0.0 as argument.
73652 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
73653 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
73654 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
73655 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
73656 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
73657 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
73658 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
73659 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
73660 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
73661
73662 2012-04-17 Petr Baudis <pasky@ucw.cz>
73663
73664 * include/sys/uio.h: Change __vector to __iovec to avoid clash
73665 with altivec.
73666
73667 2012-04-16 Marek Polacek <polacek@redhat.com>
73668
73669 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
73670
73671 2012-04-16 Marek Polacek <polacek@redhat.com>
73672
73673 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
73674 operands of fdivp instruction.
73675
73676 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
73677
73678 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
73679 * elf/tst-auditmod3b.c: Likewise.
73680 * elf/tst-auditmod4b.c: Likewise.
73681 * elf/tst-auditmod5b.c: Likewise.
73682 * elf/tst-auditmod6b.c: Likewise.
73683 * elf/tst-auditmod6c.c: Likewise.
73684 * elf/tst-auditmod7b.c: Likewise.
73685 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
73686 * sysdeps/x86_64/preconfigure.in: Likewise.
73687 * sysdeps/x86_64/preconfigure: Regenerated.
73688
73689 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
73690
73691 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
73692 __ILP32__.
73693
73694 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
73695
73696 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
73697 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
73698
73699 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
73700
73701 [BZ #13973]
73702 * locale/iso-639.def: Fix gl language name. Spotted by
73703 Yaron Shahrabani.
73704
73705 2012-04-12 Roland McGrath <roland@hack.frob.com>
73706
73707 [BZ #2074]
73708 * libio/libio.h (__io_write_fn): Update comment.
73709
73710 2012-04-12 Petr Baudis <pasky@ucw.cz>
73711
73712 [BZ #2074]
73713 * stdio.texi (Hook Functions): The user provided writer function
73714 is not allowed to return -1.
73715
73716 2012-04-11 David S. Miller <davem@davemloft.net>
73717
73718 * sysdeps/sparc/fpu/libm-test-ulps: Update.
73719
73720 2012-04-11 Mike Frysinger <vapier@gentoo.org>
73721
73722 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
73723 Add a leading slash to rtkaio.
73724
73725 2012-04-11 Jim Meyering <meyering@redhat.com>
73726
73727 [BZ #11959]
73728 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
73729 It is not necessarily an error to ignore fwrite's return
73730 value. One can reliably use ferror to test for errors after
73731 the fact.
73732
73733 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
73734
73735 * bits/types.h (__snseconds_t): New type.
73736 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
73737
73738 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
73739 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
73740 (__SNSECONDS_T_TYPE): Likewise.
73741 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
73742 (__SNSECONDS_T_TYPE): Likewise.
73743 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
73744 (__SNSECONDS_T_TYPE): Likewise.
73745
73746 2012-04-10 Andreas Jaeger <aj@suse.de>
73747
73748 [BZ #2636]
73749 * manual/time.texi (Processor Time): Return type of times is
73750 elapsed real time since an arbitrary point in the past.
73751 (CPU Time): Move CLK_TCK from here...
73752 (Processor Time): ...to here. Correct description.
73753 * manual/conf.texi (Constants for Sysconf): Correct description of
73754 _SC_CLK_TCK.
73755
73756 2012-04-10 David S. Miller <davem@davemloft.net>
73757
73758 [BZ #13967]
73759 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
73760 where the is a gap between DT_REL(A) and DT_JMPREL.
73761
73762 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
73763
73764 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
73765 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
73766 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
73767
73768 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
73769
73770 * elf/dl-support.c (_dl_inhibit_cache): New variable.
73771 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
73772 (dl_main): Handle --inhibit-cache.
73773 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
73774 _dl_inhibit_cache.
73775 * elf/dl-load.c (_dl_map_object): Use it.
73776 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
73777
73778 2012-04-09 Joseph Myers <joseph@codesourcery.com>
73779
73780 [BZ #13872]
73781 * sysdeps/i386/fpu/e_powl.S (p78): New object.
73782 (__ieee754_powl): Saturate large exponents rather than testing for
73783 overflow of y*log2(x).
73784 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
73785 * math/libm-test.inc (pow_test): Do not permit spurious overflow
73786 exceptions.
73787
73788 [BZ #11521]
73789 * math/s_ctan.c: Include <float.h>.
73790 (__ctan): Avoid internal overflow or cancellation in calculating
73791 denominator.
73792 * math/s_ctanf.c: Likewise.
73793 * math/s_ctanl.c: Likewise.
73794 * math/s_ctanh.c: Likewise.
73795 * math/s_ctanhf.c: Likewise.
73796 * math/s_ctanhl.c: Likewise.
73797 * math/libm-test.inc (ctan_test): Add more tests.
73798 (ctanh_test): Likewise.
73799 * sysdeps/i386/fpu/libm-test-ulps: Update.
73800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73801
73802 2012-04-09 Andreas Jaeger <aj@suse.de>
73803
73804 [BZ #6894]
73805 * manual/filesys.texi (Directory Entries): Mention that d_namlen
73806 is an optional BSD extension.
73807
73808 [BZ #10254]
73809 * manual/stdio.texi (Opening Streams): Document additional fopen
73810 parameters.
73811
73812 2012-04-09 Roland McGrath <roland@hack.frob.com>
73813
73814 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
73815 %eax without telling the compiler.
73816
73817 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
73818
73819 [BZ # 13963]
73820 * manual/install.texi: Use sourceware.org.
73821
73822 2012-04-09 Joseph Myers <joseph@codesourcery.com>
73823
73824 [BZ #13873]
73825 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
73826 (__ieee754_pow): Generate overflow and underflow using huge*huge
73827 and tiny*tiny rather than just returning constant infinity or zero
73828 for large exponents.
73829 * math/libm-test.inc (pow_test): Require overflow exceptions for
73830 applicable cases of large exponents.
73831
73832 [BZ #706]
73833 * sysdeps/i386/fpu/e_pow.S (p10): New object.
73834 (__ieee754_pow): Use iterative multiplication algorithm only for
73835 integer exponents with absolute value below 1024. Check for odd
73836 integer exponents when using algorithm for real exponents.
73837 * math/libm-test.inc (pow_test): Add more tests.
73838 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73839
73840 2012-04-08 Joseph Myers <joseph@codesourcery.com>
73841
73842 [BZ #13705]
73843 * math/libm-test.inc (exp_test): Do not allow overflow exception
73844 on underflow test.
73845
73846 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
73847
73848 [BZ #13705]
73849 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
73850 instead of __kernel_standard_f.
73851
73852 2012-04-08 Mike Frysinger <vapier@gentoo.org>
73853
73854 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
73855 * sysdeps/x86_64/memset_chk.S: Likewise.
73856
73857 2012-04-08 Andreas Jaeger <aj@suse.de>
73858
73859 [BZ #10153]
73860 * manual/startup.texi (Environment Access): Describe return value
73861 for putenv and setenv.
73862
73863 [BZ #6895]
73864 * manual/filesys.texi (Directory Entries): Add description for
73865 DT_LNK.
73866
73867 [BZ #6890]
73868 * manual/filesys.texi (Directory Entries): Clarify that it's file
73869 system not operating system in the description of DT_UNKNOWN.
73870
73871 [BZ #6578]
73872 * manual/syslog.texi (closelog): Fix reference, it's openlog.
73873
73874 2012-04-08 Stephen Compall <s11@member.fsf.org>
73875
73876 [BZ #6649]
73877 * manual/llio.texi (Opening and Closing Files): Add cross
73878 reference to explain mode argument.
73879
73880 2012-04-07 Mike Frysinger <vapier@gentoo.org>
73881
73882 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
73883 * sysdeps/x86_64/memset_chk.S: Likewise.
73884
73885 2012-04-07 David S. Miller <davem@davemloft.net>
73886
73887 * elf/elf.h (R_SPARC_WDISP10): Define.
73888 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
73889 R_SPARC_SIZE32.
73890 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
73891 R_SPARC_SIZE64 and R_SPARC_H34.
73892
73893 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
73894
73895 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
73896 conditions and remove no longer applicable assertion.
73897
73898 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
73899
73900 * bits/byteswap.h: Include <features.h>.
73901 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
73902 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
73903
73904 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
73905
73906 * bits/byteswap.h (__bswap_16): Removed.
73907 Include <bits/byteswap-16.h> to get __bswap_16.
73908 * sysdeps/i386/bits/byteswap.h: Likewise.
73909 * sysdeps/s390/bits/byteswap.h: Likewise.
73910 * sysdeps/x86_64/bits/byteswap.h: Likewise.
73911 * bits/byteswap-16.h: New file.
73912 * sysdeps/i386/bits/byteswap-16.h: Likewise.
73913 * sysdeps/s390/bits/byteswap-16.h: Likewise.
73914 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
73915 * string/Makefile (headers): Add bits/byteswap-16.h.
73916
73917 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
73918
73919 [BZ #13895]
73920 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
73921 extra indirection.
73922 * nss/Makefile (tests-static, tests): Add tst-nss-static.
73923 * nss/tst-nss-static.c: New.
73924
73925 2012-04-06 Robert Millan <rmh@gnu.org>
73926
73927 [BZ #6486]
73928 * manual/llio.texi (File Position Primitive): lseek
73929 refers to WHENCE when it really means OFFSET.
73930
73931 2012-04-06 Andreas Jaeger <aj@suse.de>
73932
73933 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
73934 strncmp declarations.
73935
73936 * abilist/libc.abilist: Add __poll and __ppoll.
73937
73938 2012-04-05 David S. Miller <davem@davemloft.net>
73939
73940 * scripts/check-local-headers.sh: Accept a host triplet in the
73941 path matched by the exclude regexp.
73942
73943 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
73944 definition.
73945 * sysdeps/powerpc/powerpc32/dl-machine.h
73946 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
73947 * sysdeps/s390/s390-32/dl-machine.h
73948 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
73949 * sysdeps/sparc/sparc32/dl-machine.h
73950 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
73951 * sysdeps/sparc/sparc64/dl-machine.h
73952 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
73953
73954 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
73955 lazy binding.
73956 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
73957 undefined symbol errors.
73958
73959 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
73960 DT_NEEDED entries.
73961
73962 2012-04-05 Michael Matz <matz@suse.de>
73963
73964 [BZ #13592]
73965 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
73966
73967 2012-04-05 Andreas Jaeger <aj@suse.de>
73968
73969 [BZ #13908]
73970 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
73971 comment.
73972
73973 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
73974
73975 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
73976 which ROUND is no valid rounding mode.
73977
73978 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
73979
73980 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
73981 read again.
73982 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
73983
73984 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
73985
73986 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
73987 an exception using FPU order intentionally.
73988
73989 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
73990
73991 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
73992 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
73993 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
73994 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
73995
73996 2012-04-05 Simon Josefsson <simon@josefsson.org>
73997
73998 [BZ #12340]
73999 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
74000 EINVAL when BUFLEN is too smal.
74001
74002 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
74003
74004 [BZ #13553]
74005 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
74006 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
74007
74008 2012-04-03 Andreas Jaeger <aj@suse.de>
74009
74010 [BZ #13938]
74011 * manual/setjmp.texi (System V contexts): Fix sentence.
74012
74013 [BZ #13926]
74014 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
74015 New macro for this case.
74016 [!__GNUC__] (__bswap_64): New inline function for this case.
74017 * sysdeps/x86_64/bits/byteswap.h: Likewise.
74018 * bits/byteswap.h: Likewise.
74019 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
74020 ull, guard with __GLIBC_HAVE_LONG_LONG.
74021
74022 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
74023 __GLIBC_HAVE_LONG_LONG.
74024
74025 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
74026 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
74027
74028 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
74029
74030 [BZ #13691]
74031 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
74032 inptr and inend, rather than using last_ch.
74033
74034 2012-04-02 David S. Miller <davem@davemloft.net>
74035
74036 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
74037 * stdio-common/printf-parse.h (read_int): Change return type to
74038 'int', return -1 on INT_MAX overflow.
74039 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
74040 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
74041 overflows INT_MAX. Check for overflow of in-format-string precision
74042 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
74043 SIZE_MAX not INT_MAX for integer overflow test.
74044 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
74045 skip the construct in the format string but do not record anything.
74046 * stdio-common/bug22.c: Adjust to test both width/prevision
74047 INT_MAX overflow as well as total length INT_MAX overflow. Check
74048 explicitly for proper errno values.
74049
74050 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
74051
74052 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
74053 CHAR_MAX.
74054 * string/test-strcmp.c [! WIDE]: Likewise.
74055 * time/tst-mktime2.c: Likewise for INT_MAX.
74056 * string/test-string.h: #include <sys/param.h> for MIN.
74057
74058 * csu/init-first.c (__libc_init_first): Call __ctype_init.
74059 * sysdeps/i386/init-first.c (init): Likewise.
74060 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
74061 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
74062 * sysdeps/sh/init-first.c (init): Likewise.
74063
74064 2012-04-01 Ulrich Drepper <drepper@gmail.com>
74065
74066 * po/ru.po: Update from translation team.
74067 * po/vi.po: Likewise.
74068
74069 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
74070
74071 * resolv/nss_dns/dns-host.c: Merge copyright years.
74072
74073 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
74074
74075 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
74076 Optimize memcpy with prefetch if
74077 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
74078 src, dst pointers have unequal 16 byte alignments.
74079
74080 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
74081
74082 [BZ #13928]
74083 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
74084 from a CNAME entry and return the minimum ttl for the query.
74085 (gaih_getanswer_slice): Likewise.
74086
74087 2012-03-30 Jeff Law <law@redhat.com>
74088
74089 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
74090 due to long keys.
74091 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
74092 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
74093
74094 * resolv/nss_dns/dns-host.c: Update copyright year.
74095
74096 2012-03-30 Ulrich Drepper <drepper@gmail.com>
74097
74098 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
74099 requests to save a system call. Fix check that all bytes are sent.
74100
74101 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
74102 comments for sendmmsg.
74103
74104 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
74105
74106 [BZ #13691]
74107 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
74108 with only 1 character between 0x0041 and 0x01b0.
74109 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
74110 * wcsmbs/tst-mbsnrtowcs.c: New file.
74111
74112 2012-03-29 David S. Miller <davem@davemloft.net>
74113
74114 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
74115 small copies by hand.
74116
74117 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
74118
74119 [BZ #13761]
74120 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
74121 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
74122 group memberships.
74123
74124 2012-03-28 David S. Miller <davem@davemloft.net>
74125
74126 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
74127 that branches into memcpy.
74128 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
74129 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
74130 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
74131 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
74132 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
74133 bits.
74134 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
74135 implementation too.
74136 * sysdeps/sparc/mempcpy.S: New file.
74137
74138 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
74139 the IFUNC routine in the libc case.
74140 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
74141
74142 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
74143 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
74144 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
74145 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
74146 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
74147 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
74148 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
74149 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
74150
74151 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
74152 loop to 256 bytes instead of 64 bytes and fix test signedness.
74153
74154 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
74155 * sysdeps/sparc/sparc32/Makefile: rather than here...
74156 * sysdeps/sparc/sparc64/Makefile: and here.
74157
74158 2012-03-28 Ulrich Drepper <drepper@gmail.com>
74159
74160 * malloc/mallocbug.c: Avoid warnings about unused variables.
74161
74162 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
74163
74164 [BZ #13760]
74165 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
74166 in the right place. Discard and retry query if response is
74167 larger than input buffer size.
74168
74169 2012-03-28 Joseph Myers <joseph@codesourcery.com>
74170
74171 [BZ #369]
74172 [BZ #2678]
74173 [BZ #3866]
74174 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
74175 x for large integer exponent.
74176 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
74177 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
74178 sign of result as needed afterwards.
74179 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
74180 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
74181 result for underflowing pow the same as for overflow.
74182 (__kernel_standard_l): Handle powl overflow and underflow here
74183 rather than calling __kernel_standard.
74184 * math/libm-test.inc (pow_test): Add more tests.
74185
74186 [BZ #3868]
74187 [BZ #13879]
74188 [BZ #13910]
74189 [BZ #13911]
74190 [BZ #13912]
74191 [BZ #13913]
74192 [BZ #13915]
74193 [BZ #13916]
74194 [BZ #13917]
74195 [BZ #13918]
74196 [BZ #13919]
74197 [BZ #13920]
74198 [BZ #13921]
74199 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
74200 * sysdeps/ieee754/k_standard.c: Include <float.h>.
74201 (__kernel_standard_l): New function.
74202 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
74203 __kernel_standard.
74204 * math/w_acosl.c (__acosl): Likewise.
74205 * math/w_asinl.c (__asinl): Likewise.
74206 * math/w_atan2l.c (__atan2l): Likewise.
74207 * math/w_atanhl.c (__atanhl): Likewise.
74208 * math/w_coshl.c (__coshl): Likewise.
74209 * math/w_exp10l.c (__exp10l): Likewise.
74210 * math/w_exp2l.c (__exp2l): Likewise.
74211 * math/w_fmodl.c (__fmodl): Likewise.
74212 * math/w_hypotl.c (__hypotl): Likewise.
74213 * math/w_j0l.c (__j0l, __y0l): Likewise.
74214 * math/w_j1l.c (__j1l, __y1l): Likewise.
74215 * math/w_jnl.c (__jnl, __ynl): Likewise.
74216 * math/w_lgammal.c (__lgammal): Likewise.
74217 * math/w_log10l.c (__log10l): Likewise.
74218 * math/w_log2l.c (__log2l): Likewise.
74219 * math/w_logl.c (__logl): Likewise.
74220 * math/w_powl.c (__powl): Likewise.
74221 * math/w_remainderl.c (__remainderl): Likewise.
74222 * math/w_scalbl.c (sysv_scalbl): Likewise.
74223 * math/w_sinhl.c (__sinhl): Likewise.
74224 * math/w_sqrtl.c (__sqrtl): Likewise.
74225 * math/w_tgammal.c (__tgammal): Likewise.
74226 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
74227 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
74228 * math/libm-test.inc (acos_test): Add more tests.
74229 (acosh_test): Likewise.
74230 (asin_test): Likewise.
74231 (atanh_test): Likewise.
74232 (exp_test): Likewise.
74233 (exp10_test): Likewise.
74234 (exp2_test): Likewise.
74235 (expm1_test): Likewise.
74236 (lgamma_test): Likewise.
74237 (log_test): Likewise.
74238 (log10_test): Likewise.
74239 (log1p_test): Likewise.
74240 (log2_test): Likewise.
74241 (pow_test): Do not allow some spurious overflow exceptions.
74242 (sqrt_test): Add more tests.
74243 (tgamma_test): Likewise.
74244 (y0_test): Likewise.
74245 (y1_test): Likewise.
74246 (yn_test): Likewise.
74247
74248 2012-03-27 Anton Blanchard <anton@samba.org>
74249
74250 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
74251 MAP_HUGETLB.
74252 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
74253 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
74254 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
74255
74256 2012-03-27 David S. Miller <davem@davemloft.net>
74257
74258 * conform/Makefile: Run run-conformtest.sh using $(BASH).
74259
74260 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
74261 have-as-vis3 check.
74262
74263 2012-03-27 Andreas Jaeger <aj@suse.de>
74264
74265 * sysdeps/x86_64/elf/configure.in: Moved to ...
74266 * sysdeps/x86_64/configure.in: ... here.
74267 * sysdeps/x86_64/elf/start.S: Moved to ...
74268 * sysdeps/x86_64/start.S: ... here.
74269 * sysdeps/x86_64/elf/configure: Delete.
74270
74271 * sysdeps/x86_64/configure.in: Merge contents from
74272 sysdeps/i386/configure.in (without i686 check).
74273
74274 * sysdeps/i386/elf/Versions: Merge into ...
74275 * sysdeps/i386/Versions: ... this.
74276 * sysdeps/i386/elf/Versions: Delete file.
74277 * sysdeps/i386/elf/start.S: Moved to ...
74278 * sysdeps/i386/start.S: ...here.
74279 * sysdeps/i386/elf/configure.in: Merge into...
74280 * sysdeps/i386/configure.in: ...here.
74281 * sysdeps/i386/elf/configure.in: Delete file.
74282 * sysdeps/i386/elf/configure: Delete file.
74283
74284 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
74285 * debug/backtracesyms.c: ... here.
74286 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
74287 * debug/backtracesymsfd.c: ... here.
74288 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
74289 * sysdeps/generic/ifunc-sel.h: ... here.
74290
74291 * sysdeps/unix/i386/start.c: Delete file.
74292 * sysdeps/unix/sparc/start.c: Delete file.
74293 * sysdeps/unix/start.c: Delete file.
74294
74295 * sysdeps/sh/elf/configure.in: Moved to ...
74296 * sysdeps/sh/configure.in: ... here.
74297 * sysdeps/sh/elf/start.S: Moved to ...
74298 * sysdeps/sh/start.S: ... here.
74299 * sysdeps/sh/elf/configure: Delete file.
74300
74301 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
74302 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
74303 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
74304 * sysdeps/powerpc/powerpc64/entry.h: ... here.
74305 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
74306 * sysdeps/powerpc/powerpc64/start.S: here.
74307 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
74308 * sysdeps/powerpc/powerpc64/Makefile: ... this.
74309 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
74310 * sysdeps/powerpc/powerpc64/configure.in: ... this.
74311 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
74312
74313 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
74314 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
74315 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
74316 * sysdeps/powerpc/powerpc32/start.S: ... here.
74317 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
74318 * sysdeps/powerpc/powerpc32/configure.in: ... this.
74319 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
74320
74321 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
74322 * sysdeps/powerpc/ifunc-sel.h: ... here.
74323 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
74324 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
74325
74326 * sysdeps/sparc/elf/configure.in: Moved to ...
74327 * sysdeps/sparc/configure.in: ... here.
74328 * sysdeps/sparc/elf/configure: Delete file.
74329 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
74330 * sysdeps/sparc/sparc32/start.S: ... here.
74331 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
74332 * sysdeps/sparc/sparc64/start.S: ... here.
74333 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
74334 * sysdeps/sparc/sparc32/Makefile: ... this.
74335 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
74336 * sysdeps/sparc/sparc64/Makefile: ... this.
74337
74338 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
74339 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
74340 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
74341 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
74342 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
74343 * sysdeps/s390/s390-32/setjmp.S: ... here.
74344 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
74345 * sysdeps/s390/s390-32/configure.in: ... here.
74346 * sysdeps/s390/s390-32/elf/configure: Delete file.
74347 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
74348 * sysdeps/s390/s390-32/start.S: ... here.
74349
74350 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
74351 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
74352 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
74353 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
74354 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
74355 * sysdeps/s390/s390-64/setjmp.S: ... here.
74356 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
74357 * sysdeps/s390/s390-64/configure.in: ... here
74358 * sysdeps/s390/s390-64/elf/configure: Delete file.
74359 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
74360 * sysdeps/s390/s390-64/start.S: ... here.
74361 * sysdeps/s390/s390-64/elf/configure: Delete.
74362
74363 * configure.in: Remove support for elf directories in sysdeps.
74364
74365 * configure: Regenerated.
74366 * sysdeps/i386/configure: Regenerated.
74367 * sysdeps/powerpc/powerpc32/configure: Regenerated.
74368 * sysdeps/powerpc/powerpc64/configure: Regenerated.
74369 * sysdeps/s390/s390-32/configure: Regenerated.
74370 * sysdeps/s390/s390-64/configure: Regenerated.
74371 * sysdeps/sh/configure: Regenerated.
74372 * sysdeps/sparc/configure: Regenerated.
74373 * sysdeps/x86_64/configure: Regenerated.
74374
74375 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
74376
74377 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74378
74379 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
74380 denormal result into account.
74381
74382 2012-03-25 Roland McGrath <roland@hack.frob.com>
74383
74384 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
74385 Reported by Allan McRae <allan@archlinux.org>.
74386
74387 2012-03-23 Jeff Law <law@redhat.com>
74388
74389 * nss/getnssent.c (__nss_getent): Fix typo.
74390
74391 2012-03-23 David S. Miller <davem@davemloft.net>
74392
74393 * sysdeps/sparc/fpu/libm-test-ulps: Update.
74394
74395 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
74396
74397 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
74398 to pad to uint64_t for each field.
74399 (dl_tls_index): Replace unsigned long with uint64_t.
74400
74401 2012-03-23 Daniel Jacobowitz <dmj@google.com>
74402 Paul Pluzhnikov <ppluzhnikov@google.com>
74403
74404 [BZ #6528]
74405 * grp/Makefile (otherlibs): Don't set it.
74406 * inet/Makefile (otherlibs): Likewise.
74407 * login/Makefile (otherlibs): Likewise.
74408 * nscd/Makefile (otherlibs): Likewise.
74409 * posix/Makefile (otherlibs): Likewise.
74410 * pwd/Makefile (otherlibs): Likewise.
74411 * rt/Makefile (otherlibs): Likewise.
74412 * sunrpc/Makefile (otherlibs): Likewise.
74413 * nss/Makefile (otherlibs): Likewise.
74414 Add libnss_files to routines and static-only-routines.
74415 ($(objpfx)getent): Remove rule.
74416 * resolv/Makefile: Add libnss_dns and libresolv to routines and
74417 static-only-routines.
74418
74419 2012-03-22 Joseph Myers <joseph@codesourcery.com>
74420
74421 [BZ #13892]
74422 * math/s_cexp.c: Include <float.h>.
74423 (__cexp): Handle exp result overflowing not necessarily
74424 overflowing both real and imaginary parts of result.
74425 * math/s_cexpf.c: Likewise.
74426 * math/s_cexpl.c: Likewise.
74427 * math/libm-test.inc (cexp_test): Add more tests.
74428 * sysdeps/i386/fpu/libm-test-ulps: Update.
74429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74430
74431 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
74432
74433 * include/link.h (ELFW): New macro.
74434 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
74435 Replace ELF64_R_TYPE with ELFW(R_TYPE).
74436
74437 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
74438
74439 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
74440 with uint64_t.
74441
74442 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
74443
74444 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
74445 declaration.
74446 (struct La_x32_retval): Likewise.
74447
74448 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
74449
74450 * sysdeps/x86_64/preconfigure.in: New file.
74451 * sysdeps/x86_64/preconfigure: New generated file.
74452
74453 2012-03-22 Joseph Myers <joseph@codesourcery.com>
74454
74455 [BZ #13824]
74456 * math/e_exp2l.c: Include <float.h>.
74457 (__ieee754_exp2l): Handle overflow and underflow cases
74458 separately. Only pass fractional part of argument to
74459 __ieee754_expl.
74460 * math/libm-test.inc (exp2_test): Add more tests.
74461
74462 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
74463 negating x to take absolute value.
74464 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
74465 Likewise.
74466 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
74467 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
74468 Likewise.
74469 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
74470 computing low part if x was negated.
74471 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
74472
74473 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
74474
74475 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
74476 la_x32_gnu_pltexit.
74477 (pltexit): Cast int_retval to ptrdiff_t.
74478 * elf/tst-auditmod3b.c: Likewise.
74479 * elf/tst-auditmod4b.c: Likewise.
74480 * elf/tst-auditmod5b.c: Likewise.
74481 * elf/tst-auditmod6b.c: Likewise.
74482 * elf/tst-auditmod6c.c: Likewise.
74483 * elf/tst-auditmod7b.c: Likewise.
74484
74485 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
74486 and x32_gnu_pltexit.
74487
74488 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
74489 __ELF_NATIVE_CLASS.
74490 (La_x32_regs): New macro.
74491 (La_x32_retval): Likewise.
74492 (la_x32_gnu_pltenter): New function prototype.
74493 (la_x32_gnu_pltexit): Likewise.
74494
74495 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
74496
74497 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
74498 exponent.
74499
74500 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74501
74502 * configure.in (libc_cv_cc_nofma): Check for option to disable
74503 generation of FMA instructions.
74504 * configure: Regenerate.
74505 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
74506 * sysdeps/ieee754/dbl-64/Makefile: New file.
74507 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
74508 Remove brandred-fma4.
74509 (CFLAGS-brandred-fma4.c): Remove.
74510 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
74511 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
74512 define.
74513 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
74514 define.
74515
74516 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
74517
74518 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
74519 LLONG_MAX != LONG_MAX.
74520 (_itoa_word): Use _ITOA_WORD_TYPE on value.
74521 (_fitoa_word): Likewise.
74522 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
74523 LLONG_MAX != LONG_MAX.
74524 * stdio-common/_itowa.h: Include <_itoa.h>.
74525 (_itowa_word): Use _ITOA_WORD_TYPE on value.
74526 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
74527 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
74528 only if not defined.
74529 (_ITOA_WORD_TYPE): Likewise.
74530 (_itoa_word): Use _ITOA_WORD_TYPE on value.
74531 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
74532
74533 2012-03-21 David S. Miller <davem@davemloft.net>
74534
74535 * sysdeps/sparc/fpu/libm-test-ulps: Update.
74536
74537 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
74538
74539 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
74540 of x86_64 when setting libc_cv_slibdir, libdir and
74541 libc_cv_localedir.
74542 * sysdeps/unix/sysv/linux/configure: Regenerated.
74543
74544 2012-03-21 Joseph Myers <joseph@codesourcery.com>
74545
74546 * manual/lang.texi (Old Varargs): Remove section.
74547 (How Variadic): Update menu.
74548 (va_start): Do not mention varargs.h.
74549
74550 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
74551 Joseph Myers <joseph@codesourcery.com>
74552
74553 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
74554 link test.
74555 * configure: Regenerated.
74556
74557 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
74558
74559 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
74560 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
74561 conformtest.pl
74562
74563 2012-03-21 Joseph Myers <joseph@codesourcery.com>
74564
74565 * NOTES: Remove.
74566 * Makefile (files-for-dist): Remove NOTES.
74567 (NOTES): Remove rule.
74568 * README: Don't refer to NOTES.
74569 * manual/creature.texi: Don't include macros.texi.
74570 * manual/intro.texi (creature.texi): Remove comment referring to
74571 NOTES.
74572
74573 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
74574 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
74575 * configure: Regenerated.
74576 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
74577 LIBC_TRY_CC_OPTION.
74578 (libc_cv_as_i686): Likewise.
74579 (libc_cv_cc_avx): Likewise.
74580 (libc_cv_cc_sse2avx): Likewise.
74581 (libc_cv_cc_fma4): Likewise.
74582 (libc_cv_cc_novzeroupper): Likewise.
74583 * sysdeps/i386/configure: Regenerated.
74584
74585 [BZ #13883]
74586 * sysdeps/i386/fpu/s_cexp.S: Remove.
74587 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
74588 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
74589 * math/libm-test.inc (cexp_test): Add more tests.
74590 * sysdeps/i386/fpu/libm-test-ulps: Update.
74591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74592
74593 2012-03-21 Allan McRae <allan@archlinux.org>
74594
74595 * timezone/Makefile: Do not install iso3166.tab and zone.tab
74596
74597 2012-03-21 Joseph Myers <joseph@codesourcery.com>
74598
74599 [BZ #13871]
74600 * math/w_exp2.c: Do not include <float.h>.
74601 (o_threshold, u_threshold): Remove.
74602 (__exp2): Calculate result before checking finiteness and calling
74603 __kernel_standard.
74604 * math/w_exp2f.c: Likewise.
74605 * math/w_exp2l.c: Likewise.
74606 * math/libm-test.inc (exp2_test): Require overflow exception for
74607 1e6 input.
74608
74609 [BZ #3866]
74610 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
74611 range of signed 64-bit integers before using fistpll. Remove
74612 checks for whether integers fit in mantissa bits.
74613 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
74614 the range of signed 32-bit integers before using fistpl. Remove
74615 checks for whether integers fit in mantissa bits.
74616 * sysdeps/i386/fpu/e_powl.S (p64): New object.
74617 (__ieee754_powl): Test for y outside the range of signed 64-bit
74618 integers before using fistpll. Reduce 64-bit values to 63-bit
74619 ones as needed.
74620 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
74621 divide-by-zero is raised for zero to large negative powers.
74622 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
74623 (__ieee754_powl): Test for y outside the range of signed 64-bit
74624 integers before using fistpll. Reduce 64-bit values to 63-bit
74625 ones as needed.
74626 * math/libm-test.inc (pow_test): Add more tests.
74627
74628 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
74629
74630 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
74631 <stdio-common/_itoa.h>.
74632 * debug/segfault.c: Likewise.
74633 * elf/dl-cache.c: Likewise.
74634 * elf/dl-minimal.c: Likewise.
74635 * elf/dl-misc.c: Likewise.
74636 * elf/dl-sysdep.c: Likewise.
74637 * elf/dl-version.c: Likewise.
74638 * elf/rtld.c: Likewise.
74639 * hurd/hurdsock.c: Likewise.
74640 * hurd/lookup-retry.c: Likewise.
74641 * malloc/malloc.c: Likewise.
74642 * malloc/mtrace.c: Likewise.
74643 * nscd/nscd_getgr_r.c: Likewise.
74644 * nscd/nscd_getpw_r.c: Likewise.
74645 * nscd/nscd_getserv_r.c: Likewise.
74646 * posix/getopt_init.c: Likewise.
74647 * posix/wordexp.c: Likewise.
74648 * stdio-common/_itoa.c: Likewise.
74649 * stdio-common/printf_fphex.c: Likewise.
74650 * stdio-common/vfprintf.c: Likewise.
74651 * string/_strerror.c: Likewise.
74652 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
74653 * sysdeps/i386/i686/hp-timing.h: Likewise.
74654 * sysdeps/mach/_strerror.c: Likewise.
74655 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
74656 * sysdeps/mach/hurd/sethostid.c: Likewise.
74657 * sysdeps/mach/hurd/xmknodat.c: Likewise.
74658 * sysdeps/mach/xpg-strerror.c: Likewise.
74659 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
74660 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
74661 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
74662 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
74663 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
74664 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
74665 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
74666 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
74667 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
74668 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
74669 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
74670 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
74671 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
74672 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
74673 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
74674 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
74675 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
74676 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
74677 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
74678 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
74679 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
74680
74681 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
74682
74683 * stdio-common/_itoa.h: Moved to ...
74684 * sysdeps/generic/_itoa.h: Here.
74685
74686 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
74687
74688 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
74689 instead of "_itoa.h" and "_itowa.h".
74690 * stdio-common/vfprintf.: Likewise.
74691
74692 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
74693
74694 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
74695 <bits/wordsize.h>.
74696 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
74697 (__signbit): Likewise.
74698 (llrintf): Likewise.
74699 (llrint): Likewise.
74700
74701 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
74702
74703 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
74704 __WORDSIZE != 64.
74705
74706 2012-03-20 Joseph Myers <joseph@codesourcery.com>
74707
74708 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
74709 OVERFLOW_EXCEPTION_OK.
74710 * math/libm-test.inc ("Philosophy"): Update comment about
74711 exception testing.
74712 (OVERFLOW_EXCEPTION): Define.
74713 (OVERFLOW_EXCEPTION_OK): Likewise.
74714 (INVALID_EXCEPTION_OK): Renumber.
74715 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
74716 (IGNORE_ZERO_INF_SIGN): Likewise.
74717 (test_exceptions): Handle FE_OVERFLOW.
74718 (exp10_test): Expect overflow exceptions.
74719 (exp2_test): Likewise.
74720 (expm1_test): Likewise.
74721 (nextafter_test): Likewise.
74722 (pow_test): Likewise.
74723 (scalbn_test): Likewise.
74724 (scalbln_test): Likewise.
74725
74726 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
74727
74728 * sysdeps/x86_64/bits/atomic.h
74729 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
74730 64bit integer.
74731 (atomic_exchange_acq): Likewise.
74732 (__arch_exchange_and_add_body): Likewise.
74733 (__arch_add_body): Likewise.
74734 (atomic_add_negative): Likewise.
74735 (atomic_add_zero): Likewise.
74736
74737 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
74738
74739 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
74740 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
74741
74742 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
74743
74744 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
74745 Check __x86_64__ instead of __WORDSIZE.
74746
74747 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
74748
74749 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
74750
74751 2012-03-19 David S. Miller <davem@davemloft.net>
74752
74753 * sysdeps/sparc/fpu/libm-test-ulps: Update.
74754
74755 * sysdeps/sparc/fpu/fenv_private.h: New file.
74756 * sysdeps/sparc/fpu/math_private.h: Use it.
74757 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
74758 Remove.
74759 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
74760 (libc_feholdexcept_setroundl): Remove.
74761 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
74762 Remove.
74763 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
74764 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
74765
74766 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
74767
74768 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
74769 int64_t instead of long int.
74770 (INSERT_WORDS64): Likewise.
74771
74772 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
74773
74774 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
74775 _Unwind_GetCFA return to _Unwind_Ptr first.
74776
74777 2012-03-19 Joseph Myers <joseph@codesourcery.com>
74778
74779 [BZ #13629]
74780 * math/s_clog.c: Include <float.h>.
74781 (__clog): Scale large or subnormal inputs.
74782 * math/s_clogf.c: Likewise.
74783 * math/s_clogl.c: Likewise.
74784 * math/s_clog10.c: Include <float.h>.
74785 (M_LOG10_2): Define.
74786 (__clog10): Scale large or subnormal inputs.
74787 * math/s_clog10f.c: Likewise.
74788 * math/s_clog10l.c: Likewise.
74789 * math/libm-test.inc (clog_test): Add more tests.
74790 (clog10_test): Likewise.
74791 * sysdeps/i386/fpu/libm-test-ulps: Update.
74792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74793
74794 [BZ #11451]
74795 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
74796 x and y.
74797 * math/libm-test.inc (atan2_test): Add another test.
74798
74799 * Makerules (common-objdir-compile): Remove.
74800 * sysdeps/unix/Makefile (config-generated): Do not add
74801 $(unix-generated) to variable.
74802 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
74803 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
74804 Remove rule.
74805 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
74806 Likewise.
74807 [generic bits/local_lim.h] (before-compile): Do not append to
74808 variable.
74809 [generic bits/local_lim.h] (common-generated): Likewise.
74810 [generic sys/param.h] (before-compile): Do not append to variable.
74811 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
74812 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
74813 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
74814 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
74815 include.
74816 [generic sys/param.h] (sys/param.h-includes): Remove variable.
74817 [generic sys/param.h] (sys/param.h-includes): Remove rule.
74818 [generic sys/param.h] ($(addprefix
74819 $(common-objpfx),$(sys/param.h-includes))): Likewise.
74820 [generic sys/param.h] (common-generated): Do not append to
74821 variable.
74822 [generic sys/param.h] (sysdep_headers): Likewise.
74823 [generic bits/errno.h] (before-compile): Do not append to
74824 variable.
74825 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
74826 rule.
74827 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
74828 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
74829 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
74830 [generic bits/errno.h] (common-generated): Do not append to
74831 variable.
74832 [generic bits/ioctls.h] (before-compile): Do not append to
74833 variable.
74834 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
74835 rule.
74836 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
74837 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
74838 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
74839 rule.
74840 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
74841 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
74842 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
74843 [generic bits/ioctls.h] (common-generated): Do not append to
74844 variable.
74845 [generic sys/syscall.h] (syscall.h): Remove variable.
74846 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
74847 rule.
74848 [generic sys/syscall.h] (before-compile): Do not append to
74849 variable.
74850 [generic sys/syscall.h] (common-generated): Likewise.
74851 * sysdeps/unix/errnos-tmpl.c: Remove file.
74852 * sysdeps/unix/errnos.awk: Likewise.
74853 * sysdeps/unix/ioctls-tmpl.c: Likewise.
74854 * sysdeps/unix/ioctls.awk: Likewise.
74855 * sysdeps/unix/mk-local_lim.c: Likewise.
74856 * sysdeps/unix/snarf-ioctls: Likewise.
74857
74858 2012-03-19 Richard Henderson <rth@twiddle.net>
74859
74860 * sysdeps/i386/fpu/fenv_private.h: New file.
74861 * sysdeps/i386/fpu/math_private.h: Use it.
74862 (math_opt_barrier, math_force_eval): Remove.
74863 (libc_feholdexcept_setround_53bit): Remove.
74864 (libc_feupdateenv_53bit): Remove.
74865 * sysdeps/x86_64/fpu/math_private.h: Likewise.
74866 (math_opt_barrier, math_force_eval): Remove.
74867 (libc_feholdexcept): Remove.
74868 (libc_feholdexcept_setround): Remove.
74869 (libc_fetestexcept, libc_fesetenv): Remove.
74870 (libc_feupdateenv_test): Remove.
74871 (libc_feupdateenv, libc_feholdsetround): Remove.
74872 (libc_feresetround): Remove.
74873
74874 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
74875 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
74876
74877 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
74878 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
74879 (libc_feupdateenv_testl): New.
74880 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
74881 (libc_feupdateenv_testf): New.
74882 (libc_feupdateenv): Use libc_feupdateenv_test.
74883 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
74884 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
74885
74886 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
74887 (libc_feholdsetroundf, libc_feholdsetroundl): New.
74888 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
74889 (libc_feresetround_noex): New.
74890 (libc_feresetround_noexf): New.
74891 (libc_feresetround_noexl): New.
74892 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
74893 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
74894 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
74895 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
74896 SET_RESTORE_ROUND.
74897 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
74898 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
74899 (__cos): Likewise.
74900 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
74901 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
74902 SET_RESTORE_ROUND_NOEX.
74903 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
74904 SET_RESTORE_ROUND_NOEXF.
74905 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
74906 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
74907 (libc_feholdsetroundf): New.
74908 (libc_feresetround, libc_feresetroundf): New.
74909
74910 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
74911 (libc_feholdexcept_setround_53bit): Convert from macro to function.
74912 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
74913
74914 * sysdeps/generic/math_private.h: Include <fenv.h>.
74915 (default_libc_feholdexcept): New.
74916 (default_libc_feholdexcept_setround): New.
74917 (default_libc_fesetenv, default_libc_feupdateenv): New.
74918 (libc_feholdexcept): Only define if undefined.
74919 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
74920 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
74921 (libc_feholdexcept_setroundl): Likewise.
74922 (libc_feholdexcept_setround_53bit): Likewise.
74923 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
74924 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
74925 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
74926 (libc_feupdateenv_53bit): Likewise.
74927 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
74928 (libc_feholdexcept): Convert from macro to inline function.
74929 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
74930 (libc_fesetenv, libc_feupdateenv): Likewise.
74931
74932 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
74933 not previously defined.
74934 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
74935 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
74936 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
74937 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
74938 * sysdeps/ieee754/flt-32/math_private.h: New file.
74939 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
74940 math_private.h below SET_FLOAT_WORD.
74941 (__isnan, __isinf_ns, __finite): Remove.
74942 (__isnanf, __isinf_nsf, __finitef): Remove.
74943
74944 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
74945
74946 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74947
74948 2012-03-17 David S. Miller <davem@davemloft.net>
74949
74950 [BZ #6471]
74951 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
74952 for 2.16.
74953
74954 2012-03-16 David S. Miller <davem@davemloft.net>
74955
74956 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
74957 warnings.
74958
74959 [BZ #6471]
74960 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
74961 properly.
74962 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
74963 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
74964 sysdep_routines when subdir is sysvipc.
74965 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
74966 __getshmlba helper.
74967
74968 * sysdeps/sparc/fpu/libm-test/ulps: Update.
74969
74970 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
74971
74972 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
74973 [__LP64__].
74974
74975 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
74976
74977 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
74978 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
74979 (__lround): Renamed to ...
74980 (__llround): This. Replace long int with long long int.
74981 Define lround functions as aliases of llround functions.
74982 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
74983
74984 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
74985
74986 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
74987 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
74988 adresses to uintptr_t. Replace "long int" and "unsigned long
74989 int" with "greg_t" on va_arg.
74990
74991 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
74992
74993 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
74994 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
74995
74996 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
74997 Move e_machine check before EI_CLASS check. Handle x32
74998 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
74999 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
75000 SKIP_EM_IA_64 and include
75001 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
75002
75003 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
75004 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
75005 (add_system_dir): New macro.
75006
75007 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
75008 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
75009
75010 2012-03-16 Joseph Myers <joseph@codesourcery.com>
75011
75012 [BZ #2551]
75013 [BZ #2552]
75014 [BZ #2553]
75015 [BZ #2554]
75016 [BZ #2562]
75017 [BZ #2563]
75018 [BZ #2565]
75019 [BZ #2566]
75020 [BZ #2576]
75021 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
75022 (y0): Likewise.
75023 * math/w_j0f.c (j0f): Likewise.
75024 (y0f): Likewise.
75025 * math/w_j0l.c (__j0l): Likewise.
75026 (__y0l): Likewise.
75027 * math/w_j1.c (j1): Likewise.
75028 (y1): Likewise.
75029 * math/w_j1f.c (j1f): Likewise.
75030 (y1f): Likewise.
75031 * math/w_j1l.c (__j1l): Likewise.
75032 (__y1l): Likewise.
75033 * math/w_jn.c (jn): Likewise.
75034 (yn): Likewise.
75035 * math/w_jnf.c (jnf): Likewise.
75036 (ynf): Likewise.
75037 * math/w_jnl.c (__jnl): Likewise.
75038 (__ynl): Likewise.
75039 * math/libm-test.inc (j0_test): Add more tests.
75040 (j1_test): Likewise.
75041 (jn_test): Likewise. Add trailing semicolon to existing test.
75042 (y0_test): Likewise.
75043 (y1_test): Likewise.
75044 * sysdeps/i386/fpu/libm-test-ulps: Update.
75045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75046
75047 [BZ #13851]
75048 [BZ #13854]
75049 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
75050 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
75051 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
75052 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
75053 (__tanl): Set errno for infinite argument.
75054 * sysdeps/i386/fpu/mptan.c: Remove.
75055 * sysdeps/i386/fpu/s_tan.S: Likewise.
75056 * sysdeps/i386/fpu/s_tanl.S: Likewise.
75057 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
75058 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
75059 * math/libm-test.inc (tan_test): Add more tests and enable more
75060 tests for double and long double.
75061 * sysdeps/i386/fpu/libm-test-ulps: Update.
75062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75063
75064 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
75065
75066 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
75067 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
75068
75069 2012-03-16 Roland McGrath <roland@hack.frob.com>
75070
75071 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
75072 * configure.in: Use it for both main tree and add-ons.
75073 * configure: Regenerated.
75074
75075 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
75076
75077 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
75078
75079 2012-03-16 Joseph Myers <joseph@codesourcery.com>
75080
75081 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
75082 in comment.
75083
75084 [BZ #13851]
75085 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
75086 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
75087 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
75088 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
75089 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
75090 infinite argument.
75091 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
75092 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
75093 != 0 for prec == 2.
75094 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
75095 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
75096 * sysdeps/i386/fpu/s_cosl.S: Likewise.
75097 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
75098 * sysdeps/i386/fpu/s_sinl.S: Likewise.
75099 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
75100 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
75101 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
75102 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
75103 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
75104 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
75105 * math/libm-test.inc (cos_test): Add more tests and enable more
75106 tests for long double.
75107 (sin_test): Likewise.
75108 (sincos_test): Likewise.
75109 * sysdeps/i386/fpu/libm-test-ulps: Update.
75110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75111
75112 2012-03-16 David S. Miller <davem@davemloft.net>
75113
75114 * sysdeps/sparc/fpu/math_private.h: New file.
75115
75116 2012-03-15 David S. Miller <davem@davemloft.net>
75117
75118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
75119 file.
75120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
75121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
75122 file.
75123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
75124 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
75125 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
75126 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
75127 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
75128 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
75129 sysdep routines.
75130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
75131
75132 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
75133 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
75134
75135 * sysdeps/sparc/sparc-ifunc.h: New file.
75136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
75137 sparc-ifunc.h
75138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
75139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
75140 Likewise.
75141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
75142 Likewise.
75143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
75144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
75145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
75146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
75147 Likewise.
75148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
75149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
75150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
75151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
75152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
75153 Likewise.
75154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
75155 Likewise.
75156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
75157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
75158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
75159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
75160 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
75161 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
75162 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
75163 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
75164 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
75165 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
75166 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
75167 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
75168 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
75169 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
75170 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
75171 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
75172 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
75173 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
75174 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
75175 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
75176 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
75177 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
75178 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
75179 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
75180
75181 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
75182
75183 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
75184 scaling.
75185 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75186
75187 2012-03-15 Andreas Jaeger <aj@suse.de>
75188
75189 [BZ #13852]
75190 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
75191 ieee754/flt-32 implementation for sin, cos and sincos.
75192 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
75193 * sysdeps/i386/fpu/s_cosf.S: Likewise.
75194 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
75195 * sysdeps/i386/fpu/s_sinf.S: Likewise.
75196 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
75197 ieee754/flt-32 implementation for tan.
75198
75199 * math/libm-test.inc (cos_test): Enable some large input tests for
75200 float as well
75201 (sin_test): Likewise.
75202 (sincos_test): Likewise.
75203 (tan_test): Add tests for large input.
75204
75205 * sysdeps/i386/fpu/libm-test-ulps: Update.
75206
75207 2012-03-15 Andreas Jaeger <aj@suse.de>
75208
75209 [BZ #13658]
75210 * math/libm-test.inc (cos_test): Add more test cases.
75211 (sin_test): Likewise.
75212 (sincos_test): Likewise.
75213
75214 2012-03-15 Andreas Jaeger <aj@suse.de>
75215
75216 [BZ #13837]
75217 * math/libm-test.inc (cos_test): Add a test case for large input
75218 value.
75219 (sin_test): Likewise.
75220 (sincos_test): Likewise.
75221
75222 2012-03-15 Andreas Jaeger <aj@suse.de>
75223 Joseph Myers <joseph@codesourcery.com>
75224
75225 [BZ #13658]
75226 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
75227 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
75228 * sysdeps/i386/fpu/branred.c: Likewise.
75229 * sysdeps/i386/fpu/dosincos.c: Likewise.
75230 * sysdeps/i386/fpu/mpa.c: Likewise.
75231 * sysdeps/i386/fpu/s_cos.S: Likewise.
75232 * sysdeps/i386/fpu/s_sin.S: Likewise.
75233 * sysdeps/i386/fpu/s_sincos.S: Likewise.
75234 * sysdeps/i386/fpu/sincos32.c: Likewise.
75235
75236 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
75237 Define.
75238 (libc_feupdateenv_53bit): Define.
75239 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
75240 Define.
75241 (libc_feupdateenv_53bit): Define.
75242
75243 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
75244 53 bit (without extend i386 double precision).
75245
75246 * math/libm-test.inc (sincos_test): Add tests for large input.
75247 (sin): Likewise.
75248 (cos): Likewise.
75249
75250 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
75251
75252 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
75253
75254 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75255
75256 2012-03-15 David S. Miller <davem@davemloft.net>
75257
75258 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
75259 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
75260 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
75261 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
75262 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
75263 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
75264 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
75265 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
75266 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
75267 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
75268 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
75269 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
75270 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
75271 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
75272 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
75273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
75274 file.
75275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
75276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
75277 file.
75278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
75279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
75280 file.
75281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
75282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
75283 file.
75284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
75285 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
75286 fmin/fmax sysdep routines.
75287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
75288
75289 2012-03-14 David S. Miller <davem@davemloft.net>
75290
75291 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
75292 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
75293 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
75294 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
75295 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
75296 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
75297 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
75298 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
75299 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
75300 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
75301 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
75302 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
75303 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
75304 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
75305 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
75306 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
75307 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
75308 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
75309 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
75310 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
75311 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
75312 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
75313 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
75314 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
75315 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
75316 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
75317 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
75318 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
75319 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
75320 routines.
75321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
75322 file.
75323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
75324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
75325 file.
75326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
75327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
75328 file.
75329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
75330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
75331 file.
75332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
75333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
75334 file.
75335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
75336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
75337 file.
75338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
75339 file.
75340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
75341 file.
75342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
75343 file.
75344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
75345 New file.
75346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
75347 file.
75348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
75349 file.
75350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
75351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
75352 file.
75353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
75354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
75355 file.
75356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
75357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
75358 file.
75359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
75360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
75361 VIS3 routines.
75362
75363 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
75364 New file.
75365
75366 * sysdeps/sparc/fpu/libm-test-ulps: Update.
75367
75368 * sysdeps/sparc/configure.in: New file.
75369 * sysdeps/sparc/configure: Generate.
75370 * configure.in (libc_cv_sparc_as_vis3): Substitute.
75371 * configure: Regenerate.
75372 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
75373 * config.make.in (have-as-vis3): New.
75374 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
75375 available use -Av9d instead of -Av9a.
75376 * sysdeps/sparc/sparc64/Makefile: Likewise.
75377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
75378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
75379 New file.
75380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
75381 file.
75382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
75383 New file.
75384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
75385 file.
75386 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
75387 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
75388 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
75389 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
75390 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
75391
75392 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
75393 fzeros/fnegs to load 0x80000000 into a float register instead of
75394 using the stack.
75395 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
75396
75397 2012-03-14 Joseph Myers <joseph@codesourcery.com>
75398
75399 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75400 bits/syscall.h.
75401 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
75402 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
75403 ($(inst_includedir)/bits/syscall.h): Remove rule.
75404 ($(objpfx)bits/syscall.d): Include instead of
75405 $(objpfx)syscall-list.d.
75406 (generated): Change syscall-list.h and syscall-list.d to
75407 bits/syscall.h and bits/syscall.d.
75408
75409 2012-03-14 Roland McGrath <roland@hack.frob.com>
75410
75411 [BZ #13846]
75412 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
75413
75414 2012-03-14 Joseph Myers <joseph@codesourcery.com>
75415
75416 [BZ #13841]
75417 * math/s_csqrt.c: Include <float.h>.
75418 (__csqrt): Scale large or subnormal inputs.
75419 * math/s_csqrtf.c: Likewise.
75420 * math/s_csqrtl.c: Likewise.
75421 * math/libm-test.inc (csqrt_test): Add more tests.
75422 * sysdeps/i386/fpu/libm-test-ulps: Update.
75423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75424
75425 [BZ #13840]
75426 * math/libm-test.inc (hypot_test): Add more tests.
75427
75428 2012-03-13 David S. Miller <davem@davemloft.net>
75429
75430 [BZ #13840]
75431 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
75432 double-precision for the calculation instead of scaling.
75433
75434 2012-03-13 Joseph Myers <joseph@codesourcery.com>
75435
75436 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
75437 manipulate bits before adding and subtracting TWO52[sx].
75438 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
75439 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
75440 Likewise.
75441 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
75442
75443 2012-03-13 David S. Miller <davem@davemloft.net>
75444
75445 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
75446 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
75447 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
75448 rtld-global-offsets.h
75449 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
75450
75451 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
75452 large parameters.
75453
75454 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
75455
75456 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
75457 'err' in the ifdef scope in which it is actually used.
75458
75459 * nss/nss_db/db-init.c: Include string.h
75460
75461 2012-03-12 David S. Miller <davem@davemloft.net>
75462
75463 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
75464 masking out of the most significant byte of random value used.
75465 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
75466 Fix coding style in previous change.
75467
75468 * sysdeps/unix/sysv/linux/kernel-features.h
75469 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
75470 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
75471 expression.
75472 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
75473 later.
75474
75475 2012-03-11 David S. Miller <davem@davemloft.net>
75476
75477 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
75478 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
75479 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
75480 for 'resultvar' otherwise things get truncated on 64-bit.
75481
75482 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
75483 Fix masking out of the most significant byte of random value used.
75484
75485 * sysdeps/sparc/fpu/libm-test-ulps: Update.
75486
75487 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
75488
75489 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75490
75491 2012-03-09 David S. Miller <davem@davemloft.net>
75492
75493 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
75494 variables with appropriate CPP guards.
75495 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
75496 from the frame pointer, not the stack pointer. Correct layout
75497 comments. Fix test on resulting framesize and the management of
75498 the outregs buffer for pltexit. Preserve floating point return
75499 values across _dl_call_pltexit call.
75500 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
75501 framesize and the management of the outregs buffer for pltexit.
75502 Preserve floating point return values across _dl_call_pltexit
75503 call.
75504 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
75505 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
75506 (la_sparc64_gnu_pltexit): New functions.
75507 (print_exit): Fix format string for return register value.
75508
75509 2012-03-10 Joseph Myers <joseph@codesourcery.com>
75510
75511 * sunrpc/Makefile (others): Add rpcgen.
75512 ($(objpfx)rpcgen): Remove special build rule and dependency on
75513 libc.
75514 * sunrpc/rpcgen.c: New file.
75515
75516 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
75517
75518 [BZ #13673]
75519 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
75520 * stdio-common/bug-vfprintf-nargs.c: Likewise.
75521 * sysdeps/i386/crti.S: Likewise.
75522 * sysdeps/i386/crtn.S: Likewise.
75523 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
75524 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
75525 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
75526 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
75527 * sysdeps/sh/crti.S: Likewise.
75528 * sysdeps/sh/crtn.S: Likewise.
75529 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
75530
75531 [BZ #13673]
75532 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
75533 with URL.
75534 * locale/programs/locfile-kw.gperf: Likewise.
75535 * locale/programs/charmap-kw.h: Regenerated.
75536 * locale/programs/locfile-kw.h: Likewise.
75537
75538 [BZ #13673]
75539 * intl/plural.y: Replace FSF snail mail address with URL.
75540 * intl/plural.c: Regenerated.
75541
75542 2012-03-09 Richard Henderson <rth@twiddle.net>
75543
75544 * include/math_private.h: Remove file.
75545 * math/math_private.h: Move file ...
75546 * sysdeps/generic/math_private.h: ... here.
75547
75548 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
75549 * sysdeps/powerpc/fpu/math_private.h: Likewise.
75550 * sysdeps/x86_64/fpu/math_private.h: Likewise.
75551
75552 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
75553 and <math_private.h>.
75554 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
75555 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
75556 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
75557 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
75558 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
75559 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
75560 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
75561 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75562 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
75563 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
75564 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75565 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
75566 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
75567 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
75568 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
75569 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
75570 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
75571 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
75572 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
75573 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
75574 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75575 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
75576 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
75577 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75578 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
75579 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
75580 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
75581 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
75582 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75583 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
75584 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
75585 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
75586 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
75587 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
75588 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
75589 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
75590 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
75591 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
75592 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
75593 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
75594 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
75595 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
75596 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
75597 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
75598 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
75599 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
75600 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
75601 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
75602 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
75603 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
75604 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
75605 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
75606 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
75607 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
75608 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
75609 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
75610 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
75611 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
75612 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
75613 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
75614 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
75615 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
75616 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
75617 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
75618 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
75619 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
75620 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
75621 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
75622 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
75623 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
75624 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
75625 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
75626 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
75627 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
75628 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
75629 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
75630 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
75631 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
75632 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
75633 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
75634 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
75635 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
75636 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
75637 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
75638 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
75639 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
75640 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
75641 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
75642 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
75643 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
75644 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
75645 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
75646 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
75647 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
75648 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
75649 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
75650 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
75651 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
75652 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
75653 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
75654 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
75655 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
75656 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
75657 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
75658 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
75659 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
75660 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
75661 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
75662 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
75663 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
75664 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
75665 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
75666 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
75667 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
75668 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
75669 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
75670 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
75671 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
75672 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
75673 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
75674 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
75675 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
75676 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
75677 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
75678 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
75679 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
75680 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
75681 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
75682 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
75683 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
75684 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
75685 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
75686 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
75687 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
75688 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
75689 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
75690 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
75691 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
75692 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
75693 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
75694 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
75695 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
75696 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
75697 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
75698 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
75699 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
75700 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
75701 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
75702 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
75703 * sysdeps/ieee754/k_standard.c: Likewise.
75704 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
75705 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
75706 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
75707 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
75708 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
75709 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
75710 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
75711 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
75712 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
75713 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
75714 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
75715 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
75716 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
75717 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
75718 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
75719 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
75720 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
75721 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
75722 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
75723 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
75724 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
75725 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
75726 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
75727 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
75728 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
75729 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
75730 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
75731 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
75732 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
75733 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
75734 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
75735 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
75736 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
75737 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
75738 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
75739 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
75740 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
75741 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
75742 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
75743 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
75744 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
75745 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
75746 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
75747 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
75748 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
75749 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
75750 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
75751 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
75752 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
75753 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
75754 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
75755 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
75756 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
75757 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
75758 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
75759 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
75760 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
75761 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
75762 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
75763 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
75764 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
75765 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
75766 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
75767 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
75768 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
75769 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
75770 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
75771 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
75772 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
75773 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
75774 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
75775 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
75776 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
75777 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
75778 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
75779 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
75780 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
75781 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
75782 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
75783 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
75784 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
75785 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
75786 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
75787 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
75788 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
75789 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
75790 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
75791 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
75792 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
75793 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
75794 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
75795 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
75796 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
75797 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
75798 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
75799 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
75800 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
75801 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
75802 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
75803 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
75804 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
75805 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
75806 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
75807 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
75808 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
75809 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
75810 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
75811 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
75812 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
75813 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
75814 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
75815 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
75816 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
75817 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
75818 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
75819 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
75820 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
75821 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
75822 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
75823 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
75824 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
75825 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
75826 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
75827 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
75828 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
75829 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
75830 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
75831 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
75832 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
75833 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
75834 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
75835 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
75836 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
75837 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
75838 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
75839 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
75840 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
75841 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
75842 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
75843 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
75844 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
75845 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
75846 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
75847 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
75848 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
75849 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
75850 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
75851 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
75852 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
75853 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
75854 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
75855 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
75856 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
75857 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
75858 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
75859 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
75860 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
75861 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
75862 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
75863 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
75864 * sysdeps/ieee754/s_lib_version.c: Likewise.
75865 * sysdeps/ieee754/s_matherr.c: Likewise.
75866 * sysdeps/ieee754/s_signgam.c: Likewise.
75867 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
75868 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
75869 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
75870 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
75871 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
75872 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
75873 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
75874 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
75875 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
75876 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
75877 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
75878 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
75879 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
75880 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
75881 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
75882 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
75883 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
75884 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
75885 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
75886 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
75887 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
75888
75889 2012-03-09 Joseph Myers <joseph@codesourcery.com>
75890
75891 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
75892 * sunrpc/rpc_main.c: Likewise.
75893 * sunrpc/rpc_svcout.c: Likewise.
75894
75895 2012-03-09 David S. Miller <davem@davemloft.net>
75896
75897 * include/math_private.h: New file.
75898
75899 2012-03-09 Joseph Myers <joseph@codesourcery.com>
75900
75901 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
75902 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
75903 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
75904 from <bits/socket_type.h>.
75905 (enum __socket_type): Don't define here.
75906 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
75907 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75908 bits/socket_type.h.
75909
75910 [BZ #13566]
75911 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
75912 checking __USE_GNU.
75913
75914 * Makerules ($(inst_includedir)/%.h): New rule.
75915 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
75916 (install-others): Remove variable setting.
75917 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
75918
75919 2012-03-08 Richard Henderson <rth@twiddle.net>
75920
75921 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
75922 from macro to inline function; merge with the
75923 !__LIBC_INTERNAL_MATH_INLINES version.
75924 (__ieee754_sqrtf): Likewise.
75925
75926 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
75927 to inline function.
75928 (__rintf, __floor, __floorf): Likewise.
75929
75930 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
75931 macro to inline function.
75932 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
75933
75934 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
75935 not <math/math_private.h>.
75936
75937 2012-03-08 David S. Miller <davem@davemloft.net>
75938
75939 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
75940 copyright year.
75941 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
75942
75943 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
75944
75945 * resolv/gai_misc.c (handle_requests): Fix struct timespec
75946 normalization.
75947 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
75948 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
75949
75950 2012-03-08 Ulrich Drepper <drepper@gmail.com>
75951
75952 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
75953 be defined individually, they must be defined as a block. Define
75954 S for printing a string instead of hidint the different by using a
75955 macro for adding the 'l'.
75956 * stdio-common/tst-fphex-wide.c: Adjust.
75957
75958 2012-03-07 Marek Polacek <polacek@redhat.com>
75959
75960 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
75961
75962 2012-03-08 Marek Polacek <polacek@redhat.com>
75963
75964 [BZ #13806]
75965 * stdio-common/Makefile (tests): Add tst-fphex-wide.
75966 * stdio-common/tst-fphex.c: Define a few macros to make the
75967 test reusable. Use them.
75968 * stdio-common/tst-fphex-wide.c: New file.
75969
75970 2012-03-08 Joseph Myers <joseph@codesourcery.com>
75971
75972 [BZ #6911]
75973 * manual/macros.texi (gnusystems): New macro.
75974 (nongnusystems): Likewise.
75975 (gnulinuxhurdsystems): Likewise.
75976 (gnuhurdsystems): Likewise..
75977 (gnulinuxsystems): Likewise.
75978 * manual/charset.texi: Use new macros or @theglibc{} to refer to
75979 variants of the GNU system, not "GNU system".
75980 * manual/conf.texi: Likewise.
75981 * manual/errno.texi: Likewise. Update example of errno macro
75982 expansion.
75983 * manual/filesys.texi: Likewise.
75984 (getumask): Document as specific to GNU/Hurd.
75985 * manual/install.texi: Likewise. Reword some references to
75986 GNU/Linux.
75987 * manual/intro.texi: Likewise.
75988 * manual/io.texi: Likewise.
75989 (File Name Portability): Detail which constraints are inapplicable
75990 to all GNU systems and which are only inapplicable to GNU/Hurd.
75991 * manual/job.texi: Likewise.
75992 * manual/llio.texi: Likewise.
75993 (O_NOCTTY): Document as present on GNU/Linux.
75994 * manual/maint.texi: Likewise.
75995 * manual/memory.texi: Likewise.
75996 * manual/pattern.texi: Likewise.
75997 * manual/pipe.texi: Likewise.
75998 * manual/process.texi: Likewise.
75999 * manual/resource.texi: Likewise.
76000 (RUSAGE_CHILDREN): Remove statement about specifying a particular
76001 child on GNU/Hurd.
76002 * manual/setjmp.texi: Likewise.
76003 * manual/signal.texi: Likewise.
76004 * manual/startup.texi: Likewise.
76005 * manual/stdio.texi: Likewise.
76006 * manual/terminal.texi: Likewise.
76007 (ONLCR): Document as POSIX.
76008 (OXTABS): Document availability on GNU/Linux as XTABS.
76009 (ONOEOT): Document availability separately from other bits.
76010 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
76011 * manual/time.texi: Likewise.
76012 * manual/users.texi: Likewise.
76013 * INSTALL: Regenerated.
76014 * sysdeps/gnu/errlist.c: Regenerated.
76015
76016 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
76017 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
76018 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
76019 puts.
76020 * configure: Regenerated.
76021
76022 2012-03-07 Joseph Myers <joseph@codesourcery.com>
76023
76024 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
76025 default includes instead of AC_HEADER_CHECK.
76026 * sysdeps/i386/configure: Regenerated.
76027
76028 [BZ #10716]
76029 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
76030 * math/s_cacoshf.c (__cacoshf): Likewise.
76031 * math/s_cacoshl.c (__cacoshl): Likewise.
76032 * math/s_casinh.c (__casinh): Set signs of result from argument.
76033 * math/s_casinhf.c (__casinhf): Likewise.
76034 * math/s_casinhl.c (__casinhl): Likewise.
76035 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
76036 (casinh_test): Add more tests.
76037 * sysdeps/i386/fpu/libm-test-ulps: Update.
76038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76039
76040 2012-03-07 Ulrich Drepper <drepper@gmail.com>
76041
76042 * po/zh_TW.po: Update from translation team.
76043
76044 * login/Makefile (distribute): Remove variable.
76045 * catgets/Makefile: Likewise.
76046 * mach/Makefile: Likewise.
76047 * malloc/Makefile: Likewise.
76048 * misc/Makefile: Likewise.
76049 * iconv/Makefile: Likewise.
76050 * nscd/Makefile: Likewise.
76051 * hurd/Makefile: Likewise.
76052 * manual/Makefile: Likewise.
76053 * locale/Makefile: Likewise.
76054 * intl/Makefile: Likewise.
76055 * conform/Makefile: Likewise.
76056 * nss/Makefile: Likewise.
76057 * time/Makefile: Likewise.
76058 * soft-fp/Makefile: Likewise.
76059 * dirent/Makefile: Likewise.
76060 * gmon/Makefile: Likewise.
76061 * po/Makefile: Likewise.
76062 * rt/Makefile: Likewise.
76063 * socket/Makefile: Likewise.
76064 * math/Makefile: Likewise.
76065 * signal/Makefile: Likewise.
76066 * debug/Makefile: Likewise.
76067 * elf/Makefile: Likewise.
76068 * timezone/Makefile: Likewise.
76069 * stdlib/Makefile: Likewise.
76070 * iconvdata/Makefile: Likewise.
76071 * sunrpc/Makefile: Likewise.
76072 * io/Makefile: Likewise.
76073 * argp/Makefile: Likewise.
76074 * inet/Makefile: Likewise.
76075 * hesiod/Makefile: Likewise.
76076 * grp/Makefile: Likewise.
76077 * csu/Makefile: Likewise.
76078 * wctype/Makefile: Likewise.
76079 * crypt/Makefile: Likewise.
76080 * libio/Makefile: Likewise.
76081 * string/Makefile: Likewise.
76082 * nis/Makefile: Likewise.
76083 * resolv/Makefile: Likewise.
76084 * stdio-common/Makefile: Likewise.
76085 * wcsmbs/Makefile: Likewise.
76086 * dlfcn/Makefile: Likewise.
76087 * posix/Makefile: Likewise.
76088
76089 [BZ #6959]
76090 * timezone/Makefile: Don't install timezone files, just the programs
76091 and scripts.
76092
76093 2012-03-06 Ulrich Drepper <drepper@gmail.com>
76094
76095 * nss/databases.def: Add missing gshadow entry.
76096
76097 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
76098
76099 2012-03-06 Marek Polacek <polacek@redhat.com>
76100
76101 [BZ #13726]
76102 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
76103 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
76104 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
76105 * stdio-common/tst-long-dbl-fphex.c: New file.
76106
76107 2012-03-06 David S. Miller <davem@davemloft.net>
76108
76109 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
76110 (set_obp_int): New function.
76111 (get_obp_int): New function.
76112 (__get_clockfreq_via_dev_openprom): Likewise.
76113 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
76114 Avoid unused variable warnings on 'val' and use builtin_expect.
76115 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
76116 __builtin_expect.
76117 (INLINE_CLONE_SYSCALL): Likewise.
76118
76119 2012-03-05 David S. Miller <davem@davemloft.net>
76120
76121 * sysdeps/sparc/fpu/libm-test-ulps: Update.
76122
76123 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
76124
76125 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76126
76127 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
76128 only for |x| >= 40.
76129 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
76130
76131 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
76132
76133 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
76134 Replace gettimeofday with __vdso_gettimeofday.
76135
76136 * sysdeps/unix/sysv/linux/x86_64/init-first.c
76137 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
76138 __vdso_clock_gettime and __vdso_getcpu.
76139
76140 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
76141 time with __vdso_time.
76142
76143 2012-03-05 Joseph Myers <joseph@codesourcery.com>
76144
76145 * manual/lang.texi (size_t): Note types to which size_t may be
76146 equivalent with the GNU C Library, but do not describe when
76147 differences between them are significant.
76148
76149 2012-03-05 Andreas Jaeger <aj@suse.de>
76150
76151 * sysdeps/i386/fpu/libm-test-ulps: Update.
76152
76153 2012-03-05 Joseph Myers <joseph@codesourcery.com>
76154
76155 [BZ #3976]
76156 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
76157 (__ieee754_pow): Save and restore rounding mode and use
76158 round-to-nearest for main computations.
76159 * math/libm-test.inc (pow_test_tonearest): New function.
76160 (pow_test_towardzero): Likewise.
76161 (pow_test_downward): Likewise.
76162 (pow_test_upward): Likewise.
76163 (main): Call the new functions.
76164 * sysdeps/i386/fpu/libm-test-ulps: Update.
76165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76166
76167 [BZ #3976]
76168 * math/libm-test.inc (cosh_test_tonearest): New function.
76169 (cosh_test_towardzero): Likewise.
76170 (cosh_test_downward): Likewise.
76171 (cosh_test_upward): Likewise.
76172 (sinh_test_tonearest): Likewise.
76173 (sinh_test_towardzero): Likewise.
76174 (sinh_test_downward): Likewise.
76175 (sinh_test_upward): Likewise.
76176 (main): Call the new functions.
76177 * sysdeps/i386/fpu/libm-test-ulps: Update.
76178 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76179
76180 2012-03-05 Tom de Vries <tom@codesourcery.com>
76181
76182 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
76183 default stack guard is set in last bytes.
76184 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
76185
76186 2012-03-05 Kees Cook <keescook@chromium.org>
76187
76188 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
76189
76190 [BZ #13656]
76191 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
76192 possibly allocate from heap instead of stack.
76193 * stdio-common/bug-vfprintf-nargs.c: New file.
76194 * stdio-common/Makefile (tests): Add nargs overflow test.
76195
76196 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
76197
76198 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76199
76200 2012-03-03 Marek Polacek <polacek@redhat.com>
76201
76202 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
76203 * math/math_private.h: Likewise.
76204 * stdlib/tst-strtod.c: Likewise.
76205 * sysdeps/i386/i486/bits/atomic.h: Likewise.
76206 * sysdeps/x86_64/bits/atomic.h: Likewise.
76207
76208 2012-03-02 David S. Miller <davem@davemloft.net>
76209
76210 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
76211 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
76212 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
76213 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
76214 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
76215 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
76216 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
76217 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
76218
76219 2012-03-02 Roland McGrath <roland@hack.frob.com>
76220
76221 [BZ #13792]
76222 * manual/examples/README: New file, says the example source files
76223 can be used under GPL>=2.
76224 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
76225 line containing just "*/".
76226 * manual/examples/add.c: Add copyright header (GPL>=2).
76227 * manual/examples/argp-ex1.c: Likewise.
76228 * manual/examples/argp-ex2.c: Likewise.
76229 * manual/examples/argp-ex3.c: Likewise.
76230 * manual/examples/argp-ex4.c: Likewise.
76231 * manual/examples/atexit.c: Likewise.
76232 * manual/examples/db.c: Likewise.
76233 * manual/examples/dir.c: Likewise.
76234 * manual/examples/dir2.c: Likewise.
76235 * manual/examples/execinfo.c: Likewise.
76236 * manual/examples/filecli.c: Likewise.
76237 * manual/examples/filesrv.c: Likewise.
76238 * manual/examples/fmtmsgexpl.c: Likewise.
76239 * manual/examples/genpass.c: Likewise.
76240 * manual/examples/inetcli.c: Likewise.
76241 * manual/examples/inetsrv.c: Likewise.
76242 * manual/examples/isockad.c: Likewise.
76243 * manual/examples/longopt.c: Likewise.
76244 * manual/examples/memopen.c: Likewise.
76245 * manual/examples/memstrm.c: Likewise.
76246 * manual/examples/mkfsock.c: Likewise.
76247 * manual/examples/mkisock.c: Likewise.
76248 * manual/examples/mygetpass.c: Likewise.
76249 * manual/examples/pipe.c: Likewise.
76250 * manual/examples/popen.c: Likewise.
76251 * manual/examples/rprintf.c: Likewise.
76252 * manual/examples/search.c: Likewise.
76253 * manual/examples/select.c: Likewise.
76254 * manual/examples/setjmp.c: Likewise.
76255 * manual/examples/sigh1.c: Likewise.
76256 * manual/examples/sigusr.c: Likewise.
76257 * manual/examples/stpcpy.c: Likewise.
76258 * manual/examples/strdupa.c: Likewise.
76259 * manual/examples/strftim.c: Likewise.
76260 * manual/examples/strncat.c: Likewise.
76261 * manual/examples/subopt.c: Likewise.
76262 * manual/examples/swapcontext.c: Likewise.
76263 * manual/examples/termios.c: Likewise.
76264 * manual/examples/testopt.c: Likewise.
76265 * manual/examples/testpass.c: Likewise.
76266 * manual/examples/timeval_subtract.c: Likewise.
76267
76268 [BZ #13792]
76269 * manual/time.texi (Elapsed Time): Move timeval_subtract example
76270 function to ...
76271 * manual/timeval_subtract.c.texi: ... here, new file.
76272
76273 2012-03-02 David S. Miller <davem@davemloft.net>
76274
76275 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
76276
76277 2012-03-02 Joseph Myers <joseph@codesourcery.com>
76278
76279 [BZ #3976]
76280 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
76281 (__sin): Save and restore rounding mode and use round-to-nearest
76282 for all computations.
76283 (__cos): Save and restore rounding mode and use round-to-nearest
76284 for all computations.
76285 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
76286 <fenv.h>.
76287 (tan): Save and restore rounding mode and use round-to-nearest for
76288 all computations.
76289 * math/libm-test.inc (cos_test_tonearest): New function.
76290 (cos_test_towardzero): Likewise.
76291 (cos_test_downward): Likewise.
76292 (cos_test_upward): Likewise.
76293 (sin_test_tonearest): Likewise.
76294 (sin_test_towardzero): Likewise.
76295 (sin_test_downward): Likewise.
76296 (sin_test_upward): Likewise.
76297 (tan_test_tonearest): Likewise.
76298 (tan_test_towardzero): Likewise.
76299 (tan_test_downward): Likewise.
76300 (tan_test_upward): Likewise.
76301 (main): Call the new functions.
76302 * sysdeps/i386/fpu/libm-test-ulps: Update.
76303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76304
76305 [BZ #10135]
76306 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
76307 small n, then large n, before computing and testing k+n.
76308 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
76309 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
76310 Likewise.
76311 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
76312 Likewise.
76313 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
76314 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
76315 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
76316 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
76317 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
76318 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
76319 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
76320 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
76321 * math/libm-test.inc (scalbn_test): Add more tests.
76322 (scalbln_test): Likewise.
76323
76324 * manual/filesys.texi (mode_t): Describe constraints on size and
76325 signedness, not exact equivalence to a particular type.
76326 (ino_t): Likewise.
76327 (ino64_t): Likewise.
76328 (dev_t): Likewise.
76329 (nlink_t): Likewise.
76330 (blkcnt_t): Likewise.
76331 (blkcnt64_t): Likewise.
76332 * manual/llio.texi (off_t): Likewise.
76333
76334 [BZ #3976]
76335 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
76336 (__ieee754_exp): Save and restore rounding mode and use
76337 round-to-nearest for all computations.
76338 * math/libm-test.inc (exp_test_tonearest): New function.
76339 (exp_test_towardzero): Likewise.
76340 (exp_test_downward): Likewise.
76341 (exp_test_upward): Likewise.
76342 (main): Call the new functions.
76343 * sysdeps/i386/fpu/libm-test-ulps: Update.
76344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76345
76346 2012-03-01 Chris Demetriou <cgd@google.com>
76347
76348 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
76349 have predictable order.
76350
76351 2012-03-01 David S. Miller <davem@davemloft.net>
76352
76353 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
76354
76355 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
76356 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
76357 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
76358 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
76359
76360 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
76361 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
76362 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
76363 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
76364 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
76365 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
76366 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
76367 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
76368 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
76369
76370 * sysdeps/sparc/fpu/libm-test-ulps: Update.
76371
76372 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
76373 * sysdeps/sparc/fpu/libm-test-ulps: to here.
76374 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
76375
76376 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
76377 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
76378 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
76379 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
76380 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
76381 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
76382 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
76383 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
76384 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
76385 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
76386 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
76387 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
76388 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
76389 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
76390 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
76391 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
76392 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
76393 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
76394 * sysdeps/sparc/elf/configure: Regenerated.
76395
76396 2012-03-01 Joseph Myers <joseph@codesourcery.com>
76397
76398 * configure.in (AS, LD): Require binutils 2.20 or later.
76399 * configure: Regenerated.
76400 * manual/install.texi (Tools for Compilation): Give binutils 2.20
76401 as required minimum version.
76402 * INSTALL: Regenerated.
76403
76404 [BZ #2541]
76405 [BZ #4108]
76406 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
76407 before squaring exponent.
76408 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
76409 bottom long double and 27 bits of top long double before squaring
76410 exponent.
76411 * math/libm-test.inc (erfc_test): Add more tests.
76412 * sysdeps/i386/fpu/libm-test-ulps: Update.
76413 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
76414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76415
76416 2012-03-01 Kai Tietz <ktietz@redhat.com>
76417
76418 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
76419 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
76420 containing bit-fields.
76421 * soft-fp/extended.h (_FP_UNION_E): Likewise.
76422 * soft-fp/single.h (_FP_UNION_S): Likewise.
76423 * soft-fp/double.h (_FP_UNION_D): Likewise.
76424
76425 2012-02-29 Joseph Myers <joseph@codesourcery.com>
76426
76427 [BZ #13786]
76428 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
76429 not include ../strcmp.S.
76430 [USE_AS_STRNCASECMP_L]: Likewise.
76431 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
76432 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
76433 * sysdeps/i386/i686/multiarch/strncase_l-c.c
76434 (__strncasecmp_l_ia32): Define as alias to
76435 __strncasecmp_l_nonascii.
76436
76437 [BZ #5794]
76438 * math/libm-test.inc (expm1_test): Add test for bug 5794.
76439 * sysdeps/i386/fpu/libm-test-ulps: Update.
76440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76441
76442 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
76443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76444
76445 2012-02-29 Jeff Law <law@redhat.com>
76446
76447 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
76448 out of bounds read.
76449
76450 2012-02-29 Marek Polacek <polacek@redhat.com>
76451
76452 [BZ #13706]
76453 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
76454 * elf/Makefile: Add rules to run tst-unused-dep.out.
76455
76456 2012-02-28 David S. Miller <davem@davemloft.net>
76457
76458 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
76459 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
76460 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
76461 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
76462 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
76463 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
76464
76465 2012-02-29 Joseph Myers <joseph@codesourcery.com>
76466
76467 * math/libm-test.inc (llround_test): Move one test from
76468 lround_test. Use TEST_f_L in moved test.
76469 (lround_test): Move misplaced test to llround_test. Add testcase
76470 from bug 2561.
76471
76472 2012-02-28 Ulrich Drepper <drepper@gmail.com>
76473
76474 * sysdeps/x86_64/fpu/e_expf.S: New file.
76475 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
76476
76477 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
76478
76479 [BZ #13637]
76480 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
76481 of remain_len that may cause incomplete multi-byte character and
76482 false match.
76483 * posix/bug-regex33.c: New file.
76484 * posix/Makefile (tests): Add bug-regex33.
76485
76486 2012-02-28 Joseph Myers <joseph@codesourcery.com>
76487
76488 * manual/macros.texi: New file.
76489 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
76490 * manual/libc.texinfo: Include macros.texi.
76491 * manual/creatute.texi: Likewise.
76492 * manual/install.texi: Likewise.
76493 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
76494 @glibcadj{} in references to the GNU C Library.
76495 * manual/charset.texi: Likewise.
76496 * manual/conf.texi: Likewise.
76497 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
76498 when not using those macros.
76499 * manual/creature.texi: Likewise.
76500 * manual/crypt.texi: Likewise.
76501 * manual/errno.texi: Likewise.
76502 * manual/filesys.texi: Likewise.
76503 * manual/header.texi: Likewise.
76504 * manual/install.texi: Likewise.
76505 * manual/intro.texi: Likewise.
76506 * manual/io.texi: Likewise.
76507 * manual/job.texi: Likewise.
76508 * manual/lang.texi: Likewise.
76509 * manual/libc.texiinfo: Likewise.
76510 * manual/llio.texi: Likewise.
76511 * manual/locale.texi: Likewise.
76512 * manual/maint.texi: Likewise.
76513 * manual/math.texi: Likewise.
76514 * manual/memory.texi: Likewise.
76515 * manual/message.texi: Likewise.
76516 * manual/nss.texi: Likewise.
76517 * manual/pattern.texi: Likewise.
76518 * manual/process.texi: Likewise.
76519 * manual/resource.texi: Likewise.
76520 * manual/search.texi: Likewise.
76521 * manual/setjmp.texi: Likewise.
76522 * manual/signal.texi: Likewise.
76523 * manual/socket.texi: Likewise.
76524 * manual/startup.texi: Likewise.
76525 * manual/stdio.texi: Likewise.
76526 * manual/string.texi: Likewise.
76527 * manual/sysinfo.texi: Likewise.
76528 * manual/syslog.texi: Likewise.
76529 * manual/terminal.texi: Likewise.
76530 * manual/time.texi: Likewise.
76531 * manual/users.texi: Likewise.
76532 * INSTALL: Regenerated.
76533 * NOTES: Regenerated.
76534 * sysdeps/gnu/errlist.c: Regenerated.
76535
76536 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
76537
76538 * include/dirent.h: Include <dirstream.h> before
76539 <dirent/dirent.h>.
76540
76541 2012-02-28 David S. Miller <davem@davemloft.net>
76542
76543 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
76544 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
76545 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
76546 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
76547
76548 2012-02-27 David S. Miller <davem@davemloft.net>
76549
76550 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
76551 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
76552 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
76553 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
76554
76555 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
76556 frame pointer instead of stack pointer relative arg slot.
76557 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
76558 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
76559 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
76560
76561 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
76562
76563 [BZ #3992]
76564 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
76565
76566 2012-02-27 David S. Miller <davem@davemloft.net>
76567
76568 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
76569 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
76570 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
76571 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
76572 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
76573 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
76574 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
76575 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
76576
76577 2012-02-27 Joseph Myers <joseph@codesourcery.com>
76578
76579 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
76580 later. Allow versions 5-9.
76581 * configure: Regenerated.
76582 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
76583 required minimum version and 4.6 as recommended version. Do not
76584 mention bugs in GCC 2.7 and 2.8.
76585 * INSTALL: Regenerated.
76586
76587 2012-02-27 David S. Miller <davem@davemloft.net>
76588
76589 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
76590 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
76591 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
76592 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
76593 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
76594 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
76595 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
76596 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
76597
76598 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
76599 manipulate bits before adding and subtracting TWO112[sx].
76600 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
76601
76602 2012-02-27 Roland McGrath <roland@hack.frob.com>
76603
76604 [BZ #13775]
76605 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
76606 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
76607 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
76608 being in POSIX, because they are in 1003.1-2008.
76609
76610 * rt/tst-aio.c: Include <fcntl.h>.
76611 * rt/tst-aio7.c: Likewise.
76612 * rt/tst-aio64.c: Likewise.
76613
76614 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
76615
76616 2012-02-27 Joseph Myers <joseph@codesourcery.com>
76617
76618 * manual/install.texi (--with-headers): Describe headers as
76619 interface headers, not private headers.
76620 (Specific advice for GNU/Linux systems): Describe use of headers
76621 from "make headers_install", not private headers from older
76622 kernels.
76623 * INSTALL: Regenerated.
76624 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
76625 Change to 2.6.19.
76626 * sysdeps/unix/sysv/linux/configure: Regenerated.
76627
76628 * manual/llio.texi (fclean): Remove documentation.
76629
76630 * manual/Makefile (libc-texi-generated): New variable. Include
76631 version.texi.
76632 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
76633 $(libc-texi-generated), not duplicated list of files.
76634 (version.texi, stamp-version): New rules.
76635 (realclean): Remove $(libc-texi-generated), not individual files
76636 from that list. Do not remove dir-add.texinfo.
76637 * manual/libc.texinfo: Comment out uses of edition numbers and
76638 references to printed manual. Remove last-updated dates.
76639 (EDITION): Comment out.
76640 (ISBN): Likewise.
76641 (VERSION, UPDATED): Remove.
76642 (version.texi): Include.
76643
76644 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
76645
76646 * sysdeps/posix/spawni.c: Include <signal.h>.
76647 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
76648 * sysdeps/pthread/aio_fsync.c: Likewise.
76649
76650 2012-02-26 Ulrich Drepper <drepper@gmail.com>
76651
76652 * conform/Makefile (tests): Run only when not cross-compiling and
76653 when fast-check is not defined.
76654
76655 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
76656 * conform/data/limits.h-data: Fixes for POSIX2008.
76657 * conform/run-conformtest.sh: Run all tests.
76658 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
76659 headers.
76660 * include/bits/dlfcn.h: Likewise.
76661 * include/langinfo.h: Likewise.
76662 * include/monetary.h: Likewise.
76663 * include/sys/poll.h: Likewise.
76664
76665 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
76666 for __USE_GNU.
76667 * posix/spawn.h: Define __need_sigset_t.
76668 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
76669 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
76670 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
76671 to get sigevent_t only.
76672 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
76673 only for __USE_GNU.
76674 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
76675 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
76676 process_vm_writev only for __USE_GNU.
76677 * termios/termios.h: Declare tcgetsid also for POSIX2008.
76678
76679 * conform/Makefile: For now ignore errors from run-conformtest.
76680 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
76681 POSIX to avoid namespace pollution. Don't prepend headers.
76682 * conform/data/aio.h-data: Fixes for POSIX testing.
76683 * conform/data/fcntl.h-data: Likewise.
76684 * conform/data/glob.h-data: Likewise.
76685 * conform/data/grp.h-data: Likewise.
76686 * conform/data/pthread.h-data: Likewise.
76687 * conform/data/pwd.h-data: Likewise.
76688 * conform/data/signal.h-data: Likewise.
76689 * conform/data/spawn.h-data: Likewise.
76690 * conform/data/stdio.h-data: Likewise.
76691 * conform/data/stdlib.h-data: Likewise.
76692 * conform/data/stropts.h-data: Likewise.
76693 * conform/data/sys/mman.h-data: Likewise.
76694 * conform/data/sys/stat.h-data: Likewise.
76695 * conform/data/sys/types.h-data: Likewise.
76696 * conform/data/sys/wait.h-data: Likewise.
76697 * conform/data/time.h-data: Likewise.
76698 * conform/data/unistd.h-data: Likewise.
76699 * conform/data/utime.h-data: Likewise.
76700
76701 * io/sys/stat.h: fchmod was always in POSIX.
76702 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
76703 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
76704 * rt/aio.h: Define __need_timespec before including <time.h>.
76705 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
76706 struct. Add forward declaration of pthread_attr_t and use it in
76707 sigevent.
76708 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
76709 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
76710 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
76711 always remove CLK_TCK definition.
76712
76713 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
76714
76715 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
76716
76717 2012-02-25 Ulrich Drepper <drepper@gmail.com>
76718
76719 * conform/run-conformtest.sh: New file.
76720 * conform/Makefile: Run run-conformtest for tests.
76721 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
76722 support.
76723
76724 * conform/data/uchar.h-data: New file.
76725 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
76726 * conform/data/arpa/inet.h-data: Likewise.
76727 * conform/data/assert.h-data: Likewise.
76728 * conform/data/complex.h-data: Likewise.
76729 * conform/data/cpio.h-data: Likewise.
76730 * conform/data/ctype.h-data: Likewise.
76731 * conform/data/dirent.h-data: Likewise.
76732 * conform/data/dlfcn.h-data: Likewise.
76733 * conform/data/errno.h-data: Likewise.
76734 * conform/data/fcntl.h-data: Likewise.
76735 * conform/data/float.h-data: Likewise.
76736 * conform/data/fmtmsg.h-data: Likewise.
76737 * conform/data/fnmatch.h-data: Likewise.
76738 * conform/data/ftw.h-data: Likewise.
76739 * conform/data/glob.h-data: Likewise.
76740 * conform/data/grp.h-data: Likewise.
76741 * conform/data/iconv.h-data: Likewise.
76742 * conform/data/inttypes.h-data: Likewise.
76743 * conform/data/langinfo.h-data: Likewise.
76744 * conform/data/libgen.h-data: Likewise.
76745 * conform/data/limits.h-data: Likewise.
76746 * conform/data/locale.h-data: Likewise.
76747 * conform/data/math.h-data: Likewise.
76748 * conform/data/monetary.h-data: Likewise.
76749 * conform/data/mqueue.h-data: Likewise.
76750 * conform/data/ndbm.h-data: Likewise.
76751 * conform/data/net/if.h-data: Likewise.
76752 * conform/data/netdb.h-data: Likewise.
76753 * conform/data/netinet/in.h-data: Likewise.
76754 * conform/data/nl_types.h-data: Likewise.
76755 * conform/data/poll.h-data: Likewise.
76756 * conform/data/pthread.h-data: Likewise.
76757 * conform/data/pwd.h-data: Likewise.
76758 * conform/data/regex.h-data: Likewise.
76759 * conform/data/sched.h-data: Likewise.
76760 * conform/data/search.h-data: Likewise.
76761 * conform/data/semaphore.h-data: Likewise.
76762 * conform/data/setjmp.h-data: Likewise.
76763 * conform/data/signal.h-data: Likewise.
76764 * conform/data/spawn.h-data: Likewise.
76765 * conform/data/stdarg.h-data: Likewise.
76766 * conform/data/stdio.h-data: Likewise.
76767 * conform/data/stdlib.h-data: Likewise.
76768 * conform/data/string.h-data: Likewise.
76769 * conform/data/strings.h-data: Likewise.
76770 * conform/data/stropts.h-data: Likewise.
76771 * conform/data/sys/ipc.h-data: Likewise.
76772 * conform/data/sys/mman.h-data: Likewise.
76773 * conform/data/sys/msg.h-data: Likewise.
76774 * conform/data/sys/resource.h-data: Likewise.
76775 * conform/data/sys/select.h-data: Likewise.
76776 * conform/data/sys/sem.h-data: Likewise.
76777 * conform/data/sys/shm.h-data: Likewise.
76778 * conform/data/sys/socket.h-data: Likewise.
76779 * conform/data/sys/stat.h-data: Likewise.
76780 * conform/data/sys/statvfs.h-data: Likewise.
76781 * conform/data/sys/time.h-data: Likewise.
76782 * conform/data/sys/timeb.h-data: Likewise.
76783 * conform/data/sys/times.h-data: Likewise.
76784 * conform/data/sys/types.h-data: Likewise.
76785 * conform/data/sys/uio.h-data: Likewise.
76786 * conform/data/sys/un.h-data: Likewise.
76787 * conform/data/sys/utsname.h-data: Likewise.
76788 * conform/data/sys/wait.h-data: Likewise.
76789 * conform/data/syslog.h-data: Likewise.
76790 * conform/data/tar.h-data: Likewise.
76791 * conform/data/termios.h-data: Likewise.
76792 * conform/data/utime.h-data: Likewise.
76793 * conform/data/utmpx.h-data: Likewise.
76794 * conform/data/varargs.h-data: Likewise.
76795 * conform/data/wchar.h-data: Likewise.
76796 * conform/data/wctype.h-data: Likewise.
76797 * conform/data/wordexp.h-data: Likewise.
76798
76799 * include/stropts.h: New file.
76800 * include/uchar.h: New file.
76801 * include/aio.h: Changes to allow conformtest.pl to use the headers.
76802 * include/assert.h: Likewise.
76803 * include/ctype.h: Likewise.
76804 * include/dirent.h: Likewise.
76805 * include/dlfcn.h: Likewise.
76806 * include/fcntl.h: Likewise.
76807 * include/fnmatch.h: Likewise.
76808 * include/glob.h: Likewise.
76809 * include/grp.h: Likewise.
76810 * include/libio.h: Likewise.
76811 * include/locale.h: Likewise.
76812 * include/math.h: Likewise.
76813 * include/net/if.h: Likewise.
76814 * include/netdb.h: Likewise.
76815 * include/netinet/in.h: Likewise.
76816 * include/pthread.h: Likewise.
76817 * include/pwd.h: Likewise.
76818 * include/regex.h: Likewise.
76819 * include/sched.h: Likewise.
76820 * include/search.h: Likewise.
76821 * include/setjmp.h: Likewise.
76822 * include/signal.h: Likewise.
76823 * include/stdio.h: Likewise.
76824 * include/stdlib.h: Likewise.
76825 * include/string.h: Likewise.
76826 * include/sys/cdefs.h: Likewise.
76827 * include/sys/mman.h: Likewise.
76828 * include/sys/msg.h: Likewise.
76829 * include/sys/resource.h: Likewise.
76830 * include/sys/select.h: Likewise.
76831 * include/sys/socket.h: Likewise.
76832 * include/sys/stat.h: Likewise.
76833 * include/sys/statvfs.h: Likewise.
76834 * include/sys/time.h: Likewise.
76835 * include/sys/times.h: Likewise.
76836 * include/sys/uio.h: Likewise.
76837 * include/sys/utsname.h: Likewise.
76838 * include/sys/wait.h: Likewise.
76839 * include/termios.h: Likewise.
76840 * include/time.h: Likewise.
76841 * include/ulimit.h: Likewise.
76842 * include/unistd.h: Likewise.
76843 * include/utime.h: Likewise.
76844 * include/wchar.h: Likewise.
76845 * include/wctype.h: Likewise.
76846 * include/wordexp.h: Likewise.
76847
76848 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
76849
76850 * time/time.h: TIME_UTC must be a macro.
76851 Make timespec_get available for ISO C11 only as well.
76852
76853 2012-02-24 Ulrich Drepper <drepper@gmail.com>
76854
76855 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
76856 Reported by Peng Haitao <penght@cn.fujitsu.com>.
76857
76858 2012-02-24 Joseph Myers <joseph@codesourcery.com>
76859
76860 * configure.in: Use -o not -a in test for unsupported multi-arch.
76861
76862 2012-02-24 Joseph Myers <joseph@codesourcery.com>
76863
76864 * manual/texinfo.tex: Update to version 2012-01-19.16.
76865
76866 2012-02-24 Joseph Myers <joseph@codesourcery.com>
76867
76868 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
76869
76870 2012-02-24 Roland McGrath <roland@hack.frob.com>
76871
76872 [BZ #13738]
76873 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
76874 * manual/fdl-1.3.texi: New file.
76875 * manual/fdl-1.1.texi: File removed.
76876
76877 [BZ #13738]
76878 * manual/libc.texinfo (FDL_VERSION): New @set.
76879 Use it for mention of FDL in cover text.
76880 (Documentation License): Use it in @include file name.
76881
76882 2012-02-22 Joseph Myers <joseph@codesourcery.com>
76883 Roland McGrath <roland@hack.frob.com>
76884
76885 [BZ #5461]
76886 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
76887 (not LONG_LONG_MAX and LONG_LONG_MIN.
76888 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
76889 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
76890 name.
76891 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
76892
76893 2012-02-22 Joseph Myers <joseph@codesourcery.com>
76894
76895 [BZ #2547]
76896 [BZ #11365]
76897 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
76898 manipulate bits before adding and subtracting TWO23[sx].
76899 * math/libm-test.inc (nearbyint_test): Add more tests.
76900
76901 2012-02-22 Joseph Myers <joseph@codesourcery.com>
76902
76903 [BZ #2548]
76904 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
76905 bits before adding and subtracting TWO23[sx].
76906 * math/libm-test.inc (rint_test): Add more tests.
76907 (rint_test_tonearest): Likewise.
76908 (rint_test_towardzero): Likewise.
76909 (rint_test_downward): Likewise.
76910 (rint_test_upward: Likewise.
76911
76912 2012-02-22 Joseph Myers <joseph@codesourcery.com>
76913
76914 [BZ #10110]
76915 * include/stdc-predef.h: New file. Extracted from features.h.
76916 * include/features.h: Include stdc-predef.h.
76917 * Makefile (headers): Add stdc-predef.h.
76918 * CONFORMANCE (Compiler limitations): Update.
76919
76920 2012-02-22 Joseph Myers <joseph@codesourcery.com>
76921
76922 * manual/libc.texinfo (VERSION, UPDATED): Revert.
76923
76924 2012-02-21 David S. Miller <davem@davemloft.net>
76925
76926 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
76927 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
76928
76929 2012-02-20 David S. Miller <davem@davemloft.net>
76930
76931 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
76932 using a normal save/restore sequence, rather than allocating a
76933 dummy stack frame just to store a frame pointer and restore.
76934 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
76935
76936 2012-02-21 Joseph Myers <joseph@codesourcery.com>
76937
76938 * manual/install.texi: Fix stray word in line-wrapped comment.
76939
76940 2012-02-20 David S. Miller <davem@davemloft.net>
76941
76942 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
76943 both binutils and gcc support GOTDATA.
76944
76945 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
76946 "rd %pc" in the PIC register setup sequences.
76947
76948 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
76949 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
76950 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
76951 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
76952 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
76953 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
76954 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
76955 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
76956 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
76957 (SYSCALL_ERROR_HANDLER): Likewise.
76958 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
76959 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
76960 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
76961 (SYSCALL_ERROR_HANDLER): Likewise.
76962
76963 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
76964 (HAVE_GCC_GOTDATA): New.
76965 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
76966 relocation support in both binutils and gcc.
76967 * sysdeps/sparc/elf/configure: Regenerate.
76968
76969 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
76970 * sysdeps/sparc/sparc32/elf/configure: Delete.
76971 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
76972 * sysdeps/sparc/sparc64/elf/configure: Delete.
76973 * sysdeps/sparc/elf/configure.in: New file.
76974 * sysdeps/sparc/elf/configure: Generate.
76975
76976 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
76977 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
76978 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
76979 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
76980 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
76981
76982 2012-02-21 Joseph Myers <joseph@codesourcery.com>
76983
76984 * manual/install.texi: Do not mention specific glibc version
76985 numbers.
76986 * manual/libc.texinfo (VERSION, UPDATED): Update.
76987 (@copying): Use @copyright{} and range of years.
76988
76989 2012-02-21 Joseph Myers <joseph@codesourcery.com>
76990
76991 [BZ #13695]
76992 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
76993 [crti.S not in sysdirs] (generated): Do not append.
76994 [crti.S not in sysdirs] (omit-deps): Likewise.
76995 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
76996 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
76997 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
76998 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
76999 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
77000 Likewise.
77001 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
77002 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
77003 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
77004 * csu/defs.awk: Remove file.
77005 * sysdeps/generic/initfini.c: Likewise.
77006 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
77007 variable.
77008 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
77009 Likewise.
77010
77011 2012-02-20 Joseph Myers <joseph@codesourcery.com>
77012
77013 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
77014 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
77015 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
77016 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
77017 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
77018 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
77019 <bits/epoll.h>.
77020 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
77021 (__EPOLL_PACKED): Define to empty if not defined by
77022 <bits/epoll.h>.
77023 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
77024 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77025 bits/epoll.h.
77026
77027 2012-02-20 Joseph Myers <joseph@codesourcery.com>
77028
77029 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
77030 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
77031 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
77032 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
77033 <bits/timerfd.h>.
77034 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
77035 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77036 bits/timerfd.h.
77037
77038 2012-02-20 Joseph Myers <joseph@codesourcery.com>
77039
77040 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
77041 in C locale.
77042 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
77043 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
77044 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
77045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77046
77047 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
77048
77049 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
77050 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
77051
77052 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
77053
77054 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
77055 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
77056 defined.
77057 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
77058 Likewise.
77059 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
77060 entry for 2.16.
77061
77062 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
77063
77064 * math/w_acos.c: Use non-signaling floating-point comparisons.
77065 * math/w_acosf.c: Likewise.
77066 * math/w_acosh.c: Likewise.
77067 * math/w_acoshf.c: Likewise.
77068 * math/w_acoshl.c: Likewise.
77069 * math/w_acosl.c: Likewise.
77070 * math/w_asin.c: Likewise.
77071 * math/w_asinf.c: Likewise.
77072 * math/w_asinl.c: Likewise.
77073 * math/w_atanh.c: Likewise.
77074 * math/w_atanhf.c: Likewise.
77075 * math/w_atanhl.c: Likewise.
77076 * math/w_exp2.c: Likewise.
77077 * math/w_exp2f.c: Likewise.
77078 * math/w_exp2l.c: Likewise.
77079 * math/w_j0.c: Likewise.
77080 * math/w_j0f.c: Likewise.
77081 * math/w_j0l.c: Likewise.
77082 * math/w_j1.c: Likewise.
77083 * math/w_j1f.c: Likewise.
77084 * math/w_j1l.c: Likewise.
77085 * math/w_jn.c: Likewise.
77086 * math/w_jnf.c: Likewise.
77087 * math/w_log.c: Likewise.
77088 * math/w_log10.c: Likewise.
77089 * math/w_log10f.c: Likewise.
77090 * math/w_log10l.c: Likewise.
77091 * math/w_log2.c: Likewise.
77092 * math/w_log2f.c: Likewise.
77093 * math/w_log2l.c: Likewise.
77094 * math/w_logf.c: Likewise.
77095 * math/w_logl.c: Likewise.
77096 * math/w_sqrt.c: Likewise.
77097 * math/w_sqrtf.c: Likewise.
77098 * math/w_sqrtl.c: Likewise.
77099 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
77100 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
77101 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
77102 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
77103 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
77104
77105 2012-02-19 Joseph Myers <joseph@codesourcery.com>
77106
77107 [BZ #9739]
77108 * manual/string.texi (strnlen): Use correct parameter name in
77109 equivalent expression.
77110
77111 2012-02-19 Joseph Myers <joseph@codesourcery.com>
77112
77113 [BZ #11174]
77114 * manual/users.texi (seteuid): Consistently use neweuid for
77115 argument name.
77116
77117 2012-02-19 Joseph Myers <joseph@codesourcery.com>
77118
77119 [BZ #13704]
77120 * manual/nss.texi (Services in the NSS configuration): Correct
77121 list of services in example configuration file.
77122
77123 2012-02-19 Nick Bowler <nbowler@draconx.ca>
77124
77125 [BZ #11322]
77126 * manual/arith.texi: Remove statements about negative zero
77127 behaving identically to zero.
77128
77129 2012-02-18 Joseph Myers <joseph@codesourcery.com>
77130
77131 [BZ #5993]
77132 * manual/install.texi: Do not document upgrading from libc5.
77133
77134 2012-02-18 Joseph Myers <joseph@codesourcery.com>
77135
77136 [BZ #4596]
77137 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
77138
77139 2012-02-18 David S. Miller <davem@davemloft.net>
77140
77141 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
77142 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
77143 %o7 across the call.
77144 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
77145 instead.
77146 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
77147 SETUP_PIC_REG_LEAF.
77148 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
77149 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
77150 * sysdeps/sparc/crtn.S: Likewise.
77151
77152 2012-02-17 Ulrich Drepper <drepper@gmail.com>
77153
77154 * aout/Makefile: Remove.
77155
77156 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
77157
77158 [BZ #13058]
77159 * manual/examples/argp-ex1.c (main): Format definition in GNU
77160 style.
77161 * manual/examples/argp-ex2.c (main): Likewise.
77162 * manual/examples/argp-ex3.c (main): Likewise.
77163 * manual/examples/argp-ex4.c (main): Likewise.
77164 * manual/examples/longopt.c (main): Use new-style prototype
77165 definition.
77166 * manual/examples/strncat.c (main): Specify return type and use
77167 (void) for arguments.
77168 * manual/examples/subopt.c (main): Use char **argv argument.
77169
77170 2012-02-17 Joseph Myers <joseph@codesourcery.com>
77171
77172 [BZ #5077]
77173 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
77174 rounding modes.
77175
77176 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
77177
77178 [BZ #6907]
77179 * manual/string.texi (strchr): Change when strchrnul is
77180 recommended.
77181
77182 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
77183
77184 [BZ #174]
77185 * manual/locale.texi (setlocale): Document LOCPATH.
77186
77187 2012-02-17 Joseph Myers <joseph@codesourcery.com>
77188
77189 [BZ #10210]
77190 * manual/process.texi (execle): Move @dots{} before last argument.
77191
77192 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
77193
77194 [BZ #12047]
77195 * manual/charset.texi (Generic Charset Conversion): Fix typo
77196 (LC_TYPE -> LC_CTYPE).
77197
77198 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
77199
77200 [BZ #5805]
77201 * manual/arith.texi (scalbn): Use @var{} on parameter names.
77202 (scalbnf): Likewise.
77203 (scalbnl): Likewise.
77204 (scalbln): Likewise.
77205 (scalblnf): Likewise.
77206 (scalblnl): Likewise.
77207 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
77208 (vwarnx): Likewise.
77209 (verr): Likewise.
77210 (verrx): Likewise.
77211 * manual/filesys.texi (telldir): Use braces around return type.
77212 * manual/llio.texi (mmap): Add space after comma.
77213 (mmap64): Likewise.
77214 * manual/math.texi (jn): Use @var{} on parameter names.
77215 (jnf): Likewise.
77216 (jnl): Likewise.
77217 (yn): Likewise.
77218 (ynf): Likewise.
77219 (ynl): Likewise.
77220 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
77221 line.
77222 * manual/resource.texi (ulimit): Use @dots{} instead of literal
77223 "...".
77224 (sched_get_priority_min): Remove semicolon on @deftypefun line.
77225 (sched_get_priority_max): Likewise.
77226 * manual/signal.texi (sigvec): Add space after comma.
77227 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
77228 names.
77229 (if_indextoname): Likewise.
77230 (if_freenameindex): Likewise.
77231 (sendto): Use ',' instead of '.' in prototype.
77232 * manual/startup.texi (syscall): Use @dots{} instead of literal
77233 "...".
77234 * manual/stdio.texi (__fpending): Separate initial words of
77235 paragraph from @deftypefun line.
77236 * manual/syslog.texi (syslog): Use @dots{} instead of literal
77237 "...".
77238 (vsyslog): Use @var{} on parameter names.
77239 * manual/terminal.texi (stty): Use @var{} on parameter names.
77240 * manual/users.texi (getutmp): Use @var{} on parameter names.
77241 (getutmpx): Likewise.
77242
77243 2012-02-17 Joseph Myers <joseph@codesourcery.com>
77244
77245 [BZ #6884]
77246 * manual/stdio.texi (fopen): Fix typos in description of
77247 ",ccs=STRING".
77248
77249 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
77250
77251 [BZ #4026]
77252 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
77253 get clock_id definition.
77254
77255 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
77256
77257 [BZ #4822]
77258 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
77259 (madvise): Cast every argument to void on its own.
77260
77261 2012-02-17 Joseph Myers <joseph@codesourcery.com>
77262
77263 [BZ #9902]
77264 * manual/startup.texi (Exit Status): Fix typo.
77265
77266 2012-02-17 Joseph Myers <joseph@codesourcery.com>
77267
77268 [BZ #10140]
77269 * manual/examples/argp-ex1.c: Include <stdlib.h>.
77270 * manual/examples/argp-ex2.c: Likewise.
77271 * manual/examples/argp-ex3.c: Likewise.
77272
77273 2012-02-16 Richard Henderson <rth@redhat.com>
77274
77275 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
77276 * sysdeps/s390/s390-32/initfini.c: Remove.
77277 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
77278 * sysdeps/s390/s390-64/initfini.c: Remove.
77279
77280 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
77281
77282 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
77283 compiler output for sysdeps/generic/initfini.c.
77284 * sysdeps/sh/elf/initfini.c: Remove file.
77285
77286 2012-02-16 David S. Miller <davem@davemloft.net>
77287
77288 [BZ #11494]
77289 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
77290
77291 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
77292 * sysdeps/sparc/crti.S: New file.
77293 * sysdeps/sparc/crtn.S: New file.
77294 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
77295 * sysdeps/sparc/sparc64/Makefile: Likewise.
77296
77297 2012-02-15 Mike Frysinger <vapier@gentoo.org>
77298
77299 [BZ #3335]
77300 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
77301
77302 2012-02-15 Roland McGrath <roland@hack.frob.com>
77303
77304 [BZ #4822]
77305 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
77306
77307 * mach/devstream.c (cookie_io_functions_t): Macro removed.
77308 (write, read, close): Likewise.
77309 Patch by Aurelien Jarno <aurelien@aurel32.net>.
77310
77311 2012-02-15 Joseph Myers <joseph@codesourcery.com>
77312
77313 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
77314 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
77315 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
77316 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
77317 <bits/signalfd.h>.
77318 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
77319 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77320 bits/signalfd.h.
77321
77322 2012-02-14 Marek Polacek <polacek@redhat.com>
77323
77324 * sysdeps/x86_64/crti.S: New file.
77325 * sysdeps/x86_64/crtn.S: New file.
77326 * sysdeps/x86_64/elf/initfini.c: Remove file.
77327
77328 2012-02-13 Joseph Myers <joseph@codesourcery.com>
77329
77330 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
77331 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
77332 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
77333 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
77334 <bits/inotify.h>.
77335 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
77336 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77337 bits/inotify.h.
77338
77339 2012-02-13 Joseph Myers <joseph@codesourcery.com>
77340
77341 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
77342 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
77343 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
77344 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
77345 <bits/eventfd.h>.
77346 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
77347 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77348 bits/eventfd.h.
77349
77350 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
77351
77352 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
77353 __feraiseexcept instead of feraiseexcept.
77354
77355 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
77356 nanosleep invocations.
77357 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
77358 strings, and add error checking for a nanosleep invocations.
77359
77360 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
77361
77362 Replace FSF snail mail address with URLs, as per GNU coding standards.
77363 Most of the snail mail addresses were wrong anyway, and omitting
77364 them makes the source code easier to maintain. Almost all of the
77365 changes are to license notices and to locale LC_IDENTIFICATION
77366 addresses, except for this one:
77367 * manual/libc.texinfo: In "Published by", give the FSF's URL,
77368 not its snail mail address.
77369
77370 2012-02-09 Richard Henderson <rth@twiddle.net>
77371
77372 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
77373 of kernel-features.h.
77374
77375 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
77376
77377 2012-02-08 Marek Polacek <polacek@redhat.com>
77378
77379 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
77380 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
77381 * sysdeps/gnu/_G_config.h: Likewise.
77382 * sysdeps/generic/_G_config.h: Likewise.
77383
77384 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
77385
77386 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
77387 tests.
77388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77389
77390 * sysdeps/powerpc/powerpc32/crti.S: New file.
77391 * sysdeps/powerpc/powerpc32/crtn.S: New file.
77392 * sysdeps/powerpc/powerpc64/crti.S: New file.
77393 * sysdeps/powerpc/powerpc64/crtn.S: New file.
77394
77395 * Makeconfig (have-initfini): Don't set.
77396 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
77397 * configure.in (nopic_initfini): Don't substitute.
77398 * config.h.in (HAVE_INITFINI): Don't #undef.
77399 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
77400 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
77401
77402 2012-02-08 Joseph Myers <joseph@codesourcery.com>
77403
77404 Support crti.S and crtn.S provided directly by architectures.
77405 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
77406 [crti.S in sysdirs] (omit-deps): Likewise.
77407 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
77408 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
77409 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
77410 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
77411 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
77412 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
77413 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
77414 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
77415 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
77416 compiler output for sysdeps/generic/initfini.c.
77417 * sysdeps/i386/elf/Makefile: Remove file.
77418 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
77419
77420 2012-02-07 Marek Polacek <polacek@redhat.com>
77421
77422 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
77423 * sysdeps/gnu/_G_config.h: Likewise.
77424 * sysdeps/mach/hurd/_G_config.h: Likewise.
77425
77426 2012-02-07 Marek Polacek <polacek@redhat.com>
77427
77428 * math/Makefile (tests): Add tst-CMPLX2.
77429 * math/tst-CMPLX2.c: New file.
77430
77431 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
77432
77433 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
77434
77435 * math/libm-test.inc (jn_test): Add missing L suffix.
77436
77437 2012-02-06 Marek Polacek <polacek@redhat.com>
77438
77439 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
77440 * sysdeps/i386/fpu/e_powf.S: Likewise.
77441 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
77442 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
77443 * sysdeps/i386/fpu/e_acosh.S: Likewise.
77444 * sysdeps/i386/fpu/e_pow.S: Likewise.
77445 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
77446 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
77447 * sysdeps/i386/fpu/s_expm1.S: Likewise.
77448 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
77449 * sysdeps/i386/fpu/e_log2.S: Likewise.
77450 * sysdeps/i386/fpu/e_log2l.S: Likewise.
77451 * sysdeps/i386/fpu/e_scalb.S: Likewise.
77452 * sysdeps/i386/fpu/e_powl.S: Likewise.
77453 * sysdeps/i386/fpu/s_log1p.S: Likewise.
77454 * sysdeps/i386/fpu/e_log10f.S: Likewise.
77455 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
77456 * sysdeps/i386/fpu/e_logl.S: Likewise.
77457 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
77458 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
77459 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
77460 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
77461 * sysdeps/i386/fpu/e_log2f.S: Likewise.
77462 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
77463 * sysdeps/i386/fpu/e_log.S: Likewise.
77464 * sysdeps/i386/fpu/s_cexp.S: Likewise.
77465 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
77466 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
77467 * sysdeps/i386/fpu/e_logf.S: Likewise.
77468 * sysdeps/i386/fpu/e_log10l.S: Likewise.
77469 * sysdeps/i386/fpu/e_atanh.S: Likewise.
77470 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
77471 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
77472 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
77473 * sysdeps/i386/fpu/e_log10.S: Likewise.
77474 * sysdeps/i386/fpu/s_frexp.S: Likewise.
77475 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
77476 * sysdeps/i386/fpu/s_asinh.S: Likewise.
77477 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
77478 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
77479 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
77480 * sysdeps/i386/asm-syntax.h: Likewise.
77481 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
77482 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
77483 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
77484 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
77485 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
77486 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
77487 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
77488 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
77489 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
77490 * sysdeps/powerpc/sysdep.h: Likewise.
77491 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
77492 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
77493
77494 2012-02-06 Joseph Myers <joseph@codesourcery.com>
77495
77496 [BZ #411]
77497 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
77498
77499 2012-02-06 Joseph Myers <joseph@codesourcery.com>
77500
77501 * sysdeps/i386/sysdep.h: Include <features.h>.
77502 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
77503 version.
77504
77505 2012-02-05 Joseph Myers <joseph@codesourcery.com>
77506
77507 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
77508 Define.
77509 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
77510 LOAD_PIC_REG_STR.
77511
77512 2012-02-03 Joseph Myers <joseph@codesourcery.com>
77513
77514 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
77515 (SETUP_PIC_REG): Use GET_PC_THUNK.
77516 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
77517 macro.
77518
77519 2012-02-03 Joseph Myers <joseph@codesourcery.com>
77520
77521 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
77522 for non-PIC compilation.
77523 (SETUP_PIC_REG): Add .p2align directive.
77524 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
77525 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
77526 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
77527 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
77528 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
77529 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
77530 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
77531 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
77532 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
77533 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
77534 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
77535 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
77536 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
77537 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
77538 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
77539 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
77540 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
77541 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
77542 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
77543 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
77544 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
77545 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
77546 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
77547 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
77548 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
77549 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
77550 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
77551 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
77552 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
77553 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
77554 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
77555 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
77556 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
77557 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
77558 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
77559 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
77560 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
77561 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
77562 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
77563 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
77564 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
77565
77566 2012-02-03 Joseph Myers <joseph@codesourcery.com>
77567
77568 * math/tst-CMPLX.c: Include <stdio.h>.
77569
77570 2012-01-31 Joseph Myers <joseph@codesourcery.com>
77571
77572 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
77573 float.
77574 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
77575 * sysdeps/sparc/bits/mathdef.h: Likewise.
77576
77577 2012-01-31 Marek Polacek <polacek@redhat.com>
77578
77579 * libio/libio.h: Don't define _PARAMS.
77580 * locale/programs/config.h: Don't define PARAMS.
77581 * stdlib/strtol_l.c: Likewise.
77582 (__strtol_l): Remove PARAMS from the prototype.
77583
77584 2012-01-31 Ulrich Drepper <drepper@gmail.com>
77585
77586 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
77587 names. Just use the correct names. Remove unnecessary wrapper
77588 functions.
77589 * malloc/arena.c: Likewise.
77590 * malloc/hooks.c: Likewise.
77591
77592 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
77593 ARENA_TEST says not to. Simplify test for creation of a new arena.
77594 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
77595
77596 2012-01-30 Ulrich Drepper <drepper@gmail.com>
77597
77598 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
77599 into tail calls.
77600 (update_get_addr): New function.
77601 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
77602 GET_ADDR_MODULE parameter.
77603
77604 2012-01-30 Joseph Myers <joseph@codesourcery.com>
77605
77606 * crypt/cert.c: Remove __STDC__ conditionals.
77607 * crypt/crypt-entry.c: Likewise.
77608 * crypt/crypt_util.c: Likewise.
77609 * libio/filedoalloc.c: Likewise.
77610 * libio/fileops.c: Likewise.
77611 * libio/genops.c: Likewise.
77612 * libio/iofclose.c: Likewise.
77613 * libio/iofdopen.c: Likewise.
77614 * libio/iofopen.c: Likewise.
77615 * libio/iofopen64.c: Likewise.
77616 * libio/iogetdelim.c: Likewise.
77617 * libio/iopopen.c: Likewise.
77618 * libio/obprintf.c: Likewise.
77619 * libio/oldfileops.c: Likewise.
77620 * libio/oldiofclose.c: Likewise.
77621 * libio/oldiofdopen.c: Likewise.
77622 * libio/oldiofopen.c: Likewise.
77623 * libio/oldiopopen.c: Likewise.
77624 * libio/wfiledoalloc.c: Likewise.
77625 * libio/wgenops.c: Likewise.
77626 * locale/programs/xmalloc.c: Likewise.
77627 * misc/syslog.c: Likewise.
77628 * stdio-common/xbug.c: Likewise.
77629 * string/memchr.c: Likewise.
77630 * string/memcmp.c: Likewise.
77631 * string/memrchr.c: Likewise.
77632 * string/rawmemchr.c: Likewise.
77633 * sysdeps/posix/getcwd.c: Likewise.
77634 * time/strftime_l.c: Likewise.
77635
77636 2012-01-30 Joseph Myers <joseph@codesourcery.com>
77637
77638 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
77639 * config.make.in (config-cflags-sse2avx): Define.
77640 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
77641 Fix typo.
77642
77643 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
77644
77645 * scripts/config.guess: Update from upstream config git repository.
77646 * scripts/config.sub: Likewise.
77647
77648 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
77649
77650 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
77651 (EM_NUM): Update.
77652 (R_TILEPRO_*, R_TILEGX_*): New macros.
77653
77654 * scripts/firstversions.awk: Fix bug in version range handling.
77655
77656 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
77657
77658 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
77659
77660 * include/sys/epoll.h: New file.
77661 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
77662 libc_hidden_def.
77663
77664 2012-01-28 Ulrich Drepper <drepper@gmail.com>
77665
77666 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
77667 Avoid unnecessary __WORDSIZE == 64 test.
77668 (fmaxf): Use VEX format if possible.
77669 (fmax): Likewise.
77670 (fminf): Likewise.
77671 (fmin): Likewise.
77672
77673 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
77674 * math/math_private.h: Remove libc_fegetround* and
77675 libc_fesetround*.
77676 * sysdeps/i386/configure.in: Check for -msse2avx.
77677 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
77678 also if SSE2AVX is defined.
77679 Remove libc_fegetround* and libc_fesetround*.
77680 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
77681 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
77682 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
77683 of HAS_YMM_USABLE.
77684 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
77685 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
77686 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
77687 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
77688 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
77689
77690 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
77691
77692 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
77693
77694 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
77695 size is not set.
77696 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
77697
77698 2012-01-27 Ulrich Drepper <drepper@gmail.com>
77699
77700 [BZ #13618]
77701 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
77702 relocation.
77703 * Makeconfig (libm): Define.
77704 * elf/Makefile: Add rules to build and run tst-relsort1.
77705 * elf/tst-relsort1.c: New file.
77706 * elf/tst-relsort1mod1.c: New file.
77707 * elf/tst-relsort1mod2.c: New file.
77708
77709 2012-01-27 Joseph Myers <joseph@codesourcery.com>
77710
77711 * math/s_ldexp.c: Remove __STDC__ conditionals.
77712 * math/s_ldexpf.c: Likewise.
77713 * math/s_ldexpl.c: Likewise.
77714 * math/s_nextafter.c: Likewise.
77715 * math/s_nexttowardf.c: Likewise.
77716 * math/s_significand.c: Likewise.
77717 * math/s_significandf.c: Likewise.
77718 * math/s_significandl.c: Likewise.
77719 * math/w_jnl.c: Likewise.
77720 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
77721 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
77722 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
77723 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
77724 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
77725 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
77726 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
77727 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
77728 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
77729 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
77730 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
77731 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
77732 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
77733 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
77734 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
77735 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
77736 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
77737 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
77738 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
77739 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
77740 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
77741 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
77742 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
77743 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
77744 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
77745 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
77746 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
77747 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
77748 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
77749 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
77750 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
77751 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
77752 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
77753 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
77754 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
77755 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
77756 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
77757 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
77758 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
77759 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
77760 * sysdeps/ieee754/k_standard.c: Likewise.
77761 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
77762 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
77763 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
77764 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
77765 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
77766 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
77767 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
77768 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
77769 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
77770 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
77771 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
77772 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
77773 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
77774 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
77775 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
77776 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
77777 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
77778 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
77779 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
77780 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
77781 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
77782 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
77783 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
77784 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
77785 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
77786 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
77787 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
77788 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
77789 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
77790 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
77791 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
77792 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
77793 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
77794 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
77795 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
77796 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
77797 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
77798 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
77799 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
77800 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
77801 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
77802 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
77803 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
77804 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
77805 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
77806 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
77807 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
77808 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
77809 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
77810 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
77811 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
77812 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
77813 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
77814 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
77815 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
77816 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
77817 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
77818 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
77819 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
77820 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
77821 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
77822 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
77823 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
77824 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
77825 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
77826 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
77827 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
77828 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
77829 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
77830 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
77831 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
77832 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
77833 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
77834 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
77835 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
77836 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
77837 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
77838 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
77839 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
77840 * sysdeps/ieee754/s_matherr.c: Likewise.
77841 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
77842 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
77843 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
77844 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
77845
77846 2012-01-26 Joseph Myers <joseph@codesourcery.com>
77847
77848 * crypt/md5.h: Remove __STDC__ conditionals.
77849 * libio/libioP.h: Likewise.
77850 * locale/programs/config.h: Likewise.
77851 * sysdeps/generic/sysdep.h: Likewise.
77852 * sysdeps/i386/asm-syntax.h: Likewise.
77853 * sysdeps/s390/asm-syntax.h: Likewise.
77854 * sysdeps/unix/sysdep.h: Likewise.
77855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
77856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
77857
77858 2012-01-26 Joseph Myers <joseph@codesourcery.com>
77859
77860 * libio/libio.h: Remove __STDC__ conditionals.
77861 * malloc/obstack.h: Likewise.
77862 * math/complex.h: Likewise.
77863 * math/math.h: Likewise.
77864 * sysdeps/generic/_G_config.h: Likewise.
77865 * sysdeps/gnu/_G_config.h: Likewise.
77866 * sysdeps/mach/hurd/_G_config.h: Likewise.
77867 * sysdeps/powerpc/bits/mathdef.h: Likewise.
77868 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
77869 * sysdeps/sparc/bits/mathdef.h: Likewise.
77870
77871 2012-01-26 Ulrich Drepper <drepper@gmail.com>
77872
77873 [BZ #13583]
77874 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
77875 Clean up HAS_* macros.
77876 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
77877 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
77878 possible.
77879 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
77880 HAS_AVX.
77881 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
77882 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
77883 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
77884 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
77885 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
77886
77887 2012-01-25 Joseph Myers <joseph@codesourcery.com>
77888
77889 * elf/tst-unique3.cc (gets): Remove declaration.
77890 * elf/tst-unique3lib.cc (gets): Likewise.
77891 * elf/tst-unique3lib2.cc (gets): Likewise.
77892 * elf/tst-unique4.cc (gets): Likewise.
77893
77894 2012-01-24 Ulrich Drepper <drepper@gmail.com>
77895
77896 * include/stdio.h: Add C++ protection. Add gets declarations and
77897 definitions.
77898 * debug/tst-chk1.c: Don't declare gets here.
77899 * stdio-common/tst-gets.c: Likewise.
77900
77901 2012-01-24 Joseph Myers <joseph@codesourcery.com>
77902
77903 * posix/glob: Remove directory.
77904
77905 2012-01-24 Joseph Myers <joseph@codesourcery.com>
77906
77907 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
77908
77909 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
77910
77911 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
77912 of the non-standard EPFNOSUPPORT.
77913
77914 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
77915
77916 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
77917 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
77918 ANYWHERE set to 1 only on KERN_NO_SPACE error.
77919
77920 2012-01-21 Ulrich Drepper <drepper@gmail.com>
77921
77922 * wcsmbs/uchar.h: Test __STDC_VERSION__.
77923
77924 2012-01-20 Ulrich Drepper <drepper@gmail.com>
77925
77926 * nscd/aicache.c (addhstaiX): Do not cache negative results of
77927 transient errors.
77928 * nscd/grpcache.c (cache_addgr): Likewise.
77929 * nscd/hstcache.c (cache_addhst): Likewise.
77930 * nscd/initgrcache.c (addinitgroupsX): Likewise.
77931 * nscd/pwdcache.c (cache_addpw): Likewise.
77932 * nscd/servicescache.c (cache_addserv): Likewise.
77933
77934 2012-01-16 Ulrich Drepper <drepper@gmail.com>
77935
77936 * malloc/malloc.c: Various cleanups.
77937 * malloc/hooks.c: Likewise.
77938
77939 * stdlib/Makefile (tests): Add bug-fmtmsg1.
77940 * stdlib/bug-fmtmsg1.c: New file.
77941
77942 * stdlib/fmtmsg.c (init): Add missing unlock.
77943 Patch by Peng Haitao <penght@cn.fujitsu.com>.
77944
77945 2012-01-12 Marek Polacek <polacek@redhat.com>
77946
77947 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
77948 and _GNU_SOURCE.
77949
77950 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
77951
77952 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
77953 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
77954 macro to ensure uniqueness of label name.
77955 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
77956 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
77957
77958 2012-01-11 Ulrich Drepper <drepper@gmail.com>
77959
77960 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
77961
77962 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
77963 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
77964 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
77965 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
77966
77967 2012-01-10 Ulrich Drepper <drepper@gmail.com>
77968
77969 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
77970
77971 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
77972 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
77973 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
77974
77975 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
77976
77977 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
77978 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
77979 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
77980 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
77981
77982 * math/bits/math-finite.h: Add ldexp support.
77983
77984 2012-01-10 Marek Polacek <polacek@redhat.com>
77985
77986 * locale/programs/localedef.h (show_archive_content): Add noreturn
77987 attribute.
77988
77989 2012-01-09 Ulrich Drepper <drepper@gmail.com>
77990
77991 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
77992
77993 2012-01-08 Ulrich Drepper <drepper@gmail.com>
77994
77995 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
77996
77997 * io/Makefile (headers): Add bits/poll2.h.
77998
77999 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
78000
78001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
78002 typo #include statement.
78003
78004 2012-01-08 Ulrich Drepper <drepper@gmail.com>
78005
78006 * include/sys/cdefs.h: Define __attribute_alloc_size.
78007 * catgets/gencat.c: Add alloc_size attribute and apply consistently
78008 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
78009 * elf/pldd.c: Likewise.
78010 * iconv/iconv_charmap.c: Likewise.
78011 * iconv/iconvconfig.c: Likewise.
78012 * iconv/strtab.c: Likewise.
78013 * locale/programs/locale.c: Likewise.
78014 * locale/programs/localedef.h: Likewise.
78015 * locale/programs/simple-hash.c: Likewise.
78016 * nscd/nscd.h: Likewise.
78017 * nss/makedb.c: Likewise.
78018 * sysdeps/generic/ldconfig.h: Likewise.
78019 * locale/programs/localedef.c: Remove xmalloc prototype.
78020 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
78021
78022 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
78023
78024 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
78025 appropriate.
78026
78027 2012-01-08 Ulrich Drepper <drepper@gmail.com>
78028
78029 * math/Makefile (tests): Add tst-CMPLX.
78030 * math/tst-CMPLX.c: New file.
78031
78032 * math/complex.h (CMPLXL): Fix typo.
78033
78034 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
78035 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
78036 GLIBC_2.16.
78037 * debug/tst-chk1.c: Add poll and ppoll tests.
78038 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
78039 * include/sys/poll.h: Add hidden proto for ppoll.
78040 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
78041 * sysdeps/mach/hurd/ppoll.c: Likewise.
78042 * io/ppoll.c: Likewise.
78043 * debug/poll_chk.c: New file.
78044 * debug/ppoll_chk.c: New file.
78045 * include/bits/poll2.h: New file.
78046 * io/bits/poll2.h: New file.
78047
78048 [BZ #1350]
78049 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
78050
78051 * configure.in: static is always set to yes. Remove.
78052 * config.make.in: Don't set build-static.
78053 * Makeconfig: Remove use of build-static.
78054 * dlfcn/Makefile: Likewise.
78055 * elf/Makefile: Likewise.
78056 * math/Makefile: Likewise.
78057 * misc/Makefile: Likewise.
78058 * nptl/Makefile: Likewise.
78059 * sysdeps/mach/hurd/Makefile: Likewise.
78060
78061 * configure.in: PWD_P is not used anymore.
78062 * config.make.in: Remove PWD_P entry.
78063
78064 * configure.in: Remove last remnants of RANLIB.
78065 No need to check for signed size_t anymore.
78066 Don't set libc_commonpagesize and libc_relro_required here for Alpha
78067 and IA-64.
78068 Remove __builtin_expect test because we require at least gcc 3.4.
78069 * aclocal.m4: Likewise.
78070
78071 * wcsmbs/mbrtoc16.c: Implement using towc function.
78072 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
78073 * wcsmbs/wcsmbsload.c: Likewise.
78074 * iconv/gconv_simple.c: Likewise.
78075 * iconv/gconv_int.h: Likewise.
78076 * iconv/gconv_builtin.h: Likewise.
78077 * iconv/iconv_prog.c: Remove CHAR16 handling.
78078
78079 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
78080
78081 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
78082
78083 * configure.in: Remove --with-elf and --enable-bounded options.
78084 Dont set base_machine for ia64. More non-ELF conditions removed.
78085 Remove testing and setting of leading underscore information.
78086 * config.make.in (build-bounded): Set to no.
78087 * config.h.in: Remove NO_UNDERSCORES entry.
78088 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
78089 them.
78090 * csu/start.c: Remove !NO_UNDERSCORE code.
78091 * locale/localeinfo.h: Likewise.
78092 * sysdeps/generic/machine-gmon.h: Likewise.
78093 * sysdeps/generic/sysdep.h: Likewise.
78094 * sysdeps/i386/sysdep.h: Likewise.
78095 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
78096 * sysdeps/mach/sysdep.h: Likewise.
78097 * sysdeps/s390/s390-32/sysdep.h: Likewise.
78098 * sysdeps/s390/s390-64/sysdep.h: Likewise.
78099 * sysdeps/sh/sysdep.h: Likewise.
78100 * sysdeps/sparc/sparc32/alloca.S: Likewise.
78101 * sysdeps/unix/i386/sysdep.S: Likewise.
78102 * sysdeps/unix/sparc/start.c: Likewise.
78103 * sysdeps/unix/sparc/sysdep.S: Likewise.
78104 * sysdeps/unix/sparc/sysdep.h: Likewise.
78105 * sysdeps/unix/start.c: Likewise.
78106 * sysdeps/unix/x86_64/sysdep.S: Likewise.
78107 * sysdeps/x86_64/sysdep.h: Likewise.
78108
78109 2012-01-07 Ulrich Drepper <drepper@gmail.com>
78110
78111 [BZ #13553]
78112 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
78113 for non-gcc.
78114 * argp/argp-fmtstream.h: Use const instead __const.
78115 * argp/argp.h: Likewise.
78116 * assert/assert.h: Likewise.
78117 * bits/fenv.h: Likewise.
78118 * bits/sched.h: Likewise.
78119 * bits/sigset.h: Likewise.
78120 * bits/sigthread.h: Likewise.
78121 * catgets/nl_types.h: Likewise.
78122 * conform/data/pthread.h-data: Likewise.
78123 * crypt/crypt-private.h: Likewise.
78124 * crypt/crypt.h: Likewise.
78125 * crypt/crypt_util.c: Likewise.
78126 * ctype/ctype.h: Likewise.
78127 * debug/execinfo.h: Likewise.
78128 * debug/mbsnrtowcs_chk.c: Likewise.
78129 * debug/mbsrtowcs_chk.c: Likewise.
78130 * debug/wcsnrtombs_chk.c: Likewise.
78131 * debug/wcsrtombs_chk.c: Likewise.
78132 * debug/wcstombs_chk.c: Likewise.
78133 * dirent/dirent.h: Likewise.
78134 * dlfcn/dlfcn.h: Likewise.
78135 * elf/neededtest4.c: Likewise.
78136 * grp/grp.h: Likewise.
78137 * gshadow/gshadow.h: Likewise.
78138 * iconv/gconv.h: Likewise.
78139 * iconv/gconv_int.h: Likewise.
78140 * iconv/gconv_simple.c: Likewise.
78141 * iconv/iconv.h: Likewise.
78142 * iconv/loop.c: Likewise.
78143 * iconv/skeleton.c: Likewise.
78144 * include/aio.h: Likewise.
78145 * include/aliases.h: Likewise.
78146 * include/argz.h: Likewise.
78147 * include/arpa/inet.h: Likewise.
78148 * include/assert.h: Likewise.
78149 * include/dirent.h: Likewise.
78150 * include/dlfcn.h: Likewise.
78151 * include/execinfo.h: Likewise.
78152 * include/fcntl.h: Likewise.
78153 * include/fenv.h: Likewise.
78154 * include/glob.h: Likewise.
78155 * include/grp.h: Likewise.
78156 * include/libintl.h: Likewise.
78157 * include/mntent.h: Likewise.
78158 * include/netdb.h: Likewise.
78159 * include/pwd.h: Likewise.
78160 * include/rpc/netdb.h: Likewise.
78161 * include/sched.h: Likewise.
78162 * include/search.h: Likewise.
78163 * include/shadow.h: Likewise.
78164 * include/signal.h: Likewise.
78165 * include/stdio.h: Likewise.
78166 * include/stdlib.h: Likewise.
78167 * include/string.h: Likewise.
78168 * include/sys/socket.h: Likewise.
78169 * include/sys/stat.h: Likewise.
78170 * include/sys/statfs.h: Likewise.
78171 * include/sys/statvfs.h: Likewise.
78172 * include/sys/syslog.h: Likewise.
78173 * include/sys/time.h: Likewise.
78174 * include/sys/uio.h: Likewise.
78175 * include/time.h: Likewise.
78176 * include/unistd.h: Likewise.
78177 * include/utmp.h: Likewise.
78178 * include/wchar.h: Likewise.
78179 * include/wctype.h: Likewise.
78180 * inet/aliases.h: Likewise.
78181 * inet/arpa/inet.h: Likewise.
78182 * inet/netinet/ether.h: Likewise.
78183 * inet/netinet/in.h: Likewise.
78184 * intl/libintl.h: Likewise.
78185 * io/bits/fcntl2.h: Likewise.
78186 * io/fcntl.h: Likewise.
78187 * io/ftw.h: Likewise.
78188 * io/sys/poll.h: Likewise.
78189 * io/sys/stat.h: Likewise.
78190 * io/sys/statfs.h: Likewise.
78191 * io/sys/statvfs.h: Likewise.
78192 * io/utime.h: Likewise.
78193 * libio/bits/stdio.h: Likewise.
78194 * libio/bits/stdio2.h: Likewise.
78195 * libio/libio.h: Likewise.
78196 * libio/libioP.h: Likewise.
78197 * libio/stdio.h: Likewise.
78198 * locale/lc-ctype.c: Likewise.
78199 * locale/locale.h: Likewise.
78200 * login/utmp.h: Likewise.
78201 * malloc/arena.c: Likewise.
78202 * malloc/malloc.c: Likewise.
78203 * malloc/malloc.h: Likewise.
78204 * malloc/mcheck.c: Likewise.
78205 * malloc/mtrace.c: Likewise.
78206 * math/bits/mathcalls.h: Likewise.
78207 * math/fenv.h: Likewise.
78208 * math/math_private.h: Likewise.
78209 * misc/bits/error.h: Likewise.
78210 * misc/bits/syslog.h: Likewise.
78211 * misc/err.h: Likewise.
78212 * misc/error.h: Likewise.
78213 * misc/fstab.h: Likewise.
78214 * misc/mntent.h: Likewise.
78215 * misc/regexp.h: Likewise.
78216 * misc/search.h: Likewise.
78217 * misc/sgtty.h: Likewise.
78218 * misc/sys/mman.h: Likewise.
78219 * misc/sys/syslog.h: Likewise.
78220 * misc/sys/uio.h: Likewise.
78221 * misc/sys/xattr.h: Likewise.
78222 * misc/ttyent.h: Likewise.
78223 * nis/rpcsvc/ypclnt.h: Likewise.
78224 * nss/nss.h: Likewise.
78225 * posix/bits/unistd.h: Likewise.
78226 * posix/fnmatch.h: Likewise.
78227 * posix/glob.h: Likewise.
78228 * posix/sched.h: Likewise.
78229 * posix/spawn.h: Likewise.
78230 * posix/sys/wait.h: Likewise.
78231 * posix/unistd.h: Likewise.
78232 * posix/wordexp.h: Likewise.
78233 * pwd/pwd.h: Likewise.
78234 * resolv/netdb.h: Likewise.
78235 * resource/sys/resource.h: Likewise.
78236 * rt/aio.h: Likewise.
78237 * rt/bits/mqueue2.h: Likewise.
78238 * rt/mqueue.h: Likewise.
78239 * shadow/shadow.h: Likewise.
78240 * signal/signal.h: Likewise.
78241 * socket/send.c: Likewise.
78242 * socket/sendto.c: Likewise.
78243 * socket/sys/socket.h: Likewise.
78244 * stdio-common/printf.h: Likewise.
78245 * stdlib/bits/stdlib.h: Likewise.
78246 * stdlib/fmtmsg.h: Likewise.
78247 * stdlib/monetary.h: Likewise.
78248 * stdlib/stdlib.h: Likewise.
78249 * stdlib/ucontext.h: Likewise.
78250 * streams/stropts.h: Likewise.
78251 * string/argz.h: Likewise.
78252 * string/bits/string2.h: Likewise.
78253 * string/string.h: Likewise.
78254 * string/strings.h: Likewise.
78255 * sunrpc/rpc/auth.h: Likewise.
78256 * sunrpc/rpc/auth_des.h: Likewise.
78257 * sunrpc/rpc/clnt.h: Likewise.
78258 * sunrpc/rpc/netdb.h: Likewise.
78259 * sunrpc/rpc/pmap_clnt.h: Likewise.
78260 * sunrpc/rpc/xdr.h: Likewise.
78261 * sysdeps/generic/inttypes.h: Likewise.
78262 * sysdeps/generic/net/if.h: Likewise.
78263 * sysdeps/generic/sys/swap.h: Likewise.
78264 * sysdeps/gnu/net/if.h: Likewise.
78265 * sysdeps/gnu/utmpx.h: Likewise.
78266 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
78267 * sysdeps/i386/i486/bits/string.h: Likewise.
78268 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
78269 * sysdeps/s390/bits/string.h: Likewise.
78270 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
78271 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
78272 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
78273 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
78274 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
78275 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
78276 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
78277 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
78278 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
78279 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
78280 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
78281 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
78282 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
78283 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
78284 * sysdeps/unix/sysv/linux/readv.c: Likewise.
78285 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
78286 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
78287 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
78288 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
78289 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
78290 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
78291 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
78292 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
78293 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
78294 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
78295 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
78296 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
78297 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
78298 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
78299 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
78300 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
78301 * sysvipc/sys/ipc.h: Likewise.
78302 * sysvipc/sys/msg.h: Likewise.
78303 * sysvipc/sys/sem.h: Likewise.
78304 * sysvipc/sys/shm.h: Likewise.
78305 * termios/termios.h: Likewise.
78306 * time/sys/time.h: Likewise.
78307 * time/time.h: Likewise.
78308 * wcsmbs/bits/wchar2.h: Likewise.
78309 * wcsmbs/uchar.h: Likewise.
78310 * wcsmbs/wchar.h: Likewise.
78311 * wctype/wctype.h: Likewise.
78312
78313 [BZ #13551]
78314 * Makeconfig: Remove all but ELF support including AIX support.
78315 * Makerules: Likewise.
78316 * config.h.in: Likewise.
78317 * config.make.in: Likewise.
78318 * configure: Likewise.
78319 * configure.in: Likewise.
78320 * csu/Makefile: Likewise.
78321 * csu/version.c: Likewise.
78322 * debug/Makefile: Likewise.
78323 * dlfcn/Makefile: Likewise.
78324 * elf/Makefile: Likewise.
78325 * extra-lib.mk: Likewise.
78326 * iconv/Makefile: Likewise.
78327 * include/libc-symbols.h: Likewise.
78328 * include/shlib-compat.h: Likewise.
78329 * resolv/Makefile: Likewise.
78330 * resolv/res_libc.c: Likewise.
78331 * rt/Makefile: Likewise.
78332 * sysdeps/i386/asm-syntax.h: Likewise.
78333 * sysdeps/i386/sysdep.h: Likewise.
78334 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
78335 * sysdeps/mach/sysdep.h: Likewise.
78336 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
78337 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
78338 * sysdeps/s390/asm-syntax.h: Likewise.
78339 * sysdeps/s390/s390-32/sysdep.h: Likewise.
78340 * sysdeps/s390/s390-64/sysdep.h: Likewise.
78341 * sysdeps/sh/sysdep.h: Likewise.
78342 * sysdeps/unix/sparc/sysdep.h: Likewise.
78343 * sysdeps/wordsize-32/divdi3.c: Likewise.
78344 * sysdeps/x86_64/sysdep.h: Likewise.
78345
78346 * argp/Versions: Remove _argp_unlock_xxx.
78347
78348 [BZ #13559]
78349 * abilist/ld.abilist: Update. Adjust for removal of tls option.
78350 * abilist/libBrokenLocale.abilist: Likewise.
78351 * abilist/libanl.abilist: Likewise.
78352 * abilist/libc.abilist: Likewise.
78353 * abilist/libcrypt.abilist: Likewise.
78354 * abilist/libdl.abilist: Likewise.
78355 * abilist/libm.abilist: Likewise.
78356 * abilist/libnsl.abilist: Likewise.
78357 * abilist/libpthread.abilist: Likewise.
78358 * abilist/libresolv.abilist: Likewise.
78359 * abilist/librt.abilist: Likewise.
78360 * abilist/libthread_db.abilist: Likewise.
78361 * abilist/libutil.abilist: Likewise.
78362 * abilist/libnss_db.abilist: New file.
78363
78364 * scripts/abilist.awk: Add support for indirect functions.
78365
78366 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
78367
78368 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
78369
78370 * shlib-versions: Remove entries for ports architectures.
78371
78372 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
78373 files in ports.
78374 * elf/stackguard-macros.h: Remove support for IA-64.
78375 * elf/tst-auditmod1.c: Likewise.
78376 * sysdeps/generic/ldsodefs.h: Likewise.
78377
78378 * sysdeps/unix/sysv/linux/configure.in: Ports should define
78379 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
78380 configure files.
78381
78382 [BZ #13552]
78383 * configure.in: Remove --enable-omitfp support.
78384 * FAQ.in: Adjust.
78385 * config.make.in: Likewise.
78386 * Makeconfig: Likewise.
78387 * manual/install.texi: Likewise.
78388
78389 In case anyone cares, the IA-64 architecture could move to ports.
78390 * sysdeps/ia64/*: Removed.
78391 * sysdeps/unix/sysv/linux/ia64/*: Removed.
78392 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
78393
78394 [BZ #13555]
78395 * configure.in: Remove entries for unsupported architectures.
78396
78397 [BZ #13533]
78398 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
78399 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
78400 routines.
78401 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
78402 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
78403 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
78404 fall back to using wcrtomb.
78405 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
78406 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
78407 renaming.
78408 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
78409 * wcsmbs/tst-c16c32-1.c: New file.
78410
78411 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
78412 local variable.
78413
78414 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
78415
78416 * elf/tst-unique3.cc: Add explicit declaration of gets.
78417 * elf/tst-unique3lib.cc: Likewise.
78418 * elf/tst-unique3lib2.cc: Likewise.
78419 * elf/tst-unique4.cc: Likewise.
78420
78421 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
78422
78423 2012-01-06 Joseph Myers <joseph@codesourcery.com>
78424
78425 [BZ #13566]
78426 * assert/assert.h (static_assert): Don't define for C++.
78427 * libio/stdio.h (gets): Do declare for C++ <= C++11.
78428 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
78429
78430 2012-01-03 Ulrich Drepper <drepper@gmail.com>
78431
78432 * iconv/loop.c (single loop): Fix assertion in storing of
78433 remaining bytes.
78434
78435 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
78436
78437 2012-01-01 Ulrich Drepper <drepper@gmail.com>
78438
78439 * posix/getconf.c: Update copyright year.
78440 * nss/getent.c: Likewise.
78441 * nss/makedb.c: Likewise.
78442 * iconv/iconvconfig.c: Likewise.
78443 * iconv/iconv_prog.c: Likewise.
78444 * elf/ldconfig.c: Likewise.
78445 * elf/pldd.c: Likewise.
78446 * elf/sotruss.ksh: Likewise.
78447 * catgets/gencat.c: Likewise.
78448 * csu/version.c: Likewise.
78449 * elf/ldd.bash.in: Likewise.
78450 * elf/sprof.c (print_version): Likewise.
78451 * locale/programs/locale.c: Likewise.
78452 * locale/programs/localedef.c: Likewise.
78453 * login/programs/pt_chown.c: Likewise.
78454 * nscd/nscd.c (print_version): Likewise.
78455 * debug/xtrace.sh: Likewise.
78456 * malloc/memusage.sh: Likewise.
78457 * malloc/mtrace.pl: Likewise.
78458 * debug/catchsegv.sh: Likewise.
78459
78460 2011-12-30 Jakub Jelinek <jakub@redhat.com>
78461
78462 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
78463 pure attribute.
78464
78465 2011-12-24 Ulrich Drepper <drepper@gmail.com>
78466
78467 [BZ #13533]
78468 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
78469 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
78470 transformations.
78471 * iconv/gconv_int.h: Likewise.
78472 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
78473 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
78474 from libc for GLIBC_2.16.
78475 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
78476 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
78477 * wcsmbs/uchar.h: Really define mbstate_t.
78478 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
78479 * wcsmbs/c16rtomb.c: New file.
78480 * wcsmbs/mbrtoc16.c: New file.
78481 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
78482 for C/POSIX locale.
78483 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
78484 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
78485
78486 * wcsmbs/wchar.h: Add missing __restrict.
78487
78488 2011-12-23 Ulrich Drepper <drepper@gmail.com>
78489
78490 [BZ #13532]
78491 * time/Makefile (routines): Add timespec_get.
78492 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
78493 * time/time.h: Define TIME_UTC and declare timespec_get. Define
78494 timespec for ISO C11.
78495 * time/timespec_get.c: New file.
78496 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
78497 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
78498
78499 [BZ #13531]
78500 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
78501 * stdlib/stdlib.h: Declare aligned_alloc.
78502 * Versions.def: Add GLIBC_2.16 for libc.
78503 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
78504
78505 [BZ 13527]
78506 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
78507 ISO C11.
78508
78509 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
78510 code.
78511
78512 [BZ #13528]
78513 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
78514
78515 [BZ #13529]
78516 * assert/assert.h (static_assert): Define.
78517
78518 * version.h: Update for 2.16 development version.
78519
78520 [BZ #13526]
78521 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
78522 _ISOC11_SOURCE.
78523
78524 * version.h (RELEASE): Bump for 2.15 release.
78525 * include/features.h (__GLIBC_MINOR__): Bump to 15.
78526
78527 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
78528 Patch by Marek Polacek <mpolacek@redhat.com>.
78529
78530 * bits/byteswap.h: Protect long long constants with __extension__.
78531 * sysdeps/i386/bits/byteswap.h: Likewise.
78532 * sysdeps/ia64/bits/byteswap.h: Likewise.
78533 * sysdeps/s390/bits/byteswap.h: Likewise.
78534 * sysdeps/x86_64/bits/byteswap.h: Likewise.
78535
78536 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
78537
78538 [BZ #13540]
78539 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
78540 destination buffer.
78541 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
78542
78543 2011-12-23 Marek Polacek <polacek@redhat.com>
78544
78545 * elf/dl-addr.c (determine_info): Add inline keyword.
78546 * elf/tst-auditmod4b.c (check_avx): Likewise.
78547 * elf/tst-auditmod6b.c (check_avx): Likewise.
78548 * elf/tst-auditmod6c.c (check_avx): Likewise.
78549 * elf/tst-auditmod7b.c (check_avx): Likewise.
78550
78551 2011-12-23 Ulrich Drepper <drepper@gmail.com>
78552
78553 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
78554 !__SSE_MATH__.
78555
78556 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
78557
78558 [BZ #13540]
78559 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
78560 processing for last bytes.
78561
78562 2011-08-06 Bruno Haible <bruno@clisp.org>
78563
78564 [BZ #13061]
78565 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
78566 U+0385, not to U+1FEE.
78567
78568 [BZ #13062]
78569 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
78570 entry for U+00A5 U+0301.
78571
78572 2011-12-22 Ulrich Drepper <drepper@gmail.com>
78573
78574 [BZ #13166]
78575 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
78576 buffer for the output is too small.
78577
78578 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
78579 optimization.
78580
78581 [BZ #13185]
78582 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
78583 SSE flags if possible.
78584
78585 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
78586
78587 [BZ #13540]
78588 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
78589 processing for last bytes.
78590
78591 2011-12-22 Joseph Myers <joseph@codesourcery.com>
78592
78593 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
78594 (syscall-list-default-options, syscall-list-default-condition)
78595 (syscall-list-includes): Define.
78596 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
78597 list of ABIs and options and #if conditions for each ABI. Do not
78598 handle common syscalls between ABIs specially.
78599 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
78600 Remove.
78601 (syscall-list-variants, syscall-list-32bit-options)
78602 (syscall-list-32bit-condition, syscall-list-64bit-options)
78603 (syscall-list-64bit-condition): Define.
78604 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
78605 (syscall-list-variants, syscall-list-32bit-options)
78606 (syscall-list-32bit-condition, syscall-list-64bit-options)
78607 (syscall-list-64bit-condition): Define.
78608 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
78609 Remove.
78610 (syscall-list-variants, syscall-list-32bit-options)
78611 (syscall-list-32bit-condition, syscall-list-64bit-options)
78612 (syscall-list-64bit-condition): Define.
78613 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
78614 Remove.
78615 (syscall-list-variants, syscall-list-32bit-options)
78616 (syscall-list-32bit-condition, syscall-list-64bit-options)
78617 (syscall-list-64bit-condition): Define.
78618
78619 2011-12-22 Ulrich Drepper <drepper@gmail.com>
78620
78621 * locale/iso-639.def: Add brx entry.
78622
78623 [BZ #13328]
78624 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
78625 Proposed by Mariusz_Cukr <marcukr@op.pl>.
78626
78627 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
78628 __feraiseexcept_renamed.
78629
78630 2011-12-21 Ulrich Drepper <drepper@gmail.com>
78631
78632 [BZ #13538]
78633 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
78634 EPOLLET with unsigned values.
78635 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
78636 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
78637
78638 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
78639 to large cancellation.
78640 * math/s_cacoshf.c: Likewise.
78641 * math/s_cacoshl.c: Likewise.
78642
78643 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
78644
78645 [BZ #13305]
78646 [BZ #12786]
78647 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
78648 * math/s_cacoshf.c: Likewise.
78649 * math/s_cacoshl.c: Likewise.
78650
78651 2011-12-21 Ulrich Drepper <drepper@gmail.com>
78652
78653 [BZ #13439]
78654 * iconv/gconv.h: Define __GCONV_SWAP.
78655 * iconvdata/unicode.c: The swap bit must be stored in __flags.
78656 * iconvdata/utf-16.c: Likewise.
78657 * iconvdata/utf-32.c: Likewise.
78658
78659 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
78660
78661 [BZ #13524]
78662 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
78663 numerator after shifting it by one limb.
78664
78665 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
78666
78667 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
78668 under [__USE_EXTERN_INLINES].
78669
78670 2011-12-17 Ulrich Drepper <drepper@gmail.com>
78671
78672 [BZ #13446]
78673 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
78674
78675 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
78676
78677 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
78678 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
78679 optimized code.
78680 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
78681 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
78682 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
78683 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
78684 for strncasecmp/strncasecmp_l compilation.
78685 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
78686 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
78687
78688 2011-12-08 Marek Polacek <mpolacek@redhat.com>
78689
78690 [BZ #13484]
78691 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
78692 of __asm__.
78693
78694 2011-12-17 Ulrich Drepper <drepper@gmail.com>
78695
78696 [BZ #13506]
78697 * time/tzfile.c (__tzfile_read): Check values from file header.
78698
78699 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
78700
78701 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
78702 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
78703 * powerpc/powerpc32/dl-start.S: Likewise.
78704 * powerpc/powerpc32/elf/start.S: Likewise.
78705 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
78706 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
78707 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
78708 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
78709 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
78710 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
78711 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
78712 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
78713 * powerpc/powerpc32/fpu/s_round.S: Likewise.
78714 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
78715 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
78716 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
78717 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
78718 * powerpc/powerpc32/memset.S: Likewise.
78719 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
78720 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
78721 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
78722 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
78723 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
78724 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
78725 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
78726 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
78727 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
78728 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
78729 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
78730 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
78731 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
78732
78733 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
78734
78735 * math/libm-test.inc: Added more nearbyint tests.
78736 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
78737 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
78738 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
78739 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
78740
78741 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
78742
78743 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
78744 FD_CLOEXEC.
78745
78746 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
78747
78748 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
78749 Add wcscpy-ssse3 wcscpy-c.
78750 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
78751 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
78752 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
78753 * sysdeps/x86_64/wcschr.S: New file.
78754 * sysdeps/x86_64/wcsrchr.S: New file.
78755 * string/test-strcmp.c: Remove checking of wcscmp function for
78756 wrong alignments.
78757 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
78758 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
78759 wcsrchr-sse2 wcsrchr-c.
78760 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
78761 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
78762 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
78763 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
78764 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
78765 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
78766 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
78767 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
78768 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
78769 * wcsmbc/wcschr.c (WCSCHR): New macro.
78770
78771 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
78772
78773 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
78774 * wcsmbs/test-wcsrchr.c: New file.
78775 * string/test-strrchr.c: Add wcsrchr support.
78776 (WIDE): New macro.
78777 * wcsmbs/test-wcscpy.c: New file.
78778 * string/test-strcpy.c: Add wcscpy support.
78779 (WIDE): New macro.
78780
78781 2011-12-10 Ulrich Drepper <drepper@gmail.com>
78782
78783 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
78784 the inner loop.
78785
78786 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
78787
78788 [BZ #13472]
78789 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
78790
78791 2011-12-04 Ulrich Drepper <drepper@gmail.com>
78792
78793 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
78794 Minor optimizations.
78795
78796 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
78797 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
78798 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
78799
78800 2011-12-03 Ulrich Drepper <drepper@gmail.com>
78801
78802 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
78803 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
78804 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
78805 for gcc to avoid warnings.
78806 * inet/Makefile (tests): Add tst-checks.
78807 * inet/tst-checks.c: New file.
78808
78809 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
78810 warning.
78811
78812 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
78813 __wmemcmp_sse2.
78814
78815 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
78816 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
78817
78818 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
78819
78820 2011-12-02 Ulrich Drepper <drepper@gmail.com>
78821
78822 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
78823 problem.
78824
78825 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
78826
78827 2011-11-29 Joseph Myers <joseph@codesourcery.com>
78828
78829 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
78830 conditional on GCC version.
78831 (__arch_compare_and_exchange_val_8_acq)
78832 (__arch_compare_and_exchange_val_16_acq)
78833 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
78834 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
78835 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
78836
78837 2011-12-02 Joseph Myers <joseph@codesourcery.com>
78838
78839 * sysdeps/sh/backtrace.c: New file.
78840
78841 2011-12-02 Andreas Schwab <schwab@redhat.com>
78842
78843 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
78844 parenthesis.
78845
78846 2011-12-01 Andreas Schwab <schwab@redhat.com>
78847
78848 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
78849 falling back to utime.
78850
78851 2011-11-30 Andreas Schwab <schwab@redhat.com>
78852
78853 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
78854 expectations for float.
78855
78856 2011-11-29 Andreas Schwab <schwab@redhat.com>
78857
78858 * locale/weight.h (findidx): Add parameter len.
78859 * locale/weightwc.h (findidx): Likewise.
78860 * posix/fnmatch_loop.c (FCT): Adjust caller.
78861 * posix/regcomp.c (build_equiv_class): Likewise.
78862 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
78863 * posix/regexec.c (check_node_accept_bytes): Likewise.
78864 * string/strcoll_l.c (STRCOLL): Likewise.
78865 * string/strxfrm_l.c (STRXFRM): Likewise.
78866
78867 2011-11-17 Ulrich Drepper <drepper@gmail.com>
78868
78869 * Makefile.in: Remove CVSOPT handling.
78870 * configure.in: Remove use of AC_REVISION.
78871 * iconvdata/Makefile (distribute): No need to filter out CVS.
78872 * scripts/list-sources.sh: Remove CVS, subversion and monotone
78873 handling.
78874
78875 2011-11-16 Andreas Schwab <schwab@redhat.com>
78876
78877 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
78878 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
78879 [USE_AS_STRNCASECMP_L]: Likewise.
78880 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
78881 NO_TLS_DIRECT_SEG_REFS.
78882 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
78883 Fix argument offsets for non-PIC.
78884 [USE_AS_STRNCASECMP_L]: Likewise.
78885 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
78886 NO_TLS_DIRECT_SEG_REFS.
78887
78888 2011-11-15 Ulrich Drepper <drepper@gmail.com>
78889
78890 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
78891 O_CLOEXEC.
78892 * locale/loadlocale.c (_nl_load_locale): Likewise.
78893
78894 2011-11-15 Andreas Schwab <schwab@redhat.com>
78895
78896 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
78897 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
78898 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
78899 (SYSCALL_GETTIME): Set errno on error.
78900
78901 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
78902 count references to noai6ai_cached.
78903
78904 2011-11-15 Ulrich Drepper <drepper@gmail.com>
78905
78906 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
78907
78908 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
78909 FD_CLOEXEC for /proc/self/maps.
78910
78911 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
78912 FD_CLOEXEC for /proc/meminfo.
78913
78914 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
78915 gai.conf.
78916
78917 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
78918 FD_CLOEXEC for given file.
78919
78920 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
78921
78922 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
78923 FD_CLOEXEC for /etc/hosts.
78924 (_gethtent): Likewise.
78925
78926 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
78927
78928 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
78929 cancellation and set FD_CLOEXEC for /etc/netgroup.
78930
78931 * nss/nss_files/files-key.c (search): Don't allow cancellation when
78932 reading /etc/publickey.
78933
78934 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
78935 allow cancellation when reading /etc/group.
78936
78937 * nss/nss_files/files-alias.c (internal_setent): Don't allow
78938 cancellation.
78939 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
78940
78941 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
78942 when using data file.
78943
78944 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
78945
78946 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
78947 (write_nis_obj): Use "c" and "e" in fopen.
78948
78949 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
78950
78951 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
78952
78953 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
78954
78955 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
78956
78957 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
78958 locale.alias.
78959
78960 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
78961
78962 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
78963
78964 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
78965
78966 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
78967 file parsing and set FD_CLOEXEC.
78968
78969 2011-11-14 Ulrich Drepper <drepper@gmail.com>
78970
78971 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
78972
78973 2011-11-14 Andreas Schwab <schwab@redhat.com>
78974
78975 * malloc/arena.c (arena_get2): Don't call reused_arena when
78976 _int_new_arena failed.
78977
78978 2011-11-14 Ulrich Drepper <drepper@gmail.com>
78979
78980 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
78981 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
78982 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
78983 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
78984 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
78985 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
78986 to compile strcasecmp and strncasecmp.
78987 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
78988 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
78989
78990 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
78991
78992 2011-11-13 Ulrich Drepper <drepper@gmail.com>
78993
78994 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
78995 locale-defines.sym to gen-as-const-headers.
78996 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
78997 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
78998 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
78999 to compile strcasecmp and strncasecmp.
79000 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
79001 strcasecmp_l and strncasecmp_l.
79002 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
79003 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
79004 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
79005 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
79006 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
79007 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
79008 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
79009 * sysdeps/i386/i686/multiarch/strncase.S: New file.
79010 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
79011 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
79012 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
79013
79014 2011-11-12 Ulrich Drepper <drepper@gmail.com>
79015
79016 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
79017 result of SYSDEP_GETTIME_CPU to retval.
79018 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
79019 parameter list to macro. Remove trailing semicolon. Adjust users.
79020
79021 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
79022 variable.
79023
79024 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
79025 mantissa words.
79026 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
79027
79028 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
79029 from unused variable.
79030
79031 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
79032 DWARF definitions.
79033 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
79034 for assembling.
79035
79036 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
79037 over namespaces.
79038
79039 * sunrpc/rpc_prot.c (rejected): Fix case value.
79040
79041 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
79042 unsigned long long int to avoid warnings in shift.
79043
79044 * posix/regex_internal.c (re_string_reconstruct): Actually use result
79045 of use of trans.
79046 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
79047 variable tmp.
79048
79049 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
79050 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
79051 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
79052
79053 * nis/nis_table.c (nis_list): Use variable of correct type for
79054 result of __follow_path call.
79055
79056 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79057
79058 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
79059 of math functions ceil, trunc, floor, round, and sqrt, when
79060 avaliable on the platform.
79061 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
79062 name clash.
79063 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
79064 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
79065 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
79066
79067 2011-10-30 Marek Polacek <mpolacek@redhat.com>
79068
79069 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
79070 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
79071
79072 2011-11-11 Roland McGrath <roland@hack.frob.com>
79073
79074 * include/unistd.h: Fix __readlink return type.
79075 Reported by Chris Metcalf <cmetcalf@tilera.com>.
79076
79077 2011-11-11 Ulrich Drepper <drepper@gmail.com>
79078
79079 * stdlib/ucontext.h: Undo last change for makecontext.
79080
79081 2011-11-11 Andreas Schwab <schwab@redhat.com>
79082
79083 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
79084
79085 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
79086 * setjmp/setjmp.h: Mark functions as non-leaf.
79087 * setjmp/bits/setjmp2.h: Likewise.
79088 * stdlib/ucontext.h: Likewise.
79089
79090 2011-11-10 Andreas Schwab <schwab@redhat.com>
79091
79092 * malloc/arena.c (_int_new_arena): Don't increment narenas.
79093 (reused_arena): Don't check arena limit.
79094 (arena_get2): Atomically check arena limit.
79095
79096 2011-11-08 Ulrich Drepper <drepper@gmail.com>
79097
79098 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
79099 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
79100
79101 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
79102 instructions.
79103
79104 2011-11-07 Andreas Schwab <schwab@redhat.com>
79105
79106 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
79107 handler when locking.
79108
79109 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
79110 Fix size of allocated buffer.
79111
79112 2011-11-04 Andreas Schwab <schwab@redhat.com>
79113
79114 [BZ #10103]
79115 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
79116 declarations for long double functions.
79117 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
79118
79119 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
79120
79121 2011-11-03 Andreas Schwab <schwab@redhat.com>
79122
79123 * nscd/nscd.c (main): Don't start AVC thread until credentials are
79124 installed.
79125
79126 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
79127 is disabled.
79128
79129 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
79130
79131 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
79132
79133 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
79134
79135 * include/alloca.h (stackinfo_alloca_round): Define.
79136 (extend_alloca): Use it.
79137 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
79138 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
79139 here.
79140
79141 * scripts/check-local-headers.sh: Ignore libaudit.h.
79142
79143 * nscd/Makefile (extra-objs): Make recursively expanded.
79144
79145 2011-11-01 Ulrich Drepper <drepper@gmail.com>
79146
79147 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
79148 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
79149
79150 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
79151 * posix/tst-rfc3484-2.c: Likewise.
79152 * posix/tst-rfc3484-3.c: Likewise.
79153
79154 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
79155 process_vm_writev.
79156 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
79157 process_vm_writev.
79158 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
79159 process_vm_writev from libc using GLIBC_2.15 version.
79160
79161 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
79162
79163 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
79164
79165 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
79166 stack usage.
79167
79168 2011-10-31 Ulrich Drepper <drepper@gmail.com>
79169
79170 [BZ #13367]
79171 * nss/getent.c (initgroups_keys): Show error message in case no group
79172 names are given.
79173
79174 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
79175 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
79176 __bump_nl_timestamp.
79177 * nscd/connections (nscd_init): When host database is served open
79178 netlink socket and request notification about configuration changes.
79179 (main_loop_poll): Track netlink file descriptor and bump timestamp
79180 in case data becomes available.
79181 (main_loop_epoll): Likewise.
79182 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
79183 (database_pers_head): Add extra_data fileds.
79184 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
79185 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
79186 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
79187 Adjust caller.
79188 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
79189 in6ai data, call __free_in6ai.
79190 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
79191 Add -DHAVE_NETLINK.
79192 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
79193 interface information. Reuse previous data if netlink timestamp
79194 is not changed.
79195 (__bump_nl_timestamp): New function.
79196 (__free_in6ai): New function.
79197
79198 2011-10-30 Ulrich Drepper <drepper@gmail.com>
79199
79200 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
79201 close_not_cancel_no_status here.
79202 (__check_pf): Reorganize code a bit to not call close twice if OOM.
79203
79204 2011-10-29 Ulrich Drepper <drepper@gmail.com>
79205
79206 [BZ #13276]
79207 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
79208 return value.
79209
79210 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
79211 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
79212 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
79213
79214 2011-07-03 Andreas Jaeger <aj@suse.de>
79215
79216 [BZ #10709]
79217 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
79218 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
79219 * math/libm-test.inc (sin_test): Add test case.
79220
79221 2011-10-29 Ulrich Drepper <drepper@gmail.com>
79222
79223 [BZ #13337]
79224 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
79225 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
79226
79227 * elf/chroot_canon.c (chroot_canon): Cleanups.
79228
79229 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
79230
79231 [BZ #13335]
79232 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
79233 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
79234
79235 * string/test-strchr.c: Make usable for strchrnul testing.
79236 * string/test-strchrnul.c: New file.
79237 * string/Makefile (strop-tests): Add strchrnul.
79238
79239 * po/it.po: Update from translation team.
79240 * po/es.po: Likewise.
79241
79242 2011-10-28 Ulrich Drepper <drepper@gmail.com>
79243
79244 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
79245 the three constants needed as parameters. Drop the others.
79246 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
79247 __m128i_strloadu_tolower.
79248 Create and initialize variable zero and use it in all the places
79249 where _mm_setzero_si128 was used.
79250
79251 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
79252 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
79253 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
79254 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
79255 anymore.
79256 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
79257 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
79258 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
79259 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
79260 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
79261 __mpranred, __mptan.
79262 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
79263 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
79264 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
79265 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
79266 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
79267 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
79268 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
79269 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
79270 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
79271
79272 2011-10-28 Andreas Schwab <schwab@redhat.com>
79273
79274 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
79275 redefine if SHARED.
79276 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
79277
79278 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
79279 wide char related routines to wcsmbs subdir.
79280
79281 2011-10-27 Andreas Schwab <schwab@redhat.com>
79282
79283 [BZ #13344]
79284 * misc/sys/cdefs.h (__THROWNL): Define.
79285 * posix/unistd.h: Use __THREADNL instead of __THREAD
79286 for memory synchronization functions.
79287
79288 2011-10-26 Roland McGrath <roland@hack.frob.com>
79289
79290 [BZ #13349]
79291 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
79292 doesn't exist.
79293 * manual/stdio.texi (Obstack Streams): Node removed.
79294
79295 2011-10-26 Andreas Schwab <schwab@redhat.com>
79296
79297 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
79298 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
79299 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
79300
79301 * math/math_private.h (math_force_eval): Allow non-addressable
79302 arguments.
79303 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
79304
79305 2011-10-25 Ulrich Drepper <drepper@gmail.com>
79306
79307 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
79308 file is not needed.
79309
79310 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
79311 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
79312 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
79313 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
79314 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
79315 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
79316 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
79317 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
79318 Add AVX variants.
79319 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
79320 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
79321 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
79322 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
79323 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
79324 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
79325 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
79326 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
79327 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
79328 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
79329 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
79330 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
79331 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
79332 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
79333 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
79334 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
79335 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
79336 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
79337 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
79338
79339 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
79340 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
79341
79342 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
79343 place. Use VEX encoding when compiling for AVX.
79344
79345 2011-10-25 Andreas Schwab <schwab@redhat.com>
79346
79347 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
79348 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
79349
79350 * string/test-strchr.c (do_test): Don't generate NUL bytes.
79351
79352 2011-10-25 Ulrich Drepper <drepper@gmail.com>
79353
79354 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
79355 useless if() expression.
79356 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
79357 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
79358 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
79359 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
79360 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
79361 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
79362 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
79363 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
79364 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
79365 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
79366 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
79367 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
79368 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
79369 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
79370 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
79371 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
79372 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
79373 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
79374 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
79375
79376 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
79377
79378 2011-10-25 Andreas Schwab <schwab@redhat.com>
79379
79380 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
79381 condition.
79382 * elf/dl-fini.c (_dl_sort_fini): Likewise.
79383
79384 2011-10-25 Ulrich Drepper <drepper@gmail.com>
79385
79386 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
79387 .text section. Avoid duplicate constants.
79388 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
79389 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
79390 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
79391 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
79392 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
79393 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
79394 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
79395 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
79396 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
79397 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
79398 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
79399 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
79400 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
79401 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
79402 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
79403 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
79404 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
79405 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
79406 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
79407 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
79408 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
79409 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
79410 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
79411 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
79412 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
79413 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
79414 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
79415 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
79416 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
79417 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
79418 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
79419 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
79420 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
79421 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
79422 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
79423 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
79424 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
79425 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
79426 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
79427 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
79428 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
79429 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
79430 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
79431 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
79432 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
79433
79434 2011-10-24 Ulrich Drepper <drepper@gmail.com>
79435
79436 * sysdeps/x86_64/dla.h: Move to ...
79437 * sysdeps/x86_64/fpu/dla.h: ...here.
79438 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
79439 situations. Use __builtin_fma only for gcc 4.6 and up.
79440
79441 * config.make.in: Add have-mfma4 entry.
79442 * configure.in: Substitute libc_cv_cc_fma4.
79443 * math/Makefile (dbl-only-routines): Add sincostab.
79444 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
79445 Use __sincostab not sincos.
79446 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
79447 name is a macro.
79448 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
79449 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
79450 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
79451 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
79452 using __copysign.
79453 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
79454 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
79455 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
79456 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
79457 and __inv.
79458 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
79459 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
79460 __copysign.
79461 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
79462 define aliases when function name is a macro.
79463 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
79464 sysdeps/ieee754/dbl-64/sincos.tbl.
79465 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
79466 fma4-enabled routines.
79467 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
79468 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
79469 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
79470 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
79471 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
79472 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
79473 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
79474 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
79475 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
79476 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
79477 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
79478 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
79479 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
79480 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
79481 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
79482 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
79483 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
79484 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
79485 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
79486 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
79487 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
79488 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
79489 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
79490 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
79491 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
79492 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
79493 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
79494 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
79495 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
79496 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
79497
79498 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
79499 rename.
79500 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
79501 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
79502 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
79503 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
79504 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
79505 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
79506 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
79507 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
79508
79509 2011-10-24 Andreas Schwab <schwab@redhat.com>
79510
79511 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
79512
79513 2011-10-23 Ulrich Drepper <drepper@gmail.com>
79514
79515 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
79516
79517 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
79518 prediction.
79519 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
79520
79521 * string/strnlen.c: Don't define STRNLEN, reverse logic.
79522 Remove unused variable magic_bits.
79523 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
79524
79525 * string/strnlen.c: Define and use STRNLEN macro.
79526 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
79527 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
79528 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
79529 * wcsmbs/wcslen.c: Define and use WCSLEN.
79530 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
79531 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
79532 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
79533 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
79534 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
79535 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
79536 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
79537
79538 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79539
79540 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79541 strnlen-sse2-no-bsf.
79542 Rename strlen-no-bsf to strlen-sse2-no-bsf.
79543 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
79544 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
79545 Add strnlen support.
79546 (USE_AS_STRNLEN): New macro.
79547 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
79548 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
79549 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
79550 * sysdeps/x86_64/wcslen.S: New file.
79551
79552 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
79553
79554 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
79555 XMM-moves are used for copying on small sizes.
79556
79557 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79558
79559 * wcsmbs/Makefile (strop-tests): Add wcschr.
79560 * wcsmbs/test-wcschr.c: New file.
79561 * string/test-strchr.c: Update.
79562 Add wcschr support.
79563 (WIDE): New macro.
79564
79565 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79566
79567 * wcsmbs/Makefile (strop-tests): Add wcslen.
79568 * wcsmbs/test-wcslen.c: New file.
79569 * string/test-strlen.c: Update.
79570 Add wcslen support.
79571 (WIDE): New macro.
79572
79573 2011-10-23 Ulrich Drepper <drepper@gmail.com>
79574
79575 * po/it.po: Update from translation team.
79576
79577 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79578
79579 * sysdeps/x86_64/wcscmp.S: Update.
79580 Fix wrong comparison semantics.
79581 wcscmp shall use signed comparison not unsigned.
79582 Don't use substraction to avoid overflow bug.
79583 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
79584 * wcsmbc/wcscmp.c: Likewise.
79585 * string/test-strcmp.c: Likewise.
79586 Add new tests to check cases with negative values.
79587
79588 2011-10-23 Ulrich Drepper <drepper@gmail.com>
79589
79590 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
79591 * sysdeps/x86_64/dla.h: ...here. New file.
79592 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
79593 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
79594 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
79595 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
79596 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
79597 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
79598 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
79599 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
79600 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
79601
79602 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
79603
79604 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
79605 __ynl_finite aliases.
79606
79607 2011-10-22 Ulrich Drepper <drepper@gmail.com>
79608
79609 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
79610
79611 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
79612 define DLA_FMA.
79613 [DLA_FMA] (EMULV): Use DLA_FMA.
79614 [DLA_FMA] (MUL12): Use EMULV.
79615 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
79616 that are not needed.
79617 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
79618 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
79619 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
79620 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
79621 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
79622 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
79623 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
79624
79625 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
79626
79627 * math/s_nan.c: Undef __nan.
79628 * math/s_nanf.c: Undef __nanf.
79629 * math/s_nanl.c: Undef __nanl.
79630 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
79631 "math_private.h".
79632
79633 2011-10-22 Ulrich Drepper <drepper@gmail.com>
79634
79635 * math/s_catan.c: Add branch predictions.
79636 * math/s_catanf.c: Likewise.
79637 * math/s_catanh.c: Likewise.
79638 * math/s_catanhf.c: Likewise.
79639 * math/s_catanhl.c: Likewise.
79640 * math/s_catanl.c: Likewise.
79641 * math/s_cexp.c: Likewise.
79642 * math/s_cexpf.c: Likewise.
79643 * math/s_cexpl.c: Likewise.
79644 * math/s_clog.c: Likewise.
79645 * math/s_clog10.c: Likewise.
79646 * math/s_clog10f.c: Likewise.
79647 * math/s_clog10l.c: Likewise.
79648 * math/s_clogf.c: Likewise.
79649 * math/s_clogl.c: Likewise.
79650 * math/s_csqrt.c: Likewise.
79651 * math/s_csqrtf.c: Likewise.
79652 * math/s_csqrtl.c: Likewise.
79653 * math/s_ctanf.c: Likewise.
79654 * math/s_ctanh.c: Likewise.
79655 * math/s_ctanhf.c: Likewise.
79656 * math/s_ctanhl.c: Likewise.
79657 * math/s_ctanl.c: Likewise.
79658
79659 * math/math_private.h: Define __nan, __nanf, __nanl.
79660 * math/s_cacosh.c: Include <math_private.h>.
79661 * math/s_cacoshl.c: Likewise.
79662 * math/s_casinh.c: Likewise.
79663 * math/s_casinhf.c: Likewise.
79664 * math/s_casinhl.c: Likewise.
79665 * math/s_ccos.c: Rely entire on ccosh.
79666 * math/s_ccosf.c: Rely entire on ccoshf.
79667 * math/s_ccosl.c: Rely entirely on ccoshl.
79668 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
79669 Remove tests for FE_INVALID.
79670 * math/s_ccoshf.c: Likewise.
79671 * math/s_ccoshl.c: Likewise.
79672 * math/s_csin.c: Likewise.
79673 * math/s_csinf.c: Likewise.
79674 * math/s_csinh.c Likewise.
79675 * math/s_csinhf.c: Likewise.
79676 * math/s_csinhl.c: Likewise.
79677 * math/s_csinl.c: Likewise.
79678 * math/s_ctan.c: Likewise.
79679 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
79680 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
79681 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
79682
79683 2011-10-21 Ulrich Drepper <drepper@gmail.com>
79684
79685 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
79686 compilation problems.
79687
79688 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
79689 __builtin_expect.
79690
79691 2011-10-20 Ulrich Drepper <drepper@gmail.com>
79692
79693 * sysdeps/i386/configure.in: Test for -mfma4 option.
79694 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
79695 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
79696 COMMON_CPUID_INDEX_80000001.
79697 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
79698 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
79699 use it if FMA3 is not supported.
79700 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
79701
79702 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
79703 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
79704
79705 2011-10-20 Andreas Schwab <schwab@redhat.com>
79706
79707 [BZ #12892]
79708 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
79709 it would create a cycle with a link time dependency.
79710
79711 2011-10-19 Ulrich Drepper <drepper@gmail.com>
79712
79713 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
79714 instruction.
79715 * string/Makefile (strop-tests): Add rawmemchr.
79716 * string/test-rawmemchr.c: New file.
79717
79718 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
79719 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
79720 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
79721 when compiling str{,n}casecmp and when AVX is available. Hook up
79722 new optimized code in initializers.
79723
79724 2011-10-19 Andreas Schwab <schwab@redhat.com>
79725
79726 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
79727 __feraiseexcept instead of feraiseexcept.
79728
79729 2011-10-18 Ulrich Drepper <drepper@gmail.com>
79730
79731 * math/math_private.h: Define defaults for libc_fetestexcept and
79732 libc_feupdateenv.
79733 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
79734 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
79735 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
79736 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
79737 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
79738 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
79739 libc_fetestexcept and libc_feupdateenv.
79740
79741 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
79742 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
79743 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
79744 * sysdeps/x86_64/fpu/math_private.h: Define special version of
79745 libc_feholdexcept_setround.
79746
79747 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
79748 Add s_nearbyint-c and s_nearbyintf-c.
79749 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
79750 nearbyintf inlines.
79751 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
79752 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
79753 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
79754 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
79755
79756 * math/math_private.h: Define defaults for libc_fegetround,
79757 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
79758 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
79759 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
79760 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
79761 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
79762 standard functions.
79763 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
79764 Remove comments and hacks for old compiler versions.
79765 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
79766 libc_fegetround, libc_fesetround, libc_feholdexcept, and
79767 libc_feholdexceptl.
79768
79769 2011-10-18 Andreas Schwab <schwab@redhat.com>
79770
79771 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
79772 (__feraiseexcept_renamed): Add __NTH.
79773 (feraiseexcept): Add __NTH. Rename local variables to fix
79774 namespace violations.
79775
79776 2011-10-17 Ulrich Drepper <drepper@gmail.com>
79777
79778 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
79779
79780 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
79781
79782 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
79783 recently added interfaces.
79784 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
79785
79786 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
79787 about macro parameter expansion.
79788
79789 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
79790 __NO_MATH_INLINES is defined. Cleanups.
79791
79792 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
79793 and __floorf is target has SSE4.1.
79794 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
79795 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
79796 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
79797 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
79798
79799 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
79800 name.
79801 (floorf): Likewise.
79802
79803 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
79804
79805 2011-10-17 Andreas Schwab <schwab@redhat.com>
79806
79807 * misc/sys/cdefs.h: Fix last change.
79808
79809 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
79810 database lookup.
79811
79812 2011-10-16 Ulrich Drepper <drepper@gmail.com>
79813
79814 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
79815
79816 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
79817 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
79818 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
79819 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
79820 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
79821 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
79822 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
79823 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
79824 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
79825 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
79826 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
79827 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
79828 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
79829 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
79830 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
79831 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
79832 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
79833 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
79834 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
79835 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
79836 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
79837 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
79838
79839 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
79840 ceil, ceilf, floor, floorf.
79841
79842 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
79843 Perform IRELATIVE relocations last.
79844
79845 * elf/do-rel.h: Add another parameter nrelative, replacing the
79846 local variable with the same name. Change name of the function
79847 to end in Rel or Rela (uppercase).
79848 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
79849 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
79850 elf_dynamic_do_##reloc function.
79851
79852 2011-10-15 Ulrich Drepper <drepper@gmail.com>
79853
79854 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
79855 is sufficient, at least on modern CPUs.
79856
79857 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
79858
79859 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
79860 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
79861
79862 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
79863 __expl_finite.
79864 * math/bits/math-finite.h: Add entries for exp.
79865 * math/e_expl.c: Add __*_finite alias.
79866 * sysdeps/i386/fpu/e_exp.S: Likewise.
79867 * sysdeps/i386/fpu/e_expf.S: Likewise.
79868 * sysdeps/i386/fpu/e_expl.c: Likewise.
79869 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
79870 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
79871 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
79872 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
79873 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
79874 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
79875 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
79876
79877 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
79878 is sufficient, at least on modern CPUs.
79879
79880 * ctype/ctype-info.c (__ctype_init): Define.
79881 * include/ctype.h (__ctype_init): Declare.
79882 (__ctype_b_loc): The variable is always initialized.
79883 (__ctype_toupper_loc): Likewise.
79884 (__ctype_tolower_loc): Likewise.
79885 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
79886 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
79887
79888 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
79889
79890 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
79891
79892 * configure.in: Also look in $cxxmachine/include for C++ system
79893 headers.
79894
79895 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79896
79897 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
79898 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
79899 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
79900 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
79901 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
79902 (USE_AS_WMEMCMP): New macro.
79903 Fixing indents.
79904 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
79905 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
79906 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
79907 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
79908 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79909 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
79910 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
79911 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
79912 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
79913 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
79914 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
79915 (USE_AS_WMEMCMP): New macro.
79916 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
79917 * sysdeps/string/test-memcmp.c: Update.
79918 Fix simple_wmemcmp.
79919 Add new tests.
79920 * wcsmbs/wmemcmp.c: Update.
79921 (WMEMCMP): New macro.
79922 Fix overflow bug.
79923
79924 2011-10-12 Andreas Jaeger <aj@suse.de>
79925
79926 [BZ #13268]
79927 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
79928
79929 2011-10-15 Ulrich Drepper <drepper@gmail.com>
79930
79931 * libio/iofwide.c (do_length): Avoid warning.
79932
79933 * ctype/ctype.h (__isctype_f): Add missing __THROW.
79934
79935 2011-10-14 Ulrich Drepper <drepper@gmail.com>
79936
79937 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
79938
79939 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
79940 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
79941 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
79942 * sysdeps/i386/i686/fpu/e_log.S: New file.
79943 * sysdeps/i386/i686/fpu/e_logf.S: New file.
79944 * sysdeps/i386/i686/fpu/e_logl.S: New file.
79945
79946 * ctype/ctype.h: Add support for inlined isXXX functions when
79947 compiling C++ code.
79948
79949 2011-10-14 Andreas Schwab <schwab@redhat.com>
79950
79951 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
79952
79953 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
79954
79955 2011-10-13 Roland McGrath <roland@hack.frob.com>
79956
79957 [BZ #13291]
79958 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
79959
79960 2011-10-13 Andreas Schwab <schwab@redhat.com>
79961
79962 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
79963 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
79964 feraiseexcept.
79965
79966 * sysdeps/x86_64/memrchr.S: Check for zero size.
79967
79968 * string/stratcliff.c: Add memrchr tests.
79969
79970 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79971
79972 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79973 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
79974 rawmemchr-sse2 rawmemchr-sse2-bsf.
79975 * sysdeps/i386/i686/multiarch/memchr.S: New file.
79976 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
79977 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
79978 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
79979 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
79980 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
79981 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
79982 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
79983 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
79984 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
79985 * string/memrchr.c (MEMRCHR): New macro.
79986
79987 2011-10-12 Ulrich Drepper <drepper@gmail.com>
79988
79989 Add integration with gcc's -ffinite-math-only and optimize wrapper
79990 functions in libm.
79991 * Versions.def: Define GLIBC_2.15 version for libm.
79992 * math/Makefile (headers): Add bits/math-finite.h.
79993 * math/bits/math-finite.h: New file.
79994 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
79995 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
79996 * math/e_acoshl.c: Add __*_finite alias.
79997 * math/e_acosl.c: Likewise.
79998 * math/e_asinl.c: Likewise.
79999 * math/e_atan2l.c: Likewise.
80000 * math/e_atanhl.c: Likewise.
80001 * math/e_coshl.c: Likewise.
80002 * math/e_exp10.c: Likewise.
80003 * math/e_exp10f.c: Likewise.
80004 * math/e_exp10l.c: Likewise.
80005 * math/e_exp2l.c: Likewise.
80006 * math/e_fmodl.c: Likewise.
80007 * math/e_gammal_r.c: Likewise.
80008 * math/e_hypotl.c: Likewise.
80009 * math/e_j0l.c: Likewise.
80010 * math/e_j1l.c: Likewise.
80011 * math/e_jnl.c: Likewise.
80012 * math/e_lgammal_r.c: Likewise.
80013 * math/e_log10l.c: Likewise.
80014 * math/e_log2l.c: Likewise.
80015 * math/e_logl.c: Likewise.
80016 * math/e_powl.c: Likewise.
80017 * math/e_sinhl.c: Likewise.
80018 * math/e_sqrtl.c: Likewise.
80019 * math/e_scalb.c: Completely rewritten and optimized.
80020 * math/e_scalbf.c: Likewise.
80021 * math/e_scalbl.c: Likewise.
80022 * math/w_acos.c: Likewise.
80023 * math/w_acosf.c: Likewise.
80024 * math/w_acosl.c: Likewise.
80025 * math/w_acosh.c: Likewise.
80026 * math/w_acoshf.c: Likewise.
80027 * math/w_acoshl.c: Likewise.
80028 * math/w_asin.c: Likewise.
80029 * math/w_asinf.c: Likewise.
80030 * math/w_asinl.c: Likewise.
80031 * math/w_atan2.c: Likewise.
80032 * math/w_atan2f.c: Likewise.
80033 * math/w_atan2l.c: Likewise.
80034 * math/w_atanh.c: Likewise.
80035 * math/w_atanhf.c: Likewise.
80036 * math/w_atanhl.c: Likewise.
80037 * math/w_exp10.c: Likewise.
80038 * math/w_exp10f.c: Likewise.
80039 * math/w_exp10l.c: Likewise.
80040 * math/w_fmod.c: Likewise.
80041 * math/w_fmodf.c: Likewise.
80042 * math/w_fmodl.c: Likewise.
80043 * math/w_j0.c: Likewise.
80044 * math/w_j0f.c: Likewise.
80045 * math/w_j0l.c: Likewise.
80046 * math/w_j1.c: Likewise.
80047 * math/w_j1f.c: Likewise.
80048 * math/w_j1l.c: Likewise.
80049 * math/w_jn.c: Likewise.
80050 * math/w_jnf.c: Likewise.
80051 * math/w_log.c: Likewise.
80052 * math/w_logf.c: Likewise.
80053 * math/w_logl.c: Likewise.
80054 * math/w_log10.c: Likewise.
80055 * math/w_log10f.c: Likewise.
80056 * math/w_log10l.c: Likewise.
80057 * math/w_log2.c: Likewise.
80058 * math/w_log2f.c: Likewise.
80059 * math/w_log2l.c: Likewise.
80060 * math/w_pow.c: Likewise.
80061 * math/w_powf.c: Likewise.
80062 * math/w_powl.c: Likewise.
80063 * math/w_remainder.c: Likewise.
80064 * math/w_remainderf.c: Likewise.
80065 * math/w_remainderl.c: Likewise.
80066 * math/w_scalb.c: Likewise.
80067 * math/w_scalbf.c: Likewise.
80068 * math/w_scalbl.c: Likewise.
80069 * math/w_sqrt.c: Likewise.
80070 * math/w_sqrtf.c: Likewise.
80071 * math/w_sqrtl.c: Likewise.
80072 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
80073 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
80074 used.
80075 * math/math_private.h: Declare __kernel_standard_f.
80076 * math/w_cosh.c: Remove cruft and optimize a bit.
80077 * math/w_coshf.c: Likewise.
80078 * math/w_coshl.c: Likewise.
80079 * math/w_exp2.c: Likewise.
80080 * math/w_exp2f.c: Likewise.
80081 * math/w_exp2l.c: Likewise.
80082 * math/w_hypot.c: Likewise.
80083 * math/w_hypotf.c: Likewise.
80084 * math/w_hypotl.c: Likewise.
80085 * math/w_lgamma.c: Likewise.
80086 * math/w_lgamma_r.c: Likewise.
80087 * math/w_lgammaf.c: Likewise.
80088 * math/w_lgammaf_r.c: Likewise.
80089 * math/w_lgammal.c: Likewise.
80090 * math/w_lgammal_r.c: Likewise.
80091 * math/w_sinh.c: Likewise.
80092 * math/w_sinhf.c: Likewise.
80093 * math/w_sinhl.c: Likewise.
80094 * math/w_tgamma.c: Likewise.
80095 * math/w_tgammaf.c: Likewise.
80096 * math/w_tgammal.c: Likewise.
80097 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
80098 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
80099 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
80100 Minor optimizations. Pretty printing. Remove cruft.
80101 * sysdeps/i386/fpu/e_acosf.S: Likewise.
80102 * sysdeps/i386/fpu/e_acosh.S: Likewise.
80103 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
80104 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
80105 * sysdeps/i386/fpu/e_acosl.c: Likewise.
80106 * sysdeps/i386/fpu/e_asin.S: Likewise.
80107 * sysdeps/i386/fpu/e_asinf.S: Likewise.
80108 * sysdeps/i386/fpu/e_atan2.S: Likewise.
80109 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
80110 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
80111 * sysdeps/i386/fpu/e_atanh.S: Likewise.
80112 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
80113 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
80114 * sysdeps/i386/fpu/e_exp10.S: Likewise.
80115 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
80116 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
80117 * sysdeps/i386/fpu/e_exp2.S: Likewise.
80118 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
80119 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
80120 * sysdeps/i386/fpu/e_fmod.S: Likewise.
80121 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
80122 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
80123 * sysdeps/i386/fpu/e_hypot.S: Likewise.
80124 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
80125 * sysdeps/i386/fpu/e_log.S: Likewise.
80126 * sysdeps/i386/fpu/e_log10.S: Likewise.
80127 * sysdeps/i386/fpu/e_log10f.S: Likewise.
80128 * sysdeps/i386/fpu/e_log10l.S: Likewise.
80129 * sysdeps/i386/fpu/e_log2.S: Likewise.
80130 * sysdeps/i386/fpu/e_log2f.S: Likewise.
80131 * sysdeps/i386/fpu/e_log2l.S: Likewise.
80132 * sysdeps/i386/fpu/e_logf.S: Likewise.
80133 * sysdeps/i386/fpu/e_logl.S: Likewise.
80134 * sysdeps/i386/fpu/e_pow.S: Likewise.
80135 * sysdeps/i386/fpu/e_powf.S: Likewise.
80136 * sysdeps/i386/fpu/e_powl.S: Likewise.
80137 * sysdeps/i386/fpu/e_remainder.S: Likewise.
80138 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
80139 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
80140 * sysdeps/i386/fpu/e_scalb.S: Likewise.
80141 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
80142 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
80143 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
80144 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
80145 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
80146 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
80147 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
80148 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80149 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
80150 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
80151 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
80152 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
80153 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
80154 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
80155 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
80156 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
80157 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
80158 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80159 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
80160 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
80161 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80162 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
80163 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
80164 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
80165 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80166 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
80167 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
80168 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
80169 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
80170 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
80171 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
80172 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
80173 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
80174 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
80175 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
80176 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
80177 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
80178 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
80179 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
80180 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
80181 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
80182 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
80183 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
80184 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
80185 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
80186 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
80187 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
80188 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
80189 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
80190 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
80191 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
80192 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
80193 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
80194 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
80195 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
80196 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
80197 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
80198 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
80199 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
80200 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
80201 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
80202 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
80203 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
80204 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
80205 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
80206 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
80207 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
80208 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
80209 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
80210 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
80211 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
80212 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
80213 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
80214 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
80215 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
80216 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
80217 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
80218 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
80219 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
80220 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
80221 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
80222 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
80223 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
80224 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
80225 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
80226 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
80227 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
80228 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
80229 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
80230 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
80231 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
80232 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
80233 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
80234 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
80235 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
80236 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
80237 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
80238 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
80239 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
80240 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
80241 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
80242 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
80243 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
80244 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
80245 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
80246 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
80247 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
80248 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
80249 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
80250 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
80251 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
80252 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
80253 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
80254 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
80255 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
80256 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
80257 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
80258 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
80259 (__isnanf): Likewise.
80260 (__isinf_ns): Likewise.
80261 (__isinf_nsf): Likewise.
80262 (__finite): Likewise.
80263 (__finitef): Likewise.
80264 (__ieee754_sqrt): Define as macro.
80265 (__ieee754_sqrtf): Define as macro.
80266 (__ieee754_sqrtl): Define as macro.
80267 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
80268 inlined copy.
80269 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
80270 __FINITE_MATH_ONLY__ consistent.
80271 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
80272
80273 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
80274
80275 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
80276 of rawmemchr.
80277
80278 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
80279
80280 2011-10-09 Ulrich Drepper <drepper@gmail.com>
80281
80282 * po/ja.po: Update from translation team.
80283
80284 2011-10-08 Roland McGrath <roland@hack.frob.com>
80285
80286 * locale/programs/locarchive.c (prepare_address_space): New function.
80287 (create_archive, enlarge_archive, open_archive): Use it.
80288
80289 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
80290 inside [SHARED], where it is used.
80291
80292 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
80293
80294 * nss/getent.c (netgroup_keys): Remove unused variable.
80295 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
80296
80297 2011-10-08 Ulrich Drepper <drepper@gmail.com>
80298
80299 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
80300 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
80301 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
80302 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
80303 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
80304 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
80305 * math/Makefile (libm-calls): Add s_isinf_ns.
80306 * math/divtc3.c: Use __isinf_nsl instead of isinf.
80307 * math/multc3.c: Likewise.
80308 * math/s_casin.c: Likewise.
80309 * math/s_casinf.c: Likewise.
80310 * math/s_casinl.c: Likewise.
80311 * math/s_ccos.c: Likewise.
80312 * math/s_ccosf.c: Likewise.
80313 * math/s_ccosl.c: Likewise.
80314 * math/s_ctan.c: Likewise.
80315 * math/s_ctanf.c: Likewise.
80316 * math/s_ctanh.c: Likewise.
80317 * math/s_ctanhf.c: Likewise.
80318 * math/s_ctanhl.c: Likewise.
80319 * math/s_ctanl.c: Likewise.
80320 * math/w_fmod.c: Likewise.
80321 * math/w_fmodf.c: Likewise.
80322 * math/w_fmodl.c: Likewise.
80323 * math/w_remainder.c: Likewise.
80324 * math/w_remainderf.c: Likewise.
80325 * math/w_remainderl.c: Likewise.
80326 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
80327 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
80328 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
80329 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
80330 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
80331 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
80332 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
80333 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
80334
80335 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
80336 of the number.
80337 * stdio-common/printf_fphex.c: Likewise.
80338 * stdio-common/printf_size.c: Likewise.
80339
80340 * math/e_exp10.c: Include math_private.h using <...> not "...".
80341 * math/e_exp10f.c: Likewise.
80342 * math/e_exp10l.c: Likewise.
80343 * math/e_exp2l.c: Likewise.
80344 * math/e_j0l.c: Likewise.
80345 * math/e_j1l.c: Likewise.
80346 * math/e_jnl.c: Likewise.
80347 * math/e_lgammal_r.c: Likewise.
80348 * math/e_rem_pio2l.c: Likewise.
80349 * math/e_scalb.c: Likewise.
80350 * math/e_scalbf.c: Likewise.
80351 * math/e_scalbl.c: Likewise.
80352 * math/k_cosl.c: Likewise.
80353 * math/k_sinl.c: Likewise.
80354 * math/k_tanl.c: Likewise.
80355 * math/s_cacoshf.c: Likewise.
80356 * math/s_catan.c: Likewise.
80357 * math/s_catanf.c: Likewise.
80358 * math/s_catanh.c: Likewise.
80359 * math/s_catanhf.c: Likewise.
80360 * math/s_catanhl.c: Likewise.
80361 * math/s_catanl.c: Likewise.
80362 * math/s_ccosh.c: Likewise.
80363 * math/s_ccoshf.c: Likewise.
80364 * math/s_ccoshl.c: Likewise.
80365 * math/s_cexp.c: Likewise.
80366 * math/s_cexpf.c: Likewise.
80367 * math/s_cexpl.c: Likewise.
80368 * math/s_clog.c: Likewise.
80369 * math/s_clog10.c: Likewise.
80370 * math/s_clog10f.c: Likewise.
80371 * math/s_clog10l.c: Likewise.
80372 * math/s_clogf.c: Likewise.
80373 * math/s_clogl.c: Likewise.
80374 * math/s_csin.c: Likewise.
80375 * math/s_csinf.c: Likewise.
80376 * math/s_csinh.c: Likewise.
80377 * math/s_csinhf.c: Likewise.
80378 * math/s_csinhl.c: Likewise.
80379 * math/s_csinl.c: Likewise.
80380 * math/s_csqrt.c: Likewise.
80381 * math/s_csqrtf.c: Likewise.
80382 * math/s_csqrtl.c: Likewise.
80383 * math/s_ctan.c: Likewise.
80384 * math/s_ctanf.c: Likewise.
80385 * math/s_ctanh.c: Likewise.
80386 * math/s_ctanhf.c: Likewise.
80387 * math/s_ctanhl.c: Likewise.
80388 * math/s_ctanl.c: Likewise.
80389 * math/s_ldexp.c: Likewise.
80390 * math/s_ldexpf.c: Likewise.
80391 * math/s_ldexpl.c: Likewise.
80392 * math/s_significand.c: Likewise.
80393 * math/s_significandf.c: Likewise.
80394 * math/s_significandl.c: Likewise.
80395 * math/w_acos.c: Likewise.
80396 * math/w_acosf.c: Likewise.
80397 * math/w_acosh.c: Likewise.
80398 * math/w_acoshf.c: Likewise.
80399 * math/w_acoshl.c: Likewise.
80400 * math/w_acosl.c: Likewise.
80401 * math/w_asin.c: Likewise.
80402 * math/w_asinf.c: Likewise.
80403 * math/w_asinl.c: Likewise.
80404 * math/w_atan2.c: Likewise.
80405 * math/w_atan2f.c: Likewise.
80406 * math/w_atan2l.c: Likewise.
80407 * math/w_atanh.c: Likewise.
80408 * math/w_atanhf.c: Likewise.
80409 * math/w_atanhl.c: Likewise.
80410 * math/w_cosh.c: Likewise.
80411 * math/w_coshf.c: Likewise.
80412 * math/w_coshl.c: Likewise.
80413 * math/w_dremf.c: Likewise.
80414 * math/w_exp10.c: Likewise.
80415 * math/w_exp10f.c: Likewise.
80416 * math/w_exp10l.c: Likewise.
80417 * math/w_exp2.c: Likewise.
80418 * math/w_exp2f.c: Likewise.
80419 * math/w_fmod.c: Likewise.
80420 * math/w_fmodf.c: Likewise.
80421 * math/w_fmodl.c: Likewise.
80422 * math/w_hypot.c: Likewise.
80423 * math/w_hypotf.c: Likewise.
80424 * math/w_hypotl.c: Likewise.
80425 * math/w_j0.c: Likewise.
80426 * math/w_j0f.c: Likewise.
80427 * math/w_j0l.c: Likewise.
80428 * math/w_j1.c: Likewise.
80429 * math/w_j1f.c: Likewise.
80430 * math/w_j1l.c: Likewise.
80431 * math/w_jn.c: Likewise.
80432 * math/w_jnf.c: Likewise.
80433 * math/w_jnl.c: Likewise.
80434 * math/w_lgamma.c: Likewise.
80435 * math/w_lgamma_r.c: Likewise.
80436 * math/w_lgammaf.c: Likewise.
80437 * math/w_lgammaf_r.c: Likewise.
80438 * math/w_lgammal.c: Likewise.
80439 * math/w_lgammal_r.c: Likewise.
80440 * math/w_log.c: Likewise.
80441 * math/w_log10.c: Likewise.
80442 * math/w_log10f.c: Likewise.
80443 * math/w_log10l.c: Likewise.
80444 * math/w_log2.c: Likewise.
80445 * math/w_log2f.c: Likewise.
80446 * math/w_log2l.c: Likewise.
80447 * math/w_logf.c: Likewise.
80448 * math/w_logl.c: Likewise.
80449 * math/w_pow.c: Likewise.
80450 * math/w_powf.c: Likewise.
80451 * math/w_powl.c: Likewise.
80452 * math/w_remainder.c: Likewise.
80453 * math/w_remainderf.c: Likewise.
80454 * math/w_remainderl.c: Likewise.
80455 * math/w_scalb.c: Likewise.
80456 * math/w_scalbf.c: Likewise.
80457 * math/w_scalbl.c: Likewise.
80458 * math/w_sinh.c: Likewise.
80459 * math/w_sinhf.c: Likewise.
80460 * math/w_sinhl.c: Likewise.
80461 * math/w_sqrt.c: Likewise.
80462 * math/w_sqrtf.c: Likewise.
80463 * math/w_sqrtl.c: Likewise.
80464 * math/w_tgamma.c: Likewise.
80465 * math/w_tgammaf.c: Likewise.
80466 * math/w_tgammal.c: Likewise.
80467
80468 * po/ja.po: Update from translation team.
80469
80470 2011-09-29 Andreas Jaeger <aj@suse.de>
80471
80472 [BZ #13179]
80473 * sunrpc/netname.c (netname2host): Fix logic.
80474
80475 [BZ #6779]
80476 [BZ #6783]
80477 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
80478 correctly.
80479 * math/w_remainder.c (__remainder): Likewise.
80480 * math/w_remainderf.c (__remainderf): Likewise.
80481 * math/libm-test.inc (remainder_test): Add test cases.
80482
80483 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
80484
80485 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
80486 sdiv_qrnnd.
80487
80488 2011-10-07 Ulrich Drepper <drepper@gmail.com>
80489
80490 * string/test-memcmp.c: Avoid unncessary #defines.
80491 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
80492
80493 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
80494
80495 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
80496 Use new sse2 version for core i3 - i7 as it's faster
80497 than sse42 version.
80498 (bit_Prefer_PMINUB_for_stringop): New.
80499 * sysdeps/x86_64/rawmemchr.S: Update.
80500 Replace with faster SSE2 version.
80501 * sysdeps/x86_64/memrchr.S: New file.
80502 * sysdeps/x86_64/memchr.S: Update.
80503 Replace with faster SSE2 version.
80504
80505 2011-09-12 Marek Polacek <mpolacek@redhat.com>
80506
80507 * elf/dl-load.c (lose): Add cast to avoid warning.
80508
80509 2011-10-07 Ulrich Drepper <drepper@gmail.com>
80510
80511 * po/ca.po: Update from translation team.
80512
80513 * inet/getnetgrent_r.c: Hook up nscd.
80514 * nscd/Makefile (routines): Add nscd_netgroup.
80515 (nscd-modules): Add netgroupcache.
80516 (CFLAGS-netgroupcache.c): Define.
80517 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
80518 (cache_search): Add const to second parameter.
80519 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
80520 INNETGR.
80521 (dbs): Add netgrdb entry.
80522 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
80523 (verify_persistent_db): Handle netgrdb.
80524 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
80525 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
80526 GETFDNETGR.
80527 (netgroup_response_header): Define.
80528 (innetgroup_response_header): Define.
80529 (datahead): Add netgroup_response_header and innetgroup_response_header
80530 elements.
80531 * nscd/nscd.conf: Add entries for netgroup cache.
80532 * nscd/nscd.h (dbtype): Add netgrdb.
80533 (_PATH_NSCD_NETGROUP_DB): Define.
80534 (netgroup_iov_disabled): Declare.
80535 (xmalloc, xcalloc, xrealloc): Move declarations here.
80536 (cache_search): Adjust prototype.
80537 Add netgroup-related prototypes.
80538 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
80539 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
80540 (__nscd_innetgr): Declare.
80541 * nscd/selinux.c (perms): Use access_vector_t as element type and
80542 add netgroup-related initializers.
80543 * nscd/netgroupcache.c: New file.
80544 * nscd/nscd_netgroup.c: New file.
80545 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
80546 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
80547 For four parameters use innetgr.
80548 * nss/nss_files/files-init.c: Add definition and callback for netgr.
80549 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
80550 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
80551 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
80552
80553 * nscd/connections.c (register_traced_file): Don't register file
80554 for disabled databases.
80555
80556 2011-10-06 Ulrich Drepper <drepper@gmail.com>
80557
80558 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
80559
80560 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
80561 from tree and freeing node.
80562
80563 2011-09-25 Jiri Olsa <jolsa@redhat.com>
80564
80565 * nss/nsswitch.c (__nss_database_lookup): Handle
80566 nss_parse_service_list out of memory case.
80567
80568 2011-09-15 Jiri Olsa <jolsa@redhat.com>
80569
80570 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
80571 out of memory case.
80572
80573 2011-10-04 Andreas Schwab <schwab@redhat.com>
80574
80575 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
80576 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
80577 pass it down.
80578 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
80579 elf_machine_rela, elf_machine_lazy_rel.
80580 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
80581 (ELF_DYNAMIC_DO_REL): Likewise.
80582 (ELF_DYNAMIC_DO_RELA): Likewise.
80583 (ELF_DYNAMIC_RELOCATE): Likewise.
80584 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
80585 to ELF_DYNAMIC_DO_REL.
80586 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
80587 (dl_main): In trace mode always set __RTLD_NOIFUNC.
80588 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
80589 elf_machine_rela.
80590 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
80591 skip_ifunc, don't call ifunc function if non-zero.
80592 (elf_machine_rela): Likewise.
80593 (elf_machine_lazy_rel): Likewise.
80594 (elf_machine_lazy_rela): Likewise.
80595 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
80596 (elf_machine_lazy_rel): Likewise.
80597 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
80598 Likewise.
80599 (elf_machine_lazy_rel): Likewise.
80600 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
80601 Likewise.
80602 (elf_machine_lazy_rel): Likewise.
80603 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
80604 (elf_machine_lazy_rel): Likewise.
80605 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
80606 (elf_machine_lazy_rel): Likewise.
80607 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
80608 (elf_machine_lazy_rel): Likewise.
80609 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
80610 (elf_machine_lazy_rel): Likewise.
80611 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
80612 (elf_machine_lazy_rel): Likewise.
80613 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
80614 (elf_machine_lazy_rel): Likewise.
80615
80616 2011-09-28 Ulrich Drepper <drepper@gmail.com>
80617
80618 * nss/nss_files/files-init.c (_nss_files_init): Use static
80619 initialization for all the *_traced_file variables.
80620
80621 2011-09-28 Andreas Schwab <schwab@redhat.com>
80622
80623 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
80624
80625 2011-09-27 Roland McGrath <roland@hack.frob.com>
80626
80627 [BZ #13226]
80628 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
80629
80630 2011-09-27 Andreas Schwab <schwab@redhat.com>
80631
80632 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
80633 Reread the line before reparsing it.
80634
80635 2011-09-26 Andreas Schwab <schwab@redhat.com>
80636
80637 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
80638
80639 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
80640 Maxim Kuvyrkov <maxim@codesourcery.com>
80641 Joseph Myers <joseph@codesourcery.com>
80642
80643 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
80644 if needed for __stack_chk_guard.
80645
80646 2011-09-19 Roland McGrath <roland@hack.frob.com>
80647
80648 * sysdeps/posix/spawni.c (script_execute): Always define it.
80649 It will be optimized away if unused.
80650 (maybe_script_execute): New function.
80651 (__spawni): Call it.
80652
80653 * Makerules: Don't include tls.make.
80654 (config-tls): Always set to thread.
80655 * tls.make.c: File removed.
80656
80657 2011-09-19 Mike Frysinger <vapier@gentoo.org>
80658
80659 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
80660 * config.make.in (CPPFLAGS-config): New substituted variable.
80661
80662 2011-09-15 Ulrich Drepper <drepper@gmail.com>
80663
80664 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
80665
80666 [BZ #13192]
80667 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
80668 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
80669
80670 2011-09-15 Roland McGrath <roland@hack.frob.com>
80671
80672 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
80673 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
80674 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
80675 (CALL_FAIL): Likewise.
80676 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
80677 (CALL_FAIL): Macro removed.
80678 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
80679
80680 2011-09-15 Ulrich Drepper <drepper@gmail.com>
80681
80682 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
80683 for __FINITE_MATH_ONLY__ == 1.
80684
80685 2011-09-15 Andreas Schwab <schwab@redhat.com>
80686
80687 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
80688 __ieee754_sqrt instead of sqrt.
80689 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
80690 __ieee754_sqrtf instead of sqrtf.
80691 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
80692 __floorf instead of floorf.
80693 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
80694 __floorf, __truncf instead of floorf, truncf.
80695
80696 2011-09-14 Ulrich Drepper <drepper@gmail.com>
80697
80698 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
80699
80700 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
80701 __extern_always_inline.
80702 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
80703 32-bit.
80704
80705 2011-09-14 Andreas Schwab <schwab@redhat.com>
80706
80707 * elf/rtld.c (dl_main): Also relocate in dependency order when
80708 doing symbol dependency testing.
80709
80710 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
80711
80712 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
80713 Always define `refsym'.
80714
80715 2011-09-13 Andreas Schwab <schwab@redhat.com>
80716
80717 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
80718 (__FD_ELT): Renamed from __FDELT.
80719 * misc/bits/select2.h (__FD_ELT): Likewise.
80720 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
80721 __FD_MASK instead of __FDELT, __FDMASK.
80722 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
80723 Likewise.
80724 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
80725 Likewise.
80726
80727 * elf/Makefile (gen-ldd): Fix pattern.
80728
80729 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
80730 (init_tls): Likewise.
80731
80732 2011-09-12 Ulrich Drepper <drepper@gmail.com>
80733
80734 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
80735
80736 2011-09-12 Andreas Schwab <schwab@redhat.com>
80737
80738 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
80739 `struct cmsghdr *' instead of `void *'.
80740 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
80741 Likewise.
80742
80743 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
80744
80745 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
80746 if non-absolute.
80747 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
80748 ldd_rewrite_script.
80749
80750 2011-09-11 Ulrich Drepper <drepper@gmail.com>
80751
80752 * configure.in: Remove --with-tls option.
80753 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
80754 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
80755 out in case it is missing.
80756 * sysdeps/ia64/elf/configure.in: Likewise.
80757 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
80758 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
80759 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
80760 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
80761 * sysdeps/sh/elf/configure.in: Likewise.
80762 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
80763 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
80764 * sysdeps/x86_64/elf/configure.in: Likewise.
80765 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
80766 * sysdeps/mach/hurd/tls.h: Likewise.
80767
80768 [BZ #13067]
80769 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
80770
80771 [BZ #13090]
80772 * configure.in: Fix use of AC_INIT.
80773
80774 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
80775
80776 2011-09-10 Ulrich Drepper <drepper@gmail.com>
80777
80778 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
80779 __set_errno.
80780 * malloc/hooks.c: Likewise.
80781
80782 [BZ #11929]
80783 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
80784 variables statically.
80785 (narenas): Initialize.
80786 (list_lock): Initialize.
80787 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
80788 initializtion of main_arena and list_lock. Small cleanups.
80789 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
80790 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
80791 Add initializers to main_arena and mp_.
80792 (malloc_state): Remove pagesize member. Change all users to use
80793 GLRO(dl_pagesize).
80794
80795 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
80796 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
80797 is always initialized.
80798
80799 * malloc/malloc.c: Removed unused configurations and dead code.
80800 * malloc/arena.c: Likewise.
80801 * malloc/hooks.c: Likewise.
80802 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
80803
80804 * include/tls.h: Removed. USE___THREAD must always be defined.
80805 * bits/libc-tsd.h: Don't handle !USE___THREAD.
80806 * elf/dl-libc.c: Likewise.
80807 * elf/dl-tsd.c: Likewise.
80808 * include/errno.h: Likewise.
80809 * include/netdb.h: Likewise.
80810 * include/resolv.h: Likewise.
80811 * inet/herrno-loc.c: Likewise.
80812 * inet/herrno.c: Likewise.
80813 * malloc/arena.c: Likewise.
80814 * malloc/hooks.c: Likewise.
80815 * malloc/malloc.c: Likewise.
80816 * resolv/res-state.c: Likewise.
80817 * resolv/res_libc.c: Likewise.
80818 * sysdeps/i386/dl-machine.h: Likewise.
80819 * sysdeps/ia64/dl-machine.h: Likewise.
80820 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
80821 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
80822 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
80823 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
80824 * sysdeps/sh/dl-machine.h: Likewise.
80825 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
80826 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
80827 * sysdeps/unix/i386/sysdep.S: Likewise.
80828 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
80829 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
80830 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
80831 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
80832 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
80833 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
80834 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
80835 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
80836 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
80837 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
80838 * sysdeps/unix/x86_64/sysdep.S: Likewise.
80839 * sysdeps/x86_64/dl-machine.h: Likewise.
80840 * tls.make.c: Likewise.
80841
80842 * configure.in: Remove --with-__thread option. Make tests for
80843 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
80844 tls_model attribute fail if no support is available. Remove
80845 USE_IN_LIBIO.
80846 * Makeconfig: Adjust for dropped configure option. All features are
80847 now mandatory.
80848 * Makerules: Likewise.
80849 * Versions.def: Likewise.
80850 * argp/argp-fmtstream.c: Likewise.
80851 * argp/argp-fmtstream.h: Likewise.
80852 * argp/argp-help.c: Likewise.
80853 * assert/assert.c: Likewise.
80854 * config.h.in: Likewise.
80855 * config.make.in: Likewise.
80856 * configure: Likewise.
80857 * configure.in: Likewise.
80858 * csu/Versions: Likewise.
80859 * csu/init.c: Likewise.
80860 * elf/tst-audit2.c: Likewise.
80861 * elf/tst-tls10.c: Likewise.
80862 * elf/tst-tls10.h: Likewise.
80863 * elf/tst-tls11.c: Likewise.
80864 * elf/tst-tls12.c: Likewise.
80865 * elf/tst-tls14.c: Likewise.
80866 * elf/tst-tlsmod11.c: Likewise.
80867 * elf/tst-tlsmod12.c: Likewise.
80868 * elf/tst-tlsmod13.c: Likewise.
80869 * elf/tst-tlsmod13a.c: Likewise.
80870 * elf/tst-tlsmod14a.c: Likewise.
80871 * elf/tst-tlsmod15b.c: Likewise.
80872 * elf/tst-tlsmod16a.c: Likewise.
80873 * elf/tst-tlsmod16b.c: Likewise.
80874 * elf/tst-tlsmod7.c: Likewise.
80875 * elf/tst-tlsmod8.c: Likewise.
80876 * elf/tst-tlsmod9.c: Likewise.
80877 * gmon/gmon.c: Likewise.
80878 * grp/fgetgrent_r.c: Likewise.
80879 * grp/putgrent.c: Likewise.
80880 * hurd/fopenport.c: Likewise.
80881 * include/libc-symbols.h: Likewise.
80882 * include/tls.h: Likewise.
80883 * intl/gettextP.h: Likewise.
80884 * intl/loadinfo.h: Likewise.
80885 * locale/global-locale.c: Likewise.
80886 * locale/localeinfo.h: Likewise.
80887 * mach/devstream.c: Likewise.
80888 * malloc/arena.c: Likewise.
80889 * malloc/set-freeres.c: Likewise.
80890 * misc/err.c: Likewise.
80891 * misc/getttyent.c: Likewise.
80892 * misc/mntent_r.c: Likewise.
80893 * posix/getopt.c: Likewise.
80894 * posix/wordexp.c: Likewise.
80895 * pwd/fgetpwent_r.c: Likewise.
80896 * resolv/Versions: Likewise.
80897 * resolv/res_hconf.c: Likewise.
80898 * shadow/fgetspent_r.c: Likewise.
80899 * shadow/putspent.c: Likewise.
80900 * stdio-common/printf_fphex.c: Likewise.
80901 * stdio-common/tmpfile.c: Likewise.
80902 * stdlib/abort.c: Likewise.
80903 * stdlib/fmtmsg.c: Likewise.
80904 * sunrpc/auth_unix.c: Likewise.
80905 * sunrpc/clnt_perr.c: Likewise.
80906 * sunrpc/clnt_tcp.c: Likewise.
80907 * sunrpc/clnt_udp.c: Likewise.
80908 * sunrpc/clnt_unix.c: Likewise.
80909 * sunrpc/openchild.c: Likewise.
80910 * sunrpc/svc_simple.c: Likewise.
80911 * sunrpc/svc_tcp.c: Likewise.
80912 * sunrpc/svc_udp.c: Likewise.
80913 * sunrpc/svc_unix.c: Likewise.
80914 * sunrpc/xdr.c: Likewise.
80915 * sunrpc/xdr_array.c: Likewise.
80916 * sunrpc/xdr_rec.c: Likewise.
80917 * sunrpc/xdr_ref.c: Likewise.
80918 * sunrpc/xdr_stdio.c: Likewise.
80919
80920 2011-09-09 Ulrich Drepper <drepper@gmail.com>
80921
80922 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
80923
80924 2011-07-03 Andreas Jaeger <aj@suse.de>
80925
80926 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
80927 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
80928 regenerate with gen-libm-tests.pl.
80929
80930 2010-05-12 Petr Baudis <pasky@suse.cz>
80931
80932 [BZ #11589]
80933 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
80934 around j0() zero points by switching to j1().
80935 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
80936 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
80937 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
80938 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
80939
80940 2011-09-09 Ulrich Drepper <drepper@gmail.com>
80941
80942 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
80943 instead of 0.
80944 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
80945 instead of 0.
80946 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
80947 Patch in part by Pavel Roskin <proski@gnu.org>.
80948
80949 [BZ #13138]
80950 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
80951 realloc.
80952 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
80953 Free memory block if necessary.
80954
80955 [BZ #12847]
80956 * libio/genops.c (INTDEF): For string streams the _lock pointer can
80957 be NULL. Don't lock in this case.
80958
80959 2011-09-09 Roland McGrath <roland@hack.frob.com>
80960
80961 * elf/elf.h (ELFOSABI_GNU): New macro.
80962 (ELFOSABI_LINUX): Define to that.
80963
80964 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
80965
80966 * string/strncat.c (strncat): Undef the symbol in case it has been
80967 defined in bits/string.h.
80968
80969 2011-09-09 Ulrich Drepper <drepper@gmail.com>
80970
80971 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
80972
80973 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
80974 link map.
80975
80976 2011-08-17 Andreas Jaeger <aj@suse.de>
80977
80978 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
80979
80980 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
80981 Ian Lance Taylor <iant@google.com>
80982
80983 * math/libm-test.inc (lround_test): New testcase.
80984 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
80985
80986 2011-09-08 Ulrich Drepper <drepper@gmail.com>
80987
80988 * Makefile: Remove support for automatic cvs check-ins.
80989 * Makerules: Likewise.
80990 * config.make.in: Likewise.
80991 * configure.in: Likewise.
80992 * intl/Makefile: Likewise.
80993 * locale/Makefile: Likewise.
80994 * po/Makefile: Likewise.
80995 * posix/Makefile: Likewise.
80996 * sysdeps/gnu/Makefile: Likewise.
80997 * sysdeps/mach/hurd/Makefile: Likewise.
80998 * sysdeps/sparc/sparc32/Makefile: Likewise.
80999
81000 [BZ #13118]
81001 * posix/Makefile (bug-regex32-ENV): Define.
81002 Patch by John Stanley <jpsinthemix@verizon.net>.
81003
81004 * misc/Makefile (headers): Add bits/select2.h.
81005 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
81006 * misc/bits/select2.h: New file.
81007 * include/bits/select2.h: New file.
81008 * debug/Makefile (routines): Add fdelt_chk.
81009 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
81010 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
81011 FD_ISSET.
81012 * debug/fdelt_chk.c: New file.
81013
81014 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
81015 * wcsmbs/test-wmemcmp.c: Likewise.
81016 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
81017 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
81018
81019 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
81020
81021 * string/Makefile (strop-tests): Add memcmp.
81022 * string/test-wmemcmp.c: New file.
81023 * string/test-memcmp.c: Add wmemcmp support.
81024
81025 2011-09-08 Roland McGrath <roland@hack.frob.com>
81026
81027 [BZ #13153]
81028 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
81029 2011-07-19 change.
81030
81031 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
81032 garbage value in a __mach_port_mod_refs call in the cases of the
81033 task-self and thread-self ports.
81034
81035 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
81036
81037 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
81038
81039 2011-09-08 Andreas Schwab <schwab@redhat.com>
81040
81041 * elf/dl-load.c (lose): Check for non-null L.
81042
81043 2011-09-07 Ulrich Drepper <drepper@gmail.com>
81044
81045 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
81046
81047 * elf/dl-libc.c (dlerror_run): Pass back error code from
81048 dl_catch_error.
81049
81050 [BZ #13123]
81051 * elf/dl-load.c (lose): Free l_origin if it is valid.
81052
81053 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
81054 names.
81055 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
81056 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
81057 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
81058 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
81059 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
81060 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
81061
81062 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
81063
81064 * sysdeps/powerpc/fpu/e_hypot.c: New file.
81065 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
81066 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
81067 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
81068 * sysdeps/powerpc/fpu/k_cosf.c: New file.
81069 * sysdeps/powerpc/fpu/k_sinf.c: New file.
81070 * sysdeps/powerpc/fpu/s_cosf.c: New file.
81071 * sysdeps/powerpc/fpu/s_sinf.c: New file.
81072 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
81073 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
81074
81075 2011-08-15 Alan Modra <amodra@gmail.com>
81076
81077 [BZ #13092]
81078 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
81079 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
81080 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
81081 ppc_mcount to static-only-routines.
81082 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
81083 __mcount_internal.
81084 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
81085 __mcount_internal with usual JUMPTARGET. Remove useless nop.
81086
81087 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
81088
81089 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
81090 for finite and infinity parameters.
81091
81092 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
81093
81094 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
81095 and add nop instructions for throughput optimization.
81096 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
81097
81098 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
81099
81100 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
81101 aligned copy for power7 with vector-scalar instructions.
81102 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
81103
81104 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
81105
81106 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
81107 AVX check.
81108
81109 2011-09-07 Andreas Schwab <schwab@redhat.com>
81110
81111 [BZ #13144]
81112 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
81113 last change.
81114
81115 2011-09-07 Ulrich Drepper <drepper@gmail.com>
81116
81117 * sysdeps/unix/sysv/linux/x86_64/init-first.c
81118 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
81119 syscall wrapper around clock_gettime in __vdso_clock_gettime.
81120 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
81121 clock_gettime.
81122
81123 2011-09-06 Ulrich Drepper <drepper@gmail.com>
81124
81125 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
81126 Forgot to demangle the pointer.
81127
81128 * sysdeps/i386/sysdep.h: Define atom_text_section.
81129 * sysdeps/x86_64/sysdep.h: Likewise.
81130 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
81131 section with atom_text_section.
81132 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
81133 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
81134 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
81135 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
81136 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
81137
81138 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
81139 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
81140 already be defined. Change to take two parameters and don't assign
81141 result to variable. Adjust all users.
81142 Define INTERNAL_GETTIME if not already defined.
81143 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
81144 call.
81145 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
81146 HAVE_CLOCK_GETTIME_VSYSCALL.
81147 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
81148
81149 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
81150 gettimeofday vsyscall, just use time.
81151
81152 2011-09-06 Andreas Schwab <schwab@redhat.com>
81153
81154 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
81155 <errno.h>.
81156
81157 2011-09-06 Ulrich Drepper <drepper@gmail.com>
81158
81159 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
81160 syscall on x86-64.
81161 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
81162 syscall.
81163 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
81164 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
81165 syscall if possible.
81166
81167 2011-09-05 Ulrich Drepper <drepper@gmail.com>
81168
81169 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
81170 e_ident. Don't pass to find_mapsXX.
81171 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
81172
81173 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
81174
81175 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
81176 strchr-sse2-no-bsf strrchr-sse2-no-bsf
81177 * sysdeps/x86_64/multiarch/strchr.S: Update.
81178 Check bit_slow_BSF bit.
81179 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
81180 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
81181 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
81182
81183 2011-09-05 Ulrich Drepper <drepper@gmail.com>
81184
81185 [BZ #13134]
81186 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
81187 before glibc 2.15.
81188 (tryshell): Define.
81189 (__spawni): Change last parameter to be flag. Test
81190 SPAWN_XFLAGS_USE_PATH flag to use path or not.
81191 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
81192 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
81193 * posix/spawni.c: Likewise.
81194 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
81195 * posix/spawnp.c: Likewise. Change normal version to use
81196 SPAWN_XFLAGS_USE_PATH.
81197 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
81198 SPAWN_XFLAGS_TRY_SHELL.
81199
81200 [BZ #13150]
81201 * posix/glob.h: Remove gcc 1.x support.
81202
81203 [BZ #13068]
81204 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
81205
81206 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
81207
81208 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
81209 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
81210 strrchr-sse2-bsf
81211 * sysdeps/i386/i686/multiarch/strchr.S: New file.
81212 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
81213 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
81214 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
81215 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
81216 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
81217
81218 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
81219
81220 * sysdeps/x86_64/wcscmp.S: New file.
81221
81222 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
81223 wcscmp-c wcscmp-sse2
81224 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
81225 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
81226 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
81227 * wcsmbs/wcscmp.c: Allow renaming.
81228
81229 2011-09-05 David S. Miller <davem@davemloft.net>
81230
81231 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
81232 stack slot, rather than the struct return pointer slot.
81233 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
81234 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
81235 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
81236 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
81237
81238 2011-09-05 Ulrich Drepper <drepper@gmail.com>
81239
81240 * po/ja.po: Update from translation team.
81241
81242 [BZ #13144]
81243 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
81244 kernel in 64-bit binaries.
81245
81246 2011-09-01 David S. Miller <davem@davemloft.net>
81247
81248 * elf/elf.h (HWCAP_SPARC_*): Move to..
81249 * sysdeps/sparc/sysdep.h: this new file and add new values.
81250 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
81251 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
81252 _DL_HWCAP_COUNT to 24.
81253 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
81254 entries.
81255 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
81256 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
81257 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
81258 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
81259 instead of magic constants.
81260 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
81261
81262 2011-08-31 David S. Miller <davem@davemloft.net>
81263
81264 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
81265 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
81266 Reimplement to do errno handling inline.
81267 (SYSCALL_ERROR_HANDLER): New macro.
81268 (__SYSCALL_STRING): Do not do errno handling in asm.
81269 (__CLONE_SYSCALL_STRING): Delete.
81270 (__INTERNAL_SYSCALL_STRING): Delete.
81271 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
81272 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
81273 (PSEUDO): Reimplement to do errno handling inline.
81274 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
81275 (SYSCALL_ERROR_HANDLER): New macro.
81276 (__SYSCALL_STRING): Do not do errno handling in asm.
81277 (__CLONE_SYSCALL_STRING): Delete.
81278 (__INTERNAL_SYSCALL_STRING): Delete.
81279 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
81280 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
81281 i386.
81282 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
81283 (inline_syscall*): Add 'err' argument.
81284 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
81285 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
81286 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
81287 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
81288
81289 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
81290 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
81291
81292 2011-08-30 Andreas Schwab <schwab@redhat.com>
81293
81294 * elf/rtld.c (dl_main): Relocate objects in dependency order.
81295
81296 2011-08-29 Jiri Olsa <jolsa@redhat.com>
81297
81298 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
81299 directive.
81300
81301 2011-08-24 David S. Miller <davem@davemloft.net>
81302
81303 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
81304
81305 2011-08-24 Andreas Schwab <schwab@redhat.com>
81306
81307 * elf/Makefile: Add rules to build and run unload8 test.
81308 * elf/unload8.c: New file.
81309 * elf/unload8mod1.c: New file.
81310 * elf/unload8mod1x.c: New file.
81311 * elf/unload8mod2.c: New file.
81312 * elf/unload8mod3.c: New file.
81313
81314 * elf/dl-close.c (_dl_close_worker): Reset private search list if
81315 it wasn't used.
81316
81317 2011-08-23 David S. Miller <davem@davemloft.net>
81318
81319 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
81320 subtract stack bias.
81321 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
81322 %sp not %fp in calculations.
81323 (_JMPBUF_UNWINDS_ADJ): Likewise.
81324
81325 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
81326 (aio_suspend): Call it to force an exception region around the
81327 AIO_MISC_WAIT() invocation.
81328
81329 2011-08-23 Andreas Schwab <schwab@redhat.com>
81330
81331 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
81332 backslash.
81333
81334 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
81335
81336 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
81337 protection macro.
81338 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
81339 and <dl-machine.h>.
81340 (Elf64_FuncDesc): Remove.
81341
81342 2011-08-22 David S. Miller <davem@davemloft.net>
81343
81344 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
81345 sigaltstack check, add missing cfi directives.
81346 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
81347 missing cfi directives, and sigaltstack handling.
81348
81349 2011-08-16 Andreas Schwab <schwab@redhat.com>
81350
81351 [BZ #11724]
81352 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
81353 object is seen twice.
81354 * elf/dl-fini.c (_dl_sort_fini): Likewise.
81355
81356 * elf/Makefile (distribute): Add tst-initorder2.c.
81357 (tests): Add tst-initorder2.
81358 (modules-names): Add tst-initorder2a tst-initorder2b
81359 tst-initorder2c tst-initorder2d. Add rules to build them.
81360 ($(objpfx)tst-initorder2.out): New rule.
81361 * elf/tst-initorder2.c: New file.
81362 * elf/tst-initorder2.exp: New file.
81363
81364 2011-08-22 Andreas Schwab <schwab@redhat.com>
81365
81366 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
81367
81368 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
81369 dependencies back to end of function.
81370
81371 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
81372 $(elfobjdir)/ld.so.
81373
81374 2011-08-21 Ulrich Drepper <drepper@gmail.com>
81375
81376 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
81377 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
81378 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
81379 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
81380 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
81381 of __vdso_gettimeofday.
81382 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
81383 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
81384 attribute_hidden.
81385 (_libc_vdso_platform_setup): Remove initialization of
81386 __vdso_gettimeofday and __vdso_time.
81387
81388 2011-08-20 Ulrich Drepper <drepper@gmail.com>
81389
81390 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
81391 and fgetc_unlocked.
81392 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
81393 getc_unlocked.
81394
81395 * elf/dl-open.c (add_to_global): Report additions to the global scope
81396 for LD_DEBUG=scopes.
81397 (dl_open_worker): Also print scope of newly loaded dependencies.
81398 (_dl_show_scope): Indicate if there is no scope.
81399
81400 [BZ #13114]
81401 * stdio-common/Makefile (tests): Add bug24.
81402 * stdio-common/bug24.c: New file.
81403
81404 2011-08-19 Andreas Jaeger <aj@suse.de>
81405
81406 [BZ #13114]
81407 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
81408 non-existant file when using close-on-exec mode.
81409
81410 2011-08-20 Ulrich Drepper <drepper@gmail.com>
81411
81412 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
81413 the very first instruction.
81414
81415 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
81416 the CFI state in the end.
81417 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
81418 inclusion of dl-trampoline.h.
81419 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
81420
81421 2011-08-19 Andreas Schwab <schwab@redhat.com>
81422
81423 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
81424 expectations for long double.
81425
81426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
81427 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
81428
81429 2011-08-14 David S. Miller <davem@davemloft.net>
81430
81431 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
81432 artificual limit depends upon the system page size.
81433
81434 2011-08-17 Ulrich Drepper <drepper@gmail.com>
81435
81436 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
81437 * resolv/Makefile: Define CFLAGS-libresolv.
81438
81439 2011-08-17 Andreas Schwab <schwab@redhat.com>
81440
81441 * nss/makedb.c (compute_tables): Make variables used in nested
81442 function static.
81443
81444 2011-08-17 Ulrich Drepper <drepper@gmail.com>
81445
81446 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
81447 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
81448 if buffer was too small.
81449
81450 * elf/pldd.c (main): Attach to all threads in the process.
81451 Rewrite /proc handling to use *at functions.
81452
81453 2011-08-16 Ulrich Drepper <drepper@gmail.com>
81454
81455 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
81456 specifies first scope to show.
81457 (dl_open_worker): Update callers. Move printing scope of new
81458 object to before the relocation.
81459 * elf/rtld.c (dl_main): Update _dl_show_scope call.
81460 * sysdeps/generic/ldsodefs.h: Update declaration.
81461
81462 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
81463 string for the scope number.
81464
81465 2011-08-14 Ulrich Drepper <drepper@gmail.com>
81466
81467 * nscd/servicescache.c (cache_addserv): Make sure written is always
81468 initialized.
81469
81470 2011-08-14 Roland McGrath <roland@hack.frob.com>
81471
81472 * sysdeps/i386/i486/bits/atomic.h
81473 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
81474 statement expression, so as to suppress "set but not used" warning.
81475 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
81476
81477 * string/strncat.c (STRNCAT): Use prototype definition.
81478
81479 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
81480 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
81481 -Iprograms here.
81482 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
81483 (localedef-modules): Add localedef.
81484 (locale-modules): Add locale.
81485
81486 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
81487 * elf/rtld.c (dl_main): Invert order of assignment in last change,
81488 to avoid a warning.
81489
81490 2011-08-14 David S. Miller <davem@davemloft.net>
81491
81492 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
81493 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
81494
81495 2011-08-13 Ulrich Drepper <drepper@gmail.com>
81496
81497 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
81498 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
81499 * elf/rtld.c (dl_main): Set l_name of vDSO.
81500 Call _dl_show_scope when DL_DEBUG_SCOPES.
81501 (process_dl_debug): Recognize scopes flag and also set it for all.
81502 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
81503 Declare _dl_show_scope.
81504
81505 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
81506 (do_dlopen): Pass caller_dlopen to dl_open.
81507 (__libc_dlopen_mode): Initialize caller_dlopen.
81508
81509 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
81510 of libc. Make tolower call locale-independent. Optimize a bit by
81511 using isdigit instead of isalnum.
81512 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
81513
81514 2011-08-12 Ulrich Drepper <drepper@gmail.com>
81515
81516 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
81517 was a dependency or dynamically loaded.
81518
81519 2011-08-11 Ulrich Drepper <drepper@gmail.com>
81520
81521 * intl/l10nflist.c: Allow architecture-specific pop function.
81522 * sysdeps/x86_64/l10nflist.c: New file.
81523
81524 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
81525 classification.
81526
81527 2011-08-10 Andreas Schwab <schwab@redhat.com>
81528
81529 * include/dirent.h: Add libc_hidden_proto for scandirat and
81530 scandirat64. Don't declare __scandirat64.
81531 * dirent/scandirat.c: Add libc_hidden_def.
81532 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
81533 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
81534
81535 2011-08-10 David S. Miller <davem@davemloft.net>
81536
81537 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
81538 enum.
81539 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
81540 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
81541 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
81542
81543 2011-08-09 Ulrich Drepper <drepper@gmail.com>
81544
81545 * Versions.def [libc]: Add GLIBC_2.15.
81546 * dirent/Makefile (routines): Add scandirat and scandirat64.
81547 * dirent/Versions [libc]: Export scandirat and scandirat64 for
81548 GLIBC_2.15.
81549 * dirent/dirent.h: Declare scandirat and scandirat64.
81550 * dirent/scandirat.c: New file.
81551 * dirent/scandirat64.c: New file.
81552 * sysdeps/wordsize-64/scandirat.c: New file.
81553 * sysdeps/wordsize-64/scandirat64.c: New file.
81554 * dirent/opendir.c: Define opendirat.
81555 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
81556 using scandirat.
81557 * dirent/scandir64.c: Adjust for scandir.c change.
81558 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
81559 __scandirat64, and __scandir_cancel_handler.
81560 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
81561 additional parameter and use openat instead of open (outside of ld.so).
81562 Add new __opendir as wrapper around __opendirat.
81563 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
81564 here without requiring old scandirat implementation.
81565
81566 2011-08-08 Ulrich Drepper <drepper@gmail.com>
81567
81568 * dirent/scandir.c (cancel_handler): Renamed to
81569 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
81570 defined. Adjust users.
81571 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
81572 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
81573
81574 2011-08-04 Ulrich Drepper <drepper@gmail.com>
81575
81576 * string/test-string.h (IMPL): Use __STRING to expand name and then
81577 stringify it.
81578
81579 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
81580 of cleanups.
81581
81582 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
81583
81584 * string/Makefile: Update.
81585 (strop-tests): Append strncat.
81586 * string/test-wcscmp.c: New file.
81587 New comprehensive test for wcscmp.
81588 * string/test-strcmp.c: Update.
81589 (WIDE): New define.
81590
81591 2011-07-22 Andreas Schwab <schwab@redhat.com>
81592
81593 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
81594 line.
81595
81596 2011-07-26 Andreas Schwab <schwab@redhat.com>
81597
81598 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
81599 encoding to ACE if AI_IDN.
81600
81601 2011-08-01 Jakub Jelinek <jakub@redhat.com>
81602
81603 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
81604 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
81605
81606 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
81607
81608 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
81609 Fix overflow bug in strncat.
81610 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
81611
81612 * string/test-strncat.c: Update.
81613 Add new tests for checking overflow bugs.
81614
81615 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
81616
81617 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
81618 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
81619 * sysdeps/i386/i686/multiarch/strcat.S: New file.
81620 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
81621 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
81622 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
81623 * sysdeps/i386/i686/multiarch/strncat.S: New file.
81624 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
81625 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
81626
81627 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
81628 (USE_AS_STRCAT): Define.
81629 Add strcat and strncat support.
81630 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
81631
81632 2011-07-25 Andreas Schwab <schwab@redhat.com>
81633
81634 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
81635 __n bigger than INT_MAX+1.
81636 (__strncmp_g): Likewise.
81637
81638 2011-07-23 Ulrich Drepper <drepper@gmail.com>
81639
81640 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
81641 * libio/stido.h: Likewise.
81642
81643 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
81644 (AF_NFC): Define.
81645 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
81646 (AF_NFC): Define.
81647
81648 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
81649 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
81650 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
81651 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
81652 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
81653
81654 [BZ #13021]
81655 * scripts/test-installation.pl: Don't expect libnss_test1 to be
81656 installed.
81657
81658 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
81659 typo.
81660 (_dl_x86_64_save_sse): Likewise.
81661
81662 2011-07-22 Ulrich Drepper <drepper@gmail.com>
81663
81664 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
81665 OSXSAVE.
81666 (_dl_x86_64_save_sse): Likewise.
81667
81668 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
81669
81670 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
81671
81672 2011-07-21 Andreas Schwab <schwab@redhat.com>
81673
81674 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
81675 change.
81676 (_dl_x86_64_save_sse): Use correct AVX check.
81677
81678 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
81679
81680 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
81681 bug in strncpy/strncat.
81682 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
81683
81684 2011-07-21 Ulrich Drepper <drepper@gmail.com>
81685
81686 * string/tester.c (test_strcat): Add tests for different alignments
81687 of source and destination.
81688 (test_strncat): Likewise.
81689
81690 2011-07-20 Ulrich Drepper <drepper@gmail.com>
81691
81692 [BZ #12852]
81693 * posix/glob.c (glob): Check passed in values before using them in
81694 expressions to avoid some overflows.
81695 (glob_in_dir): Likewise.
81696
81697 [BZ #13007]
81698 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
81699 check for AVX enablement so that we don't crash with old kernels and
81700 new hardware.
81701 * elf/tst-audit4.c: Add same checks here.
81702 * elf/tst-audit6.c: Likewise.
81703
81704 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
81705
81706 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
81707
81708 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
81709
81710 2011-07-20 Ulrich Drepper <drepper@gmail.com>
81711
81712 * po/cs.po: Update from translation team.
81713 * po/bg.po: Likewise.
81714
81715 2011-07-12 Marek Polacek <mpolacek@redhat.com>
81716
81717 * misc/sys/cdefs.h: Add support for const attribute.
81718 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
81719 to gnu_dev_{major,minor,makedev} functions.
81720
81721 2011-07-20 Marek Polacek <mpolacek@redhat.com>
81722
81723 * intl/dcigettext.c (get_output_charset): Add missing bracket.
81724
81725 2011-07-20 Andreas Schwab <schwab@redhat.com>
81726
81727 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
81728 strlen results.
81729
81730 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
81731
81732 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
81733 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
81734 register in order to avoid conflicts with the soft frame pointer
81735 being held in r11 when necessary.
81736 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
81737 (INTERNAL_VSYSCALL_NCS): Likewise.
81738
81739 2011-07-14 Marek Polacek <mpolacek@redhat.com>
81740
81741 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
81742 * elf/dl-fini.c (_dl_fini): Adjust caller.
81743 * elf/dl-close.c (_dl_close_worker): Likewise.
81744 * sysdeps/generic/ldsodefs.h: Adjust declaration.
81745
81746 2011-07-15 Marek Polacek <mpolacek@redhat.com>
81747
81748 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
81749 "aux_cache->nlibs < 0".
81750
81751 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
81752 in the reload-count case.
81753
81754 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
81755
81756 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
81757 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
81758 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
81759 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
81760 * sysdeps/x86_64/multiarch/strcat.S: New file.
81761 * sysdeps/x86_64/multiarch/strncat.S: New file.
81762 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
81763 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
81764 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
81765 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
81766 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
81767 (USE_AS_STRCAT): Define.
81768 Add strcat and strncat support.
81769 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
81770 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
81771 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
81772 * string/strncat.c: Update.
81773 (USE_AS_STRNCAT): Define.
81774 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81775 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
81776 and i7.
81777 * sysdeps/x86_64/multiarch/init-arch.h
81778 (bit_Prefer_PMINUB_for_stringop): New.
81779 (index_Prefer_PMINUB_for_stringop): Likewise.
81780 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
81781 bit_Prefer_PMINUB_for_stringop.
81782
81783 2011-07-19 Ulrich Drepper <drepper@gmail.com>
81784
81785 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
81786 buffer64.
81787 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
81788 of casting of buffer.
81789 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
81790 buffer32 and buffer64.
81791 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
81792 writes instead of casting of buffer.
81793 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
81794 buffer32.
81795 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
81796 casting of buffer.
81797
81798 2011-07-19 Andreas Schwab <schwab@redhat.com>
81799
81800 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
81801
81802 2011-07-19 Ulrich Drepper <drepper@gmail.com>
81803
81804 * nscd/nscd.c (termination_handler): Don't do anything for a database
81805 if it has not yet been initialized.
81806
81807 2011-07-18 Ulrich Drepper <drepper@gmail.com>
81808
81809 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
81810
81811 2011-07-15 Marek Polacek <mpolacek@redhat.com>
81812
81813 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
81814
81815 2011-07-18 Ulrich Drepper <drepper@gmail.com>
81816
81817 * po/nl.po: Update from translation team.
81818 * po/sv.po: Likewise.
81819
81820 2011-07-16 Roland McGrath <roland@hack.frob.com>
81821
81822 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
81823 now disallowed by GCC.
81824
81825 * configure.in (use-default-link): Default to yes if a test -shared
81826 link meets our qualifications.
81827 * configure: Regenerated.
81828
81829 * config.make.in (output-format): New variable.
81830 * configure.in: Check for ld --print-output-format support.
81831 * configure: Regenerated.
81832 * Makerules ($(common-objpfx)format.lds)
81833 [$(output-format) != unknown]: Just use $(output-format),
81834 instead of the linker-script munging.
81835
81836 2011-07-14 Roland McGrath <roland@hack.frob.com>
81837
81838 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
81839 of $(common-objpfx)shlib.lds.
81840 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
81841
81842 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
81843 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
81844
81845 * configure.in (-z relro check): Adjust test code to add a large
81846 writable data section after it.
81847 * configure: Regenerated.
81848
81849 2011-07-11 Roland McGrath <roland@hack.frob.com>
81850
81851 * configure.in (-z relro check): Fix test code to make the variable
81852 truly const.
81853 * configure: Regenerated.
81854
81855 2011-07-11 Ulrich Drepper <drepper@gmail.com>
81856
81857 * nscd/nscd.h (struct traced_file): Define.
81858 (struct database_dyn): Remove inotify_descr, reset_res, and filename
81859 elements. Add traced_files.
81860 (inotify_fd): Declare.
81861 (register_traced_file): Declare.
81862 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
81863 (inotify_fd): Export.
81864 (resolv_conf_descr): Remove.
81865 (nscd_init): Move inotify descriptor creation to main.
81866 Don't register files for notification here.
81867 (register_traced_file): New function.
81868 (invalidate_cache): Don't use reset_res to determine whether to call
81869 res_init, go through the list of registered files.
81870 (main_loop_poll): The inotify descriptors are now stored in the
81871 structures for the traced files.
81872 (main_loop_epoll): Likewise.
81873 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
81874 to __nss_disable_nscd.
81875 * nscd/cache.c (prune_cache): There is no single inotify descriptor
81876 for a database anymore. Check the records for all the registered
81877 files instead.
81878 * nss/Makefile (libnss_files-routines): Add files-init.
81879 (libnss_db-routines): Add db-init.
81880 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
81881 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
81882 * nss/nss_db/db-init.c: New file.
81883 * nss/nss_files/files-init.c: New file.
81884 * nss/nsswitch.c (nss_load_library): New function. Broken out of
81885 __nss_lookup_function.
81886 (__nss_lookup_function): Call nss_load_library.
81887 (nss_load_all_libraries): New function.
81888 (__nss_disable_nscd): Take parameter with callback function for files
81889 to register. Set is_nscd. Load all the DSOs for the NSS modules
81890 used for the cached services.
81891 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
81892 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
81893 options for features to all the files in nscd.
81894
81895 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
81896
81897 2011-07-10 Roland McGrath <roland@hack.frob.com>
81898
81899 * csu/elf-init.c (__libc_csu_init): Comment typo.
81900
81901 2011-07-09 Ulrich Drepper <drepper@gmail.com>
81902
81903 * po/pl.po: Update from translation team.
81904 * po/ja.po: Likewise.
81905 * po/ru.po: Likewise.
81906 * po/ko.po: Likewise.
81907 * po/fr.po: Likewise.
81908
81909 2011-07-09 Roland McGrath <roland@hack.frob.com>
81910
81911 * configure.in (.ctors/.dtors header and trailer check):
81912 Use an empirical test on a built program.
81913 * configure: Regenerated.
81914
81915 * configure.in (-z relro check): Use an empirical test on a built DSO.
81916 Detect, but do not require, on ia64.
81917 * configure: Regenerated.
81918
81919 * configure.in (READELF): Find it with AC_CHECK_TOOL.
81920 Update tests that use readelf to use $READELF instead.
81921 * configure: Regenerated.
81922
81923 2011-07-08 Ulrich Drepper <drepper@gmail.com>
81924
81925 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
81926 if the result is not used.
81927
81928 2011-07-05 Andreas Jaeger <aj@suse.de>
81929
81930 [BZ#9696]
81931 * stdlib/tst-strtod.c: Add testcase.
81932
81933 2011-07-07 Ulrich Drepper <drepper@gmail.com>
81934
81935 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
81936 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
81937 The latter has a higher limit. Take additional parameter to pass to
81938 the new function.
81939 (__pathconf): Pass file to __statfs_link_max.
81940 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
81941 __statfs_link_max.
81942 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
81943 __statfs_link_max.
81944
81945 [BZ #12868]
81946 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
81947 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
81948 Handle Lustre.
81949 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
81950 (__statfs_filesize_max): Likewise.
81951 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
81952
81953 2011-07-05 Andreas Jaeger <aj@suse.de>
81954
81955 * resolv/res_comp.c (dn_skipname): Remove unused variable.
81956
81957 2011-07-06 Marek Polacek <mpolacek@redhat.com>
81958
81959 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
81960 `status' variable.
81961 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
81962 Likewise.
81963
81964 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
81965
81966 * Makefile (strop-tests): Add strncat.
81967 * string/test-strncat.c: New file.
81968
81969 2011-06-30 Marek Polacek <mpolacek@redhat.com>
81970
81971 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
81972
81973 2011-06-21 Andreas Jaeger <aj@suse.de>
81974
81975 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
81976 Copy rule from iconvdata/Makefile.
81977
81978 2011-07-06 Ulrich Drepper <drepper@gmail.com>
81979
81980 [BZ #12922]
81981 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
81982 but no long options are defined, just return 'W'.
81983
81984 2011-06-22 Marek Polacek <mpolacek@redhat.com>
81985
81986 [BZ #9696]
81987 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
81988
81989 2011-07-06 Ulrich Drepper <drepper@gmail.com>
81990
81991 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
81992 netgroups to read.
81993 (innetgr): Likewise.
81994
81995 2011-07-05 Roland McGrath <roland@hack.frob.com>
81996
81997 * config.make.in (install_root): Default to $(DESTDIR).
81998
81999 2011-07-05 Ulrich Drepper <drepper@gmail.com>
82000
82001 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
82002
82003 2011-07-02 Roland McGrath <roland@hack.frob.com>
82004
82005 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
82006
82007 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
82008 containing directory rather than embedding absolute directory names.
82009
82010 * scripts/check-local-headers.sh: Rewritten using awk.
82011 Match by word, not by line. Print error messages for matches.
82012 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
82013
82014 * Makerules [shlib-lds-flags empty]:
82015 ($(common-objpfx)libc_pic.opts): New target.
82016 ($(common-objpfx)libc_pic.os.clean): New target.
82017 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
82018
82019 * config.make.in (OBJCOPY): New variable.
82020 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
82021 * configure: Regenerated.
82022
82023 * config.make.in (use-default-link): New variable.
82024 * configure.in (use_default_link): Grok --with-default-link to set it.
82025 * configure: Regenerated.
82026 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
82027 (shlib-lds, shlib-lds-flags): Define to empty.
82028
82029 * Makerules (shlib-lds): New variable.
82030 (shlib-lds-flags): New variable.
82031 (build-shlib, build-moduile, build-module-asneeded): Use it.
82032 ($(common-objpfx)libc.so): Use $(shlib-lds).
82033 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
82034 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
82035
82036 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
82037 DT_FLAGS/DT_FLAGS_1 with zero flags.
82038
82039 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
82040 linker script munging.
82041
82042 2011-07-02 Ulrich Drepper <drepper@gmail.com>
82043
82044 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
82045 as 128-bit value.
82046 * crypt/sha512.c (sha512_process_block): Perform total addition using
82047 128-bit if possible.
82048 (__sha512_finish_ctx): Likewise.
82049 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
82050 as 64-bit value.
82051 * crypt/sha256.c (SWAP64): Define.
82052 (sha256_process_block): Perform total addition using 64-bit if
82053 possible.
82054 (__sha256_finish_ctx): Likewise.
82055
82056 2011-07-01 Ulrich Drepper <drepper@gmail.com>
82057
82058 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
82059 * nscd/initgrcache.c (addinitgroupsX): Likewise.
82060 * nscd/hstcache.c (cache_addhst): Likewise.
82061 * nscd/grpcache.c (cache_addgr): Likewise.
82062 * nscd/aicache.c (addhstaiX): Likewise.
82063 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
82064
82065 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
82066
82067 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
82068 * nscd/initgrcache.c (addinitgroupsX): Likewise.
82069 * nscd/hstcache.c (cache_addhst): Likewise.
82070 * nscd/grpcache.c (cache_addgr): Likewise.
82071 * nscd/aicache.c (addhstaiX): Likewise.
82072
82073 2011-07-01 Andreas Schwab <schwab@redhat.com>
82074
82075 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
82076 domain only when needed.
82077
82078 2011-06-30 Andreas Schwab <schwab@redhat.com>
82079
82080 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
82081 is always restored.
82082
82083 2011-06-29 Ulrich Drepper <drepper@gmail.com>
82084
82085 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
82086 are re-adding the entry.
82087 * nscd/servicescache.c (cache_addserv): Likewise.
82088
82089 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
82090
82091 * sysdeps/generic/dl-irel.h: fix protection against multiple
82092 inclusions.
82093 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
82094
82095 2011-06-28 Ulrich Drepper <drepper@gmail.com>
82096
82097 [BZ #12935]
82098 * malloc/memusage.sh: Fix quoting in message.
82099 * debug/xtrace.sh: Likewise.
82100
82101 * configure.in: Remove support for --experimental-malloc option, make
82102 it the default.
82103 * config.make.in: Likewise.
82104 * malloc/Makefile: Likewise.
82105
82106 2011-06-27 Andreas Schwab <schwab@redhat.com>
82107
82108 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
82109 two-byte characters.
82110
82111 2011-06-27 Roland McGrath <roland@hack.frob.com>
82112
82113 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
82114 AC_CACHE_CHECK invocation.
82115 * configure: Regenerated.
82116
82117 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
82118
82119 2011-06-27 Ulrich Drepper <drepper@gmail.com>
82120
82121 [BZ #12350]
82122 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
82123 bit from old_res_options.
82124
82125 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
82126
82127 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
82128 value type for setfct.
82129
82130 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
82131
82132 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
82133 __gettimeofday instead of gettimeofday.
82134
82135 2011-06-26 Ulrich Drepper <drepper@gmail.com>
82136
82137 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
82138
82139 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
82140
82141 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
82142
82143 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
82144 info.
82145
82146 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
82147
82148 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82149 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
82150 strcpy-sse2-unaligned strncpy-sse2-unaligned
82151 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
82152 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
82153 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
82154 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
82155 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
82156 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
82157 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
82158 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
82159 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
82160 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
82161 (STRCPY): Support SSE2 and SSSE3 versions.
82162
82163 2011-06-24 Ulrich Drepper <drepper@gmail.com>
82164
82165 [BZ #12874]
82166 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
82167 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
82168 kernels which artificially limit size of requests.
82169
82170 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
82171
82172 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
82173 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
82174 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
82175 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
82176 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
82177 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
82178 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
82179 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
82180 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
82181 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
82182 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
82183 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
82184 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
82185 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
82186 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
82187 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82188 Enable unaligned load optimization for Intel Core i3, i5 and i7
82189 processors.
82190 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
82191 Define.
82192 (index_Fast_Unaligned_Load): Define.
82193 (HAS_FAST_UNALIGNED_LOAD): Define.
82194
82195 2011-06-23 Marek Polacek <mpolacek@redhat.com>
82196
82197 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
82198
82199 2011-06-22 Ulrich Drepper <drepper@gmail.com>
82200
82201 [BZ #12907]
82202 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
82203 until it is clear that the information is realy needed.
82204 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
82205
82206 2011-06-22 Andreas Schwab <schwab@redhat.com>
82207
82208 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
82209
82210 2011-06-22 Ulrich Drepper <drepper@gmail.com>
82211
82212 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
82213 /sys/devices/system/cpu/online if it is usable.
82214
82215 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
82216 reading the information from the /proc filesystem to once a second.
82217
82218 2011-06-21 Andreas Jaeger <aj@suse.de>
82219
82220 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
82221 NULL after inclusion of kernel headers.
82222
82223 2011-06-21 Ulrich Drepper <drepper@gmail.com>
82224
82225 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
82226 calls to internal_setent.
82227
82228 [BZ #12885]
82229 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
82230 addresses using gethostbyname4_r ignore IPv4 addresses.
82231
82232 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
82233 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
82234
82235 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
82236
82237 2011-06-20 David S. Miller <davem@davemloft.net>
82238
82239 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
82240 inclusions.
82241 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
82242
82243 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
82244 (elf_irel): Use it.
82245 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
82246 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
82247 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
82248 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
82249 * sysdeps/x86_64/dl-irel.h: Likewise.
82250
82251 * elf/dl-runtime.c: Use elf_ifunc_invoke.
82252 * elf/dl-sym.c: Likewise.
82253
82254 2011-06-15 Ulrich Drepper <drepper@gmail.com>
82255
82256 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
82257 need to dereference resplen2.
82258
82259 2011-06-14 Andreas Schwab <schwab@redhat.com>
82260
82261 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
82262
82263 2011-06-15 Ulrich Drepper <drepper@gmail.com>
82264
82265 * Makeconfig: Define vardbdir and inst_vardbdir.
82266 * nss/Makefile: Add rules to install db-Makefile.
82267
82268 * nss/nss_db/db-XXX.c: Cleanup.
82269
82270 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
82271 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
82272 GLIBC_PRIVATE.
82273 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
82274 * nss/makedb.c: Implement -g option to specify that value strings
82275 are generated and should not be added to table iterated over for
82276 get*ent calls.
82277 * nss/nss_db/db-initgroups.c: New file.
82278
82279 * nss/getent.c: Add support for initgroups lookups through getgrouplist
82280 interface.
82281
82282 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
82283 (internal_getgrouplist): Adjust to name change.
82284 Update use_initgroups_entry if this is not the first call.
82285 * nss/databases.def: Add initgroups entry.
82286
82287 * nss/makedb.c (compute_tables): Check result of multiple hash table
82288 sizes to minimize maximum chain length.
82289
82290 2011-06-14 Ulrich Drepper <drepper@gmail.com>
82291
82292 * Versions.def: Add entry for libnss_db.
82293 * shlib-versions: Likewise.
82294 * nss/Makefile: Add rules to build libnss_db.
82295 * nss/Versions: Add libnss_db information. Organize libnss_files
82296 entries better.
82297 * nss/db-Makefile: Add gshadow support. Change rules for the new
82298 makedb progra. Some minor improvements to generate smaller files.
82299 * nss/nss_db/nss_db.h: Move NSS database header data structures to
82300 here from...
82301 * nss/makedb.c: ...here.
82302 Improve database format to be smaller and require less memory at
82303 runtime.
82304 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
82305 db anymore.
82306 * nss/nss_db/db-netgrp.c: Likewise.
82307 * nss/nss_db/db-open.c: Likewise.
82308 * nss/nss_files/flies-XXX.x: Adjust comments.
82309 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
82310 * nss/nss_files/files-grp.c: Likewise.
82311 * nss/nss_files/files-hosts.c: Likewise.
82312 * nss/nss_files/files-network.c: Likewise.
82313 * nss/nss_files/files-proto.c: Likewise.
82314 * nss/nss_files/files-pwd.c: Likewise.
82315 * nss/nss_files/files-rpc.c: Likewise.
82316 * nss/nss_files/files-service.c: Likewise.
82317 * nss/nss_files/files-sgrp.c: Likewise.
82318 * nss/nss_files/files-spwd.c: Likewise.
82319 * nss/nss_db/db-alias.c: Removed.
82320 * nss/nss_db/dummy-db.h: Removed.
82321
82322 2011-06-02 Ulrich Drepper <drepper@gmail.com>
82323
82324 * nss/makedb.c: Rewritten to not use database library.
82325 * nss/Makefile: Update to build new makedb program.
82326
82327 2011-06-14 Andreas Jaeger <aj@suse.de>
82328
82329 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
82330 memset declaration.
82331
82332 2011-06-10 Andreas Schwab <schwab@redhat.com>
82333
82334 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
82335 tmpbuf.
82336
82337 2011-06-10 Roland McGrath <roland@hack.frob.com>
82338
82339 * Makerules (shlib.lds): Fail if the linker script comes out empty.
82340 * elf/Makefile ($(objpfx)ld.so): Likewise.
82341
82342 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
82343 Don't list ld.so twice in dependencies.
82344
82345 * posix/bug-regex31.c: Include <stdlib.h>.
82346
82347 * nscd/hstcache.c (cache_addhst): Remove unused variable.
82348
82349 * nis/nss_compat/compat-spwd.c
82350 (getspent_next_nss_netgr): Remove unused variable.
82351 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
82352
82353 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
82354 nonmembers" output to use the right array.
82355
82356 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
82357
82358 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
82359
82360 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
82361 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
82362 * catgets/gencat.c (read_input_file): Likewise.
82363 * locale/programs/locarchive.c (enlarge_archive): Likewise.
82364
82365 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
82366 variable definition inside #if's controlling its use.
82367
82368 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
82369
82370 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
82371
82372 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
82373
82374 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
82375 unreachable code.
82376
82377 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
82378
82379 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
82380 * configure: Regenerated.
82381
82382 * Makerules: Revert last change.
82383 * elf/Makefile: Likewise.
82384
82385 2011-06-09 Roland McGrath <roland@hack.frob.com>
82386
82387 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
82388 * elf/Makefile ($(objpfx)librtld.os): Likewise.
82389 (reloc-link): Likewise.
82390
82391 2011-06-09 Ulrich Drepper <drepper@gmail.com>
82392
82393 * elf/Makefile: Add rules to build pldd.
82394 * elf/pldd.c: New file.
82395 * elf/pldd-xx.c: New file.
82396
82397 2011-06-07 Ulrich Drepper <drepper@gmail.com>
82398
82399 * version.h: Update for 2.15 development version.
82400
82401 2011-06-07 David S. Miller <davem@davemloft.net>
82402
82403 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
82404 ifuncs.
82405 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
82406 elf_machine_lazy_rel): Likewise.
82407 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
82408 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
82409 elf_machine_lazy_rel): Likewise.
82410 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
82411 dl_hwcap via passed in argument.
82412 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
82413 Likewise.
82414
82415 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
82416
82417 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
82418
82419 2011-06-06 Roland McGrath <roland@hack.frob.com>
82420
82421 [BZ #12849]
82422 * manual/fdl-1.1.texi: New file, verbatim from:
82423 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
82424 * manual/lgpl-2.1.texi: New file, verbatim from:
82425 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
82426 * manual/Makefile (licenses): New variable, list those new file names.
82427 (texis): Use it.
82428 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
82429
82430 * manual/fdl.texi: File removed.
82431 * manual/lesser.texi: File removed.
82432 * manual/libc.texinfo (Copying, Documentation License):
82433 Use new @include file names, put @appendix directive before @include.
82434
82435 2011-06-04 Jakub Jelinek <jakub@redhat.com>
82436
82437 [BZ #12841]
82438 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
82439 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
82440 (mq_open): Add __NTH.
82441
82442 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
82443
82444 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82445 Assume Intel Core i3/i5/i7 processor if AVX is available.
82446
82447 2011-05-31 Ulrich Drepper <drepper@gmail.com>
82448
82449 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
82450 typo.
82451
82452 2011-05-31 Andreas Schwab <schwab@redhat.com>
82453
82454 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
82455 memory. Use alloca_account. Fix memory leak when retrying.
82456
82457 2011-05-31 Ulrich Drepper <drepper@gmail.com>
82458
82459 * version.h (RELEASE): Bump for 2.14 release.
82460 * include/features.h (__GLIBC_MINOR__): Bump to 14.
82461
82462 * config.make.in (RANLIB): Remove entry.
82463
82464 2011-05-30 Ulrich Drepper <drepper@gmail.com>
82465
82466 * po/Makefile (po-sed-cmd): Add ksh to extensions.
82467 (libc.pot): Work around missing support for .ksh extension in xgettext.
82468
82469 [BZ #12684]
82470 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
82471 if both request failed.
82472 (send_dg): In case of server errors clear resplen or *resplen2.
82473
82474 [BZ #12454]
82475 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
82476 when there are multiple maps.
82477 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
82478 (_dl_fini): Remove test here.
82479
82480 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
82481
82482 2011-05-29 Ulrich Drepper <drepper@gmail.com>
82483
82484 [BZ #12350]
82485 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
82486 bit from old_res_options.
82487 (gaih_inet): Likewise.
82488
82489 [BZ #11099]
82490 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
82491 as signed.
82492
82493 * resolv/res_init.c (res_setoptions): Make the code more compact.
82494
82495 [BZ #11558]
82496 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
82497 set RES_USEVC.
82498
82499 [BZ #11634]
82500 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
82501
82502 * malloc/malloc.h: Mark malloc hook variables as deprecated.
82503
82504 [BZ #11781]
82505 * malloc/malloc.h: Declare malloc hook variables as volatile.
82506
82507 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
82508 in last patch.
82509
82510 [BZ #11799]
82511 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
82512 raise in the comment.
82513 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
82514 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
82515 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
82516
82517 2011-05-28 Ulrich Drepper <drepper@gmail.com>
82518
82519 [BZ #12811]
82520 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
82521 grow the buffers more if it already has to be sufficient.
82522 (build_wcs_upper_buffer): Likewise.
82523 * posix/regexec.c (check_matching): Likewise.
82524 (clean_state_log_if_needed): Likewise.
82525 (extend_buffers): Don't enlarge buffers beyond size of the input
82526 buffer.
82527 Patches mostly by Emil Wojak <emil@wojak.eu>.
82528 * posix/bug-regex32.c: New file.
82529 * posix/Makefile (tests): Add bug-regex32.
82530
82531 * locale/findlocale.c (_nl_find_locale): Return right away if
82532 _nl_explode_name failed.
82533 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
82534
82535 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
82536
82537 * debug/xtrace.sh: Unify messages.
82538 * malloc/memusage.sh: Likewise.
82539
82540 [BZ #12813]
82541 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
82542 time symbol from vDSO. Substitute with vsyscall if not available.
82543 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
82544 __vdso_time.
82545
82546 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
82547 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
82548 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
82549 Add sendmmsg and internal_sendmmsg.
82550 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
82551 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
82552 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
82553
82554 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
82555 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
82556 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
82557
82558 2011-05-27 Ulrich Drepper <drepper@gmail.com>
82559
82560 [BZ #12813]
82561 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
82562 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
82563 available.
82564 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
82565 __vdso_getcpu.
82566
82567 [BZ #12814]
82568 * iconvdata/Makefile (tests): Add bug-iconv9.
82569 * iconvdata/bug-iconv9.c: New file.
82570
82571 2011-05-27 Andreas Schwab <schwab@redhat.com>
82572
82573 [BZ #12814]
82574 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
82575
82576 2011-05-25 Jakub Jelinek <jakub@redhat.com>
82577
82578 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
82579 (struct user_regs_struct): Change intcs field back to cs.
82580
82581 2011-05-25 Ulrich Drepper <drepper@gmail.com>
82582
82583 * po/ja.po: Update from translation team.
82584
82585 2011-05-23 Ulrich Drepper <drepper@gmail.com>
82586
82587 [BZ #12795]
82588 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
82589 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
82590
82591 2011-05-20 Andreas Schwab <schwab@redhat.com>
82592
82593 * stdlib/longlong.h: Update from GCC.
82594
82595 2011-05-23 Andreas Schwab <schwab@redhat.com>
82596
82597 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
82598 parameter name.
82599 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
82600 Add parameter name.
82601 (__sysconf): Pass it down.
82602
82603 2011-05-22 Ulrich Drepper <drepper@gmail.com>
82604
82605 [BZ #12671]
82606 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
82607 some situations.
82608 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
82609 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
82610 add in in __libc_use_alloca calls. Adjust callers.
82611 (glob): Use malloc in some situations.
82612
82613 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
82614 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
82615 pltexit.
82616
82617 2011-05-21 Ulrich Drepper <drepper@gmail.com>
82618
82619 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
82620 and CLOCK_BOOTTIME_ALARM.
82621
82622 [BZ #12782]
82623 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
82624 is returned.
82625
82626 * string/_strerror.c (__strerror_r): Print negative errors as signed
82627 numbers.
82628
82629 [BZ #12777]
82630 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
82631 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
82632 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
82633
82634 * configure.in: Fix typo in redirection and correct removal of test
82635 files in two cases.
82636
82637 [BZ #12788]
82638 * locale/setlocale.c (new_composite_name): Fix test to check for
82639 identical name of all categories.
82640
82641 [BZ #12792]
82642 * libio/filedoalloc.c (local_isatty): New function.
82643 (_IO_file_doallocate): Use local_isatty.
82644 * stdio-common/perror.c (perror): In case a new stream is used
82645 forward the stream error.
82646 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
82647 error flag.
82648
82649 2011-05-20 Ulrich Drepper <drepper@gmail.com>
82650
82651 [BZ #11884]
82652 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
82653 alloca.
82654 * include/alloca.h (extend_alloca_account): Define.
82655
82656 [BZ #11857]
82657 * posix/regex.h: Fix comments with documentation of user-accessible
82658 fields after compilation and describe correct free'ing of pattern
82659 after re_compile_pattern.
82660 Patch by Reuben Thomas <rrt@sc3d.org>.
82661
82662 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
82663
82664 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
82665 and -mno-altivec to prevent the compiler from using Altivec and/or
82666 VSX instructions when the corresponding registers are not available.
82667
82668 2011-05-19 Andreas Schwab <schwab@redhat.com>
82669
82670 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
82671
82672 2011-05-19 Ulrich Drepper <drepper@gmail.com>
82673
82674 * libio/freopen.c (freopen): Use __dup2, not dup2.
82675 * libio/freopen64.c (freopen64): Likewise.
82676
82677 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
82678
82679 [BZ #12775]
82680 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
82681 * math/Makefile (tests): Add test-powl.
82682 (CFLAGS-test-powl.c): Define.
82683 * math/test-powl.c: New file.
82684
82685 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
82686
82687 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
82688
82689 2011-05-17 Ulrich Drepper <drepper@gmail.com>
82690
82691 [BZ #11837]
82692 * iconvdata/gb18030.c: Update to GB18020-2005.
82693
82694 2011-05-16 Ulrich Drepper <drepper@gmail.com>
82695
82696 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
82697 RE_SYNTAX_POSIX_AWK): Update to match recent development.
82698 Patch by Aharon Robbins <arnold@skeeve.com>.
82699
82700 [BZ #11892]
82701 * stdlib/putenv.c (putenv): Don't always create copy of the variable
82702 on the stack.
82703
82704 [BZ #11895]
82705 * misc/pselect.c (__pselect): Handle timeout value errors hidden
82706 through underflows.
82707
82708 [BZ #12766]
82709 * misc/error.c (error_at_line): Ensure file_name and old_file_name
82710 point to strings before performing equality test for error_one_per_line
82711 mode.
82712
82713 [BZ #11697]
82714 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
82715
82716 [BZ #11820]
82717 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
82718 (struct user_fpregs_struct): Avoid __uint*_t types.
82719
82720 [BZ #6420]
82721 * malloc/mtrace.c (tr_where): Add additional parameter to point to
82722 symbol info. Use it instead of calling _dl_addr locally.
82723 (lock_and_info): New function.
82724 (tr_freehook): Call lock_and_info and pass symbol info as additional
82725 parameter to tr_where.
82726 (tr_mallochook): Likewise.
82727 (tr_reallochook): Likewise.
82728 (tr_memalignhook): Likewise.
82729
82730 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
82731 used and couldn't be at all thread-safe.
82732
82733 2011-05-15 Ulrich Drepper <drepper@gmail.com>
82734
82735 * libio/freopen.c (freopen): Don't close old file descriptor
82736 before the new one is opened. Instead dup the new file descriptor
82737 to the old one after the new stream is created.
82738 * libio/freopen64.c (freopen64): Likewise.
82739 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
82740 * libio/fileops.c (_IO_new_file_close_it): Handle new
82741 _IO_FLAGS2_NOCLOSE flag.
82742 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
82743 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
82744 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
82745 _IO_FLAGS2_NOCLOSE flag.
82746 * include/unistd.h: Add hidden_proto for dup3.
82747 Define __have_dup3.
82748 * io/dup3.c: Define hidden symbol.
82749 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
82750
82751 [BZ #7101]
82752 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
82753 when an incomplete long option is used.
82754 * posix/tst-getopt_long1.c: New file.
82755 * posix/Makefile (tests): Add tst-getopt_long1.
82756
82757 [BZ #10138]
82758 * scripts/config.guess: Update from autoconf-2.68.
82759 * scripts/config.sub: Likewise.
82760
82761 [BZ #10157]
82762 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
82763 tests into ...
82764 (has_cpuclock): ...this. New function.
82765 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
82766 macro here based on has_cpuclock code.
82767
82768 [BZ #10149]
82769 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
82770 First byte (not low byte) is now always NUL.
82771 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
82772
82773 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
82774 Use non-cancelable interfaces.
82775
82776 [BZ #9809]
82777 * locale/iso-639.def: Add entry for Sorani.
82778
82779 [BZ #11901]
82780 * include/stdlib.h: Move include protection to the right place.
82781 Define abort_msg_s. Declare __abort_msg with it.
82782 * stdlib/abort.c (__abort_msg): Adjust type.
82783 * assert/assert.c (__assert_fail_base): New function. Majority
82784 of code from __assert_fail. Allocate memory for __abort_msg with
82785 mmap.
82786 (__assert_fail): Now call __assert_fail_base.
82787 * assert/assert-perr.c: Remove bulk of implementation. Use
82788 __assert_fail_base.
82789 * include/assert.hL Declare __assert_fail_base.
82790 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
82791 mmap.
82792 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
82793
82794 2011-05-14 Ulrich Drepper <drepper@gmail.com>
82795
82796 [BZ #11952]
82797 [BZ #12453]
82798 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
82799 until all modules are registered in the DTV.
82800 * elf/Makefile: Add rules to build and run tst-tls19.
82801 * elf/tst-tls19.c: New file.
82802 * elf/tst-tls19mod1.c: New file.
82803 * elf/tst-tls19mod2.c: New file.
82804 * elf/tst-tls19mod3.c: New file.
82805 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
82806
82807 [BZ #12083]
82808 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
82809 correctly.
82810
82811 [BZ #12601]
82812 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
82813 two-byte sequence errors.
82814 * iconvdata/Makefile (tests): Add bug-iconv8.
82815 * iconvdata/bug-iconv8.c: New file.
82816
82817 [BZ #12626]
82818 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
82819 buf2 definition.
82820
82821 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
82822
82823 [BZ #12432]
82824 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
82825 (dummy_getcfa): New function.
82826 (init): Get _Unwind_GetCFA address, use dummy if not found.
82827 (backtrace_helper): In recursion check, also check whether CFA changes.
82828 (__backtrace): Completely initialize arg.
82829
82830 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
82831 storing incomplete byte sequence in state object. Avoid testing for
82832 guaranteed too small input if we know there is enough data available.
82833
82834 2011-05-11 Andreas Schwab <schwab@redhat.com>
82835
82836 * Makeconfig (+link-pie): Indent.
82837 * Rules (binaries-pie): Define if $(have-fpie) and
82838 $(build-shared).
82839 (binaries-shared): Also filter out $(binaries-pie).
82840 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
82841 * nscd/Makefile (others-pie): Add nscd.
82842 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
82843 ($(objpfx)nscd): Remove command override.
82844 * login/Makefile (others-pie): Add pt_chown.
82845 ($(objpfx)pt_chown): Remove command override.
82846 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
82847 remove command overrides.
82848
82849 2011-05-13 Ulrich Drepper <drepper@gmail.com>
82850
82851 * libio/tst_putwc.c: Fix error messages.
82852
82853 [BZ #12724]
82854 * libio/fileops.c (_IO_new_file_close_it): Always flush when
82855 currently writing and seek to current position when not.
82856 * libio/Makefile (tests): Add bug-fclose1.
82857 * libio/bug-fclose1.c: New file.
82858
82859 2011-05-12 Ulrich Drepper <drepper@gmail.com>
82860
82861 [BZ #12511]
82862 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
82863 don't set DF_1_NODELETE here.
82864 (do_lookup_x): When entering new entry test for copy relocation
82865 and if necessary set DF_1_NODELETE flag.
82866 * elf/tst-unique4.cc: New file.
82867 * elf/tst-unique4.h: New file.
82868 * elf/tst-unique4lib.cc: New file.
82869 * elf/Makefile: Add rules to build and run tst-unique4.
82870 Patch by Piotr Bury <pbury@goahead.com>.
82871
82872 2011-05-11 Ulrich Drepper <drepper@gmail.com>
82873
82874 [BZ #12052]
82875 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
82876
82877 [BZ #12625]
82878 * misc/mntent_r.c (addmntent): Flush the stream after the output
82879
82880 [BZ #12393]
82881 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
82882 (is_trusted_path_normalize): Skip initial colon. Append slash
82883 to empty buffer. Duplicate is_trusted_path code but allow
82884 constructed patch to be prefix.
82885 (is_dst): Allow $ORIGIN followed by /.
82886 (_dl_dst_substitute): Correct clearing of check_for_trusted.
82887 Correct testing of result of is_trusted_path_normalize
82888 (decompose_rpath): Fix warning.
82889
82890 2011-05-10 Ulrich Drepper <drepper@gmail.com>
82891
82892 [BZ #11257]
82893 * grp/initgroups.c (internal_getgrouplist): When we found the service
82894 list through the initgroups entry in nsswitch.conf do not always
82895 continue on a successful lookup. Don't always use the
82896 __nss_group_database value if it is set.
82897 * nss/nsswitch.conf (initgroups): Change action for successful db
82898 lookup to continue for compatibility.
82899
82900 2011-05-09 Ulrich Drepper <drepper@gmail.com>
82901
82902 [BZ #11532]
82903 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
82904 and CP774 modules.
82905 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
82906 and CP774 modules.
82907 * iconvdata/tst-tables.sh: Likewise.
82908 * iconvdata/cp770.c: New file.
82909 * iconvdata/cp771.c: New file.
82910 * iconvdata/cp772.c: New file.
82911 * iconvdata/cp773.c: New file.
82912 * iconvdata/cp774.c: New file.
82913 * iconvdata/testdata/CP770: New file.
82914 * iconvdata/testdata/CP770..UTF8: New file.
82915 * iconvdata/testdata/CP771: New file.
82916 * iconvdata/testdata/CP771..UTF8: New file.
82917 * iconvdata/testdata/CP772: New file.
82918 * iconvdata/testdata/CP772..UTF8: New file.
82919 * iconvdata/testdata/CP773: New file.
82920 * iconvdata/testdata/CP773..UTF8: New file.
82921 * iconvdata/testdata/CP774: New file.
82922 * iconvdata/testdata/CP774..UTF8: New file.
82923
82924 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
82925 END CHARMAP line.
82926 * iconvdata/gen-8bit-gap.sh: Likewise.
82927 * iconvdata/gen-8bit.sh: Likewise.
82928
82929 * locale/iso-639.def: Add ary entry.
82930
82931 [BZ #11258]
82932 * locale/C-translit.h.in: Add U20A1 transliteration.
82933
82934 [BZ #12178]
82935 * locale/iso-639.def: Add wae entry.
82936 Patch by Kevin Bortis <bortis@translate-wae.ch>.
82937
82938 [BZ #12545]
82939 * locale/programs/localedef.c (construct_output_path): Use ssize_t
82940 for n.
82941
82942 [BZ #12711]
82943 * locale/C-translit.h.in: Add entry for U20B9.
82944 Patch by pravin.d.s@gmail.com.
82945
82946 2011-05-08 Ulrich Drepper <drepper@gmail.com>
82947
82948 [BZ #12713]
82949 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
82950 ENAMETOOLONG use generic getcwd.
82951 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
82952 in rtld. Use *stat64.
82953 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
82954 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
82955 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
82956 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
82957 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
82958 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
82959 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
82960 __fstatat64 macros.
82961 * include/dirent.h: Add libc_hidden_proto for rewinddir.
82962 * dirent/rewinddir.c: Add libc_hidden_def.
82963 * sysdeps/mach/hurd/rewinddir.c: Likewise.
82964 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
82965
82966 * include/dirent.h (__alloc_dir): Add flags parameter.
82967 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
82968 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
82969 __alloc_dir.
82970 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
82971 from fdopendir if O_CLOEXEC is already set.
82972
82973 2011-03-15 Alan Modra <amodra@gmail.com>
82974
82975 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
82976 l_tls_firstbyte_offset non-zero. Save padding offset in
82977 l_tls_firstbyte_offset for later use.
82978 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
82979 freeing static tls block.
82980
82981 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
82982
82983 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
82984 where #ifdef was intended. The intent is to prevent ARG_MAX from
82985 being defined by the kernel headers.
82986
82987 2011-05-07 Ulrich Drepper <drepper@gmail.com>
82988
82989 [BZ #12734]
82990 * resolv/resolv.h: Define RES_NOTLDQUERY.
82991 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
82992 no-tld-query and set RES_NOTLDQUERY.
82993 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
82994 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
82995 modern BIND to search name as TLD unless forbidden.
82996
82997 2011-05-07 Petr Baudis <pasky@suse.cz>
82998 Ulrich Drepper <drepper@gmail.com>
82999
83000 [BZ #12393]
83001 * elf/dl-load.c (fillin_rpath): Move trusted path check...
83002 (is_trusted_path): ...to here.
83003 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
83004 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
83005 using is_trusted_path_normalize() in setuid scripts.
83006
83007 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
83008
83009 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
83010 __BEGIN/__END_DECLS.
83011
83012 2011-05-06 Ulrich Drepper <drepper@gmail.com>
83013
83014 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
83015 NSS_STATUS_NOTFOUND if no record was found.
83016
83017 2011-05-05 Andreas Schwab <schwab@redhat.com>
83018
83019 * sunrpc/Makefile (headers): Add rpc/netdb.h.
83020 (headers-not-in-tirpc): Remove rpc/netdb.h
83021 * resolv/netdb.h: Revert last change.
83022
83023 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
83024
83025 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
83026 circular dependency between libgcc.a and libc.a.
83027
83028 2011-05-05 Andreas Schwab <schwab@redhat.com>
83029
83030 * resolv/netdb.h: Don't include <rpc/netdb.h>.
83031 * nis/Makefile: Don't install rpcsvc/*.
83032 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
83033 instead of <rpc/types.h>.
83034 (MAXHOSTNAMELEN): Define.
83035
83036 2011-05-03 Andreas Schwab <schwab@redhat.com>
83037
83038 * elf/ldconfig.c (add_dir): Don't crash on empty path.
83039
83040 2011-04-28 Maciej Babinski <mbabinski@google.com>
83041
83042 [BZ #12714]
83043 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
83044 gethostbyname4_r when IPv6 results are possible.
83045
83046 2011-05-02 Ulrich Drepper <drepper@gmail.com>
83047
83048 [BZ #12723]
83049 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
83050 _PC_PIPE_BUF handling.
83051
83052 2011-04-30 Bruno Haible <bruno@clisp.org>
83053
83054 [BZ #12717]
83055 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
83056 * resolv/netdb.h (getnameinfo): Change type of flags parameter
83057 to 'int'.
83058 * inet/getnameinfo.c (getnameinfo): Likewise.
83059
83060 2011-04-29 Ulrich Drepper <drepper@gmail.com>
83061
83062 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
83063 to groups setting in database lookup.
83064 * nss/nsswitch.conf: Add initgroups entry.
83065
83066 2011-04-22 Ulrich Drepper <drepper@gmail.com>
83067
83068 [BZ #12685]
83069 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
83070 mode string.
83071 Patch by Eric Blake <eblake@redhat.com>.
83072
83073 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
83074
83075 * sunrpc/Makefile (need-export-routines): Add svc_run.
83076 (routines): Remove svc_run.
83077 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
83078 * sunrpc/clnt_perr.c (clnt_perrno): Export.
83079 * sunrpc/svc_run.c (svc_run): Likewise.
83080 * sunrpc/svc_udp.c (svcudp_create): Likewise.
83081
83082 2011-04-21 Ulrich Drepper <drepper@gmail.com>
83083
83084 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
83085 problem in reallocation in last patch.
83086
83087 2011-04-20 Ulrich Drepper <drepper@gmail.com>
83088
83089 * sunrpc/Makefile: Move inclusion of Rules.
83090
83091 2011-04-19 Ulrich Drepper <drepper@gmail.com>
83092
83093 * nss/nss_files/files-initgroups.c: New file.
83094 * nss/Makefile (libnss_files-routines): Add files-initgroups.
83095 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
83096 _nss_files_initgroups_dyn.
83097
83098 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
83099
83100 * elf/elf.h (R_ARM_IRELATIVE): Define.
83101
83102 2011-04-19 Ulrich Drepper <drepper@gmail.com>
83103
83104 * po/ru.po: Update from translation team.
83105
83106 2011-04-17 Ulrich Drepper <drepper@gmail.com>
83107
83108 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
83109 dependencies.
83110
83111 2011-02-06 Mike Frysinger <vapier@gentoo.org>
83112
83113 [BZ #12653]
83114 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
83115 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
83116 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
83117 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
83118 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
83119
83120 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
83121
83122 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
83123 differing bytes.
83124 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
83125 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
83126 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
83127
83128 2011-04-17 Ulrich Drepper <drepper@gmail.com>
83129
83130 [BZ #12420]
83131 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
83132 storing it.
83133 * stdlib/bug-getcontext.c: New file.
83134 * stdlib/Makefile: Add rules to build and run bug-getcontext.
83135
83136 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
83137
83138 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
83139 instructions into .machine "z9-109".
83140 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
83141 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
83142
83143 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
83144
83145 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
83146 between environment variables and auxiliary vector.
83147
83148 2011-04-16 Ulrich Drepper <drepper@gmail.com>
83149
83150 * Makefile: Add rules to build linkobj/libc.so.
83151 * include/libc-symbols.h: Define libc_hidden_nolink.
83152 * include/rpc/auth.h: Mark functions which are to be hidden.
83153 * include/rpc/auth_des.h: Likewise.
83154 * include/rpc/auth_unix.h: Likewise.
83155 * include/rpc/clnt.h: Likewise.
83156 * include/rpc/des_crypt.h: Likewise.
83157 * include/rpc/key_prot.h: Likewise.
83158 * include/rpc/pmap_clnt.h: Likewise.
83159 * include/rpc/pmap_prot.h: Likewise.
83160 * include/rpc/pmap_rmt.h: Likewise.
83161 * include/rpc/rpc_msg.h: Likewise.
83162 * include/rpc/svc.h: Likewise.
83163 * include/rpc/svc_auth.h: Likewise.
83164 * include/rpc/xdr.h: Likewise.
83165 * nis/Makefile: Link all DSOs against linkobj/libc.so.
83166 * nss/Makefile: Likewise.
83167 * sunrpc/Makefile: Don't install headers. Build library with normal
83168 entry points. Don't build rpcinfo. Link RPC tests appropriately.
83169 * sunrpc/auth_des.c: Hide exported symbols by default, export some
83170 for the compat linking library. Remove use of INTDEF/INTUSE.
83171 * sunrpc/auth_none.c: Likewise.
83172 * sunrpc/auth_unix.c: Likewise.
83173 * sunrpc/authdes_prot.c: Likewise.
83174 * sunrpc/authuxprot.c: Likewise.
83175 * sunrpc/clnt_gen.c: Likewise.
83176 * sunrpc/clnt_perr.c: Likewise.
83177 * sunrpc/clnt_raw.c: Likewise.
83178 * sunrpc/clnt_simp.c: Likewise.
83179 * sunrpc/clnt_tcp.c: Likewise.
83180 * sunrpc/clnt_udp.c: Likewise.
83181 * sunrpc/clnt_unix.c: Likewise.
83182 * sunrpc/des_crypt.c: Likewise.
83183 * sunrpc/des_soft.c: Likewise.
83184 * sunrpc/get_myaddr.c: Likewise.
83185 * sunrpc/key_call.c: Likewise.
83186 * sunrpc/key_prot.c: Likewise.
83187 * sunrpc/netname.c: Likewise.
83188 * sunrpc/pm_getmaps.c: Likewise.
83189 * sunrpc/pm_getport.c: Likewise.
83190 * sunrpc/pmap_clnt.c: Likewise.
83191 * sunrpc/pmap_prot.c: Likewise.
83192 * sunrpc/pmap_prot2.c: Likewise.
83193 * sunrpc/pmap_rmt.c: Likewise.
83194 * sunrpc/publickey.c: Likewise.
83195 * sunrpc/rpc_cmsg.c: Likewise.
83196 * sunrpc/rpc_common.c: Likewise.
83197 * sunrpc/rpc_dtable.c: Likewise.
83198 * sunrpc/rpc_prot.c: Likewise.
83199 * sunrpc/rpc_thread.c: Likewise.
83200 * sunrpc/rtime.c: Likewise.
83201 * sunrpc/svc.c: Likewise.
83202 * sunrpc/svc_auth.c: Likewise.
83203 * sunrpc/svc_authux.c: Likewise.
83204 * sunrpc/svc_raw.c: Likewise.
83205 * sunrpc/svc_run.c: Likewise.
83206 * sunrpc/svc_simple.c: Likewise.
83207 * sunrpc/svc_tcp.c: Likewise.
83208 * sunrpc/svc_udp.c: Likewise.
83209 * sunrpc/svc_unix.c: Likewise.
83210 * sunrpc/svcauth_des.c: Likewise.
83211 * sunrpc/xcrypt.c: Likewise.
83212 * sunrpc/xdr.c: Likewise.
83213 * sunrpc/xdr_array.c: Likewise.
83214 * sunrpc/xdr_float.c: Likewise.
83215 * sunrpc/xdr_intXX_t.c: Likewise.
83216 * sunrpc/xdr_mem.c: Likewise.
83217 * sunrpc/xdr_rec.c: Likewise.
83218 * sunrpc/xdr_ref.c: Likewise.
83219 * sunrpc/xdr_sizeof.c: Likewise.
83220 * sunrpc/xdr_stdio.c: Likewise.
83221
83222 2011-04-10 Ulrich Drepper <drepper@gmail.com>
83223
83224 [BZ #12650]
83225 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
83226 * sysdeps/ia64/dl-tls.h: Likewise.
83227 * sysdeps/powerpc/dl-tls.h: Likewise.
83228 * sysdeps/s390/dl-tls.h: Likewise.
83229 * sysdeps/sh/dl-tls.h: Likewise.
83230 * sysdeps/sparc/dl-tls.h: Likewise.
83231 * sysdeps/x86_64/dl-tls.h: Likewise.
83232 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
83233
83234 2011-03-14 Andreas Schwab <schwab@redhat.com>
83235
83236 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
83237 rpath element also skip the following colon.
83238 (expand_dynamic_string_token): Add is_path parameter and pass
83239 down to DL_DST_REQUIRED and _dl_dst_substitute.
83240 (decompose_rpath): Call expand_dynamic_string_token with
83241 non-zero is_path. Ignore empty rpaths.
83242 (_dl_map_object_from_fd): Call expand_dynamic_string_token
83243 with zero is_path.
83244
83245 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
83246
83247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
83248 Make cancelable.
83249
83250 2011-04-09 Ulrich Drepper <drepper@gmail.com>
83251
83252 [BZ #12655]
83253 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
83254 Patch by Filipe David Manana <fdmanana@apache.org>.
83255
83256 2011-04-07 Andreas Schwab <schwab@redhat.com>
83257
83258 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
83259 Maintain aligned stack.
83260 (CHECK_RSP): Remove unused macro.
83261
83262 2011-04-03 Ulrich Drepper <drepper@gmail.com>
83263
83264 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
83265 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
83266
83267 2011-04-02 Ulrich Drepper <drepper@gmail.com>
83268
83269 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
83270
83271 * include/features.h: Mention __USE_XOPEN2K8 in comment.
83272
83273 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
83274
83275 [BZ #12518]
83276 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
83277 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
83278 * sysdeps/x86_64/memmove.c: New file.
83279 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
83280 (memcpy): Renamed to ...
83281 (__new_memcpy): This.
83282 (memcpy): Provide GLIBC_2_14 memcpy.
83283 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
83284 (memcpy): Provide GLIBC_2_2_5 memcpy.
83285
83286 2011-04-01 Ulrich Drepper <drepper@gmail.com>
83287
83288 [BZ #12631]
83289 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
83290
83291 2011-03-30 Andreas Schwab <schwab@redhat.com>
83292
83293 * misc/syncfs.c: New file.
83294 * misc/Makefile (routines): Add syncfs.
83295 * posix/unistd.h: Declare syncfs.
83296 * sysdeps/unix/syscalls.list: Add syncfs.
83297
83298 2011-04-01 Andreas Schwab <schwab@redhat.com>
83299
83300 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
83301 open_by_handle_at.
83302 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
83303 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
83304 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
83305 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
83306 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
83307 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
83308 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
83309
83310 2011-04-01 Ulrich Drepper <drepper@gmail.com>
83311
83312 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
83313 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
83314 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
83315 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
83316 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
83317 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
83318 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
83319
83320 * io/Makefile: Compile fallocate.c, fallocate64.c, and
83321 sync_file_range.c with -fexceptions.
83322 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
83323 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
83324 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
83325 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
83326 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
83327 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
83328 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
83329 sync_file_range as cancellation point
83330 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
83331 now a wrapper around __call_sync_file_range with cancellation handling.
83332 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
83333 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
83334 function name to __call_sync_file_range.
83335 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
83336 Add call_sync_file_range.
83337
83338 2011-04-01 Andreas Schwab <schwab@redhat.com>
83339
83340 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
83341 bits/timex.h.
83342
83343 2011-04-01 Ulrich Drepper <drepper@gmail.com>
83344
83345 * iconv/iconv.h: Fix typo in comment.
83346 * io/fcntl.h: Likewise.
83347 * libio/stdio.h: Likewise.
83348 * posix/spawn.h: Likewise.
83349 * posix/unistd.h: Likewise.
83350 * stdlib/stdlib.h: Likewise.
83351 * time/time.h: Likewise.
83352 * wcsmbs/wchar.h: Likewise.
83353
83354 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
83355 open_by_handle): Add.
83356 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
83357 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
83358 Augment a few comments.
83359 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
83360 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
83361 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
83362 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
83363 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
83364 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
83365 open_by_handle.
83366
83367 * io/fcntl.h (AT_EMPTY_PATH): Define.
83368
83369 2011-03-30 Ulrich Drepper <drepper@gmail.com>
83370
83371 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
83372 * sysdeps/unix/sysv/linux/bits/time.h: New file.
83373 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
83374 to...
83375 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
83376 * Versions.def: Add GLIBC_2.14.
83377 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
83378 Export.
83379
83380 2011-03-22 Ulrich Drepper <drepper@gmail.com>
83381
83382 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
83383 round counter.
83384 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
83385
83386 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
83387
83388 [BZ #12597]
83389 * string/test-strncmp.c (do_page_test): New function.
83390 (check2): Likewise.
83391 (test_main): Call check2.
83392 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
83393
83394 2011-03-20 Ulrich Drepper <drepper@gmail.com>
83395
83396 [BZ #12587]
83397 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
83398 Handle cache information in CPU leaf 4.
83399 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
83400
83401 2011-03-18 Ulrich Drepper <drepper@gmail.com>
83402
83403 [BZ #12583]
83404 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
83405 character representation.
83406 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
83407
83408 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
83409
83410 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
83411 END(__isnan) to END(__isnanf) to match function entry point/label
83412 EALIGN(__isnanf,...).
83413
83414 2011-03-10 Jakub Jelinek <jakub@redhat.com>
83415
83416 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
83417
83418 2011-03-10 Ulrich Drepper <drepper@gmail.com>
83419
83420 [BZ #12510]
83421 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
83422 copy from the symbol referenced in the relocation to initialize the
83423 used variable.
83424 Patch by Piotr Bury <pbury@goahead.com>.
83425 * elf/Makefile: Add rules to build and tst-unique3.
83426 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
83427 * elf/tst-unique3.cc: New file.
83428 * elf/tst-unique3.h: New file.
83429 * elf/tst-unique3lib.cc: New file.
83430 * elf/tst-unique3lib2.cc: New file.
83431
83432 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
83433
83434 2011-03-10 Mike Frysinger <vapier@gentoo.org>
83435
83436 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
83437 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
83438 to _start.
83439
83440 2011-03-06 Ulrich Drepper <drepper@gmail.com>
83441
83442 * elf/dl-load.c (_dl_map_object): If we are looking for the first
83443 to-be-loaded object along a path to loader is ld.so.
83444
83445 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
83446 Ulrich Drepper <drepper@gmail.com>
83447
83448 * sysdeps/x86_64/memset.S: After aligning destination, code
83449 branches to different locations depending on the value of
83450 misalignment, when multiarch is enabled. Fix this.
83451
83452 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
83453
83454 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
83455 Set _x86_64_preferred_memory_instruction for AMD processsors.
83456 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
83457 Set bit_Prefer_SSE_for_memop for AMD processors.
83458
83459 2011-03-04 Ulrich Drepper <drepper@gmail.com>
83460
83461 * libio/fmemopen.c (fmemopen): Optimize a bit.
83462
83463 2011-03-03 Andreas Schwab <schwab@redhat.com>
83464
83465 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
83466
83467 2011-03-03 Roland McGrath <roland@redhat.com>
83468
83469 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
83470
83471 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
83472
83473 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
83474 __bzero_ultra1 instead of __memset_ultra1.
83475
83476 2011-02-23 Andreas Schwab <schwab@redhat.com>
83477 Ulrich Drepper <drepper@gmail.com>
83478
83479 [BZ #12509]
83480 * include/link.h (struct link_map): Add l_orig_initfini.
83481 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
83482 returning unsuccessfully.
83483 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
83484 close of a file loaded at startup, restore the original l_initfini
83485 list.
83486 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
83487 list, store the pointer.
83488 * elf/Makefile ($(objpfx)noload-mem): New rule.
83489 (noload-ENV): Define.
83490 (tests): Add $(objpfx)noload-mem.
83491 * elf/noload.c: Include <memcheck.h>.
83492 (main): Call mtrace. Close all opened handles.
83493
83494 2011-02-17 Andreas Schwab <schwab@redhat.com>
83495
83496 [BZ #12454]
83497 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
83498 dependencies are missing.
83499
83500 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
83501
83502 Fix __if_freereq crash: Unlike the generic version which uses free,
83503 Hurd needs munmap.
83504 * sysdeps/mach/hurd/ifreq.h: New file.
83505
83506 2011-01-27 Petr Baudis <pasky@suse.cz>
83507 Ulrich Drepper <drepper@gmail.com>
83508
83509 [BZ 12445]#
83510 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
83511 to extend_alloca().
83512 * stdio-common/bug23.c: New file.
83513 * stdio-common/Makefile (tests): Add bug23.
83514
83515 2010-09-28 Andreas Schwab <schwab@redhat.com>
83516 Ulrich Drepper <drepper@gmail.com>
83517
83518 [BZ #12489]
83519 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
83520 before performing relro protection. At old place add assertion
83521 to make sure nothing changed.
83522
83523 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
83524 Glauber de Oliveira Costa <glommer@gmail.com>
83525
83526 * elf/elf.h: Add new ARM TLS relocs.
83527
83528 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
83529
83530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
83531 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
83532 cast from r3.
83533 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
83534 'tests' variable.
83535 * sysdeps/wordsize-64/tst-writev.c: New file.
83536
83537 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
83538
83539 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
83540 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
83541 insns in _dl_start to prevent a TOC reference before relocs are
83542 resolved.
83543
83544 2011-02-15 Ulrich Drepper <drepper@gmail.com>
83545
83546 [BZ #12469]
83547 * Makeconfig: Remove RANLIB definition.
83548 * Makerules: Don't use RANLIB.
83549 * aclocal.m4: Remove ranlib test.
83550 * configure.in: No need to check for ranlib.
83551 * elf/rtld-Rules: Don't use RANLIB.
83552
83553 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
83554
83555 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
83556 protection macro.
83557 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
83558 inclusion protection macro.
83559
83560 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
83561 SIGRTMIN and SIGRTMAX and print information in that case only when
83562 SIGRTMIN is defined.
83563
83564 2011-02-11 Jakub Jelinek <jakub@redhat.com>
83565
83566 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
83567 arginfo fn returning -1.
83568
83569 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
83570 and thousands string is zero terminated.
83571
83572 2011-02-03 Andreas Schwab <schwab@redhat.com>
83573
83574 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
83575 sysdeps/unix/sysv/linux/bits/socket.h.
83576
83577 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
83578
83579 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
83580 (__CPU_COUNT): Remove old macros.
83581 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
83582 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
83583 (__CPU_ALLOC, __CPU_FREE): Add macros.
83584 (__sched_cpualloc, __sched_cpufree): Add declarations.
83585
83586 2011-02-05 Ulrich Drepper <drepper@gmail.com>
83587
83588 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
83589 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
83590 * nscd/aicache.c (addhstaiX): Return timeout of added value.
83591 (readdhstai): Return value of addhstaiX call.
83592 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
83593 (addgrbyX): Return value returned by cache_addgr.
83594 (readdgrbyname): Return value returned by addgrbyX.
83595 (readdgrbygid): Likewise.
83596 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
83597 (addpwbyX): Return value returned by cache_addpw.
83598 (readdpwbyname): Return value returned by addhstbyX.
83599 (readdpwbyuid): Likewise.
83600 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
83601 (addservbyX): Return value returned by cache_addserv.
83602 (readdservbyname): Return value returned by addservbyX:
83603 (readdservbyport): Likewise.
83604 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
83605 (addhstbyX): Return value returned by cache_addhst.
83606 (readdhstbyname): Return value returned by addhstbyX.
83607 (readdhstbyaddr): Likewise.
83608 (readdhstbynamev6): Likewise.
83609 (readdhstbyaddrv6): Likewise.
83610 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
83611 (readdinitgroups): Return value returned by addinitgroupsX.
83612 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
83613 (prune_cache): Keep track of timeout value of re-added entries.
83614 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
83615 * nscd/nscd.h: Adjust prototypes of readd* functions.
83616
83617 2011-02-04 Roland McGrath <roland@redhat.com>
83618
83619 * nis/nis_server.c (nis_servstate): Use the right name for 0.
83620 (nis_stats): Likewise.
83621 * nis/nis_modify.c (nis_modify): Likewise.
83622 * nis/nis_remove.c (nis_remove): Likewise.
83623 * nis/nis_add.c (nis_add): Likewise.
83624
83625 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
83626
83627 * posix/fnmatch_loop.c: Add some consts.
83628
83629 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
83630
83631 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
83632
83633 [BZ #12460]
83634 * config.make.in (config-cflags-novzeroupper): Define.
83635 * configure.in: Substitute libc_cv_cc_novzeroupper.
83636 * elf/Makefile (AVX-CFLAGS): Define.
83637 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
83638 (CFLAGS-tst-auditmod4a.c): Likewise.
83639 (CFLAGS-tst-auditmod4b.c): Likewise.
83640 (CFLAGS-tst-auditmod6b.c): Likewise.
83641 (CFLAGS-tst-auditmod6c.c): Likewise.
83642 (CFLAGS-tst-auditmod7b.c): Likewise.
83643 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
83644
83645 2011-02-02 Ulrich Drepper <drepper@gmail.com>
83646
83647 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
83648 function to the callback.
83649 Patch partly by Jiri Olsa <jolsa@redhat.com>.
83650
83651 2011-02-02 Andreas Schwab <schwab@redhat.com>
83652
83653 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
83654 of errno.
83655
83656 2011-01-19 Ulrich Drepper <drepper@gmail.com>
83657
83658 [BZ #11724]
83659 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
83660 of constructors.
83661 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
83662 of destructors.
83663 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
83664
83665 [BZ #11724]
83666 * elf/Makefile: Add rules to build and run new test.
83667 * elf/tst-initorder.c: New file.
83668 * elf/tst-initorder.exp: New file.
83669 * elf/tst-initordera1.c: New file.
83670 * elf/tst-initordera2.c: New file.
83671 * elf/tst-initordera3.c: New file.
83672 * elf/tst-initordera4.c: New file.
83673 * elf/tst-initorderb1.c: New file.
83674 * elf/tst-initorderb2.c: New file.
83675 * elf/tst-order-a1.c: New file.
83676 * elf/tst-order-a2.c: New file.
83677 * elf/tst-order-a3.c: New file.
83678 * elf/tst-order-a4.c: New file.
83679 * elf/tst-order-b1.c: New file.
83680 * elf/tst-order-b2.c: New file.
83681 * elf/tst-order-main.c: New file.
83682 New test case by George Gensure <werkt0@gmail.com>.
83683
83684 2010-10-01 Andreas Schwab <schwab@redhat.com>
83685
83686 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
83687 decoding ACE if AI_CANONIDN.
83688
83689 2011-01-18 Ulrich Drepper <drepper@gmail.com>
83690
83691 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
83692
83693 2011-01-17 Ulrich Drepper <drepper@gmail.com>
83694
83695 * version.h (RELEASE): Bump for 2.13 release.
83696 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
83697
83698 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
83699
83700 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
83701 MADV_NOHUGEPAGE.
83702 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
83703 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
83704 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
83705 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
83706 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
83707 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
83708
83709 * posix/getconf.c: Update copyright year.
83710 * catgets/gencat.c: Likewise.
83711 * csu/version.c: Likewise.
83712 * debug/catchsegv.sh: Likewise.
83713 * debug/xtrace.sh: Likewise.
83714 * elf/ldconfig.c: Likewise.
83715 * elf/ldd.bash.in: Likewise.
83716 * elf/sprof.c (print_version): Likewise.
83717 * iconv/iconv_prog.c: Likewise.
83718 * iconv/iconvconfig.c: Likewise.
83719 * locale/programs/locale.c: Likewise.
83720 * locale/programs/localedef.c: Likewise.
83721 * malloc/memusage.sh: Likewise.
83722 * malloc/mtrace.pl: Likewise.
83723 * nscd/nscd.c (print_version): Likewise.
83724 * nss/getent.c: Likewise.
83725
83726 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
83727 PF_CAIF, and PF_ALG.
83728 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
83729
83730 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
83731
83732 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
83733 (modules-names): Use them.
83734 (ifunc-test-modules, ifunc-pie-tests): Define.
83735 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
83736 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
83737 (test-extras): Likewise.
83738 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
83739 $(compile-command.c).
83740 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
83741 (all-built-dso): Define.
83742 (check-textrel.out, check-execstack.out): Depend on it.
83743
83744 * configure.in: Don't override --enable-multi-arch.
83745
83746 2011-01-15 Ulrich Drepper <drepper@gmail.com>
83747
83748 [BZ #6812]
83749 * nscd/hstcache.c (tryagain): Define.
83750 (cache_addhst): Return tryagain not notfound for temporary errors.
83751 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
83752 failed.
83753
83754 2011-01-14 Ulrich Drepper <drepper@gmail.com>
83755
83756 [BZ #10563]
83757 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
83758 to make the syscall.
83759 * sysdeps/unix/sysv/linux/setgroups.c: New file.
83760
83761 [BZ #12378]
83762 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
83763 and fall back to matching as normal character if the string ends before
83764 the matching ']' is found. This is what POSIX requires.
83765 * posix/testfnm.c: Adjust test result.
83766 * posix/globtest.sh: Adjust test result. Add new test.
83767 * posix/tst-fnmatch.input: Likewise.
83768 * posix/tst-fnmatch2.c: Add new test.
83769
83770 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
83771
83772 * elf/Makefile (check-execstack): Revert last change. Depend on
83773 check-execstack.h.
83774 (check-execstack.h): New target.
83775 (generated): Add check-execstack.h.
83776 * elf/check-execstack.c: Include "check-execstack.h".
83777 (main): Revert last change.
83778 (handle_file): Return zero if GNU_STACK is absent and
83779 DEFAULT_STACK_PERMS doesn't include PF_X.
83780
83781 2011-01-13 Ulrich Drepper <drepper@gmail.com>
83782
83783 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
83784 in child fails because the descriptor is already closed.
83785 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
83786 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
83787 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
83788
83789 [BZ #12397]
83790 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
83791 syscall.
83792
83793 [BZ #10484]
83794 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
83795 temporary buffer used to handle multi lookups locally.
83796 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
83797
83798 2011-01-12 Ulrich Drepper <drepper@gmail.com>
83799
83800 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
83801 loader is ld.so.
83802
83803 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
83804
83805 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
83806 alignment for SSE2.
83807
83808 2011-01-12 Ulrich Drepper <drepper@gmail.com>
83809
83810 [BZ #12394]
83811 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
83812 characters. When rounding increased number of integer digits recompute
83813 number of groups.
83814 * stdio-common/tst-grouping.c: New file.
83815 * stdio-common/Makefile: Add rules to build and run tst-grouping.
83816
83817 2011-01-09 Ulrich Drepper <drepper@gmail.com>
83818
83819 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
83820 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
83821
83822 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
83823 void.
83824 * bits/select.h: Likewise.
83825
83826 2011-01-08 Ulrich Drepper <drepper@gmail.com>
83827
83828 * po/ja.po: Update from translation team.
83829
83830 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
83831
83832 [BZ #11155]
83833 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
83834 implementation just like for lxstat, fxstatat, et al.
83835
83836 2010-12-27 Jim Meyering <meyering@redhat.com>
83837
83838 [BZ #12348]
83839 * posix/regexec.c (build_trtable): Return failure indication upon
83840 calloc failure. Otherwise, re_search_internal could infloop on OOM.
83841
83842 2010-12-25 Ulrich Drepper <drepper@gmail.com>
83843
83844 [BZ #12201]
83845 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
83846 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
83847 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
83848 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
83849
83850 [BZ #12207]
83851 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
83852
83853 [BZ #12204]
83854 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
83855 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
83856
83857 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
83858
83859 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
83860 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
83861 script has SORT_BY_INIT_PRIORITY.
83862 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
83863 NO_CTORS_DTORS_SECTIONS is defined.
83864 * elf/soinit.c: Likewise.
83865 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
83866 NO_CTORS_DTORS_SECTIONS is defined.
83867 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
83868 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
83869 * sysdeps/sh/init-first.c: Likewise.
83870 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
83871
83872 2010-12-24 Ulrich Drepper <drepper@gmail.com>
83873
83874 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
83875 always use the slow path.
83876
83877 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
83878
83879 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
83880 similar rule which adds the sysdep directories to the header search in
83881 order to pick up the correct platform stackinfo.h.
83882 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
83883 perform test if it is, otherwise return successfully without testing.
83884 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
83885 DEFAULT_STACK_PERMS define in stackinfo.h.
83886 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
83887 defined in stackinfo.h.
83888 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
83889 DEFAULT_STACK_PERMS defined in stackinfo.h.
83890 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
83891 * sysdeps/ia64/stackinfo.h: Likewise.
83892 * sysdeps/s390/stackinfo.h: Likewise.
83893 * sysdeps/sh/stackinfo.h: Likewise.
83894 * sysdeps/sparc/stackinfo.h: Likewise.
83895 * sysdeps/x86_64/stackinfo.h: Likewise.
83896 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
83897 PF_X for powerpc64. Retain PF_X for powerpc32.
83898
83899 2010-12-19 Ulrich Drepper <drepper@gmail.com>
83900
83901 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
83902 accurately.
83903 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
83904 GETDENTS_64BIT_ALIGNED.
83905
83906 2010-12-14 Ulrich Drepper <dreper@gmail.com>
83907
83908 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
83909
83910 2010-12-10 Andreas Schwab <schwab@redhat.com>
83911
83912 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
83913 _GNU_SOURCE.
83914
83915 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
83916 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
83917 Remove __restrict.
83918 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
83919 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
83920
83921 2010-12-09 Ulrich Drepper <drepper@gmail.com>
83922
83923 [BZ #11655]
83924 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
83925 are initialized.
83926
83927 2010-12-09 Jakub Jelinek <jakub@redhat.com>
83928
83929 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
83930
83931 2010-12-03 Ulrich Drepper <drepper@gmail.com>
83932
83933 * po/it.po: Update from translation team.
83934
83935 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
83936
83937 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
83938 unused codes.
83939
83940 2010-11-30 Ulrich Drepper <drepper@gmail.com>
83941
83942 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
83943
83944 2010-11-24 Andreas Schwab <schwab@redhat.com>
83945
83946 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
83947 specially.
83948 (gaih_getanswer_slice): Likewise.
83949
83950 2010-10-20 Jakub Jelinek <jakub@redhat.com>
83951
83952 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
83953
83954 2010-05-31 Petr Baudis <pasky@suse.cz>
83955
83956 [BZ #11149]
83957 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
83958 silently even in the chroot mode.
83959
83960 2010-11-22 Ulrich Drepper <drepper@gmail.com>
83961
83962 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
83963 last patch a bit. Pretty printing
83964
83965 2010-05-31 Petr Baudis <pasky@suse.cz>
83966
83967 [BZ #10085]
83968 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
83969 initialization of skip_initgroups_dyn.
83970
83971 2010-11-19 Ulrich Drepper <drepper@gmail.com>
83972
83973 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
83974 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
83975
83976 2010-11-16 Ulrich Drepper <drepper@gmail.com>
83977
83978 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
83979
83980 2010-11-11 Andreas Schwab <schwab@redhat.com>
83981
83982 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
83983 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
83984 (tst-fnmatch-ENV): Set MALLOC_TRACE.
83985 ($(objpfx)tst-fnmatch-mem): New rule.
83986 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
83987 * posix/tst-fnmatch.c (main): Call mtrace.
83988
83989 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
83990
83991 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
83992 Support Intel processor model 6 and model 0x2c.
83993
83994 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
83995
83996 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
83997 signed comparison.
83998
83999 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
84000
84001 [BZ #12205]
84002 * string/test-strncasecmp.c (check_result): New function.
84003 (do_one_test): Use it.
84004 (check1): New function.
84005 (test_main): Use it.
84006 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
84007 Support strcasecmp and strncasecmp.
84008
84009 2010-11-08 Ulrich Drepper <drepper@gmail.com>
84010
84011 [BZ #12194]
84012 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
84013 * sysdeps/x86_64/bits/byteswap.h: Likewise.
84014
84015 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
84016
84017 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
84018 IFUNC support.
84019 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
84020 memset-x86-64.
84021 * sysdeps/x86_64/multiarch/bzero.S: New file.
84022 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
84023 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
84024 * sysdeps/x86_64/multiarch/memset.S: New file.
84025 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
84026 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
84027 Set bit_Prefer_SSE_for_memop for Intel processors.
84028 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
84029 Define.
84030 (index_Prefer_SSE_for_memop): Define.
84031 (HAS_PREFER_SSE_FOR_MEMOP): Define.
84032
84033 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
84034
84035 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
84036 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
84037
84038 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
84039
84040 [BZ #12191]
84041 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
84042 (__x86_64_raw_data_cache_size_half): Likewise.
84043 (__x86_64_raw_shared_cache_size): Likewise.
84044 (__x86_64_raw_shared_cache_size_half): Likewise.
84045
84046 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
84047 (__x86_64_raw_data_cache_size_half): Likewise.
84048 (__x86_64_raw_shared_cache_size): Likewise.
84049 (__x86_64_raw_shared_cache_size_half): Likewise.
84050 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
84051 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
84052 and __x86_64_raw_shared_cache_size_half. Round
84053 __x86_64_data_cache_size_half, __x86_64_data_cache_size
84054 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
84055 to multiple of 256 bytes.
84056
84057 2010-11-03 Ulrich Drepper <drepper@gmail.com>
84058
84059 [BZ #12167]
84060 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
84061 of inacessible symlinks. Verify result of symlink before returning it.
84062 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
84063 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
84064
84065 2010-10-28 Erich Ritz <erichritz@gmail.com>
84066
84067 * math/math.h (isinf): Fix typo in comment.
84068
84069 2010-11-01 Ulrich Drepper <drepper@gmail.com>
84070
84071 * po/da.po: Update from translation team.
84072
84073 2010-10-26 Ulrich Drepper <drepper@gmail.com>
84074
84075 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
84076 is added to the list.
84077
84078 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
84079 Ulrich Drepper <drepper@gmail.com>
84080
84081 * elf/dl-object.c (_dl_new_object): Don't append the new object to
84082 the global list here. Move code to...
84083 (_dl_add_to_namespace_list): ...here. New function.
84084 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
84085 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
84086 * elf/dl-load.c (lose): Don't remove the element from the list.
84087 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
84088 (_dl_map_object): Likewise.
84089
84090 2010-10-25 Ulrich Drepper <drepper@gmail.com>
84091
84092 [BZ #12159]
84093 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
84094 into all bytes of SSE register.
84095 Patch by Richard Li <richardpku@gmail.com>.
84096
84097 2010-10-24 Ulrich Drepper <drepper@gmail.com>
84098
84099 [BZ #12140]
84100 * malloc/malloc.c (_int_free): Fill correct number of bytes when
84101 perturbing.
84102
84103 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
84104
84105 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
84106 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
84107 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
84108 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
84109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
84110 submachine.
84111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
84112
84113 2010-10-22 Andreas Schwab <schwab@redhat.com>
84114
84115 * include/dlfcn.h (__RTLD_SECURE): Define.
84116 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
84117 mode & __RTLD_SECURE instead.
84118 (open_path): Rename preloaded parameter to secure.
84119 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
84120 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
84121 * elf/dl-deps.c (openaux): Likewise.
84122 * elf/rtld.c (struct map_args): Remove is_preloaded.
84123 (map_doit): Don't use it.
84124 (dl_main): Likewise.
84125 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
84126 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
84127
84128 2010-09-09 Andreas Schwab <schwab@redhat.com>
84129
84130 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
84131 (sysd-rules-targets): Remove duplicates.
84132 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
84133 rtld-%.$o dependency.
84134
84135 2010-10-18 Andreas Schwab <schwab@redhat.com>
84136
84137 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
84138 _dl_map_object do it.
84139
84140 2010-10-19 Ulrich Drepper <drepper@gmail.com>
84141
84142 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
84143 fast fma builtins, define the macros in the C99 standard.
84144 (FP_FAST_FMAF): Likewise.
84145 (FP_FAST_FMAL): Likewise.
84146 * sysdeps/x86_64/bits/mathdef.h: Likewise.
84147
84148 * bits/mathdef.h: Update copyright year.
84149 * sysdeps/powerpc/bits/mathdef.h: Likewise.
84150
84151 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
84152
84153 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
84154 builtins, define the macros in the C99 standard.
84155 (FP_FAST_FMAF): Likewise.
84156 (FP_FAST_FMAL): Likewise.
84157 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
84158 multiply/add.
84159 (FP_FAST_FMAF): Likewise.
84160
84161 2010-10-15 Jakub Jelinek <jakub@redhat.com>
84162
84163 [BZ #3268]
84164 * math/libm-test.inc (fma_test): Some new testcases.
84165 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
84166 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
84167 y and infinite z. Do multiplication by C already in long double.
84168 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
84169 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
84170 y and infinite z. Do bitwise or of inexact bit into u.d.
84171 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
84172 * sysdeps/i386/fpu/s_fmaf.S: Removed.
84173 * sysdeps/i386/fpu/s_fma.S: Removed.
84174 * sysdeps/i386/fpu/s_fmal.S: Removed.
84175
84176 2010-10-16 Jakub Jelinek <jakub@redhat.com>
84177
84178 [BZ #3268]
84179 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
84180 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
84181 computation is not scheduled after fetestexcept. Fix value
84182 of minimum denormal long double.
84183
84184 2010-10-14 Jakub Jelinek <jakub@redhat.com>
84185
84186 [BZ #3268]
84187 * math/libm-test.inc (fma_test): Add some more tests.
84188 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
84189 correctly.
84190
84191 2010-10-15 Andreas Schwab <schwab@redhat.com>
84192
84193 * scripts/data/localplt-s390-linux-gnu.data: New file.
84194 * scripts/data/localplt-s390x-linux-gnu.data: New file.
84195
84196 2010-10-13 Jakub Jelinek <jakub@redhat.com>
84197
84198 [BZ #3268]
84199 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
84200 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
84201 instead of dbl-64.
84202 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
84203 inlines.
84204 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
84205 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
84206 if one of x and y is very large and the other is subnormal.
84207 * sysdeps/s390/fpu/s_fmaf.c: New file.
84208 * sysdeps/s390/fpu/s_fma.c: New file.
84209 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
84210 * sysdeps/powerpc/fpu/s_fma.S: New file.
84211 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
84212 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
84213 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
84214
84215 2010-10-12 Jakub Jelinek <jakub@redhat.com>
84216
84217 [BZ #3268]
84218 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
84219 fma tests.
84220 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
84221 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
84222 * sysdeps/i386/i686/multiarch/s_fma.c: Include
84223 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
84224 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
84225 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
84226 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
84227
84228 2010-10-12 Ulrich Drepper <drepper@redhat.com>
84229
84230 [BZ #12078]
84231 * posix/regcomp.c (parse_branch): One more memory leak plugged.
84232 * posix/bug-regex31.input: Add test case.
84233
84234 2010-10-11 Ulrich Drepper <drepper@gmail.com>
84235
84236 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
84237 * posix/bug-regex31.input: New file.
84238
84239 [BZ #12078]
84240 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
84241 (parse_sub_exp): Fix last change, use postorder.
84242
84243 * posix/bug-regex31.c: New file.
84244 * posix/Makefile: Add rules to build and run bug-regex31.
84245
84246 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
84247
84248 [BZ #12078]
84249 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
84250
84251 [BZ #12108]
84252 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
84253 to have entries in sys_siglist.
84254
84255 [BZ #12093]
84256 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
84257 be NULL.
84258
84259 2010-10-07 Jakub Jelinek <jakub@redhat.com>
84260
84261 [BZ #3268]
84262 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
84263 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
84264 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
84265 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
84266 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
84267 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
84268 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
84269 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
84270 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
84271 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
84272 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
84273 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
84274 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
84275 * math/ftestexcept.c (fetestexcept): Likewise.
84276 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
84277 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
84278 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
84279 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
84280 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
84281 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
84282 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
84283
84284 2010-10-11 Ulrich Drepper <drepper@gmail.com>
84285
84286 [BZ #12107]
84287 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
84288 newline.
84289
84290 2010-10-06 Ulrich Drepper <drepper@gmail.com>
84291
84292 * string/bug-strstr1.c: New file.
84293 * string/Makefile: Add rules to build and run bug-strstr1.
84294
84295 2010-10-05 Eric Blake <eblake@redhat.com>
84296
84297 [BZ #12092]
84298 * string/str-two-way.h (two_way_long_needle): Always clear memory
84299 when skipping input due to the shift table.
84300
84301 2010-10-03 Ulrich Drepper <drepper@gmail.com>
84302
84303 [BZ #12005]
84304 * malloc/mcheck.c: Handle large requests.
84305
84306 [BZ #12077]
84307 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
84308 for strncmp and strncasecmp.
84309 * string/stratcliff.c: Add tests for strcmp and strncmp.
84310 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
84311
84312 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
84313
84314 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
84315 __set_fpscr.
84316
84317 2010-09-30 Andreas Jaeger <aj@suse.de>
84318
84319 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
84320 (CGROUP_SUPER_MAGIC): Define.
84321 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
84322 Handle btrfs and cgroup file systems.
84323 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
84324 Likewise.
84325
84326 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
84327
84328 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
84329 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
84330
84331 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
84332
84333 [BZ #12067]
84334 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
84335 trying to locate the ELF header.
84336
84337 2010-09-27 Andreas Schwab <schwab@redhat.com>
84338
84339 [BZ #11611]
84340 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
84341 Mask out sign-bit copies when constructing f_fsid.
84342
84343 2010-09-24 Petr Baudis <pasky@suse.cz>
84344
84345 * debug/stack_chk_fail_local.c: Add missing licence exception.
84346 * debug/warning-nop.c: Likewise.
84347
84348 2010-09-15 Joseph Myers <joseph@codesourcery.com>
84349
84350 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
84351 implementing getdents64 using getdents syscall, set d_type if
84352 __ASSUME_GETDENTS32_D_TYPE.
84353
84354 2010-09-16 Andreas Schwab <schwab@redhat.com>
84355
84356 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
84357 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
84358
84359 2010-09-21 Ulrich Drepper <drepper@redhat.com>
84360
84361 [BZ #12037]
84362 * posix/unistd.h: Undo change of feature selection for ftruncate from
84363 2010-01-11.
84364
84365 2010-09-20 Ulrich Drepper <drepper@redhat.com>
84366
84367 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
84368 detection.
84369
84370 2010-09-20 Andreas Schwab <schwab@redhat.com>
84371
84372 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
84373 fanotify_mark.
84374 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
84375
84376 2010-09-14 Andreas Schwab <schwab@redhat.com>
84377
84378 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
84379 variables after CHECK_SP call.
84380 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
84381
84382 2010-09-13 Andreas Schwab <schwab@redhat.com>
84383 Ulrich Drepper <drepper@redhat.com>
84384
84385 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
84386 re-relocationg ld.so.
84387 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
84388 _dl_init_paths call.
84389 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
84390 here anymore.
84391
84392 2010-09-14 Ulrich Drepper <drepper@redhat.com>
84393
84394 * resolv/res_init.c (__res_vinit): Count the default server we added.
84395
84396 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
84397 Ulrich Drepper <drepper@redhat.com>
84398
84399 [BZ #11968]
84400 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
84401 (____longjmp_chk): Use %ebx for saving value across system call.
84402 Add unwind info.
84403
84404 2010-09-06 Andreas Schwab <schwab@redhat.com>
84405
84406 * manual/Makefile: Don't mix pattern rules with normal rules.
84407
84408 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
84409
84410 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
84411 operation.
84412 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
84413 * libio/iofopncook.c (_IO_cookie_init): Likewise.
84414 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
84415 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
84416 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
84417 Likewise.
84418
84419 2010-09-04 Ulrich Drepper <drepper@redhat.com>
84420
84421 [BZ #11979]
84422 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
84423 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
84424
84425 2010-09-02 Ulrich Drepper <drepper@redhat.com>
84426
84427 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
84428 * sysdeps/x86_64/addmul_1.S: Likewise.
84429 * sysdeps/x86_64/lshift.S: Likewise.
84430 * sysdeps/x86_64/mul_1.S: Likewise.
84431 * sysdeps/x86_64/rshift.S: Likewise.
84432 * sysdeps/x86_64/sub_n.S: Likewise.
84433 * sysdeps/x86_64/submul_1.S: Likewise.
84434
84435 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
84436
84437 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
84438 Define __sched_param instead of SCHED_* and sched_param when
84439 <bits/sched.h> is included with __need_schedparam defined.
84440 * bits/sched.h [__need_schedparam]
84441 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
84442 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
84443 (__defined_schedparam): Define to 1.
84444 (__sched_param): New structure, identical to sched_param.
84445 (__need_schedparam): Undefine.
84446
84447 2010-08-31 Mike Frysinger <vapier@gentoo.org>
84448
84449 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
84450 (epoll_create1): Declare.
84451
84452 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
84453
84454 2010-08-31 Andreas Schwab <schwab@redhat.com>
84455
84456 [BZ #7066]
84457 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
84458 shifting retval into place.
84459
84460 2010-09-01 Ulrich Drepper <drepper@redhat.com>
84461
84462 * nis/rpcsvc/nis.h: Update copyright notice.
84463 * nis/rpcsvc/nis.x: Likewise.
84464 * nis/rpcsvc/nis_callback.h: Likewise.
84465 * nis/rpcsvc/nis_callback.x: Likewise.
84466 * nis/rpcsvc/nis_object.x: Likewise.
84467 * nis/rpcsvc/nis_tags.h: Likewise.
84468 * nis/rpcsvc/yp.h: Likewise.
84469 * nis/rpcsvc/yp.x: Likewise.
84470 * nis/rpcsvc/ypupd.h: Likewise.
84471 * nis/yp_xdr.c: Likewise.
84472 * nis/ypupdate_xdr.c: Likewise.
84473
84474 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
84475 mainly the body of pmap_getport. Add parameters to specify timeouts.
84476 (pmap_getport): Use __libc_rpc_getport.
84477 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
84478 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
84479 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
84480
84481 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
84482
84483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
84484 fanotify_mark.
84485
84486 2010-08-27 Roland McGrath <roland@redhat.com>
84487
84488 * sysdeps/i386/i686/multiarch/Makefile
84489 (CFLAGS-varshift.c): New variable.
84490
84491 2010-08-27 Ulrich Drepper <drepper@redhat.com>
84492
84493 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
84494 * sysdeps/i386/i686/multiarch/varshift.c: New file.
84495
84496 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
84497
84498 * sysdeps/x86_64/strlen.S: Minimal code improvement.
84499
84500 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
84501
84502 * sysdeps/x86_64/strlen.S: Unroll the loop.
84503 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
84504 strlen-sse2 strlen-sse2-bsf.
84505 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
84506 __strlen_no_bsf if bit_Slow_BSF is set.
84507 (__strlen_sse42): Removed.
84508 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
84509 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
84510
84511 2010-08-25 Roland McGrath <roland@redhat.com>
84512
84513 * sysdeps/x86_64/multiarch/varshift.S: File removed.
84514 * sysdeps/x86_64/multiarch/varshift.c: New file.
84515 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
84516 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
84517 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
84518 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
84519
84520 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
84521
84522 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
84523 strlen-sse2 strlen-sse2-bsf.
84524 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
84525 __strlen_sse2_bsf if bit_Slow_BSF is unset.
84526 (__strlen_sse2): Removed.
84527 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
84528 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
84529 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
84530 bit_Slow_BSF for Atom.
84531 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
84532 (index_Slow_BSF): Define.
84533 (HAS_SLOW_BSF): Define.
84534
84535 2010-08-25 Ulrich Drepper <drepper@redhat.com>
84536
84537 [BZ #10851]
84538 * resolv/res_init.c (__res_vinit): When no server address at all
84539 is given default to loopback.
84540
84541 2010-08-24 Roland McGrath <roland@redhat.com>
84542
84543 * configure.in: Remove config-name.h generation.
84544 * configure: Regenerated.
84545 * config-name.in: File removed.
84546 * scripts/config-uname.sh: New file.
84547 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
84548 ($(objdir)config-name.h): New target.
84549
84550 * sunrpc/rpc_parse.h: Avoid nested comment.
84551
84552 2010-08-24 Richard Henderson <rth@redhat.com>
84553 Ulrich Drepper <drepper@redhat.com>
84554 H.J. Lu <hongjiu.lu@intel.com>
84555
84556 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
84557 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
84558 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
84559 Replace _mm_srli_si128 with __m128i_shift_right. Replace
84560 _mm_alignr_epi8 with _mm_loadu_si128.
84561 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
84562 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
84563 (__m128i_shift_right): Removed.
84564 * sysdeps/i386/i686/multiarch/varshift.h: New file.
84565 * sysdeps/i386/i686/multiarch/varshift.S: New file.
84566 * sysdeps/x86_64/multiarch/varshift.h: New file.
84567 * sysdeps/x86_64/multiarch/varshift.S: New file.
84568
84569 2010-08-21 Mike Frysinger <vapier@gentoo.org>
84570
84571 * configure.in: Move assembler checks to before sysdep dir checking.
84572
84573 2010-08-20 Petr Baudis <pasky@suse.cz>
84574
84575 * LICENSES: Sync the sunrpc license.
84576
84577 2010-08-19 Ulrich Drepper <drepper@redhat.com>
84578
84579 * sunrpc/auth_des.c: Update copyright notice once again.
84580 * sunrpc/auth_none.c: Likewise.
84581 * sunrpc/auth_unix.c: Likewise.
84582 * sunrpc/authdes_prot.c: Likewise.
84583 * sunrpc/authuxprot.c: Likewise.
84584 * sunrpc/bindrsvprt.c: Likewise.
84585 * sunrpc/clnt_gen.c: Likewise.
84586 * sunrpc/clnt_perr.c: Likewise.
84587 * sunrpc/clnt_raw.c: Likewise.
84588 * sunrpc/clnt_simp.c: Likewise.
84589 * sunrpc/clnt_tcp.c: Likewise.
84590 * sunrpc/clnt_udp.c: Likewise.
84591 * sunrpc/clnt_unix.c: Likewise.
84592 * sunrpc/des_crypt.c: Likewise.
84593 * sunrpc/des_soft.c: Likewise.
84594 * sunrpc/get_myaddr.c: Likewise.
84595 * sunrpc/getrpcport.c: Likewise.
84596 * sunrpc/key_call.c: Likewise.
84597 * sunrpc/key_prot.c: Likewise.
84598 * sunrpc/openchild.c: Likewise.
84599 * sunrpc/pm_getmaps.c: Likewise.
84600 * sunrpc/pm_getport.c: Likewise.
84601 * sunrpc/pmap_clnt.c: Likewise.
84602 * sunrpc/pmap_prot.c: Likewise.
84603 * sunrpc/pmap_prot2.c: Likewise.
84604 * sunrpc/pmap_rmt.c: Likewise.
84605 * sunrpc/rpc/auth.h: Likewise.
84606 * sunrpc/rpc/auth_unix.h: Likewise.
84607 * sunrpc/rpc/clnt.h: Likewise.
84608 * sunrpc/rpc/des_crypt.h: Likewise.
84609 * sunrpc/rpc/key_prot.h: Likewise.
84610 * sunrpc/rpc/netdb.h: Likewise.
84611 * sunrpc/rpc/pmap_clnt.h: Likewise.
84612 * sunrpc/rpc/pmap_prot.h: Likewise.
84613 * sunrpc/rpc/pmap_rmt.h: Likewise.
84614 * sunrpc/rpc/rpc.h: Likewise.
84615 * sunrpc/rpc/rpc_des.h: Likewise.
84616 * sunrpc/rpc/rpc_msg.h: Likewise.
84617 * sunrpc/rpc/svc.h: Likewise.
84618 * sunrpc/rpc/svc_auth.h: Likewise.
84619 * sunrpc/rpc/types.h: Likewise.
84620 * sunrpc/rpc/xdr.h: Likewise.
84621 * sunrpc/rpc_clntout.c: Likewise.
84622 * sunrpc/rpc_cmsg.c: Likewise.
84623 * sunrpc/rpc_common.c: Likewise.
84624 * sunrpc/rpc_cout.c: Likewise.
84625 * sunrpc/rpc_dtable.c: Likewise.
84626 * sunrpc/rpc_hout.c: Likewise.
84627 * sunrpc/rpc_main.c: Likewise.
84628 * sunrpc/rpc_parse.c: Likewise.
84629 * sunrpc/rpc_parse.h: Likewise.
84630 * sunrpc/rpc_prot.c: Likewise.
84631 * sunrpc/rpc_sample.c: Likewise.
84632 * sunrpc/rpc_scan.c: Likewise.
84633 * sunrpc/rpc_scan.h: Likewise.
84634 * sunrpc/rpc_svcout.c: Likewise.
84635 * sunrpc/rpc_tblout.c: Likewise.
84636 * sunrpc/rpc_util.c: Likewise.
84637 * sunrpc/rpc_util.h: Likewise.
84638 * sunrpc/rpcinfo.c: Likewise.
84639 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
84640 * sunrpc/rpcsvc/key_prot.x: Likewise.
84641 * sunrpc/rpcsvc/klm_prot.x: Likewise.
84642 * sunrpc/rpcsvc/mount.x: Likewise.
84643 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
84644 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
84645 * sunrpc/rpcsvc/rex.x: Likewise.
84646 * sunrpc/rpcsvc/rstat.x: Likewise.
84647 * sunrpc/rpcsvc/rusers.x: Likewise.
84648 * sunrpc/rpcsvc/sm_inter.x: Likewise.
84649 * sunrpc/rpcsvc/spray.x: Likewise.
84650 * sunrpc/rpcsvc/yppasswd.x: Likewise.
84651 * sunrpc/rtime.c: Likewise.
84652 * sunrpc/svc.c: Likewise.
84653 * sunrpc/svc_auth.c: Likewise.
84654 * sunrpc/svc_authux.c: Likewise.
84655 * sunrpc/svc_raw.c: Likewise.
84656 * sunrpc/svc_run.c: Likewise.
84657 * sunrpc/svc_simple.c: Likewise.
84658 * sunrpc/svc_tcp.c: Likewise.
84659 * sunrpc/svc_udp.c: Likewise.
84660 * sunrpc/svc_unix.c: Likewise.
84661 * sunrpc/svcauth_des.c: Likewise.
84662 * sunrpc/xcrypt.c: Likewise.
84663 * sunrpc/xdr.c: Likewise.
84664 * sunrpc/xdr_array.c: Likewise.
84665 * sunrpc/xdr_float.c: Likewise.
84666 * sunrpc/xdr_mem.c: Likewise.
84667 * sunrpc/xdr_rec.c: Likewise.
84668 * sunrpc/xdr_ref.c: Likewise.
84669 * sunrpc/xdr_sizeof.c: Likewise.
84670 * sunrpc/xdr_stdio.c: Likewise.
84671
84672 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
84673 handling.
84674
84675 2010-08-19 Andreas Schwab <schwab@redhat.com>
84676
84677 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
84678
84679 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
84680
84681 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
84682 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
84683 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
84684 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
84685 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
84686 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
84687 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
84688 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
84689 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
84690 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
84691 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
84692 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
84693 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
84694 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
84695
84696 2010-07-26 Anton Blanchard <anton@samba.org>
84697
84698 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
84699 * malloc/arena.c (heap_trim): Likewise.
84700
84701 2010-08-16 Ulrich Drepper <drepper@redhat.com>
84702
84703 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
84704 here. Not...
84705 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
84706 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
84707
84708 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
84709
84710 * sysdeps/i386/elf/Makefile: New file.
84711
84712 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
84713
84714 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
84715 from fanotify_init.
84716 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
84717 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
84718
84719 2010-08-15 Ulrich Drepper <drepper@redhat.com>
84720
84721 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
84722 of strncasecmp_l.
84723 * sysdeps/multiarch/strcmp.S: Likewise.
84724
84725 2010-08-14 Ulrich Drepper <drepper@redhat.com>
84726
84727 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
84728 strncase_l-nonascii.
84729 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
84730 Add strncase_l-ssse3.
84731 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
84732 * sysdeps/x86_64/strcmp.S: Likewise.
84733 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
84734 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
84735 * sysdeps/x86_64/strncase.S: New file.
84736 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
84737 * sysdeps/x86_64/strncase_l.S: New file.
84738 * string/Makefile (strop-tests): Add strncasecmp.
84739 * string/test-strncasecmp.c: New file.
84740
84741 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
84742 warning.
84743
84744 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
84745 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
84746
84747 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
84748
84749 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
84750
84751 2010-08-12 Ulrich Drepper <drepper@redhat.com>
84752
84753 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
84754 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
84755 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
84756
84757 2010-05-01 Alan Modra <amodra@gmail.com>
84758
84759 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
84760 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
84761 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
84762 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
84763 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
84764 tidying. Don't tail-call __sigjmp_save for static lib.
84765 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
84766 save location.
84767 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
84768 (CALL_MCOUNT): Add eh info, and nop after bl.
84769 (TAIL_CALL_SYSCALL_ERROR): New macro.
84770 (PSEUDO_RET): Use it.
84771 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
84772 Correct save location of integer regs and cr.
84773 (_dl_profile_resolve): Correct cr save location. Delete nops
84774 after bl when SHARED. Reduce cfi size a little by better
84775 placement of cfi directives.
84776 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
84777 make a stack frame. Instead use parm save area as a temp.
84778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
84779 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
84780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
84781 Don't make a stack frame for parent, use parm save area.
84782 Increase child stack frame to 112 bytes. Don't save unused reg,
84783 and adjust reg usage. Set up cfi on error recovery and
84784 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
84785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
84786 (__makecontext): Add dummy nop after jump to exit.
84787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
84788 Use correct parm save area and cr save, reduce stack frame.
84789 Correct cfi for possible PSEUDO_RET frame setup.
84790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
84791 Branch to local label emitted by PSEUDO_RET rather than
84792 __syscall_error.
84793
84794 2010-08-12 Andreas Schwab <schwab@redhat.com>
84795
84796 [BZ #11904]
84797 * locale/programs/locale.c (print_assignment): New function.
84798 (show_locale_vars): Use it.
84799
84800 2010-08-11 Ulrich Drepper <drepper@redhat.com>
84801
84802 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
84803 field.
84804 (struct statfs64): Likewise.
84805 (_STATFS_F_FLAGS): Define.
84806 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
84807 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
84808 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
84809 (ST_VALID): Define locally.
84810 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
84811 __statvfs_getflags, use the provided value.
84812 * sysdeps/unix/sysv/linux/kernel-features.h: Define
84813 __ASSUME_STATFS_F_FLAGS.
84814
84815 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
84816
84817 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
84818 Add sys/fanotify.h.
84819 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
84820 fanotify_mask for GLIBC_2.13.
84821 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
84822 fanotify_init and fanotify_mark.
84823 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
84824 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
84825
84826 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
84827 Add prlimit.
84828 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
84829 prlimit64 for GLIBC_2.13.
84830 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
84831 prlimit64.
84832 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
84833 syscall.
84834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
84835 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
84836 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
84837 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
84838 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
84839 add prlimit alias.
84840 * sysdeps/unix/sysv/linux/prlimit.c: New file.
84841
84842 [BZ #11903]
84843 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
84844 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
84845
84846 * nss/Makefile: Add rules to build and run tst-nss-test1.
84847 * shlib-versions: Add entry for libnss_test1.
84848 * nss/nss_test1.c: New file.
84849 * nss/tst-nss-test1.c: New file.
84850
84851 * nss/nsswitch.c (__nss_database_custom): Define new variable.
84852 (__nss_configure_lookup): Set appropriate entry in
84853 __nss_configure_lookup to true.
84854 * nss/nsswitch.h: Define enum with indeces of databases in
84855 databases and __nss_database_custom arrays. Declare
84856 __nss_database_custom.
84857 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
84858 to avoid using nscd when custom rules are installed.
84859 * nss/getXXbyYY_r.c: Likewise.
84860 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
84861
84862 * nss/nss_files/files-parse.c: Whitespace fixes.
84863
84864 2010-08-09 Ulrich Drepper <drepper@redhat.com>
84865
84866 [BZ #11883]
84867 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
84868 * posix/fnmatch_loop.c: Likewise.
84869
84870 2010-07-17 Andi Kleen <ak@linux.intel.com>
84871
84872 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
84873 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
84874 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
84875 * Versions.def [GLIBC_2.13]: Add.
84876
84877 2010-08-06 Ulrich Drepper <drepper@redhat.com>
84878
84879 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
84880 Also fail if tpwd after pwuid call is NULL.
84881
84882 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
84883
84884 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
84885 when converting to ms.
84886
84887 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
84888
84889 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
84890 EOPNOTSUPP errors with ENOTTY.
84891 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
84892 EOPNOTSUPP errors with ENOTTY.
84893
84894 2010-07-31 Ulrich Drepper <drepper@redhat.com>
84895
84896 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
84897 Add strcasecmp_l-ssse3.
84898 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
84899 strcasecmp.
84900 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
84901 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
84902 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
84903
84904 2010-07-30 Ulrich Drepper <drepper@redhat.com>
84905
84906 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
84907
84908 * string/Makefile (strop-tests): Add strcasecmp.
84909 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
84910 strcasecmp_l-nonascii.
84911 (gen-as-const-headers): Add locale-defines.sym.
84912 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
84913 * sysdeps/x86_64/strcasecmp.S: New file.
84914 * sysdeps/x86_64/strcasecmp_l.S: New file.
84915 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
84916 * sysdeps/x86_64/locale-defines.sym: New file.
84917 * string/test-strcasecmp.c: New file.
84918
84919 * string/test-strcasestr.c: Test both ends of the range of characters.
84920 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
84921
84922 2010-07-29 Roland McGrath <roland@redhat.com>
84923
84924 [BZ #11856]
84925 * manual/locale.texi (Yes-or-No Questions): Fix example code.
84926
84927 2010-07-27 Ulrich Drepper <drepper@redhat.com>
84928
84929 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
84930 for ld.so.
84931
84932 2010-07-27 Andreas Schwab <schwab@redhat.com>
84933
84934 * manual/memory.texi (Malloc Tunable Parameters): Document
84935 M_PERTURB.
84936
84937 2010-07-26 Roland McGrath <roland@redhat.com>
84938
84939 [BZ #11840]
84940 * configure.in (-fgnu89-inline check): Set and substitute
84941 gnu89_inline, not libc_cv_gnu89_inline.
84942 * configure: Regenerated.
84943 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
84944
84945 2010-07-26 Ulrich Drepper <drepper@redhat.com>
84946
84947 * string/test-strnlen.c: New file.
84948 * string/Makefile (strop-tests): Add strnlen.
84949 * string/tester.c (test_strnlen): Add a few more test cases.
84950 * string/tst-strlen.c: Better error reporting.
84951
84952 * sysdeps/x86_64/strnlen.S: New file.
84953
84954 2010-07-24 Ulrich Drepper <drepper@redhat.com>
84955
84956 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
84957 lower-latency instructions.
84958
84959 2010-07-23 Ulrich Drepper <drepper@redhat.com>
84960
84961 * string/test-strcasestr.c: New file.
84962 * string/test-strstr.c: New file.
84963 * string/Makefile (strop-tests): Add strstr and strcasestr.
84964 * string/str-two-way.h: Don't undefine MAX.
84965 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
84966
84967 2010-07-21 Andreas Schwab <schwab@redhat.com>
84968
84969 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
84970 strcasestr-nonascii.
84971 (CFLAGS-strcasestr-nonascii.c): Define.
84972 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
84973 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
84974 Remove unused attribute.
84975
84976 2010-07-20 Roland McGrath <roland@redhat.com>
84977
84978 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
84979 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
84980 ld.so.cache was broken. With it, there is no way to disable dsocaps
84981 like LD_HWCAP_MASK can disable hwcaps.
84982
84983 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
84984
84985 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
84986
84987 2010-07-16 Ulrich Drepper <drepper@redhat.com>
84988
84989 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
84990 call in strcasestr.
84991 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
84992 __strcasestr_sse42_nonascii.
84993 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
84994 strcasestr-nonascii.c.
84995 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
84996
84997 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
84998
84999 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
85000 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
85001 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
85002 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
85003
85004 2010-07-09 Ulrich Drepper <drepper@redhat.com>
85005
85006 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
85007 fcntl.
85008
85009 2010-07-06 Andreas Schwab <schwab@redhat.com>
85010
85011 [BZ #11577]
85012 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
85013 dl_signal_cerror.
85014
85015 2010-07-06 Ulrich Drepper <drepper@redhat.com>
85016
85017 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
85018 _PC_PIPE_BUF using F_GETPIPE_SZ.
85019
85020 2010-07-05 Roland McGrath <roland@redhat.com>
85021
85022 * manual/arith.texi (Rounding Functions): Fix rint description
85023 implicit in round description.
85024
85025 2010-07-02 Ulrich Drepper <drepper@redhat.com>
85026
85027 * elf/Makefile: Fix linking for a few tests to make recent linker
85028 happy.
85029
85030 2010-06-30 Andreas Schwab <schwab@redhat.com>
85031
85032 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
85033 $(common-objpfx)libc_nonshared.a.
85034
85035 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
85036
85037 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
85038 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
85039 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
85040 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
85041 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
85042 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
85043 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
85044 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
85045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
85046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
85047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
85048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
85049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
85050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
85051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
85052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
85053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
85054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
85055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
85056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
85057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
85058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
85059 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
85060 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
85061 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
85062 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
85063 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
85064 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
85065 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
85066 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
85067 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
85068 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
85069 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
85070 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
85071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
85072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
85073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
85074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
85075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
85076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
85077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
85078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
85079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
85080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
85081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
85082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
85083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
85084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
85085
85086 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
85087
85088 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
85089 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
85090 * string/memmove.c (memmove): Renamed to ...
85091 (MEMMOVE): ...this. Default to memmove.
85092 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
85093 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
85094 (END_CHK): Define.
85095 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
85096 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
85097 mempcpy-ssse3-back memmove-ssse3-back.
85098 * sysdeps/x86_64/multiarch/bcopy.S: New file .
85099 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
85100 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
85101 * sysdeps/x86_64/multiarch/memcpy.S: New file.
85102 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
85103 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
85104 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
85105 * sysdeps/x86_64/multiarch/memmove.c: New file.
85106 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
85107 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
85108 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
85109 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
85110 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
85111 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
85112 Define.
85113 (index_Fast_Copy_Backward): Define.
85114 (HAS_ARCH_FEATURE): Define.
85115 (HAS_FAST_REP_STRING): Define.
85116 (HAS_FAST_COPY_BACKWARD): Define.
85117
85118 2010-06-21 Andreas Schwab <schwab@redhat.com>
85119
85120 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
85121 Restore proper fallback handling.
85122
85123 2010-06-19 Ulrich Drepper <drepper@redhat.com>
85124
85125 [BZ #11701]
85126 * posix/group_member.c (__group_member): Correct checking loop.
85127
85128 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
85129 OOM in getpwuid_r correctly. Return error number when the caller
85130 should return, otherwise -1.
85131 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
85132 call returning > 0 value.
85133 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
85134
85135 2010-06-07 Andreas Schwab <schwab@redhat.com>
85136
85137 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
85138 libc_nonshared.a from targets in modules-names.
85139
85140 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
85141
85142 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
85143 requires it.
85144
85145 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
85146
85147 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
85148 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
85149 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
85150 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
85151
85152 2010-06-02 Andreas Schwab <schwab@redhat.com>
85153
85154 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
85155
85156 2010-06-14 Ulrich Drepper <drepper@redhat.com>
85157
85158 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
85159 and F_GETPIPE_SZ.
85160 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
85161 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
85162 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
85163 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
85164 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
85165 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
85166
85167 2010-06-14 Roland McGrath <roland@redhat.com>
85168
85169 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
85170
85171 2010-06-07 Jakub Jelinek <jakub@redhat.com>
85172
85173 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
85174 __REDIRECT followed by __THROW.
85175 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
85176 * posix/getopt.h (getopt): Likewise.
85177
85178 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
85179
85180 * hurd/lookup-at.c (__file_name_lookup_at): Accept
85181 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
85182 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
85183 in AT_FLAGS.
85184 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
85185 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
85186
85187 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
85188
85189 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
85190
85191 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
85192
85193 [BZ #11640]
85194 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
85195 Properly check family and model.
85196
85197 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
85198
85199 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
85200
85201 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
85202
85203 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
85204
85205 2010-05-21 Ulrich Drepper <drepper@redhat.com>
85206
85207 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
85208 symbol reference.
85209
85210 2010-05-19 Andreas Schwab <schwab@redhat.com>
85211
85212 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
85213 symbol reference.
85214
85215 2010-05-21 Andreas Schwab <schwab@redhat.com>
85216
85217 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
85218 and internal_recvmmsg.
85219 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
85220 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
85221 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
85222 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
85223
85224 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
85225 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
85226 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
85227
85228 2010-05-20 Andreas Schwab <schwab@redhat.com>
85229
85230 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
85231
85232 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
85233
85234 POWER7 optimizations.
85235 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
85236 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
85237
85238 2010-05-19 Ulrich Drepper <drepper@redhat.com>
85239
85240 * version.h: Update for 2.13 development version.
85241
85242 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
85243
85244 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
85245 exceptions. Return 0.
85246
85247 2010-05-07 Roland McGrath <roland@redhat.com>
85248
85249 * elf/ldconfig.c (main): Add a const.
85250
85251 2010-05-06 Ulrich Drepper <drepper@redhat.com>
85252
85253 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
85254 (args_options): Add no-idn option.
85255 (ahosts_keys_int): Add idn_flags to ai_flags.
85256 (parse_option): Handle 'i' option to clear idn_flags.
85257
85258 * malloc/malloc.c (_int_free): Possible race in the most recently
85259 added check. Only act on the data if no current modification
85260 happened.
85261
85262 See ChangeLog.17 for earlier changes.